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
);
2822 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2825 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2826 return SWIG_TypeError
;
2829 *val
= (unsigned long)v
;
2835 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2838 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2839 if (SWIG_IsOK(res
)) {
2840 if ((v
> UINT_MAX
)) {
2841 return SWIG_OverflowError
;
2843 if (val
) *val
= static_cast< unsigned int >(v
);
2849 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2851 self
->GetSelections(lst
);
2852 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2853 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
2854 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2858 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2860 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2861 self
->GetItem(item
)->SetTextColour(c
);
2864 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2866 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2867 self
->GetItem(item
)->SetBackgroundColour(c
);
2870 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2872 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2873 self
->GetItem(item
)->SetFont(f
);
2876 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2877 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2878 self
->AppendText(text
);
2880 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2881 return self
->GetValue().Mid(from
, to
- from
);
2883 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2884 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2885 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2886 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2887 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2889 SWIGINTERNINLINE PyObject
*
2890 SWIG_From_unsigned_SS_long (unsigned long value
)
2892 return (value
> LONG_MAX
) ?
2893 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2897 SWIGINTERNINLINE PyObject
*
2898 SWIG_From_size_t (size_t value
)
2900 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2904 SWIGINTERNINLINE PyObject
*
2905 SWIG_From_unsigned_SS_int (unsigned int value
)
2907 return SWIG_From_unsigned_SS_long (value
);
2911 #include <wx/slider.h>
2914 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2915 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2917 #if !wxUSE_TOGGLEBTN
2918 // implement dummy items for platforms that don't have this class
2920 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2922 class wxToggleButton
: public wxControl
2925 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2926 const wxPoint
&, const wxSize
&, long,
2927 const wxValidator
&, const wxString
&)
2928 { wxPyRaiseNotImplemented(); }
2931 { wxPyRaiseNotImplemented(); }
2935 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2937 SWIGINTERNINLINE
int
2938 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2941 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2942 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2946 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2947 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2948 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2950 Py_INCREF(udata
->m_obj
);
2951 return udata
->m_obj
;
2957 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2958 self
->SetClientData(new wxPyUserData(clientData
));
2960 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
){
2961 wxPyUserData
* udata
= NULL
;
2962 if (clientData
&& clientData
!= Py_None
)
2963 udata
= new wxPyUserData(clientData
);
2964 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2965 shortHelp
, longHelp
, udata
);
2967 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
){
2968 wxPyUserData
* udata
= NULL
;
2969 if (clientData
&& clientData
!= Py_None
)
2970 udata
= new wxPyUserData(clientData
);
2971 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2972 shortHelp
, longHelp
, udata
);
2974 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2975 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2977 Py_INCREF(udata
->m_obj
);
2978 return udata
->m_obj
;
2984 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2985 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2988 #include <wx/listctrl.h>
2990 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2991 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2992 // Python aware sorting function for wxPyListCtrl
2993 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2995 PyObject
* func
= (PyObject
*)funcPtr
;
2996 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2998 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2999 PyObject
* result
= PyEval_CallObject(func
, args
);
3002 retval
= PyInt_AsLong(result
);
3006 wxPyEndBlockThreads(blocked
);
3010 // C++ Version of a Python aware class
3011 class wxPyListCtrl
: public wxListCtrl
{
3012 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3014 wxPyListCtrl() : wxListCtrl() {}
3015 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3019 const wxValidator
& validator
,
3020 const wxString
& name
) :
3021 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3023 bool Create(wxWindow
* parent
, wxWindowID id
,
3027 const wxValidator
& validator
,
3028 const wxString
& name
) {
3029 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3032 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3033 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3035 // use the virtual version to avoid a confusing assert in the base class
3036 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3037 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3044 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3045 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3046 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3047 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3050 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3052 item
.SetMask( wxLIST_MASK_STATE
|
3060 if (self
->GetColumn(col
, item
))
3061 return new wxListItem(item
);
3065 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3066 wxListItem
* info
= new wxListItem
;
3067 info
->m_itemId
= itemId
;
3069 info
->m_mask
= 0xFFFF;
3070 self
->GetItem(*info
);
3073 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3075 self
->GetItemPosition(item
, pos
);
3078 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3080 self
->GetItemRect(item
, rect
, code
);
3083 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3084 if (!PyCallable_Check(func
))
3086 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3088 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3092 return (wxWindow
*)self
->m_mainWin
;
3096 #include <wx/treectrl.h>
3097 #include "wx/wxPython/pytree.h"
3099 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3100 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3101 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3102 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3103 // C++ version of Python aware wxTreeCtrl
3104 class wxPyTreeCtrl
: public wxTreeCtrl
{
3105 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3107 wxPyTreeCtrl() : wxTreeCtrl() {}
3108 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3112 const wxValidator
& validator
,
3113 const wxString
& name
) :
3114 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3116 bool Create(wxWindow
*parent
, wxWindowID id
,
3120 const wxValidator
& validator
,
3121 const wxString
& name
) {
3122 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3126 int OnCompareItems(const wxTreeItemId
& item1
,
3127 const wxTreeItemId
& item2
) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3132 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3133 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3134 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3138 wxPyEndBlockThreads(blocked
);
3140 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3146 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
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_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6155 PyObject
*resultobj
= 0;
6156 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6157 long *arg2
= (long *) 0 ;
6158 long *arg3
= (long *) 0 ;
6162 int res2
= SWIG_TMPOBJ
;
6164 int res3
= SWIG_TMPOBJ
;
6165 PyObject
*swig_obj
[1] ;
6169 if (!args
) SWIG_fail
;
6171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6172 if (!SWIG_IsOK(res1
)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6175 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->GetSelection(arg2
,arg3
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6183 if (SWIG_IsTmpObj(res2
)) {
6184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6186 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6189 if (SWIG_IsTmpObj(res3
)) {
6190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6192 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6201 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6202 PyObject
*resultobj
= 0;
6203 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6207 PyObject
*swig_obj
[1] ;
6209 if (!args
) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6215 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_From_int(static_cast< int >(result
));
6229 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
= 0;
6231 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6232 wxString
*arg2
= 0 ;
6236 bool temp2
= false ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6239 char * kwnames
[] = {
6240 (char *) "self",(char *) "string", NULL
6243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6245 if (!SWIG_IsOK(res1
)) {
6246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6248 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6250 arg2
= wxString_in_helper(obj1
);
6251 if (arg2
== NULL
) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6277 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
= 0;
6279 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6281 wxString
*arg3
= 0 ;
6286 bool temp3
= false ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "self",(char *) "n",(char *) "string", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6299 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6301 if (!SWIG_IsOK(ecode2
)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6304 arg2
= static_cast< int >(val2
);
6306 arg3
= wxString_in_helper(obj2
);
6307 if (arg3
== NULL
) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= SWIG_Py_Void();
6331 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
= 0;
6333 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6341 char * kwnames
[] = {
6342 (char *) "self",(char *) "editable", NULL
6345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6347 if (!SWIG_IsOK(res1
)) {
6348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6350 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6351 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6352 if (!SWIG_IsOK(ecode2
)) {
6353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6355 arg2
= static_cast< bool >(val2
);
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 (arg1
)->SetEditable(arg2
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= SWIG_Py_Void();
6369 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6370 PyObject
*resultobj
= 0;
6371 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6374 PyObject
*swig_obj
[1] ;
6376 if (!args
) SWIG_fail
;
6378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6379 if (!SWIG_IsOK(res1
)) {
6380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6382 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetInsertionPointEnd();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_Py_Void();
6396 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
= 0;
6398 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 PyObject
* obj2
= 0 ;
6410 char * kwnames
[] = {
6411 (char *) "self",(char *) "_from",(char *) "to", NULL
6414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6419 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6420 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6421 if (!SWIG_IsOK(ecode2
)) {
6422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6424 arg2
= static_cast< long >(val2
);
6425 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6426 if (!SWIG_IsOK(ecode3
)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6429 arg3
= static_cast< long >(val3
);
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 (arg1
)->Remove(arg2
,arg3
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_Py_Void();
6443 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6444 PyObject
*resultobj
= 0;
6445 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6449 PyObject
*swig_obj
[1] ;
6451 if (!args
) SWIG_fail
;
6453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6454 if (!SWIG_IsOK(res1
)) {
6455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6457 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6473 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6474 PyObject
*resultobj
= 0;
6475 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6478 PyObject
*swig_obj
[1] ;
6480 if (!args
) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6486 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_Py_Void();
6500 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6513 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_Py_Void();
6527 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6540 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SelectAll();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6560 PyObject
*swig_obj
[1] ;
6562 if (!args
) SWIG_fail
;
6564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6565 if (!SWIG_IsOK(res1
)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6568 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6584 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6585 PyObject
*resultobj
= 0;
6586 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6590 PyObject
*swig_obj
[1] ;
6592 if (!args
) SWIG_fail
;
6594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6595 if (!SWIG_IsOK(res1
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6614 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6615 PyObject
*resultobj
= 0;
6616 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6620 PyObject
*swig_obj
[1] ;
6622 if (!args
) SWIG_fail
;
6624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6625 if (!SWIG_IsOK(res1
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6644 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6674 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6675 PyObject
*resultobj
= 0;
6676 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6680 PyObject
*swig_obj
[1] ;
6682 if (!args
) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6704 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
= 0;
6706 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6707 SwigValueWrapper
<wxVisualAttributes
> result
;
6710 PyObject
* obj0
= 0 ;
6711 char * kwnames
[] = {
6712 (char *) "variant", NULL
6715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6718 if (!SWIG_IsOK(ecode1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6721 arg1
= static_cast< wxWindowVariant
>(val1
);
6724 if (!wxPyCheckForApp()) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6737 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6740 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6741 return SWIG_Py_Void();
6744 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6745 return SWIG_Python_InitShadowInstance(args
);
6748 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6749 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6754 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6755 PyObject
*pyobj
= 0;
6759 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6761 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6768 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
= 0;
6770 wxWindow
*arg1
= (wxWindow
*) 0 ;
6771 int arg2
= (int) -1 ;
6772 int arg3
= (int) 100 ;
6773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6777 long arg6
= (long) wxGA_HORIZONTAL
;
6778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6780 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6782 wxGauge
*result
= 0 ;
6795 bool temp8
= false ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 PyObject
* obj2
= 0 ;
6799 PyObject
* obj3
= 0 ;
6800 PyObject
* obj4
= 0 ;
6801 PyObject
* obj5
= 0 ;
6802 PyObject
* obj6
= 0 ;
6803 PyObject
* obj7
= 0 ;
6804 char * kwnames
[] = {
6805 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6810 if (!SWIG_IsOK(res1
)) {
6811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6816 if (!SWIG_IsOK(ecode2
)) {
6817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6819 arg2
= static_cast< int >(val2
);
6822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6823 if (!SWIG_IsOK(ecode3
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6826 arg3
= static_cast< int >(val3
);
6831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6841 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6842 if (!SWIG_IsOK(ecode6
)) {
6843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6845 arg6
= static_cast< long >(val6
);
6848 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6849 if (!SWIG_IsOK(res7
)) {
6850 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6855 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6859 arg8
= wxString_in_helper(obj7
);
6860 if (arg8
== NULL
) SWIG_fail
;
6865 if (!wxPyCheckForApp()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6886 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6887 PyObject
*resultobj
= 0;
6888 wxGauge
*result
= 0 ;
6890 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (wxGauge
*)new wxGauge();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6905 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
= 0;
6907 wxGauge
*arg1
= (wxGauge
*) 0 ;
6908 wxWindow
*arg2
= (wxWindow
*) 0 ;
6909 int arg3
= (int) -1 ;
6910 int arg4
= (int) 100 ;
6911 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6912 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6913 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6914 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6915 long arg7
= (long) wxGA_HORIZONTAL
;
6916 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6917 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6918 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6919 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6935 bool temp9
= false ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 PyObject
* obj2
= 0 ;
6939 PyObject
* obj3
= 0 ;
6940 PyObject
* obj4
= 0 ;
6941 PyObject
* obj5
= 0 ;
6942 PyObject
* obj6
= 0 ;
6943 PyObject
* obj7
= 0 ;
6944 PyObject
* obj8
= 0 ;
6945 char * kwnames
[] = {
6946 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6951 if (!SWIG_IsOK(res1
)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6954 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6956 if (!SWIG_IsOK(res2
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6962 if (!SWIG_IsOK(ecode3
)) {
6963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6965 arg3
= static_cast< int >(val3
);
6968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6969 if (!SWIG_IsOK(ecode4
)) {
6970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6972 arg4
= static_cast< int >(val4
);
6977 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6983 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6987 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6988 if (!SWIG_IsOK(ecode7
)) {
6989 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6991 arg7
= static_cast< long >(val7
);
6994 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6995 if (!SWIG_IsOK(res8
)) {
6996 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7001 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7005 arg9
= wxString_in_helper(obj8
);
7006 if (arg9
== NULL
) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7033 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
= 0;
7035 wxGauge
*arg1
= (wxGauge
*) 0 ;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj1
= 0 ;
7043 char * kwnames
[] = {
7044 (char *) "self",(char *) "range", NULL
7047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7049 if (!SWIG_IsOK(res1
)) {
7050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7052 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7054 if (!SWIG_IsOK(ecode2
)) {
7055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7057 arg2
= static_cast< int >(val2
);
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 (arg1
)->SetRange(arg2
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_Py_Void();
7071 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7072 PyObject
*resultobj
= 0;
7073 wxGauge
*arg1
= (wxGauge
*) 0 ;
7077 PyObject
*swig_obj
[1] ;
7079 if (!args
) SWIG_fail
;
7081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7082 if (!SWIG_IsOK(res1
)) {
7083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7085 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_From_int(static_cast< int >(result
));
7099 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
= 0;
7101 wxGauge
*arg1
= (wxGauge
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7109 char * kwnames
[] = {
7110 (char *) "self",(char *) "pos", NULL
7113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7115 if (!SWIG_IsOK(res1
)) {
7116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7118 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7120 if (!SWIG_IsOK(ecode2
)) {
7121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7123 arg2
= static_cast< int >(val2
);
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 (arg1
)->SetValue(arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_Py_Void();
7137 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7138 PyObject
*resultobj
= 0;
7139 wxGauge
*arg1
= (wxGauge
*) 0 ;
7143 PyObject
*swig_obj
[1] ;
7145 if (!args
) SWIG_fail
;
7147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7148 if (!SWIG_IsOK(res1
)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7151 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= SWIG_From_int(static_cast< int >(result
));
7165 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7166 PyObject
*resultobj
= 0;
7167 wxGauge
*arg1
= (wxGauge
*) 0 ;
7171 PyObject
*swig_obj
[1] ;
7173 if (!args
) SWIG_fail
;
7175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7176 if (!SWIG_IsOK(res1
)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7179 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7195 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
= 0;
7197 wxGauge
*arg1
= (wxGauge
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj1
= 0 ;
7205 char * kwnames
[] = {
7206 (char *) "self",(char *) "w", NULL
7209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7211 if (!SWIG_IsOK(res1
)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7214 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7216 if (!SWIG_IsOK(ecode2
)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7219 arg2
= static_cast< int >(val2
);
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 (arg1
)->SetShadowWidth(arg2
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_Py_Void();
7233 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7234 PyObject
*resultobj
= 0;
7235 wxGauge
*arg1
= (wxGauge
*) 0 ;
7239 PyObject
*swig_obj
[1] ;
7241 if (!args
) SWIG_fail
;
7243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7244 if (!SWIG_IsOK(res1
)) {
7245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7247 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= SWIG_From_int(static_cast< int >(result
));
7261 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
= 0;
7263 wxGauge
*arg1
= (wxGauge
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "self",(char *) "w", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7277 if (!SWIG_IsOK(res1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7280 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7282 if (!SWIG_IsOK(ecode2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7285 arg2
= static_cast< int >(val2
);
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 (arg1
)->SetBezelFace(arg2
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_Py_Void();
7299 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7300 PyObject
*resultobj
= 0;
7301 wxGauge
*arg1
= (wxGauge
*) 0 ;
7305 PyObject
*swig_obj
[1] ;
7307 if (!args
) SWIG_fail
;
7309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7310 if (!SWIG_IsOK(res1
)) {
7311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7313 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= SWIG_From_int(static_cast< int >(result
));
7327 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
= 0;
7329 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7330 SwigValueWrapper
<wxVisualAttributes
> result
;
7333 PyObject
* obj0
= 0 ;
7334 char * kwnames
[] = {
7335 (char *) "variant", NULL
7338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7340 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7341 if (!SWIG_IsOK(ecode1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7344 arg1
= static_cast< wxWindowVariant
>(val1
);
7347 if (!wxPyCheckForApp()) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7360 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7363 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7364 return SWIG_Py_Void();
7367 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7368 return SWIG_Python_InitShadowInstance(args
);
7371 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7372 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7377 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7378 PyObject
*pyobj
= 0;
7382 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7384 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7391 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7392 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7397 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7398 PyObject
*pyobj
= 0;
7402 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7404 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7411 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7412 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7417 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7418 PyObject
*pyobj
= 0;
7422 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7424 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7431 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
= 0;
7433 wxWindow
*arg1
= (wxWindow
*) 0 ;
7434 int arg2
= (int) -1 ;
7435 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7436 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7437 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7438 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7439 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7440 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7441 long arg6
= (long) 0 ;
7442 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7443 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7444 wxStaticBox
*result
= 0 ;
7449 bool temp3
= false ;
7454 bool temp7
= false ;
7455 PyObject
* obj0
= 0 ;
7456 PyObject
* obj1
= 0 ;
7457 PyObject
* obj2
= 0 ;
7458 PyObject
* obj3
= 0 ;
7459 PyObject
* obj4
= 0 ;
7460 PyObject
* obj5
= 0 ;
7461 PyObject
* obj6
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7474 if (!SWIG_IsOK(ecode2
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7477 arg2
= static_cast< int >(val2
);
7481 arg3
= wxString_in_helper(obj2
);
7482 if (arg3
== NULL
) SWIG_fail
;
7489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7499 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7500 if (!SWIG_IsOK(ecode6
)) {
7501 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7503 arg6
= static_cast< long >(val6
);
7507 arg7
= wxString_in_helper(obj6
);
7508 if (arg7
== NULL
) SWIG_fail
;
7513 if (!wxPyCheckForApp()) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7542 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7543 PyObject
*resultobj
= 0;
7544 wxStaticBox
*result
= 0 ;
7546 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7548 if (!wxPyCheckForApp()) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (wxStaticBox
*)new wxStaticBox();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7561 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
= 0;
7563 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7564 wxWindow
*arg2
= (wxWindow
*) 0 ;
7565 int arg3
= (int) -1 ;
7566 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7567 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7568 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7569 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7570 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7571 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7572 long arg7
= (long) 0 ;
7573 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7582 bool temp4
= false ;
7587 bool temp8
= false ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7590 PyObject
* obj2
= 0 ;
7591 PyObject
* obj3
= 0 ;
7592 PyObject
* obj4
= 0 ;
7593 PyObject
* obj5
= 0 ;
7594 PyObject
* obj6
= 0 ;
7595 PyObject
* obj7
= 0 ;
7596 char * kwnames
[] = {
7597 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7602 if (!SWIG_IsOK(res1
)) {
7603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7605 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7607 if (!SWIG_IsOK(res2
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7613 if (!SWIG_IsOK(ecode3
)) {
7614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7616 arg3
= static_cast< int >(val3
);
7620 arg4
= wxString_in_helper(obj3
);
7621 if (arg4
== NULL
) SWIG_fail
;
7628 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7634 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7638 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7639 if (!SWIG_IsOK(ecode7
)) {
7640 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7642 arg7
= static_cast< long >(val7
);
7646 arg8
= wxString_in_helper(obj7
);
7647 if (arg8
== NULL
) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7682 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
= 0;
7684 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7685 SwigValueWrapper
<wxVisualAttributes
> result
;
7688 PyObject
* obj0
= 0 ;
7689 char * kwnames
[] = {
7690 (char *) "variant", NULL
7693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7696 if (!SWIG_IsOK(ecode1
)) {
7697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7699 arg1
= static_cast< wxWindowVariant
>(val1
);
7702 if (!wxPyCheckForApp()) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7715 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7718 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7719 return SWIG_Py_Void();
7722 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7723 return SWIG_Python_InitShadowInstance(args
);
7726 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
= 0;
7728 wxWindow
*arg1
= (wxWindow
*) 0 ;
7729 int arg2
= (int) -1 ;
7730 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7731 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7732 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7733 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7734 long arg5
= (long) wxLI_HORIZONTAL
;
7735 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7736 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7737 wxStaticLine
*result
= 0 ;
7746 bool temp6
= false ;
7747 PyObject
* obj0
= 0 ;
7748 PyObject
* obj1
= 0 ;
7749 PyObject
* obj2
= 0 ;
7750 PyObject
* obj3
= 0 ;
7751 PyObject
* obj4
= 0 ;
7752 PyObject
* obj5
= 0 ;
7753 char * kwnames
[] = {
7754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7759 if (!SWIG_IsOK(res1
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7765 if (!SWIG_IsOK(ecode2
)) {
7766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7768 arg2
= static_cast< int >(val2
);
7773 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7779 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7783 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7784 if (!SWIG_IsOK(ecode5
)) {
7785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7787 arg5
= static_cast< long >(val5
);
7791 arg6
= wxString_in_helper(obj5
);
7792 if (arg6
== NULL
) SWIG_fail
;
7797 if (!wxPyCheckForApp()) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7818 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7819 PyObject
*resultobj
= 0;
7820 wxStaticLine
*result
= 0 ;
7822 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxStaticLine
*)new wxStaticLine();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7837 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
= 0;
7839 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7840 wxWindow
*arg2
= (wxWindow
*) 0 ;
7841 int arg3
= (int) -1 ;
7842 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7843 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7844 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7845 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7846 long arg6
= (long) wxLI_HORIZONTAL
;
7847 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7848 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7860 bool temp7
= false ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7863 PyObject
* obj2
= 0 ;
7864 PyObject
* obj3
= 0 ;
7865 PyObject
* obj4
= 0 ;
7866 PyObject
* obj5
= 0 ;
7867 PyObject
* obj6
= 0 ;
7868 char * kwnames
[] = {
7869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7874 if (!SWIG_IsOK(res1
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7877 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7879 if (!SWIG_IsOK(res2
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7885 if (!SWIG_IsOK(ecode3
)) {
7886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7888 arg3
= static_cast< int >(val3
);
7893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7903 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7904 if (!SWIG_IsOK(ecode6
)) {
7905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7907 arg6
= static_cast< long >(val6
);
7911 arg7
= wxString_in_helper(obj6
);
7912 if (arg7
== NULL
) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7939 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7940 PyObject
*resultobj
= 0;
7941 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7945 PyObject
*swig_obj
[1] ;
7947 if (!args
) SWIG_fail
;
7949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7950 if (!SWIG_IsOK(res1
)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7953 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7969 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7970 PyObject
*resultobj
= 0;
7973 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (int)wxStaticLine::GetDefaultSize();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= SWIG_From_int(static_cast< int >(result
));
7987 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
= 0;
7989 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7990 SwigValueWrapper
<wxVisualAttributes
> result
;
7993 PyObject
* obj0
= 0 ;
7994 char * kwnames
[] = {
7995 (char *) "variant", NULL
7998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8001 if (!SWIG_IsOK(ecode1
)) {
8002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8004 arg1
= static_cast< wxWindowVariant
>(val1
);
8007 if (!wxPyCheckForApp()) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8020 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8023 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8024 return SWIG_Py_Void();
8027 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 return SWIG_Python_InitShadowInstance(args
);
8031 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
= 0;
8033 wxWindow
*arg1
= (wxWindow
*) 0 ;
8034 int arg2
= (int) -1 ;
8035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8037 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8038 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8039 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8040 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8041 long arg6
= (long) 0 ;
8042 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8043 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8044 wxStaticText
*result
= 0 ;
8049 bool temp3
= false ;
8054 bool temp7
= false ;
8055 PyObject
* obj0
= 0 ;
8056 PyObject
* obj1
= 0 ;
8057 PyObject
* obj2
= 0 ;
8058 PyObject
* obj3
= 0 ;
8059 PyObject
* obj4
= 0 ;
8060 PyObject
* obj5
= 0 ;
8061 PyObject
* obj6
= 0 ;
8062 char * kwnames
[] = {
8063 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8068 if (!SWIG_IsOK(res1
)) {
8069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8074 if (!SWIG_IsOK(ecode2
)) {
8075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8077 arg2
= static_cast< int >(val2
);
8081 arg3
= wxString_in_helper(obj2
);
8082 if (arg3
== NULL
) SWIG_fail
;
8089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8099 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8100 if (!SWIG_IsOK(ecode6
)) {
8101 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8103 arg6
= static_cast< long >(val6
);
8107 arg7
= wxString_in_helper(obj6
);
8108 if (arg7
== NULL
) SWIG_fail
;
8113 if (!wxPyCheckForApp()) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8142 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8143 PyObject
*resultobj
= 0;
8144 wxStaticText
*result
= 0 ;
8146 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8148 if (!wxPyCheckForApp()) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (wxStaticText
*)new wxStaticText();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8161 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
= 0;
8163 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8164 wxWindow
*arg2
= (wxWindow
*) 0 ;
8165 int arg3
= (int) -1 ;
8166 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8167 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8168 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8169 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8170 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8171 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8172 long arg7
= (long) 0 ;
8173 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8174 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8182 bool temp4
= false ;
8187 bool temp8
= false ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8190 PyObject
* obj2
= 0 ;
8191 PyObject
* obj3
= 0 ;
8192 PyObject
* obj4
= 0 ;
8193 PyObject
* obj5
= 0 ;
8194 PyObject
* obj6
= 0 ;
8195 PyObject
* obj7
= 0 ;
8196 char * kwnames
[] = {
8197 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8202 if (!SWIG_IsOK(res1
)) {
8203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8205 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8207 if (!SWIG_IsOK(res2
)) {
8208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8213 if (!SWIG_IsOK(ecode3
)) {
8214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8216 arg3
= static_cast< int >(val3
);
8220 arg4
= wxString_in_helper(obj3
);
8221 if (arg4
== NULL
) SWIG_fail
;
8228 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8234 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8238 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8239 if (!SWIG_IsOK(ecode7
)) {
8240 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8242 arg7
= static_cast< long >(val7
);
8246 arg8
= wxString_in_helper(obj7
);
8247 if (arg8
== NULL
) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8282 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
= 0;
8284 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 char * kwnames
[] = {
8293 (char *) "self",(char *) "width", NULL
8296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8298 if (!SWIG_IsOK(res1
)) {
8299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8301 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8303 if (!SWIG_IsOK(ecode2
)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8306 arg2
= static_cast< int >(val2
);
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_Py_Void();
8320 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
= 0;
8322 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8323 SwigValueWrapper
<wxVisualAttributes
> result
;
8326 PyObject
* obj0
= 0 ;
8327 char * kwnames
[] = {
8328 (char *) "variant", NULL
8331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8334 if (!SWIG_IsOK(ecode1
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8337 arg1
= static_cast< wxWindowVariant
>(val1
);
8340 if (!wxPyCheckForApp()) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8353 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8356 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8357 return SWIG_Py_Void();
8360 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8361 return SWIG_Python_InitShadowInstance(args
);
8364 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
= 0;
8366 wxWindow
*arg1
= (wxWindow
*) 0 ;
8367 int arg2
= (int) -1 ;
8368 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8369 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8374 long arg6
= (long) 0 ;
8375 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8377 wxStaticBitmap
*result
= 0 ;
8388 bool temp7
= false ;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 PyObject
* obj2
= 0 ;
8392 PyObject
* obj3
= 0 ;
8393 PyObject
* obj4
= 0 ;
8394 PyObject
* obj5
= 0 ;
8395 PyObject
* obj6
= 0 ;
8396 char * kwnames
[] = {
8397 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8402 if (!SWIG_IsOK(res1
)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8408 if (!SWIG_IsOK(ecode2
)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8411 arg2
= static_cast< int >(val2
);
8414 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8415 if (!SWIG_IsOK(res3
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8421 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8436 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8437 if (!SWIG_IsOK(ecode6
)) {
8438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8440 arg6
= static_cast< long >(val6
);
8444 arg7
= wxString_in_helper(obj6
);
8445 if (arg7
== NULL
) SWIG_fail
;
8450 if (!wxPyCheckForApp()) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8471 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8472 PyObject
*resultobj
= 0;
8473 wxStaticBitmap
*result
= 0 ;
8475 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8477 if (!wxPyCheckForApp()) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8490 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
= 0;
8492 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8493 wxWindow
*arg2
= (wxWindow
*) 0 ;
8494 int arg3
= (int) -1 ;
8495 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8496 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8497 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8498 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8499 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8500 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8501 long arg7
= (long) 0 ;
8502 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8517 bool temp8
= false ;
8518 PyObject
* obj0
= 0 ;
8519 PyObject
* obj1
= 0 ;
8520 PyObject
* obj2
= 0 ;
8521 PyObject
* obj3
= 0 ;
8522 PyObject
* obj4
= 0 ;
8523 PyObject
* obj5
= 0 ;
8524 PyObject
* obj6
= 0 ;
8525 PyObject
* obj7
= 0 ;
8526 char * kwnames
[] = {
8527 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8532 if (!SWIG_IsOK(res1
)) {
8533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8535 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8537 if (!SWIG_IsOK(res2
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8543 if (!SWIG_IsOK(ecode3
)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8546 arg3
= static_cast< int >(val3
);
8549 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8550 if (!SWIG_IsOK(res4
)) {
8551 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8556 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8561 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8567 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8571 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8572 if (!SWIG_IsOK(ecode7
)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8575 arg7
= static_cast< long >(val7
);
8579 arg8
= wxString_in_helper(obj7
);
8580 if (arg8
== NULL
) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8607 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8608 PyObject
*resultobj
= 0;
8609 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8613 PyObject
*swig_obj
[1] ;
8615 if (!args
) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8621 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (arg1
)->GetBitmap();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8635 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
= 0;
8637 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8638 wxBitmap
*arg2
= 0 ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8645 char * kwnames
[] = {
8646 (char *) "self",(char *) "bitmap", NULL
8649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8651 if (!SWIG_IsOK(res1
)) {
8652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8654 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8656 if (!SWIG_IsOK(res2
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8662 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_Py_Void();
8676 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= 0;
8678 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 char * kwnames
[] = {
8687 (char *) "self",(char *) "icon", NULL
8690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8692 if (!SWIG_IsOK(res1
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8695 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8697 if (!SWIG_IsOK(res2
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8703 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= SWIG_Py_Void();
8717 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
= 0;
8719 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8720 SwigValueWrapper
<wxVisualAttributes
> result
;
8723 PyObject
* obj0
= 0 ;
8724 char * kwnames
[] = {
8725 (char *) "variant", NULL
8728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8730 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8731 if (!SWIG_IsOK(ecode1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8734 arg1
= static_cast< wxWindowVariant
>(val1
);
8737 if (!wxPyCheckForApp()) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8750 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8753 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8754 return SWIG_Py_Void();
8757 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8758 return SWIG_Python_InitShadowInstance(args
);
8761 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8762 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8767 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8768 PyObject
*pyobj
= 0;
8772 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8774 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8781 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
= 0;
8783 wxWindow
*arg1
= (wxWindow
*) 0 ;
8784 int arg2
= (int) -1 ;
8785 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8786 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8787 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8788 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8789 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8790 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8791 long arg6
= (long) 0 ;
8792 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8793 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8794 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8795 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8796 wxListBox
*result
= 0 ;
8803 bool temp5
= false ;
8808 bool temp8
= false ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8812 PyObject
* obj3
= 0 ;
8813 PyObject
* obj4
= 0 ;
8814 PyObject
* obj5
= 0 ;
8815 PyObject
* obj6
= 0 ;
8816 PyObject
* obj7
= 0 ;
8817 char * kwnames
[] = {
8818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8823 if (!SWIG_IsOK(res1
)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8829 if (!SWIG_IsOK(ecode2
)) {
8830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8832 arg2
= static_cast< int >(val2
);
8837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8848 if (! PySequence_Check(obj4
)) {
8849 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8852 arg5
= new wxArrayString
;
8854 int i
, len
=PySequence_Length(obj4
);
8855 for (i
=0; i
<len
; i
++) {
8856 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8857 wxString
* s
= wxString_in_helper(item
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8866 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8867 if (!SWIG_IsOK(ecode6
)) {
8868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8870 arg6
= static_cast< long >(val6
);
8873 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8874 if (!SWIG_IsOK(res7
)) {
8875 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8880 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8884 arg8
= wxString_in_helper(obj7
);
8885 if (arg8
== NULL
) SWIG_fail
;
8890 if (!wxPyCheckForApp()) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8898 if (temp5
) delete arg5
;
8907 if (temp5
) delete arg5
;
8917 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8918 PyObject
*resultobj
= 0;
8919 wxListBox
*result
= 0 ;
8921 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8923 if (!wxPyCheckForApp()) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (wxListBox
*)new wxListBox();
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8936 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
= 0;
8938 wxListBox
*arg1
= (wxListBox
*) 0 ;
8939 wxWindow
*arg2
= (wxWindow
*) 0 ;
8940 int arg3
= (int) -1 ;
8941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8945 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8946 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8947 long arg7
= (long) 0 ;
8948 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8949 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8950 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8951 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8961 bool temp6
= false ;
8966 bool temp9
= false ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 PyObject
* obj2
= 0 ;
8970 PyObject
* obj3
= 0 ;
8971 PyObject
* obj4
= 0 ;
8972 PyObject
* obj5
= 0 ;
8973 PyObject
* obj6
= 0 ;
8974 PyObject
* obj7
= 0 ;
8975 PyObject
* obj8
= 0 ;
8976 char * kwnames
[] = {
8977 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8982 if (!SWIG_IsOK(res1
)) {
8983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8985 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8987 if (!SWIG_IsOK(res2
)) {
8988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8993 if (!SWIG_IsOK(ecode3
)) {
8994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8996 arg3
= static_cast< int >(val3
);
9001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9012 if (! PySequence_Check(obj5
)) {
9013 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9016 arg6
= new wxArrayString
;
9018 int i
, len
=PySequence_Length(obj5
);
9019 for (i
=0; i
<len
; i
++) {
9020 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9021 wxString
* s
= wxString_in_helper(item
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9030 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9031 if (!SWIG_IsOK(ecode7
)) {
9032 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9034 arg7
= static_cast< long >(val7
);
9037 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9038 if (!SWIG_IsOK(res8
)) {
9039 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9044 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9048 arg9
= wxString_in_helper(obj8
);
9049 if (arg9
== NULL
) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9063 if (temp6
) delete arg6
;
9072 if (temp6
) delete arg6
;
9082 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
= 0;
9084 wxListBox
*arg1
= (wxListBox
*) 0 ;
9085 wxString
*arg2
= 0 ;
9087 PyObject
*arg4
= (PyObject
*) NULL
;
9090 bool temp2
= false ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9096 PyObject
* obj3
= 0 ;
9097 char * kwnames
[] = {
9098 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9103 if (!SWIG_IsOK(res1
)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9106 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9108 arg2
= wxString_in_helper(obj1
);
9109 if (arg2
== NULL
) SWIG_fail
;
9112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9113 if (!SWIG_IsOK(ecode3
)) {
9114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9116 arg3
= static_cast< int >(val3
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_Py_Void();
9141 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
= 0;
9143 wxListBox
*arg1
= (wxListBox
*) 0 ;
9144 wxArrayString
*arg2
= 0 ;
9148 bool temp2
= false ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9154 char * kwnames
[] = {
9155 (char *) "self",(char *) "items",(char *) "pos", NULL
9158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9160 if (!SWIG_IsOK(res1
)) {
9161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9163 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9165 if (! PySequence_Check(obj1
)) {
9166 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9169 arg2
= new wxArrayString
;
9171 int i
, len
=PySequence_Length(obj1
);
9172 for (i
=0; i
<len
; i
++) {
9173 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9174 wxString
* s
= wxString_in_helper(item
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9181 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9182 if (!SWIG_IsOK(ecode3
)) {
9183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9185 arg3
= static_cast< unsigned int >(val3
);
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_Py_Void();
9194 if (temp2
) delete arg2
;
9199 if (temp2
) delete arg2
;
9205 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
= 0;
9207 wxListBox
*arg1
= (wxListBox
*) 0 ;
9208 wxArrayString
*arg2
= 0 ;
9211 bool temp2
= false ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 char * kwnames
[] = {
9215 (char *) "self",(char *) "items", NULL
9218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) 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_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9223 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9225 if (! PySequence_Check(obj1
)) {
9226 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9229 arg2
= new wxArrayString
;
9231 int i
, len
=PySequence_Length(obj1
);
9232 for (i
=0; i
<len
; i
++) {
9233 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9234 wxString
* s
= wxString_in_helper(item
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 (arg1
)->Set((wxArrayString
const &)*arg2
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_Py_Void();
9249 if (temp2
) delete arg2
;
9254 if (temp2
) delete arg2
;
9260 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
= 0;
9262 wxListBox
*arg1
= (wxListBox
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 char * kwnames
[] = {
9272 (char *) "self",(char *) "n", NULL
9275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9280 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9282 if (!SWIG_IsOK(ecode2
)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9285 arg2
= static_cast< int >(val2
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9301 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
= 0;
9303 wxListBox
*arg1
= (wxListBox
*) 0 ;
9305 bool arg3
= (bool) true ;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9314 PyObject
* obj2
= 0 ;
9315 char * kwnames
[] = {
9316 (char *) "self",(char *) "n",(char *) "select", NULL
9319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9321 if (!SWIG_IsOK(res1
)) {
9322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9324 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9326 if (!SWIG_IsOK(ecode2
)) {
9327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9329 arg2
= static_cast< int >(val2
);
9331 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9332 if (!SWIG_IsOK(ecode3
)) {
9333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9335 arg3
= static_cast< bool >(val3
);
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 (arg1
)->SetSelection(arg2
,arg3
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_Py_Void();
9350 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
= 0;
9352 wxListBox
*arg1
= (wxListBox
*) 0 ;
9358 PyObject
* obj0
= 0 ;
9359 PyObject
* obj1
= 0 ;
9360 char * kwnames
[] = {
9361 (char *) "self",(char *) "n", NULL
9364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9366 if (!SWIG_IsOK(res1
)) {
9367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9369 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9371 if (!SWIG_IsOK(ecode2
)) {
9372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9374 arg2
= static_cast< int >(val2
);
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 (arg1
)->Select(arg2
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_Py_Void();
9388 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
= 0;
9390 wxListBox
*arg1
= (wxListBox
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 char * kwnames
[] = {
9399 (char *) "self",(char *) "n", NULL
9402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9404 if (!SWIG_IsOK(res1
)) {
9405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9407 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9409 if (!SWIG_IsOK(ecode2
)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9412 arg2
= static_cast< int >(val2
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 (arg1
)->Deselect(arg2
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_Py_Void();
9426 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
= 0;
9428 wxListBox
*arg1
= (wxListBox
*) 0 ;
9429 int arg2
= (int) -1 ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 char * kwnames
[] = {
9437 (char *) "self",(char *) "itemToLeaveSelected", NULL
9440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9442 if (!SWIG_IsOK(res1
)) {
9443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9445 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9448 if (!SWIG_IsOK(ecode2
)) {
9449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9451 arg2
= static_cast< int >(val2
);
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->DeselectAll(arg2
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_Py_Void();
9466 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
= 0;
9468 wxListBox
*arg1
= (wxListBox
*) 0 ;
9469 wxString
*arg2
= 0 ;
9470 bool arg3
= (bool) true ;
9474 bool temp2
= false ;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9479 PyObject
* obj2
= 0 ;
9480 char * kwnames
[] = {
9481 (char *) "self",(char *) "s",(char *) "select", NULL
9484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9486 if (!SWIG_IsOK(res1
)) {
9487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9489 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9491 arg2
= wxString_in_helper(obj1
);
9492 if (arg2
== NULL
) SWIG_fail
;
9496 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9497 if (!SWIG_IsOK(ecode3
)) {
9498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9500 arg3
= static_cast< bool >(val3
);
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9525 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 PyObject
*resultobj
= 0;
9527 wxListBox
*arg1
= (wxListBox
*) 0 ;
9528 PyObject
*result
= 0 ;
9531 PyObject
*swig_obj
[1] ;
9533 if (!args
) SWIG_fail
;
9535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9536 if (!SWIG_IsOK(res1
)) {
9537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9539 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9553 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
= 0;
9555 wxListBox
*arg1
= (wxListBox
*) 0 ;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9563 char * kwnames
[] = {
9564 (char *) "self",(char *) "n", NULL
9567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9569 if (!SWIG_IsOK(res1
)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9572 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9574 if (!SWIG_IsOK(ecode2
)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9577 arg2
= static_cast< int >(val2
);
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 (arg1
)->SetFirstItem(arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_Py_Void();
9591 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxListBox
*arg1
= (wxListBox
*) 0 ;
9594 wxString
*arg2
= 0 ;
9597 bool temp2
= false ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 char * kwnames
[] = {
9601 (char *) "self",(char *) "s", NULL
9604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9606 if (!SWIG_IsOK(res1
)) {
9607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9609 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9611 arg2
= wxString_in_helper(obj1
);
9612 if (arg2
== NULL
) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_Py_Void();
9636 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
= 0;
9638 wxListBox
*arg1
= (wxListBox
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9646 char * kwnames
[] = {
9647 (char *) "self",(char *) "n", NULL
9650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9652 if (!SWIG_IsOK(res1
)) {
9653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9655 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9657 if (!SWIG_IsOK(ecode2
)) {
9658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9660 arg2
= static_cast< int >(val2
);
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 (arg1
)->EnsureVisible(arg2
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_Py_Void();
9674 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
= 0;
9676 wxListBox
*arg1
= (wxListBox
*) 0 ;
9677 wxString
*arg2
= 0 ;
9680 bool temp2
= false ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9683 char * kwnames
[] = {
9684 (char *) "self",(char *) "s", NULL
9687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9692 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9694 arg2
= wxString_in_helper(obj1
);
9695 if (arg2
== NULL
) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_Py_Void();
9719 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9720 PyObject
*resultobj
= 0;
9721 wxListBox
*arg1
= (wxListBox
*) 0 ;
9725 PyObject
*swig_obj
[1] ;
9727 if (!args
) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9733 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9749 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
= 0;
9751 wxListBox
*arg1
= (wxListBox
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 char * kwnames
[] = {
9760 (char *) "self",(char *) "pt", NULL
9763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9765 if (!SWIG_IsOK(res1
)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9768 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_From_int(static_cast< int >(result
));
9786 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
= 0;
9788 wxListBox
*arg1
= (wxListBox
*) 0 ;
9790 wxColour
*arg3
= 0 ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 PyObject
* obj2
= 0 ;
9799 char * kwnames
[] = {
9800 (char *) "self",(char *) "item",(char *) "c", NULL
9803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9805 if (!SWIG_IsOK(res1
)) {
9806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9808 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9810 if (!SWIG_IsOK(ecode2
)) {
9811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9813 arg2
= static_cast< int >(val2
);
9816 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_Py_Void();
9831 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
= 0;
9833 wxListBox
*arg1
= (wxListBox
*) 0 ;
9835 wxColour
*arg3
= 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 PyObject
* obj2
= 0 ;
9844 char * kwnames
[] = {
9845 (char *) "self",(char *) "item",(char *) "c", NULL
9848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9850 if (!SWIG_IsOK(res1
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9853 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9855 if (!SWIG_IsOK(ecode2
)) {
9856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9858 arg2
= static_cast< int >(val2
);
9861 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_Py_Void();
9876 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
= 0;
9878 wxListBox
*arg1
= (wxListBox
*) 0 ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "self",(char *) "item",(char *) "f", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9899 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9901 if (!SWIG_IsOK(ecode2
)) {
9902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9904 arg2
= static_cast< int >(val2
);
9905 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9906 if (!SWIG_IsOK(res3
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9912 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_Py_Void();
9926 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
= 0;
9928 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9929 SwigValueWrapper
<wxVisualAttributes
> result
;
9932 PyObject
* obj0
= 0 ;
9933 char * kwnames
[] = {
9934 (char *) "variant", NULL
9937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9939 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9940 if (!SWIG_IsOK(ecode1
)) {
9941 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9943 arg1
= static_cast< wxWindowVariant
>(val1
);
9946 if (!wxPyCheckForApp()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9959 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9962 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9963 return SWIG_Py_Void();
9966 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9967 return SWIG_Python_InitShadowInstance(args
);
9970 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
= 0;
9972 wxWindow
*arg1
= (wxWindow
*) 0 ;
9973 int arg2
= (int) -1 ;
9974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9978 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9979 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9980 long arg6
= (long) 0 ;
9981 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9982 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9983 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9984 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9985 wxCheckListBox
*result
= 0 ;
9992 bool temp5
= false ;
9997 bool temp8
= false ;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 PyObject
* obj2
= 0 ;
10001 PyObject
* obj3
= 0 ;
10002 PyObject
* obj4
= 0 ;
10003 PyObject
* obj5
= 0 ;
10004 PyObject
* obj6
= 0 ;
10005 PyObject
* obj7
= 0 ;
10006 char * kwnames
[] = {
10007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10018 if (!SWIG_IsOK(ecode2
)) {
10019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10021 arg2
= static_cast< int >(val2
);
10026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10032 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10037 if (! PySequence_Check(obj4
)) {
10038 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10041 arg5
= new wxArrayString
;
10043 int i
, len
=PySequence_Length(obj4
);
10044 for (i
=0; i
<len
; i
++) {
10045 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10046 wxString
* s
= wxString_in_helper(item
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10055 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10056 if (!SWIG_IsOK(ecode6
)) {
10057 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10059 arg6
= static_cast< long >(val6
);
10062 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10063 if (!SWIG_IsOK(res7
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10069 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10073 arg8
= wxString_in_helper(obj7
);
10074 if (arg8
== NULL
) SWIG_fail
;
10079 if (!wxPyCheckForApp()) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10087 if (temp5
) delete arg5
;
10096 if (temp5
) delete arg5
;
10106 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10107 PyObject
*resultobj
= 0;
10108 wxCheckListBox
*result
= 0 ;
10110 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10112 if (!wxPyCheckForApp()) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (wxCheckListBox
*)new wxCheckListBox();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10125 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
= 0;
10127 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10128 wxWindow
*arg2
= (wxWindow
*) 0 ;
10129 int arg3
= (int) -1 ;
10130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10134 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10135 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10136 long arg7
= (long) 0 ;
10137 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10138 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10139 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10140 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10150 bool temp6
= false ;
10155 bool temp9
= false ;
10156 PyObject
* obj0
= 0 ;
10157 PyObject
* obj1
= 0 ;
10158 PyObject
* obj2
= 0 ;
10159 PyObject
* obj3
= 0 ;
10160 PyObject
* obj4
= 0 ;
10161 PyObject
* obj5
= 0 ;
10162 PyObject
* obj6
= 0 ;
10163 PyObject
* obj7
= 0 ;
10164 PyObject
* obj8
= 0 ;
10165 char * kwnames
[] = {
10166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10174 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10176 if (!SWIG_IsOK(res2
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10179 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10182 if (!SWIG_IsOK(ecode3
)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10185 arg3
= static_cast< int >(val3
);
10190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10201 if (! PySequence_Check(obj5
)) {
10202 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10205 arg6
= new wxArrayString
;
10207 int i
, len
=PySequence_Length(obj5
);
10208 for (i
=0; i
<len
; i
++) {
10209 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10210 wxString
* s
= wxString_in_helper(item
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10219 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10220 if (!SWIG_IsOK(ecode7
)) {
10221 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10223 arg7
= static_cast< long >(val7
);
10226 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10227 if (!SWIG_IsOK(res8
)) {
10228 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10233 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10237 arg9
= wxString_in_helper(obj8
);
10238 if (arg9
== NULL
) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10252 if (temp6
) delete arg6
;
10261 if (temp6
) delete arg6
;
10271 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
= 0;
10273 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10274 unsigned int arg2
;
10278 unsigned int val2
;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char * kwnames
[] = {
10283 (char *) "self",(char *) "index", NULL
10286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10288 if (!SWIG_IsOK(res1
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10291 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10292 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10293 if (!SWIG_IsOK(ecode2
)) {
10294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10296 arg2
= static_cast< unsigned int >(val2
);
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= (bool)(arg1
)->IsChecked(arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10312 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
= 0;
10314 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10315 unsigned int arg2
;
10316 int arg3
= (int) true ;
10319 unsigned int val2
;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 PyObject
* obj2
= 0 ;
10326 char * kwnames
[] = {
10327 (char *) "self",(char *) "index",(char *) "check", NULL
10330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10332 if (!SWIG_IsOK(res1
)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10335 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10336 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10337 if (!SWIG_IsOK(ecode2
)) {
10338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10340 arg2
= static_cast< unsigned int >(val2
);
10342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10343 if (!SWIG_IsOK(ecode3
)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10346 arg3
= static_cast< int >(val3
);
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 (arg1
)->Check(arg2
,arg3
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= SWIG_Py_Void();
10361 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10362 PyObject
*resultobj
= 0;
10363 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10367 PyObject
*swig_obj
[1] ;
10369 if (!args
) SWIG_fail
;
10370 swig_obj
[0] = args
;
10371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10372 if (!SWIG_IsOK(res1
)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10375 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (int)(arg1
)->GetItemHeight();
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_From_int(static_cast< int >(result
));
10389 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10392 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10393 return SWIG_Py_Void();
10396 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10397 return SWIG_Python_InitShadowInstance(args
);
10400 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10401 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10406 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10407 PyObject
*pyobj
= 0;
10411 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10413 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10420 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
= 0;
10422 wxColour
const &arg1_defvalue
= wxNullColour
;
10423 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10424 wxColour
const &arg2_defvalue
= wxNullColour
;
10425 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10426 wxFont
const &arg3_defvalue
= wxNullFont
;
10427 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10428 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10429 wxTextAttr
*result
= 0 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 PyObject
* obj2
= 0 ;
10439 PyObject
* obj3
= 0 ;
10440 char * kwnames
[] = {
10441 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10448 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10458 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10459 if (!SWIG_IsOK(res3
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10465 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10469 if (!SWIG_IsOK(ecode4
)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10472 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10487 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10488 PyObject
*resultobj
= 0;
10489 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10492 PyObject
*swig_obj
[1] ;
10494 if (!args
) SWIG_fail
;
10495 swig_obj
[0] = args
;
10496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10497 if (!SWIG_IsOK(res1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10500 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_Py_Void();
10515 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10516 PyObject
*resultobj
= 0;
10517 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10520 PyObject
*swig_obj
[1] ;
10522 if (!args
) SWIG_fail
;
10523 swig_obj
[0] = args
;
10524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10528 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_Py_Void();
10542 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
= 0;
10544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10545 wxColour
*arg2
= 0 ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char * kwnames
[] = {
10552 (char *) "self",(char *) "colText", NULL
10555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10560 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10563 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_Py_Void();
10578 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= 0;
10580 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10581 wxColour
*arg2
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "self",(char *) "colBack", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10596 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_Py_Void();
10614 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10618 long arg3
= (long) wxTEXT_ATTR_FONT
;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 PyObject
* obj2
= 0 ;
10628 char * kwnames
[] = {
10629 (char *) "self",(char *) "font",(char *) "flags", NULL
10632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10637 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10639 if (!SWIG_IsOK(res2
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10645 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10647 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10648 if (!SWIG_IsOK(ecode3
)) {
10649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10651 arg3
= static_cast< long >(val3
);
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_Py_Void();
10666 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10669 wxTextAttrAlignment arg2
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char * kwnames
[] = {
10677 (char *) "self",(char *) "alignment", NULL
10680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10685 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10687 if (!SWIG_IsOK(ecode2
)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10690 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 (arg1
)->SetAlignment(arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_Py_Void();
10704 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= 0;
10706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10707 wxArrayInt
*arg2
= 0 ;
10710 bool temp2
= false ;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 char * kwnames
[] = {
10714 (char *) "self",(char *) "tabs", NULL
10717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10719 if (!SWIG_IsOK(res1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10722 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10724 if (! PySequence_Check(obj1
)) {
10725 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10728 arg2
= new wxArrayInt
;
10730 int i
, len
=PySequence_Length(obj1
);
10731 for (i
=0; i
<len
; i
++) {
10732 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10733 PyObject
* number
= PyNumber_Int(item
);
10734 arg2
->Add(PyInt_AS_LONG(number
));
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_Py_Void();
10747 if (temp2
) delete arg2
;
10752 if (temp2
) delete arg2
;
10758 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
= 0;
10760 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10762 int arg3
= (int) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 PyObject
* obj2
= 0 ;
10772 char * kwnames
[] = {
10773 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10781 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10783 if (!SWIG_IsOK(ecode2
)) {
10784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10786 arg2
= static_cast< int >(val2
);
10788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10789 if (!SWIG_IsOK(ecode3
)) {
10790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10792 arg3
= static_cast< int >(val3
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetLeftIndent(arg2
,arg3
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 char * kwnames
[] = {
10818 (char *) "self",(char *) "indent", NULL
10821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10826 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10828 if (!SWIG_IsOK(ecode2
)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10831 arg2
= static_cast< int >(val2
);
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetRightIndent(arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_Py_Void();
10845 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
= 0;
10847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "flags", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10864 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10865 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10869 arg2
= static_cast< long >(val2
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetFlags(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 PyObject
*resultobj
= 0;
10885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10889 PyObject
*swig_obj
[1] ;
10891 if (!args
) SWIG_fail
;
10892 swig_obj
[0] = args
;
10893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10897 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10913 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10914 PyObject
*resultobj
= 0;
10915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10919 PyObject
*swig_obj
[1] ;
10921 if (!args
) SWIG_fail
;
10922 swig_obj
[0] = args
;
10923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10924 if (!SWIG_IsOK(res1
)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10927 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10943 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10944 PyObject
*resultobj
= 0;
10945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10949 PyObject
*swig_obj
[1] ;
10951 if (!args
) SWIG_fail
;
10952 swig_obj
[0] = args
;
10953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10954 if (!SWIG_IsOK(res1
)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10957 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10973 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10974 PyObject
*resultobj
= 0;
10975 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10979 PyObject
*swig_obj
[1] ;
10981 if (!args
) SWIG_fail
;
10982 swig_obj
[0] = args
;
10983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10984 if (!SWIG_IsOK(res1
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10987 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11004 PyObject
*resultobj
= 0;
11005 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11009 PyObject
*swig_obj
[1] ;
11011 if (!args
) SWIG_fail
;
11012 swig_obj
[0] = args
;
11013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11017 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11033 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11034 PyObject
*resultobj
= 0;
11035 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11039 PyObject
*swig_obj
[1] ;
11041 if (!args
) SWIG_fail
;
11042 swig_obj
[0] = args
;
11043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11044 if (!SWIG_IsOK(res1
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11047 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11064 PyObject
*resultobj
= 0;
11065 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11069 PyObject
*swig_obj
[1] ;
11071 if (!args
) SWIG_fail
;
11072 swig_obj
[0] = args
;
11073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11077 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11093 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
= 0;
11095 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 char * kwnames
[] = {
11105 (char *) "self",(char *) "flag", NULL
11108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11110 if (!SWIG_IsOK(res1
)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11113 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11114 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11115 if (!SWIG_IsOK(ecode2
)) {
11116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11118 arg2
= static_cast< long >(val2
);
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11134 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11135 PyObject
*resultobj
= 0;
11136 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11137 wxColour
*result
= 0 ;
11140 PyObject
*swig_obj
[1] ;
11142 if (!args
) SWIG_fail
;
11143 swig_obj
[0] = args
;
11144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11145 if (!SWIG_IsOK(res1
)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11148 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11153 result
= (wxColour
*) &_result_ref
;
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11165 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11166 PyObject
*resultobj
= 0;
11167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11168 wxColour
*result
= 0 ;
11171 PyObject
*swig_obj
[1] ;
11173 if (!args
) SWIG_fail
;
11174 swig_obj
[0] = args
;
11175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11176 if (!SWIG_IsOK(res1
)) {
11177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11179 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11184 result
= (wxColour
*) &_result_ref
;
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11196 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11197 PyObject
*resultobj
= 0;
11198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11199 wxFont
*result
= 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_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11210 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11215 result
= (wxFont
*) &_result_ref
;
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 wxFont
* resultptr
= new wxFont(*result
);
11222 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11230 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11231 PyObject
*resultobj
= 0;
11232 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11233 wxTextAttrAlignment result
;
11236 PyObject
*swig_obj
[1] ;
11238 if (!args
) SWIG_fail
;
11239 swig_obj
[0] = args
;
11240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11241 if (!SWIG_IsOK(res1
)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11244 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= SWIG_From_int(static_cast< int >(result
));
11258 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11259 PyObject
*resultobj
= 0;
11260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11261 wxArrayInt
*result
= 0 ;
11264 PyObject
*swig_obj
[1] ;
11266 if (!args
) SWIG_fail
;
11267 swig_obj
[0] = args
;
11268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11272 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11277 result
= (wxArrayInt
*) &_result_ref
;
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= PyList_New(0);
11285 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11286 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11287 PyList_Append(resultobj
, val
);
11297 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11298 PyObject
*resultobj
= 0;
11299 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11303 PyObject
*swig_obj
[1] ;
11305 if (!args
) SWIG_fail
;
11306 swig_obj
[0] = args
;
11307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11311 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_From_long(static_cast< long >(result
));
11325 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11339 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_long(static_cast< long >(result
));
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 PyObject
*swig_obj
[1] ;
11361 if (!args
) SWIG_fail
;
11362 swig_obj
[0] = args
;
11363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long(static_cast< long >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long(static_cast< long >(result
));
11409 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11423 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11439 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
= 0;
11441 wxTextAttr
*arg1
= 0 ;
11442 wxTextAttr
*arg2
= 0 ;
11443 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 PyObject
* obj2
= 0 ;
11454 char * kwnames
[] = {
11455 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11459 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11466 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11468 if (!SWIG_IsOK(res2
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11474 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11475 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11476 if (!SWIG_IsOK(res3
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11479 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11493 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11496 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11497 return SWIG_Py_Void();
11500 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11501 return SWIG_Python_InitShadowInstance(args
);
11504 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxWindow
*arg1
= (wxWindow
*) 0 ;
11507 int arg2
= (int) -1 ;
11508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11514 long arg6
= (long) 0 ;
11515 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11516 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11517 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11518 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11519 wxTextCtrl
*result
= 0 ;
11524 bool temp3
= false ;
11531 bool temp8
= false ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 PyObject
* obj4
= 0 ;
11537 PyObject
* obj5
= 0 ;
11538 PyObject
* obj6
= 0 ;
11539 PyObject
* obj7
= 0 ;
11540 char * kwnames
[] = {
11541 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11552 if (!SWIG_IsOK(ecode2
)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11555 arg2
= static_cast< int >(val2
);
11559 arg3
= wxString_in_helper(obj2
);
11560 if (arg3
== NULL
) SWIG_fail
;
11567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11577 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11578 if (!SWIG_IsOK(ecode6
)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11581 arg6
= static_cast< long >(val6
);
11584 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11585 if (!SWIG_IsOK(res7
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11591 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11595 arg8
= wxString_in_helper(obj7
);
11596 if (arg8
== NULL
) SWIG_fail
;
11601 if (!wxPyCheckForApp()) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11630 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxTextCtrl
*result
= 0 ;
11634 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11636 if (!wxPyCheckForApp()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxTextCtrl
*)new wxTextCtrl();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11649 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
= 0;
11651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11652 wxWindow
*arg2
= (wxWindow
*) 0 ;
11653 int arg3
= (int) -1 ;
11654 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11655 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11656 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11657 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11658 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11659 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11660 long arg7
= (long) 0 ;
11661 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11662 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11663 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11672 bool temp4
= false ;
11679 bool temp9
= false ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 PyObject
* obj2
= 0 ;
11683 PyObject
* obj3
= 0 ;
11684 PyObject
* obj4
= 0 ;
11685 PyObject
* obj5
= 0 ;
11686 PyObject
* obj6
= 0 ;
11687 PyObject
* obj7
= 0 ;
11688 PyObject
* obj8
= 0 ;
11689 char * kwnames
[] = {
11690 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11695 if (!SWIG_IsOK(res1
)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11698 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11700 if (!SWIG_IsOK(res2
)) {
11701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11706 if (!SWIG_IsOK(ecode3
)) {
11707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11709 arg3
= static_cast< int >(val3
);
11713 arg4
= wxString_in_helper(obj3
);
11714 if (arg4
== NULL
) SWIG_fail
;
11721 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11727 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11731 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11732 if (!SWIG_IsOK(ecode7
)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11735 arg7
= static_cast< long >(val7
);
11738 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11739 if (!SWIG_IsOK(res8
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11745 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11749 arg9
= wxString_in_helper(obj8
);
11750 if (arg9
== NULL
) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11799 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11819 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
= 0;
11821 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11822 wxString
*arg2
= 0 ;
11825 bool temp2
= false ;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 char * kwnames
[] = {
11829 (char *) "self",(char *) "value", NULL
11832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11837 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11839 arg2
= wxString_in_helper(obj1
);
11840 if (arg2
== NULL
) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetValue((wxString
const &)*arg2
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= 0;
11866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 PyObject
* obj2
= 0 ;
11879 char * kwnames
[] = {
11880 (char *) "self",(char *) "_from",(char *) "to", NULL
11883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11888 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11890 if (!SWIG_IsOK(ecode2
)) {
11891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11893 arg2
= static_cast< long >(val2
);
11894 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11895 if (!SWIG_IsOK(ecode3
)) {
11896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11898 arg3
= static_cast< long >(val3
);
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11918 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
= 0;
11920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "lineNo", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11940 if (!SWIG_IsOK(ecode2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11943 arg2
= static_cast< long >(val2
);
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_From_int(static_cast< int >(result
));
11957 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
= 0;
11959 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 char * kwnames
[] = {
11969 (char *) "self",(char *) "lineNo", NULL
11972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11977 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11979 if (!SWIG_IsOK(ecode2
)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11982 arg2
= static_cast< long >(val2
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12002 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12016 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int(static_cast< int >(result
));
12030 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12044 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12060 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12061 PyObject
*resultobj
= 0;
12062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12066 PyObject
*swig_obj
[1] ;
12068 if (!args
) SWIG_fail
;
12069 swig_obj
[0] = args
;
12070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12074 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12090 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12104 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12120 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12121 PyObject
*resultobj
= 0;
12122 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12126 PyObject
*swig_obj
[1] ;
12128 if (!args
) SWIG_fail
;
12129 swig_obj
[0] = args
;
12130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12134 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12151 PyObject
*resultobj
= 0;
12152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12153 long *arg2
= (long *) 0 ;
12154 long *arg3
= (long *) 0 ;
12158 int res2
= SWIG_TMPOBJ
;
12160 int res3
= SWIG_TMPOBJ
;
12161 PyObject
*swig_obj
[1] ;
12165 if (!args
) SWIG_fail
;
12166 swig_obj
[0] = args
;
12167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12171 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_Py_Void();
12179 if (SWIG_IsTmpObj(res2
)) {
12180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12182 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12185 if (SWIG_IsTmpObj(res3
)) {
12186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12197 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12198 PyObject
*resultobj
= 0;
12199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 PyObject
*swig_obj
[1] ;
12205 if (!args
) SWIG_fail
;
12206 swig_obj
[0] = args
;
12207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12211 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12231 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 PyObject
*resultobj
= 0;
12233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12244 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_Py_Void();
12258 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= 0;
12260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12263 wxString
*arg4
= 0 ;
12270 bool temp4
= false ;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 PyObject
* obj2
= 0 ;
12274 PyObject
* obj3
= 0 ;
12275 char * kwnames
[] = {
12276 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12281 if (!SWIG_IsOK(res1
)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12284 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12286 if (!SWIG_IsOK(ecode2
)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12289 arg2
= static_cast< long >(val2
);
12290 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12291 if (!SWIG_IsOK(ecode3
)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12294 arg3
= static_cast< long >(val3
);
12296 arg4
= wxString_in_helper(obj3
);
12297 if (arg4
== NULL
) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= SWIG_Py_Void();
12321 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
= 0;
12323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 PyObject
* obj2
= 0 ;
12335 char * kwnames
[] = {
12336 (char *) "self",(char *) "_from",(char *) "to", NULL
12339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12341 if (!SWIG_IsOK(res1
)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12344 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12345 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12346 if (!SWIG_IsOK(ecode2
)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12349 arg2
= static_cast< long >(val2
);
12350 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12351 if (!SWIG_IsOK(ecode3
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12354 arg3
= static_cast< long >(val3
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->Remove(arg2
,arg3
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_Py_Void();
12368 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
= 0;
12370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12371 wxString
*arg2
= 0 ;
12375 bool temp2
= false ;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 char * kwnames
[] = {
12379 (char *) "self",(char *) "file", NULL
12382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12387 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12389 arg2
= wxString_in_helper(obj1
);
12390 if (arg2
== NULL
) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12416 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
= 0;
12418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12419 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12420 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12424 bool temp2
= false ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "self",(char *) "file", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12439 arg2
= wxString_in_helper(obj1
);
12440 if (arg2
== NULL
) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12467 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 PyObject
*resultobj
= 0;
12469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12472 PyObject
*swig_obj
[1] ;
12474 if (!args
) SWIG_fail
;
12475 swig_obj
[0] = args
;
12476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->MarkDirty();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_Py_Void();
12494 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12495 PyObject
*resultobj
= 0;
12496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12499 PyObject
*swig_obj
[1] ;
12501 if (!args
) SWIG_fail
;
12502 swig_obj
[0] = args
;
12503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12507 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->DiscardEdits();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_Py_Void();
12521 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= 0;
12523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12524 unsigned long arg2
;
12527 unsigned long val2
;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "len", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",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_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12541 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12542 if (!SWIG_IsOK(ecode2
)) {
12543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12545 arg2
= static_cast< unsigned long >(val2
);
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetMaxLength(arg2
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_Py_Void();
12559 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
= 0;
12561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12562 wxString
*arg2
= 0 ;
12565 bool temp2
= false ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char * kwnames
[] = {
12569 (char *) "self",(char *) "text", NULL
12572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12574 if (!SWIG_IsOK(res1
)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12579 arg2
= wxString_in_helper(obj1
);
12580 if (arg2
== NULL
) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->WriteText((wxString
const &)*arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12607 wxString
*arg2
= 0 ;
12610 bool temp2
= false ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char * kwnames
[] = {
12614 (char *) "self",(char *) "text", NULL
12617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12622 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12624 arg2
= wxString_in_helper(obj1
);
12625 if (arg2
== NULL
) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->AppendText((wxString
const &)*arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_Py_Void();
12649 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
= 0;
12651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12652 wxKeyEvent
*arg2
= 0 ;
12658 PyObject
* obj0
= 0 ;
12659 PyObject
* obj1
= 0 ;
12660 char * kwnames
[] = {
12661 (char *) "self",(char *) "event", NULL
12664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12666 if (!SWIG_IsOK(res1
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12669 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12671 if (!SWIG_IsOK(res2
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12677 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
= 0;
12695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12698 wxTextAttr
*arg4
= 0 ;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 PyObject
* obj2
= 0 ;
12711 PyObject
* obj3
= 0 ;
12712 char * kwnames
[] = {
12713 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12721 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12722 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12723 if (!SWIG_IsOK(ecode2
)) {
12724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12726 arg2
= static_cast< long >(val2
);
12727 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12728 if (!SWIG_IsOK(ecode3
)) {
12729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12731 arg3
= static_cast< long >(val3
);
12732 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12733 if (!SWIG_IsOK(res4
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12739 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12755 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
= 0;
12757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12759 wxTextAttr
*arg3
= 0 ;
12767 PyObject
* obj0
= 0 ;
12768 PyObject
* obj1
= 0 ;
12769 PyObject
* obj2
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "position",(char *) "style", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12781 if (!SWIG_IsOK(ecode2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12784 arg2
= static_cast< long >(val2
);
12785 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12786 if (!SWIG_IsOK(res3
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12792 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12808 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
= 0;
12810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12811 wxTextAttr
*arg2
= 0 ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 char * kwnames
[] = {
12820 (char *) "self",(char *) "style", NULL
12823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12828 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12830 if (!SWIG_IsOK(res2
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12836 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12852 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12853 PyObject
*resultobj
= 0;
12854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12855 wxTextAttr
*result
= 0 ;
12858 PyObject
*swig_obj
[1] ;
12860 if (!args
) SWIG_fail
;
12861 swig_obj
[0] = args
;
12862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12866 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12871 result
= (wxTextAttr
*) &_result_ref
;
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12883 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 PyObject
* obj2
= 0 ;
12898 char * kwnames
[] = {
12899 (char *) "self",(char *) "x",(char *) "y", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12904 if (!SWIG_IsOK(res1
)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12907 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12909 if (!SWIG_IsOK(ecode2
)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12912 arg2
= static_cast< long >(val2
);
12913 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12914 if (!SWIG_IsOK(ecode3
)) {
12915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12917 arg3
= static_cast< long >(val3
);
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= SWIG_From_long(static_cast< long >(result
));
12931 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
= 0;
12933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12935 long *arg3
= (long *) 0 ;
12936 long *arg4
= (long *) 0 ;
12942 int res3
= SWIG_TMPOBJ
;
12944 int res4
= SWIG_TMPOBJ
;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 char * kwnames
[] = {
12948 (char *) "self",(char *) "pos", NULL
12953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12958 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12959 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12960 if (!SWIG_IsOK(ecode2
)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12963 arg2
= static_cast< long >(val2
);
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_Py_Void();
12971 if (SWIG_IsTmpObj(res3
)) {
12972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12974 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12977 if (SWIG_IsTmpObj(res4
)) {
12978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12980 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12989 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
= 0;
12991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 char * kwnames
[] = {
13000 (char *) "self",(char *) "pos", NULL
13003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13005 if (!SWIG_IsOK(res1
)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13008 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13009 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13010 if (!SWIG_IsOK(ecode2
)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13013 arg2
= static_cast< long >(val2
);
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 (arg1
)->ShowPosition(arg2
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_Py_Void();
13027 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
= 0;
13029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13030 wxPoint
*arg2
= 0 ;
13031 long *arg3
= (long *) 0 ;
13032 long *arg4
= (long *) 0 ;
13033 wxTextCtrlHitTestResult result
;
13038 int res3
= SWIG_TMPOBJ
;
13040 int res4
= SWIG_TMPOBJ
;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char * kwnames
[] = {
13044 (char *) "self",(char *) "pt", NULL
13049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13051 if (!SWIG_IsOK(res1
)) {
13052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13054 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= SWIG_From_int(static_cast< int >(result
));
13066 if (SWIG_IsTmpObj(res3
)) {
13067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13072 if (SWIG_IsTmpObj(res4
)) {
13073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13075 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13084 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
= 0;
13086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13087 wxPoint
*arg2
= 0 ;
13088 long *arg3
= (long *) 0 ;
13089 wxTextCtrlHitTestResult result
;
13094 int res3
= SWIG_TMPOBJ
;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 char * kwnames
[] = {
13098 (char *) "self",(char *) "pt", NULL
13102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13104 if (!SWIG_IsOK(res1
)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13107 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_From_int(static_cast< int >(result
));
13119 if (SWIG_IsTmpObj(res3
)) {
13120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13122 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13131 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13132 PyObject
*resultobj
= 0;
13133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13136 PyObject
*swig_obj
[1] ;
13138 if (!args
) SWIG_fail
;
13139 swig_obj
[0] = args
;
13140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13144 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_Py_Void();
13158 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13159 PyObject
*resultobj
= 0;
13160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13163 PyObject
*swig_obj
[1] ;
13165 if (!args
) SWIG_fail
;
13166 swig_obj
[0] = args
;
13167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13171 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_Py_Void();
13185 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 PyObject
*resultobj
= 0;
13187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13190 PyObject
*swig_obj
[1] ;
13192 if (!args
) SWIG_fail
;
13193 swig_obj
[0] = args
;
13194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13195 if (!SWIG_IsOK(res1
)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13198 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= SWIG_Py_Void();
13212 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13213 PyObject
*resultobj
= 0;
13214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13218 PyObject
*swig_obj
[1] ;
13220 if (!args
) SWIG_fail
;
13221 swig_obj
[0] = args
;
13222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13223 if (!SWIG_IsOK(res1
)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13226 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13242 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13243 PyObject
*resultobj
= 0;
13244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13248 PyObject
*swig_obj
[1] ;
13250 if (!args
) SWIG_fail
;
13251 swig_obj
[0] = args
;
13252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13253 if (!SWIG_IsOK(res1
)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13256 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13272 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 PyObject
*resultobj
= 0;
13274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13278 PyObject
*swig_obj
[1] ;
13280 if (!args
) SWIG_fail
;
13281 swig_obj
[0] = args
;
13282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 PyObject
*resultobj
= 0;
13304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13307 PyObject
*swig_obj
[1] ;
13309 if (!args
) SWIG_fail
;
13310 swig_obj
[0] = args
;
13311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13315 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_Py_Void();
13329 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13334 PyObject
*swig_obj
[1] ;
13336 if (!args
) SWIG_fail
;
13337 swig_obj
[0] = args
;
13338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13339 if (!SWIG_IsOK(res1
)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13342 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= SWIG_Py_Void();
13356 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13357 PyObject
*resultobj
= 0;
13358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13362 PyObject
*swig_obj
[1] ;
13364 if (!args
) SWIG_fail
;
13365 swig_obj
[0] = args
;
13366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13370 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13386 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13392 PyObject
*swig_obj
[1] ;
13394 if (!args
) SWIG_fail
;
13395 swig_obj
[0] = args
;
13396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13416 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
= 0;
13418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 char * kwnames
[] = {
13427 (char *) "self",(char *) "pos", NULL
13430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13435 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13436 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13437 if (!SWIG_IsOK(ecode2
)) {
13438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13440 arg2
= static_cast< long >(val2
);
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 (arg1
)->SetInsertionPoint(arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_Py_Void();
13454 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13455 PyObject
*resultobj
= 0;
13456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13459 PyObject
*swig_obj
[1] ;
13461 if (!args
) SWIG_fail
;
13462 swig_obj
[0] = args
;
13463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13464 if (!SWIG_IsOK(res1
)) {
13465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13467 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 (arg1
)->SetInsertionPointEnd();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_Py_Void();
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13495 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_From_long(static_cast< long >(result
));
13509 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13510 PyObject
*resultobj
= 0;
13511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13515 PyObject
*swig_obj
[1] ;
13517 if (!args
) SWIG_fail
;
13518 swig_obj
[0] = args
;
13519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_From_long(static_cast< long >(result
));
13537 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
= 0;
13539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 PyObject
* obj2
= 0 ;
13551 char * kwnames
[] = {
13552 (char *) "self",(char *) "_from",(char *) "to", NULL
13555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13557 if (!SWIG_IsOK(res1
)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13560 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13562 if (!SWIG_IsOK(ecode2
)) {
13563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13565 arg2
= static_cast< long >(val2
);
13566 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13567 if (!SWIG_IsOK(ecode3
)) {
13568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13570 arg3
= static_cast< long >(val3
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 (arg1
)->SetSelection(arg2
,arg3
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_Py_Void();
13584 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13589 PyObject
*swig_obj
[1] ;
13591 if (!args
) SWIG_fail
;
13592 swig_obj
[0] = args
;
13593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13594 if (!SWIG_IsOK(res1
)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13597 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 (arg1
)->SelectAll();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
= 0;
13613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char * kwnames
[] = {
13622 (char *) "self",(char *) "editable", NULL
13625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13627 if (!SWIG_IsOK(res1
)) {
13628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13630 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13631 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13632 if (!SWIG_IsOK(ecode2
)) {
13633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13635 arg2
= static_cast< bool >(val2
);
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SetEditable(arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_Py_Void();
13649 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= 0;
13651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13652 wxString
*arg2
= 0 ;
13655 bool temp2
= false ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "self",(char *) "text", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13664 if (!SWIG_IsOK(res1
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13667 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13669 arg2
= wxString_in_helper(obj1
);
13670 if (arg2
== NULL
) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_Py_Void();
13694 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
= 0;
13696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 PyObject
* obj2
= 0 ;
13709 char * kwnames
[] = {
13710 (char *) "self",(char *) "_from",(char *) "to", NULL
13713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13715 if (!SWIG_IsOK(res1
)) {
13716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13718 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13719 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13720 if (!SWIG_IsOK(ecode2
)) {
13721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13723 arg2
= static_cast< long >(val2
);
13724 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13725 if (!SWIG_IsOK(ecode3
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13728 arg3
= static_cast< long >(val3
);
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13748 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13751 SwigValueWrapper
<wxVisualAttributes
> result
;
13754 PyObject
* obj0
= 0 ;
13755 char * kwnames
[] = {
13756 (char *) "variant", NULL
13759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13762 if (!SWIG_IsOK(ecode1
)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13765 arg1
= static_cast< wxWindowVariant
>(val1
);
13768 if (!wxPyCheckForApp()) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13781 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13784 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13785 return SWIG_Py_Void();
13788 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13789 return SWIG_Python_InitShadowInstance(args
);
13792 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= 0;
13795 wxMouseEvent
*arg2
= 0 ;
13798 wxTextUrlEvent
*result
= 0 ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 PyObject
* obj2
= 0 ;
13810 PyObject
* obj3
= 0 ;
13811 char * kwnames
[] = {
13812 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13816 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13817 if (!SWIG_IsOK(ecode1
)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13820 arg1
= static_cast< int >(val1
);
13821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13822 if (!SWIG_IsOK(res2
)) {
13823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13828 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13829 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13830 if (!SWIG_IsOK(ecode3
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13833 arg3
= static_cast< long >(val3
);
13834 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13835 if (!SWIG_IsOK(ecode4
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13838 arg4
= static_cast< long >(val4
);
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13852 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13853 PyObject
*resultobj
= 0;
13854 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13855 wxMouseEvent
*result
= 0 ;
13858 PyObject
*swig_obj
[1] ;
13860 if (!args
) SWIG_fail
;
13861 swig_obj
[0] = args
;
13862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13863 if (!SWIG_IsOK(res1
)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13866 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13871 result
= (wxMouseEvent
*) &_result_ref
;
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13883 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13884 PyObject
*resultobj
= 0;
13885 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13889 PyObject
*swig_obj
[1] ;
13891 if (!args
) SWIG_fail
;
13892 swig_obj
[0] = args
;
13893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13894 if (!SWIG_IsOK(res1
)) {
13895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13897 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= SWIG_From_long(static_cast< long >(result
));
13911 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13912 PyObject
*resultobj
= 0;
13913 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13917 PyObject
*swig_obj
[1] ;
13919 if (!args
) SWIG_fail
;
13920 swig_obj
[0] = args
;
13921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13922 if (!SWIG_IsOK(res1
)) {
13923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13925 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_From_long(static_cast< long >(result
));
13939 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13942 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13943 return SWIG_Py_Void();
13946 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13947 return SWIG_Python_InitShadowInstance(args
);
13950 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13951 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13956 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13957 PyObject
*pyobj
= 0;
13961 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13963 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13970 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
= 0;
13972 wxWindow
*arg1
= (wxWindow
*) 0 ;
13973 int arg2
= (int) -1 ;
13974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13978 long arg5
= (long) wxSB_HORIZONTAL
;
13979 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13980 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13981 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13983 wxScrollBar
*result
= 0 ;
13994 bool temp7
= 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 char * kwnames
[] = {
14003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14014 if (!SWIG_IsOK(ecode2
)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14017 arg2
= static_cast< int >(val2
);
14022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14028 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14032 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14033 if (!SWIG_IsOK(ecode5
)) {
14034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14036 arg5
= static_cast< long >(val5
);
14039 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14040 if (!SWIG_IsOK(res6
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14046 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14050 arg7
= wxString_in_helper(obj6
);
14051 if (arg7
== NULL
) SWIG_fail
;
14056 if (!wxPyCheckForApp()) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14077 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14078 PyObject
*resultobj
= 0;
14079 wxScrollBar
*result
= 0 ;
14081 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14083 if (!wxPyCheckForApp()) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxScrollBar
*)new wxScrollBar();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14096 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
= 0;
14098 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14099 wxWindow
*arg2
= (wxWindow
*) 0 ;
14100 int arg3
= (int) -1 ;
14101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14105 long arg6
= (long) wxSB_HORIZONTAL
;
14106 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14107 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14108 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14123 bool temp8
= false ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 PyObject
* obj2
= 0 ;
14127 PyObject
* obj3
= 0 ;
14128 PyObject
* obj4
= 0 ;
14129 PyObject
* obj5
= 0 ;
14130 PyObject
* obj6
= 0 ;
14131 PyObject
* obj7
= 0 ;
14132 char * kwnames
[] = {
14133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14138 if (!SWIG_IsOK(res1
)) {
14139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14141 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14143 if (!SWIG_IsOK(res2
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14149 if (!SWIG_IsOK(ecode3
)) {
14150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14152 arg3
= static_cast< int >(val3
);
14157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14167 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14168 if (!SWIG_IsOK(ecode6
)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14171 arg6
= static_cast< long >(val6
);
14174 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14175 if (!SWIG_IsOK(res7
)) {
14176 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14181 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14185 arg8
= wxString_in_helper(obj7
);
14186 if (arg8
== NULL
) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14213 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14214 PyObject
*resultobj
= 0;
14215 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14219 PyObject
*swig_obj
[1] ;
14221 if (!args
) SWIG_fail
;
14222 swig_obj
[0] = args
;
14223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14224 if (!SWIG_IsOK(res1
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14227 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= SWIG_From_int(static_cast< int >(result
));
14241 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14242 PyObject
*resultobj
= 0;
14243 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14247 PyObject
*swig_obj
[1] ;
14249 if (!args
) SWIG_fail
;
14250 swig_obj
[0] = args
;
14251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14252 if (!SWIG_IsOK(res1
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14255 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= SWIG_From_int(static_cast< int >(result
));
14269 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14270 PyObject
*resultobj
= 0;
14271 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14275 PyObject
*swig_obj
[1] ;
14277 if (!args
) SWIG_fail
;
14278 swig_obj
[0] = args
;
14279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14280 if (!SWIG_IsOK(res1
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14283 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_From_int(static_cast< int >(result
));
14297 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14298 PyObject
*resultobj
= 0;
14299 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14303 PyObject
*swig_obj
[1] ;
14305 if (!args
) SWIG_fail
;
14306 swig_obj
[0] = args
;
14307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14308 if (!SWIG_IsOK(res1
)) {
14309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14311 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= SWIG_From_int(static_cast< int >(result
));
14325 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14326 PyObject
*resultobj
= 0;
14327 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14331 PyObject
*swig_obj
[1] ;
14333 if (!args
) SWIG_fail
;
14334 swig_obj
[0] = args
;
14335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14336 if (!SWIG_IsOK(res1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14339 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14355 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
= 0;
14357 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 PyObject
* obj1
= 0 ;
14365 char * kwnames
[] = {
14366 (char *) "self",(char *) "viewStart", NULL
14369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14371 if (!SWIG_IsOK(res1
)) {
14372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14374 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14376 if (!SWIG_IsOK(ecode2
)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14379 arg2
= static_cast< int >(val2
);
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 (arg1
)->SetThumbPosition(arg2
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_Py_Void();
14393 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
= 0;
14395 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14396 SwigValueWrapper
<wxVisualAttributes
> result
;
14399 PyObject
* obj0
= 0 ;
14400 char * kwnames
[] = {
14401 (char *) "variant", NULL
14404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14406 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14407 if (!SWIG_IsOK(ecode1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14410 arg1
= static_cast< wxWindowVariant
>(val1
);
14413 if (!wxPyCheckForApp()) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14426 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14429 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14430 return SWIG_Py_Void();
14433 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14434 return SWIG_Python_InitShadowInstance(args
);
14437 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14438 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14443 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14444 PyObject
*pyobj
= 0;
14448 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14450 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14457 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14458 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14463 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14464 PyObject
*pyobj
= 0;
14468 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14470 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14477 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
= 0;
14479 wxWindow
*arg1
= (wxWindow
*) 0 ;
14480 int arg2
= (int) -1 ;
14481 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14482 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14483 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14484 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14485 long arg5
= (long) wxSP_HORIZONTAL
;
14486 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14487 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14488 wxSpinButton
*result
= 0 ;
14497 bool temp6
= false ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 PyObject
* obj2
= 0 ;
14501 PyObject
* obj3
= 0 ;
14502 PyObject
* obj4
= 0 ;
14503 PyObject
* obj5
= 0 ;
14504 char * kwnames
[] = {
14505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14510 if (!SWIG_IsOK(res1
)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14516 if (!SWIG_IsOK(ecode2
)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14519 arg2
= static_cast< int >(val2
);
14524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14530 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14534 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14535 if (!SWIG_IsOK(ecode5
)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14538 arg5
= static_cast< long >(val5
);
14542 arg6
= wxString_in_helper(obj5
);
14543 if (arg6
== NULL
) SWIG_fail
;
14548 if (!wxPyCheckForApp()) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14569 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14570 PyObject
*resultobj
= 0;
14571 wxSpinButton
*result
= 0 ;
14573 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14575 if (!wxPyCheckForApp()) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxSpinButton
*)new wxSpinButton();
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14588 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
= 0;
14590 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14591 wxWindow
*arg2
= (wxWindow
*) 0 ;
14592 int arg3
= (int) -1 ;
14593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14597 long arg6
= (long) wxSP_HORIZONTAL
;
14598 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14611 bool temp7
= false ;
14612 PyObject
* obj0
= 0 ;
14613 PyObject
* obj1
= 0 ;
14614 PyObject
* obj2
= 0 ;
14615 PyObject
* obj3
= 0 ;
14616 PyObject
* obj4
= 0 ;
14617 PyObject
* obj5
= 0 ;
14618 PyObject
* obj6
= 0 ;
14619 char * kwnames
[] = {
14620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14625 if (!SWIG_IsOK(res1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14628 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14630 if (!SWIG_IsOK(res2
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14633 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14636 if (!SWIG_IsOK(ecode3
)) {
14637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14639 arg3
= static_cast< int >(val3
);
14644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14654 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14655 if (!SWIG_IsOK(ecode6
)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14658 arg6
= static_cast< long >(val6
);
14662 arg7
= wxString_in_helper(obj6
);
14663 if (arg7
== NULL
) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14690 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14691 PyObject
*resultobj
= 0;
14692 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14696 PyObject
*swig_obj
[1] ;
14698 if (!args
) SWIG_fail
;
14699 swig_obj
[0] = args
;
14700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14701 if (!SWIG_IsOK(res1
)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14704 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= SWIG_From_int(static_cast< int >(result
));
14718 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14719 PyObject
*resultobj
= 0;
14720 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14724 PyObject
*swig_obj
[1] ;
14726 if (!args
) SWIG_fail
;
14727 swig_obj
[0] = args
;
14728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14729 if (!SWIG_IsOK(res1
)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14732 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_From_int(static_cast< int >(result
));
14746 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14747 PyObject
*resultobj
= 0;
14748 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14752 PyObject
*swig_obj
[1] ;
14754 if (!args
) SWIG_fail
;
14755 swig_obj
[0] = args
;
14756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14760 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_From_int(static_cast< int >(result
));
14774 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
= 0;
14776 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 char * kwnames
[] = {
14785 (char *) "self",(char *) "val", NULL
14788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14790 if (!SWIG_IsOK(res1
)) {
14791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14793 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14795 if (!SWIG_IsOK(ecode2
)) {
14796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14798 arg2
= static_cast< int >(val2
);
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 (arg1
)->SetValue(arg2
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_Py_Void();
14812 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
= 0;
14814 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char * kwnames
[] = {
14823 (char *) "self",(char *) "minVal", NULL
14826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14831 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14833 if (!SWIG_IsOK(ecode2
)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14836 arg2
= static_cast< int >(val2
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 (arg1
)->SetMin(arg2
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= SWIG_Py_Void();
14850 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
= 0;
14852 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 char * kwnames
[] = {
14861 (char *) "self",(char *) "maxVal", NULL
14864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14866 if (!SWIG_IsOK(res1
)) {
14867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14869 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14871 if (!SWIG_IsOK(ecode2
)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14874 arg2
= static_cast< int >(val2
);
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 (arg1
)->SetMax(arg2
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_Py_Void();
14888 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
= 0;
14890 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 PyObject
* obj1
= 0 ;
14901 PyObject
* obj2
= 0 ;
14902 char * kwnames
[] = {
14903 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14908 if (!SWIG_IsOK(res1
)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14911 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14913 if (!SWIG_IsOK(ecode2
)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14916 arg2
= static_cast< int >(val2
);
14917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14918 if (!SWIG_IsOK(ecode3
)) {
14919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14921 arg3
= static_cast< int >(val3
);
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 (arg1
)->SetRange(arg2
,arg3
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_Py_Void();
14935 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14936 PyObject
*resultobj
= 0;
14937 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14941 PyObject
*swig_obj
[1] ;
14943 if (!args
) SWIG_fail
;
14944 swig_obj
[0] = args
;
14945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14949 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14965 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= 0;
14967 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14968 SwigValueWrapper
<wxVisualAttributes
> result
;
14971 PyObject
* obj0
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "variant", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14978 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14979 if (!SWIG_IsOK(ecode1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14982 arg1
= static_cast< wxWindowVariant
>(val1
);
14985 if (!wxPyCheckForApp()) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14998 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15001 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15002 return SWIG_Py_Void();
15005 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 return SWIG_Python_InitShadowInstance(args
);
15009 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
= 0;
15011 wxWindow
*arg1
= (wxWindow
*) 0 ;
15012 int arg2
= (int) -1 ;
15013 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15014 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15019 long arg6
= (long) wxSP_ARROW_KEYS
;
15020 int arg7
= (int) 0 ;
15021 int arg8
= (int) 100 ;
15022 int arg9
= (int) 0 ;
15023 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15024 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15025 wxSpinCtrl
*result
= 0 ;
15030 bool temp3
= false ;
15041 bool temp10
= false ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 PyObject
* obj2
= 0 ;
15045 PyObject
* obj3
= 0 ;
15046 PyObject
* obj4
= 0 ;
15047 PyObject
* obj5
= 0 ;
15048 PyObject
* obj6
= 0 ;
15049 PyObject
* obj7
= 0 ;
15050 PyObject
* obj8
= 0 ;
15051 PyObject
* obj9
= 0 ;
15052 char * kwnames
[] = {
15053 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15058 if (!SWIG_IsOK(res1
)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15064 if (!SWIG_IsOK(ecode2
)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15067 arg2
= static_cast< int >(val2
);
15071 arg3
= wxString_in_helper(obj2
);
15072 if (arg3
== NULL
) SWIG_fail
;
15079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15085 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15089 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15090 if (!SWIG_IsOK(ecode6
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15093 arg6
= static_cast< long >(val6
);
15096 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15097 if (!SWIG_IsOK(ecode7
)) {
15098 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15100 arg7
= static_cast< int >(val7
);
15103 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15104 if (!SWIG_IsOK(ecode8
)) {
15105 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15107 arg8
= static_cast< int >(val8
);
15110 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15111 if (!SWIG_IsOK(ecode9
)) {
15112 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15114 arg9
= static_cast< int >(val9
);
15118 arg10
= wxString_in_helper(obj9
);
15119 if (arg10
== NULL
) SWIG_fail
;
15124 if (!wxPyCheckForApp()) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15153 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15154 PyObject
*resultobj
= 0;
15155 wxSpinCtrl
*result
= 0 ;
15157 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15159 if (!wxPyCheckForApp()) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15172 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
= 0;
15174 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15175 wxWindow
*arg2
= (wxWindow
*) 0 ;
15176 int arg3
= (int) -1 ;
15177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15183 long arg7
= (long) wxSP_ARROW_KEYS
;
15184 int arg8
= (int) 0 ;
15185 int arg9
= (int) 100 ;
15186 int arg10
= (int) 0 ;
15187 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15188 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15196 bool temp4
= false ;
15207 bool temp11
= false ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 PyObject
* obj2
= 0 ;
15211 PyObject
* obj3
= 0 ;
15212 PyObject
* obj4
= 0 ;
15213 PyObject
* obj5
= 0 ;
15214 PyObject
* obj6
= 0 ;
15215 PyObject
* obj7
= 0 ;
15216 PyObject
* obj8
= 0 ;
15217 PyObject
* obj9
= 0 ;
15218 PyObject
* obj10
= 0 ;
15219 char * kwnames
[] = {
15220 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15225 if (!SWIG_IsOK(res1
)) {
15226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15228 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15230 if (!SWIG_IsOK(res2
)) {
15231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15236 if (!SWIG_IsOK(ecode3
)) {
15237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15239 arg3
= static_cast< int >(val3
);
15243 arg4
= wxString_in_helper(obj3
);
15244 if (arg4
== NULL
) SWIG_fail
;
15251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15257 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15261 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15262 if (!SWIG_IsOK(ecode7
)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15265 arg7
= static_cast< long >(val7
);
15268 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15269 if (!SWIG_IsOK(ecode8
)) {
15270 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15272 arg8
= static_cast< int >(val8
);
15275 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15276 if (!SWIG_IsOK(ecode9
)) {
15277 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15279 arg9
= static_cast< int >(val9
);
15282 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15283 if (!SWIG_IsOK(ecode10
)) {
15284 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15286 arg10
= static_cast< int >(val10
);
15290 arg11
= wxString_in_helper(obj10
);
15291 if (arg11
== NULL
) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15326 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 PyObject
*resultobj
= 0;
15328 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15332 PyObject
*swig_obj
[1] ;
15334 if (!args
) SWIG_fail
;
15335 swig_obj
[0] = args
;
15336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15337 if (!SWIG_IsOK(res1
)) {
15338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15340 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= SWIG_From_int(static_cast< int >(result
));
15354 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
= 0;
15356 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 char * kwnames
[] = {
15365 (char *) "self",(char *) "value", NULL
15368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15370 if (!SWIG_IsOK(res1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15373 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15375 if (!SWIG_IsOK(ecode2
)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15378 arg2
= static_cast< int >(val2
);
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetValue(arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_Py_Void();
15392 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= 0;
15394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15395 wxString
*arg2
= 0 ;
15398 bool temp2
= false ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char * kwnames
[] = {
15402 (char *) "self",(char *) "text", NULL
15405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15407 if (!SWIG_IsOK(res1
)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15410 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15412 arg2
= wxString_in_helper(obj1
);
15413 if (arg2
== NULL
) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 (arg1
)->SetValue((wxString
const &)*arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_Py_Void();
15437 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
= 0;
15439 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 PyObject
* obj2
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15460 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15462 if (!SWIG_IsOK(ecode2
)) {
15463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15465 arg2
= static_cast< int >(val2
);
15466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15467 if (!SWIG_IsOK(ecode3
)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15470 arg3
= static_cast< int >(val3
);
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 (arg1
)->SetRange(arg2
,arg3
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= SWIG_Py_Void();
15484 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15485 PyObject
*resultobj
= 0;
15486 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15490 PyObject
*swig_obj
[1] ;
15492 if (!args
) SWIG_fail
;
15493 swig_obj
[0] = args
;
15494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15495 if (!SWIG_IsOK(res1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15498 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= SWIG_From_int(static_cast< int >(result
));
15512 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15513 PyObject
*resultobj
= 0;
15514 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15518 PyObject
*swig_obj
[1] ;
15520 if (!args
) SWIG_fail
;
15521 swig_obj
[0] = args
;
15522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15523 if (!SWIG_IsOK(res1
)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15526 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_From_int(static_cast< int >(result
));
15540 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
= 0;
15542 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 PyObject
* obj1
= 0 ;
15553 PyObject
* obj2
= 0 ;
15554 char * kwnames
[] = {
15555 (char *) "self",(char *) "_from",(char *) "to", NULL
15558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15563 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15564 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15565 if (!SWIG_IsOK(ecode2
)) {
15566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15568 arg2
= static_cast< long >(val2
);
15569 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15570 if (!SWIG_IsOK(ecode3
)) {
15571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15573 arg3
= static_cast< long >(val3
);
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 (arg1
)->SetSelection(arg2
,arg3
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= SWIG_Py_Void();
15587 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
= 0;
15589 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15590 SwigValueWrapper
<wxVisualAttributes
> result
;
15593 PyObject
* obj0
= 0 ;
15594 char * kwnames
[] = {
15595 (char *) "variant", NULL
15598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15600 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15601 if (!SWIG_IsOK(ecode1
)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15604 arg1
= static_cast< wxWindowVariant
>(val1
);
15607 if (!wxPyCheckForApp()) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15620 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15623 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15624 return SWIG_Py_Void();
15627 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15628 return SWIG_Python_InitShadowInstance(args
);
15631 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
= 0;
15633 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15634 int arg2
= (int) 0 ;
15635 wxSpinEvent
*result
= 0 ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char * kwnames
[] = {
15643 (char *) "commandType",(char *) "winid", NULL
15646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15648 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15649 if (!SWIG_IsOK(ecode1
)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15652 arg1
= static_cast< wxEventType
>(val1
);
15655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15656 if (!SWIG_IsOK(ecode2
)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15659 arg2
= static_cast< int >(val2
);
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15674 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15675 PyObject
*resultobj
= 0;
15676 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15680 PyObject
*swig_obj
[1] ;
15682 if (!args
) SWIG_fail
;
15683 swig_obj
[0] = args
;
15684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15685 if (!SWIG_IsOK(res1
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15688 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_From_int(static_cast< int >(result
));
15702 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
= 0;
15704 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 char * kwnames
[] = {
15713 (char *) "self",(char *) "pos", NULL
15716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15718 if (!SWIG_IsOK(res1
)) {
15719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15721 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15723 if (!SWIG_IsOK(ecode2
)) {
15724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15726 arg2
= static_cast< int >(val2
);
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 (arg1
)->SetPosition(arg2
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_Py_Void();
15740 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15743 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15744 return SWIG_Py_Void();
15747 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15748 return SWIG_Python_InitShadowInstance(args
);
15751 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15752 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15757 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15758 PyObject
*pyobj
= 0;
15762 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15764 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15771 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15772 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15777 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15778 PyObject
*pyobj
= 0;
15782 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15784 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15791 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= 0;
15793 wxWindow
*arg1
= (wxWindow
*) 0 ;
15794 int arg2
= (int) -1 ;
15795 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15796 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15801 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15802 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15803 int arg7
= (int) 0 ;
15804 long arg8
= (long) wxRA_HORIZONTAL
;
15805 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15806 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15807 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15808 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15809 wxRadioBox
*result
= 0 ;
15814 bool temp3
= false ;
15817 bool temp6
= false ;
15824 bool temp10
= false ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 PyObject
* obj2
= 0 ;
15828 PyObject
* obj3
= 0 ;
15829 PyObject
* obj4
= 0 ;
15830 PyObject
* obj5
= 0 ;
15831 PyObject
* obj6
= 0 ;
15832 PyObject
* obj7
= 0 ;
15833 PyObject
* obj8
= 0 ;
15834 PyObject
* obj9
= 0 ;
15835 char * kwnames
[] = {
15836 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15847 if (!SWIG_IsOK(ecode2
)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15850 arg2
= static_cast< int >(val2
);
15854 arg3
= wxString_in_helper(obj2
);
15855 if (arg3
== NULL
) SWIG_fail
;
15862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15873 if (! PySequence_Check(obj5
)) {
15874 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15877 arg6
= new wxArrayString
;
15879 int i
, len
=PySequence_Length(obj5
);
15880 for (i
=0; i
<len
; i
++) {
15881 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15882 wxString
* s
= wxString_in_helper(item
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15891 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15892 if (!SWIG_IsOK(ecode7
)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15895 arg7
= static_cast< int >(val7
);
15898 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15899 if (!SWIG_IsOK(ecode8
)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15902 arg8
= static_cast< long >(val8
);
15905 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15906 if (!SWIG_IsOK(res9
)) {
15907 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15912 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15916 arg10
= wxString_in_helper(obj9
);
15917 if (arg10
== NULL
) SWIG_fail
;
15922 if (!wxPyCheckForApp()) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 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
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15934 if (temp6
) delete arg6
;
15947 if (temp6
) delete arg6
;
15957 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15958 PyObject
*resultobj
= 0;
15959 wxRadioBox
*result
= 0 ;
15961 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15963 if (!wxPyCheckForApp()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (wxRadioBox
*)new wxRadioBox();
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15976 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
= 0;
15978 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15979 wxWindow
*arg2
= (wxWindow
*) 0 ;
15980 int arg3
= (int) -1 ;
15981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15983 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15984 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15985 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15986 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15987 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15988 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15989 int arg8
= (int) 0 ;
15990 long arg9
= (long) wxRA_HORIZONTAL
;
15991 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15992 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15993 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15994 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16002 bool temp4
= false ;
16005 bool temp7
= false ;
16012 bool temp11
= false ;
16013 PyObject
* obj0
= 0 ;
16014 PyObject
* obj1
= 0 ;
16015 PyObject
* obj2
= 0 ;
16016 PyObject
* obj3
= 0 ;
16017 PyObject
* obj4
= 0 ;
16018 PyObject
* obj5
= 0 ;
16019 PyObject
* obj6
= 0 ;
16020 PyObject
* obj7
= 0 ;
16021 PyObject
* obj8
= 0 ;
16022 PyObject
* obj9
= 0 ;
16023 PyObject
* obj10
= 0 ;
16024 char * kwnames
[] = {
16025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16033 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16035 if (!SWIG_IsOK(res2
)) {
16036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16038 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16041 if (!SWIG_IsOK(ecode3
)) {
16042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16044 arg3
= static_cast< int >(val3
);
16048 arg4
= wxString_in_helper(obj3
);
16049 if (arg4
== NULL
) SWIG_fail
;
16056 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16062 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16067 if (! PySequence_Check(obj6
)) {
16068 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16071 arg7
= new wxArrayString
;
16073 int i
, len
=PySequence_Length(obj6
);
16074 for (i
=0; i
<len
; i
++) {
16075 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16076 wxString
* s
= wxString_in_helper(item
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16085 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16086 if (!SWIG_IsOK(ecode8
)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16089 arg8
= static_cast< int >(val8
);
16092 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16093 if (!SWIG_IsOK(ecode9
)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16096 arg9
= static_cast< long >(val9
);
16099 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16100 if (!SWIG_IsOK(res10
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16106 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16110 arg11
= wxString_in_helper(obj10
);
16111 if (arg11
== NULL
) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 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
);
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16129 if (temp7
) delete arg7
;
16142 if (temp7
) delete arg7
;
16152 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
= 0;
16154 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 char * kwnames
[] = {
16163 (char *) "self",(char *) "n", NULL
16166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16168 if (!SWIG_IsOK(res1
)) {
16169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16171 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16173 if (!SWIG_IsOK(ecode2
)) {
16174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16176 arg2
= static_cast< int >(val2
);
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 (arg1
)->SetSelection(arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_Py_Void();
16190 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16191 PyObject
*resultobj
= 0;
16192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16196 PyObject
*swig_obj
[1] ;
16198 if (!args
) SWIG_fail
;
16199 swig_obj
[0] = args
;
16200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16201 if (!SWIG_IsOK(res1
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16204 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_From_int(static_cast< int >(result
));
16218 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16219 PyObject
*resultobj
= 0;
16220 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16224 PyObject
*swig_obj
[1] ;
16226 if (!args
) SWIG_fail
;
16227 swig_obj
[0] = args
;
16228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16229 if (!SWIG_IsOK(res1
)) {
16230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16232 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16252 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
= 0;
16254 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16255 wxString
*arg2
= 0 ;
16259 bool temp2
= false ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 char * kwnames
[] = {
16263 (char *) "self",(char *) "s", NULL
16266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16268 if (!SWIG_IsOK(res1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16271 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16273 arg2
= wxString_in_helper(obj1
);
16274 if (arg2
== NULL
) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16300 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16301 PyObject
*resultobj
= 0;
16302 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16306 PyObject
*swig_obj
[1] ;
16308 if (!args
) SWIG_fail
;
16309 swig_obj
[0] = args
;
16310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16311 if (!SWIG_IsOK(res1
)) {
16312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16314 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16328 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
= 0;
16330 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16331 wxString
*arg2
= 0 ;
16335 bool temp2
= false ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char * kwnames
[] = {
16339 (char *) "self",(char *) "s", NULL
16342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16344 if (!SWIG_IsOK(res1
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16347 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16349 arg2
= wxString_in_helper(obj1
);
16350 if (arg2
== NULL
) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_From_int(static_cast< int >(result
));
16374 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
= 0;
16376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 PyObject
* obj1
= 0 ;
16385 char * kwnames
[] = {
16386 (char *) "self",(char *) "n", NULL
16389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16391 if (!SWIG_IsOK(res1
)) {
16392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16394 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16396 if (!SWIG_IsOK(ecode2
)) {
16397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16399 arg2
= static_cast< int >(val2
);
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16419 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
= 0;
16421 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16423 wxString
*arg3
= 0 ;
16428 bool temp3
= false ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 PyObject
* obj2
= 0 ;
16432 char * kwnames
[] = {
16433 (char *) "self",(char *) "n",(char *) "label", NULL
16436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16438 if (!SWIG_IsOK(res1
)) {
16439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16441 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16443 if (!SWIG_IsOK(ecode2
)) {
16444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16446 arg2
= static_cast< int >(val2
);
16448 arg3
= wxString_in_helper(obj2
);
16449 if (arg3
== NULL
) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_Py_Void();
16473 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= 0;
16475 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16476 unsigned int arg2
;
16477 bool arg3
= (bool) true ;
16480 unsigned int val2
;
16484 PyObject
* obj0
= 0 ;
16485 PyObject
* obj1
= 0 ;
16486 PyObject
* obj2
= 0 ;
16487 char * kwnames
[] = {
16488 (char *) "self",(char *) "n",(char *) "enable", NULL
16491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16493 if (!SWIG_IsOK(res1
)) {
16494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16496 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16497 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16498 if (!SWIG_IsOK(ecode2
)) {
16499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16501 arg2
= static_cast< unsigned int >(val2
);
16503 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16504 if (!SWIG_IsOK(ecode3
)) {
16505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16507 arg3
= static_cast< bool >(val3
);
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 (arg1
)->Enable(arg2
,arg3
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_Py_Void();
16522 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= 0;
16524 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16525 unsigned int arg2
;
16526 bool arg3
= (bool) true ;
16529 unsigned int val2
;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 PyObject
* obj2
= 0 ;
16536 char * kwnames
[] = {
16537 (char *) "self",(char *) "n",(char *) "show", NULL
16540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16542 if (!SWIG_IsOK(res1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16545 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16546 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16547 if (!SWIG_IsOK(ecode2
)) {
16548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16550 arg2
= static_cast< unsigned int >(val2
);
16552 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16553 if (!SWIG_IsOK(ecode3
)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16556 arg3
= static_cast< bool >(val3
);
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 (arg1
)->Show(arg2
,arg3
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= SWIG_Py_Void();
16571 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
= 0;
16573 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16574 unsigned int arg2
;
16578 unsigned int val2
;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char * kwnames
[] = {
16583 (char *) "self",(char *) "n", NULL
16586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16591 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16592 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16593 if (!SWIG_IsOK(ecode2
)) {
16594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16596 arg2
= static_cast< unsigned int >(val2
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16612 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
= 0;
16614 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16615 unsigned int arg2
;
16619 unsigned int val2
;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char * kwnames
[] = {
16624 (char *) "self",(char *) "n", NULL
16627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16629 if (!SWIG_IsOK(res1
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16632 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16633 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16634 if (!SWIG_IsOK(ecode2
)) {
16635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16637 arg2
= static_cast< unsigned int >(val2
);
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16653 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16654 PyObject
*resultobj
= 0;
16655 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16656 unsigned int result
;
16659 PyObject
*swig_obj
[1] ;
16661 if (!args
) SWIG_fail
;
16662 swig_obj
[0] = args
;
16663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16667 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16681 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16682 PyObject
*resultobj
= 0;
16683 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16684 unsigned int result
;
16687 PyObject
*swig_obj
[1] ;
16689 if (!args
) SWIG_fail
;
16690 swig_obj
[0] = args
;
16691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16692 if (!SWIG_IsOK(res1
)) {
16693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16695 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16709 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
= 0;
16711 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 PyObject
* obj2
= 0 ;
16727 PyObject
* obj3
= 0 ;
16728 char * kwnames
[] = {
16729 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16734 if (!SWIG_IsOK(res1
)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16737 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16739 if (!SWIG_IsOK(ecode2
)) {
16740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16742 arg2
= static_cast< int >(val2
);
16743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16744 if (!SWIG_IsOK(ecode3
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16747 arg3
= static_cast< wxDirection
>(val3
);
16748 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16749 if (!SWIG_IsOK(ecode4
)) {
16750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16752 arg4
= static_cast< long >(val4
);
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= SWIG_From_int(static_cast< int >(result
));
16766 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
= 0;
16768 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16769 SwigValueWrapper
<wxVisualAttributes
> result
;
16772 PyObject
* obj0
= 0 ;
16773 char * kwnames
[] = {
16774 (char *) "variant", NULL
16777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16780 if (!SWIG_IsOK(ecode1
)) {
16781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16783 arg1
= static_cast< wxWindowVariant
>(val1
);
16786 if (!wxPyCheckForApp()) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16799 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16802 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16803 return SWIG_Py_Void();
16806 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16807 return SWIG_Python_InitShadowInstance(args
);
16810 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
= 0;
16812 wxWindow
*arg1
= (wxWindow
*) 0 ;
16813 int arg2
= (int) -1 ;
16814 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16815 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16820 long arg6
= (long) 0 ;
16821 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16822 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16823 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16824 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16825 wxRadioButton
*result
= 0 ;
16830 bool temp3
= false ;
16837 bool temp8
= false ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 PyObject
* obj2
= 0 ;
16841 PyObject
* obj3
= 0 ;
16842 PyObject
* obj4
= 0 ;
16843 PyObject
* obj5
= 0 ;
16844 PyObject
* obj6
= 0 ;
16845 PyObject
* obj7
= 0 ;
16846 char * kwnames
[] = {
16847 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16852 if (!SWIG_IsOK(res1
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16858 if (!SWIG_IsOK(ecode2
)) {
16859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16861 arg2
= static_cast< int >(val2
);
16865 arg3
= wxString_in_helper(obj2
);
16866 if (arg3
== NULL
) SWIG_fail
;
16873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16879 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16883 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16884 if (!SWIG_IsOK(ecode6
)) {
16885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16887 arg6
= static_cast< long >(val6
);
16890 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16891 if (!SWIG_IsOK(res7
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16897 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16901 arg8
= wxString_in_helper(obj7
);
16902 if (arg8
== NULL
) SWIG_fail
;
16907 if (!wxPyCheckForApp()) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
16936 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16937 PyObject
*resultobj
= 0;
16938 wxRadioButton
*result
= 0 ;
16940 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
16942 if (!wxPyCheckForApp()) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (wxRadioButton
*)new wxRadioButton();
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
16955 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
= 0;
16957 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16958 wxWindow
*arg2
= (wxWindow
*) 0 ;
16959 int arg3
= (int) -1 ;
16960 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16961 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16966 long arg7
= (long) 0 ;
16967 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16968 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16969 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
16970 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16978 bool temp4
= false ;
16985 bool temp9
= false ;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 PyObject
* obj2
= 0 ;
16989 PyObject
* obj3
= 0 ;
16990 PyObject
* obj4
= 0 ;
16991 PyObject
* obj5
= 0 ;
16992 PyObject
* obj6
= 0 ;
16993 PyObject
* obj7
= 0 ;
16994 PyObject
* obj8
= 0 ;
16995 char * kwnames
[] = {
16996 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17001 if (!SWIG_IsOK(res1
)) {
17002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17004 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17005 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17006 if (!SWIG_IsOK(res2
)) {
17007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17009 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17012 if (!SWIG_IsOK(ecode3
)) {
17013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17015 arg3
= static_cast< int >(val3
);
17019 arg4
= wxString_in_helper(obj3
);
17020 if (arg4
== NULL
) SWIG_fail
;
17027 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17033 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17037 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17038 if (!SWIG_IsOK(ecode7
)) {
17039 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17041 arg7
= static_cast< long >(val7
);
17044 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17045 if (!SWIG_IsOK(res8
)) {
17046 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17051 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17055 arg9
= wxString_in_helper(obj8
);
17056 if (arg9
== NULL
) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17091 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17092 PyObject
*resultobj
= 0;
17093 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17097 PyObject
*swig_obj
[1] ;
17099 if (!args
) SWIG_fail
;
17100 swig_obj
[0] = args
;
17101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17102 if (!SWIG_IsOK(res1
)) {
17103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17105 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (bool)(arg1
)->GetValue();
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17121 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
= 0;
17123 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 PyObject
* obj1
= 0 ;
17131 char * kwnames
[] = {
17132 (char *) "self",(char *) "value", NULL
17135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17137 if (!SWIG_IsOK(res1
)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17140 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17141 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17142 if (!SWIG_IsOK(ecode2
)) {
17143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17145 arg2
= static_cast< bool >(val2
);
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 (arg1
)->SetValue(arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_Py_Void();
17159 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
= 0;
17161 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17162 SwigValueWrapper
<wxVisualAttributes
> result
;
17165 PyObject
* obj0
= 0 ;
17166 char * kwnames
[] = {
17167 (char *) "variant", NULL
17170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17173 if (!SWIG_IsOK(ecode1
)) {
17174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17176 arg1
= static_cast< wxWindowVariant
>(val1
);
17179 if (!wxPyCheckForApp()) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17192 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17195 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17196 return SWIG_Py_Void();
17199 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17200 return SWIG_Python_InitShadowInstance(args
);
17203 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17204 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17209 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17210 PyObject
*pyobj
= 0;
17214 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17216 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17223 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
= 0;
17225 wxWindow
*arg1
= (wxWindow
*) 0 ;
17226 int arg2
= (int) -1 ;
17227 int arg3
= (int) 0 ;
17228 int arg4
= (int) 0 ;
17229 int arg5
= (int) 100 ;
17230 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17231 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17232 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17233 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17234 long arg8
= (long) wxSL_HORIZONTAL
;
17235 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17236 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17237 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17238 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17239 wxSlider
*result
= 0 ;
17256 bool temp10
= false ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 PyObject
* obj2
= 0 ;
17260 PyObject
* obj3
= 0 ;
17261 PyObject
* obj4
= 0 ;
17262 PyObject
* obj5
= 0 ;
17263 PyObject
* obj6
= 0 ;
17264 PyObject
* obj7
= 0 ;
17265 PyObject
* obj8
= 0 ;
17266 PyObject
* obj9
= 0 ;
17267 char * kwnames
[] = {
17268 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17279 if (!SWIG_IsOK(ecode2
)) {
17280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17282 arg2
= static_cast< int >(val2
);
17285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17286 if (!SWIG_IsOK(ecode3
)) {
17287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17289 arg3
= static_cast< int >(val3
);
17292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17293 if (!SWIG_IsOK(ecode4
)) {
17294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17296 arg4
= static_cast< int >(val4
);
17299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17300 if (!SWIG_IsOK(ecode5
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17303 arg5
= static_cast< int >(val5
);
17308 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17314 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17318 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17319 if (!SWIG_IsOK(ecode8
)) {
17320 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17322 arg8
= static_cast< long >(val8
);
17325 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17326 if (!SWIG_IsOK(res9
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17332 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17336 arg10
= wxString_in_helper(obj9
);
17337 if (arg10
== NULL
) SWIG_fail
;
17342 if (!wxPyCheckForApp()) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17363 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17364 PyObject
*resultobj
= 0;
17365 wxSlider
*result
= 0 ;
17367 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17369 if (!wxPyCheckForApp()) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (wxSlider
*)new wxSlider();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17382 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
= 0;
17384 wxSlider
*arg1
= (wxSlider
*) 0 ;
17385 wxWindow
*arg2
= (wxWindow
*) 0 ;
17386 int arg3
= (int) -1 ;
17387 int arg4
= (int) 0 ;
17388 int arg5
= (int) 0 ;
17389 int arg6
= (int) 100 ;
17390 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17391 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17392 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17393 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17394 long arg9
= (long) wxSL_HORIZONTAL
;
17395 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17396 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17397 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17398 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17418 bool temp11
= false ;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 PyObject
* obj2
= 0 ;
17422 PyObject
* obj3
= 0 ;
17423 PyObject
* obj4
= 0 ;
17424 PyObject
* obj5
= 0 ;
17425 PyObject
* obj6
= 0 ;
17426 PyObject
* obj7
= 0 ;
17427 PyObject
* obj8
= 0 ;
17428 PyObject
* obj9
= 0 ;
17429 PyObject
* obj10
= 0 ;
17430 char * kwnames
[] = {
17431 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17436 if (!SWIG_IsOK(res1
)) {
17437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17439 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17441 if (!SWIG_IsOK(res2
)) {
17442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17444 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17447 if (!SWIG_IsOK(ecode3
)) {
17448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17450 arg3
= static_cast< int >(val3
);
17453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17454 if (!SWIG_IsOK(ecode4
)) {
17455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17457 arg4
= static_cast< int >(val4
);
17460 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17461 if (!SWIG_IsOK(ecode5
)) {
17462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17464 arg5
= static_cast< int >(val5
);
17467 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17468 if (!SWIG_IsOK(ecode6
)) {
17469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17471 arg6
= static_cast< int >(val6
);
17476 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17482 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17486 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17487 if (!SWIG_IsOK(ecode9
)) {
17488 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17490 arg9
= static_cast< long >(val9
);
17493 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17494 if (!SWIG_IsOK(res10
)) {
17495 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17500 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17504 arg11
= wxString_in_helper(obj10
);
17505 if (arg11
== NULL
) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17532 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17533 PyObject
*resultobj
= 0;
17534 wxSlider
*arg1
= (wxSlider
*) 0 ;
17538 PyObject
*swig_obj
[1] ;
17540 if (!args
) SWIG_fail
;
17541 swig_obj
[0] = args
;
17542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17543 if (!SWIG_IsOK(res1
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17546 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_From_int(static_cast< int >(result
));
17560 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
= 0;
17562 wxSlider
*arg1
= (wxSlider
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char * kwnames
[] = {
17571 (char *) "self",(char *) "value", NULL
17574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17576 if (!SWIG_IsOK(res1
)) {
17577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17579 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17581 if (!SWIG_IsOK(ecode2
)) {
17582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17584 arg2
= static_cast< int >(val2
);
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 (arg1
)->SetValue(arg2
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= SWIG_Py_Void();
17598 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
= 0;
17600 wxSlider
*arg1
= (wxSlider
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 char * kwnames
[] = {
17613 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17618 if (!SWIG_IsOK(res1
)) {
17619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17621 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17623 if (!SWIG_IsOK(ecode2
)) {
17624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17626 arg2
= static_cast< int >(val2
);
17627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17628 if (!SWIG_IsOK(ecode3
)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17631 arg3
= static_cast< int >(val3
);
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 (arg1
)->SetRange(arg2
,arg3
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_Py_Void();
17645 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17646 PyObject
*resultobj
= 0;
17647 wxSlider
*arg1
= (wxSlider
*) 0 ;
17651 PyObject
*swig_obj
[1] ;
17653 if (!args
) SWIG_fail
;
17654 swig_obj
[0] = args
;
17655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17656 if (!SWIG_IsOK(res1
)) {
17657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17659 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= SWIG_From_int(static_cast< int >(result
));
17673 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17674 PyObject
*resultobj
= 0;
17675 wxSlider
*arg1
= (wxSlider
*) 0 ;
17679 PyObject
*swig_obj
[1] ;
17681 if (!args
) SWIG_fail
;
17682 swig_obj
[0] = args
;
17683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17684 if (!SWIG_IsOK(res1
)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17687 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_From_int(static_cast< int >(result
));
17701 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
= 0;
17703 wxSlider
*arg1
= (wxSlider
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 char * kwnames
[] = {
17712 (char *) "self",(char *) "minValue", NULL
17715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17717 if (!SWIG_IsOK(res1
)) {
17718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17720 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17722 if (!SWIG_IsOK(ecode2
)) {
17723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17725 arg2
= static_cast< int >(val2
);
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 (arg1
)->SetMin(arg2
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= SWIG_Py_Void();
17739 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
= 0;
17741 wxSlider
*arg1
= (wxSlider
*) 0 ;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 char * kwnames
[] = {
17750 (char *) "self",(char *) "maxValue", NULL
17753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17755 if (!SWIG_IsOK(res1
)) {
17756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17758 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17760 if (!SWIG_IsOK(ecode2
)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17763 arg2
= static_cast< int >(val2
);
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 (arg1
)->SetMax(arg2
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_Py_Void();
17777 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
= 0;
17779 wxSlider
*arg1
= (wxSlider
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 char * kwnames
[] = {
17788 (char *) "self",(char *) "lineSize", NULL
17791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17793 if (!SWIG_IsOK(res1
)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17796 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17798 if (!SWIG_IsOK(ecode2
)) {
17799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17801 arg2
= static_cast< int >(val2
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 (arg1
)->SetLineSize(arg2
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_Py_Void();
17815 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
= 0;
17817 wxSlider
*arg1
= (wxSlider
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 PyObject
* obj1
= 0 ;
17825 char * kwnames
[] = {
17826 (char *) "self",(char *) "pageSize", NULL
17829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17831 if (!SWIG_IsOK(res1
)) {
17832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17834 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17836 if (!SWIG_IsOK(ecode2
)) {
17837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17839 arg2
= static_cast< int >(val2
);
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 (arg1
)->SetPageSize(arg2
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_Py_Void();
17853 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17854 PyObject
*resultobj
= 0;
17855 wxSlider
*arg1
= (wxSlider
*) 0 ;
17859 PyObject
*swig_obj
[1] ;
17861 if (!args
) SWIG_fail
;
17862 swig_obj
[0] = args
;
17863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17864 if (!SWIG_IsOK(res1
)) {
17865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17867 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_From_int(static_cast< int >(result
));
17881 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17882 PyObject
*resultobj
= 0;
17883 wxSlider
*arg1
= (wxSlider
*) 0 ;
17887 PyObject
*swig_obj
[1] ;
17889 if (!args
) SWIG_fail
;
17890 swig_obj
[0] = args
;
17891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17892 if (!SWIG_IsOK(res1
)) {
17893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17895 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= SWIG_From_int(static_cast< int >(result
));
17909 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
= 0;
17911 wxSlider
*arg1
= (wxSlider
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 char * kwnames
[] = {
17920 (char *) "self",(char *) "lenPixels", NULL
17923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17925 if (!SWIG_IsOK(res1
)) {
17926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
17928 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17930 if (!SWIG_IsOK(ecode2
)) {
17931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
17933 arg2
= static_cast< int >(val2
);
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->SetThumbLength(arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_Py_Void();
17947 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17948 PyObject
*resultobj
= 0;
17949 wxSlider
*arg1
= (wxSlider
*) 0 ;
17953 PyObject
*swig_obj
[1] ;
17955 if (!args
) SWIG_fail
;
17956 swig_obj
[0] = args
;
17957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
17961 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_From_int(static_cast< int >(result
));
17975 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
= 0;
17977 wxSlider
*arg1
= (wxSlider
*) 0 ;
17979 int arg3
= (int) 1 ;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 PyObject
* obj2
= 0 ;
17989 char * kwnames
[] = {
17990 (char *) "self",(char *) "n",(char *) "pos", NULL
17993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17995 if (!SWIG_IsOK(res1
)) {
17996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
17998 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18000 if (!SWIG_IsOK(ecode2
)) {
18001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18003 arg2
= static_cast< int >(val2
);
18005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18006 if (!SWIG_IsOK(ecode3
)) {
18007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18009 arg3
= static_cast< int >(val3
);
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->SetTickFreq(arg2
,arg3
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_Py_Void();
18024 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18025 PyObject
*resultobj
= 0;
18026 wxSlider
*arg1
= (wxSlider
*) 0 ;
18030 PyObject
*swig_obj
[1] ;
18032 if (!args
) SWIG_fail
;
18033 swig_obj
[0] = args
;
18034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18035 if (!SWIG_IsOK(res1
)) {
18036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18038 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_From_int(static_cast< int >(result
));
18052 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18053 PyObject
*resultobj
= 0;
18054 wxSlider
*arg1
= (wxSlider
*) 0 ;
18057 PyObject
*swig_obj
[1] ;
18059 if (!args
) SWIG_fail
;
18060 swig_obj
[0] = args
;
18061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18062 if (!SWIG_IsOK(res1
)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18065 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 (arg1
)->ClearTicks();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_Py_Void();
18079 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
= 0;
18081 wxSlider
*arg1
= (wxSlider
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char * kwnames
[] = {
18090 (char *) "self",(char *) "tickPos", NULL
18093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18095 if (!SWIG_IsOK(res1
)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18098 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18100 if (!SWIG_IsOK(ecode2
)) {
18101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18103 arg2
= static_cast< int >(val2
);
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 (arg1
)->SetTick(arg2
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_Py_Void();
18117 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18118 PyObject
*resultobj
= 0;
18119 wxSlider
*arg1
= (wxSlider
*) 0 ;
18122 PyObject
*swig_obj
[1] ;
18124 if (!args
) SWIG_fail
;
18125 swig_obj
[0] = args
;
18126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18127 if (!SWIG_IsOK(res1
)) {
18128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18130 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->ClearSel();
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_Py_Void();
18144 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18145 PyObject
*resultobj
= 0;
18146 wxSlider
*arg1
= (wxSlider
*) 0 ;
18150 PyObject
*swig_obj
[1] ;
18152 if (!args
) SWIG_fail
;
18153 swig_obj
[0] = args
;
18154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18158 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_From_int(static_cast< int >(result
));
18172 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18173 PyObject
*resultobj
= 0;
18174 wxSlider
*arg1
= (wxSlider
*) 0 ;
18178 PyObject
*swig_obj
[1] ;
18180 if (!args
) SWIG_fail
;
18181 swig_obj
[0] = args
;
18182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18183 if (!SWIG_IsOK(res1
)) {
18184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18186 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_From_int(static_cast< int >(result
));
18200 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
= 0;
18202 wxSlider
*arg1
= (wxSlider
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 PyObject
* obj1
= 0 ;
18213 PyObject
* obj2
= 0 ;
18214 char * kwnames
[] = {
18215 (char *) "self",(char *) "min",(char *) "max", NULL
18218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18220 if (!SWIG_IsOK(res1
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18223 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18225 if (!SWIG_IsOK(ecode2
)) {
18226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18228 arg2
= static_cast< int >(val2
);
18229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18230 if (!SWIG_IsOK(ecode3
)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18233 arg3
= static_cast< int >(val3
);
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 (arg1
)->SetSelection(arg2
,arg3
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= SWIG_Py_Void();
18247 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
= 0;
18249 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18250 SwigValueWrapper
<wxVisualAttributes
> result
;
18253 PyObject
* obj0
= 0 ;
18254 char * kwnames
[] = {
18255 (char *) "variant", NULL
18258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18261 if (!SWIG_IsOK(ecode1
)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18264 arg1
= static_cast< wxWindowVariant
>(val1
);
18267 if (!wxPyCheckForApp()) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18280 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18283 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18284 return SWIG_Py_Void();
18287 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18288 return SWIG_Python_InitShadowInstance(args
);
18291 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18292 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18297 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18298 PyObject
*pyobj
= 0;
18302 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18304 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18311 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
= 0;
18313 wxWindow
*arg1
= (wxWindow
*) 0 ;
18314 int arg2
= (int) -1 ;
18315 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18316 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18317 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18318 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18319 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18320 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18321 long arg6
= (long) 0 ;
18322 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18323 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18324 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18325 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18326 wxToggleButton
*result
= 0 ;
18331 bool temp3
= false ;
18338 bool temp8
= false ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 PyObject
* obj2
= 0 ;
18342 PyObject
* obj3
= 0 ;
18343 PyObject
* obj4
= 0 ;
18344 PyObject
* obj5
= 0 ;
18345 PyObject
* obj6
= 0 ;
18346 PyObject
* obj7
= 0 ;
18347 char * kwnames
[] = {
18348 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18353 if (!SWIG_IsOK(res1
)) {
18354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18356 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18359 if (!SWIG_IsOK(ecode2
)) {
18360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18362 arg2
= static_cast< int >(val2
);
18366 arg3
= wxString_in_helper(obj2
);
18367 if (arg3
== NULL
) SWIG_fail
;
18374 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18380 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18384 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18385 if (!SWIG_IsOK(ecode6
)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18388 arg6
= static_cast< long >(val6
);
18391 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18392 if (!SWIG_IsOK(res7
)) {
18393 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18398 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18402 arg8
= wxString_in_helper(obj7
);
18403 if (arg8
== NULL
) SWIG_fail
;
18408 if (!wxPyCheckForApp()) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18437 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18438 PyObject
*resultobj
= 0;
18439 wxToggleButton
*result
= 0 ;
18441 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18443 if (!wxPyCheckForApp()) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (wxToggleButton
*)new wxToggleButton();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18456 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
= 0;
18458 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18459 wxWindow
*arg2
= (wxWindow
*) 0 ;
18460 int arg3
= (int) -1 ;
18461 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18462 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18467 long arg7
= (long) 0 ;
18468 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18469 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18470 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18471 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18479 bool temp4
= false ;
18486 bool temp9
= false ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 PyObject
* obj3
= 0 ;
18491 PyObject
* obj4
= 0 ;
18492 PyObject
* obj5
= 0 ;
18493 PyObject
* obj6
= 0 ;
18494 PyObject
* obj7
= 0 ;
18495 PyObject
* obj8
= 0 ;
18496 char * kwnames
[] = {
18497 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18502 if (!SWIG_IsOK(res1
)) {
18503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18505 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18507 if (!SWIG_IsOK(res2
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18510 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18513 if (!SWIG_IsOK(ecode3
)) {
18514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18516 arg3
= static_cast< int >(val3
);
18520 arg4
= wxString_in_helper(obj3
);
18521 if (arg4
== NULL
) SWIG_fail
;
18528 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18534 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18538 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18539 if (!SWIG_IsOK(ecode7
)) {
18540 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18542 arg7
= static_cast< long >(val7
);
18545 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18546 if (!SWIG_IsOK(res8
)) {
18547 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18552 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18556 arg9
= wxString_in_helper(obj8
);
18557 if (arg9
== NULL
) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18592 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
= 0;
18594 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 PyObject
* obj1
= 0 ;
18602 char * kwnames
[] = {
18603 (char *) "self",(char *) "value", NULL
18606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18608 if (!SWIG_IsOK(res1
)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18611 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18613 if (!SWIG_IsOK(ecode2
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18616 arg2
= static_cast< bool >(val2
);
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->SetValue(arg2
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_Py_Void();
18630 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18631 PyObject
*resultobj
= 0;
18632 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18636 PyObject
*swig_obj
[1] ;
18638 if (!args
) SWIG_fail
;
18639 swig_obj
[0] = args
;
18640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18641 if (!SWIG_IsOK(res1
)) {
18642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18644 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18660 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
= 0;
18662 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18663 SwigValueWrapper
<wxVisualAttributes
> result
;
18666 PyObject
* obj0
= 0 ;
18667 char * kwnames
[] = {
18668 (char *) "variant", NULL
18671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18673 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18674 if (!SWIG_IsOK(ecode1
)) {
18675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18677 arg1
= static_cast< wxWindowVariant
>(val1
);
18680 if (!wxPyCheckForApp()) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18693 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18696 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18697 return SWIG_Py_Void();
18700 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18701 return SWIG_Python_InitShadowInstance(args
);
18704 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18705 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18710 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18711 PyObject
*pyobj
= 0;
18715 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18717 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18724 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18725 PyObject
*resultobj
= 0;
18726 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18730 PyObject
*swig_obj
[1] ;
18732 if (!args
) SWIG_fail
;
18733 swig_obj
[0] = args
;
18734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18738 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18752 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
= 0;
18754 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18756 wxWindow
*result
= 0 ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 char * kwnames
[] = {
18764 (char *) "self",(char *) "n", NULL
18767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18769 if (!SWIG_IsOK(res1
)) {
18770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18772 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18773 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18774 if (!SWIG_IsOK(ecode2
)) {
18775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18777 arg2
= static_cast< size_t >(val2
);
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= wxPyMake_wxObject(result
, 0);
18793 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18794 PyObject
*resultobj
= 0;
18795 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18796 wxWindow
*result
= 0 ;
18799 PyObject
*swig_obj
[1] ;
18801 if (!args
) SWIG_fail
;
18802 swig_obj
[0] = args
;
18803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18804 if (!SWIG_IsOK(res1
)) {
18805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18807 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= wxPyMake_wxObject(result
, 0);
18823 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18824 PyObject
*resultobj
= 0;
18825 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18829 PyObject
*swig_obj
[1] ;
18831 if (!args
) SWIG_fail
;
18832 swig_obj
[0] = args
;
18833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18834 if (!SWIG_IsOK(res1
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18837 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_From_int(static_cast< int >(result
));
18851 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
= 0;
18853 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18855 wxString
*arg3
= 0 ;
18861 bool temp3
= false ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 PyObject
* obj2
= 0 ;
18865 char * kwnames
[] = {
18866 (char *) "self",(char *) "n",(char *) "strText", NULL
18869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18871 if (!SWIG_IsOK(res1
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18874 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18875 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18876 if (!SWIG_IsOK(ecode2
)) {
18877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18879 arg2
= static_cast< size_t >(val2
);
18881 arg3
= wxString_in_helper(obj2
);
18882 if (arg3
== NULL
) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18908 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
= 0;
18910 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18917 PyObject
* obj0
= 0 ;
18918 PyObject
* obj1
= 0 ;
18919 char * kwnames
[] = {
18920 (char *) "self",(char *) "n", NULL
18923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18925 if (!SWIG_IsOK(res1
)) {
18926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18928 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18929 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18930 if (!SWIG_IsOK(ecode2
)) {
18931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
18933 arg2
= static_cast< size_t >(val2
);
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18953 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
= 0;
18955 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18956 wxImageList
*arg2
= (wxImageList
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 char * kwnames
[] = {
18964 (char *) "self",(char *) "imageList", NULL
18967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18969 if (!SWIG_IsOK(res1
)) {
18970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18972 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
18974 if (!SWIG_IsOK(res2
)) {
18975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18977 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 (arg1
)->SetImageList(arg2
);
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= SWIG_Py_Void();
18991 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
= 0;
18993 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18994 wxImageList
*arg2
= (wxImageList
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char * kwnames
[] = {
19001 (char *) "self",(char *) "imageList", NULL
19004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19006 if (!SWIG_IsOK(res1
)) {
19007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19009 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19010 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19011 if (!SWIG_IsOK(res2
)) {
19012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 (arg1
)->AssignImageList(arg2
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_Py_Void();
19027 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19028 PyObject
*resultobj
= 0;
19029 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19030 wxImageList
*result
= 0 ;
19033 PyObject
*swig_obj
[1] ;
19035 if (!args
) SWIG_fail
;
19036 swig_obj
[0] = args
;
19037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19038 if (!SWIG_IsOK(res1
)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19041 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19057 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
= 0;
19059 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19066 PyObject
* obj0
= 0 ;
19067 PyObject
* obj1
= 0 ;
19068 char * kwnames
[] = {
19069 (char *) "self",(char *) "n", NULL
19072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19074 if (!SWIG_IsOK(res1
)) {
19075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19077 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19078 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19079 if (!SWIG_IsOK(ecode2
)) {
19080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19082 arg2
= static_cast< size_t >(val2
);
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= SWIG_From_int(static_cast< int >(result
));
19096 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
= 0;
19098 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 PyObject
* obj2
= 0 ;
19111 char * kwnames
[] = {
19112 (char *) "self",(char *) "n",(char *) "imageId", NULL
19115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19117 if (!SWIG_IsOK(res1
)) {
19118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19120 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19121 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19122 if (!SWIG_IsOK(ecode2
)) {
19123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19125 arg2
= static_cast< size_t >(val2
);
19126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19127 if (!SWIG_IsOK(ecode3
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19130 arg3
= static_cast< int >(val3
);
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19146 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
= 0;
19148 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 char * kwnames
[] = {
19156 (char *) "self",(char *) "size", NULL
19159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19161 if (!SWIG_IsOK(res1
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19164 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= SWIG_Py_Void();
19182 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
= 0;
19184 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char * kwnames
[] = {
19193 (char *) "self",(char *) "sizePage", NULL
19196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19198 if (!SWIG_IsOK(res1
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19201 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19219 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19220 PyObject
*resultobj
= 0;
19221 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19225 PyObject
*swig_obj
[1] ;
19227 if (!args
) SWIG_fail
;
19228 swig_obj
[0] = args
;
19229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19230 if (!SWIG_IsOK(res1
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19233 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19247 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 char * kwnames
[] = {
19258 (char *) "self",(char *) "internalBorder", NULL
19261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19263 if (!SWIG_IsOK(res1
)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19266 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19267 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19268 if (!SWIG_IsOK(ecode2
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "size_t""'");
19271 arg2
= static_cast< size_t >(val2
);
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 (arg1
)->SetInternalBorder(arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_Py_Void();
19285 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19286 PyObject
*resultobj
= 0;
19287 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19291 PyObject
*swig_obj
[1] ;
19293 if (!args
) SWIG_fail
;
19294 swig_obj
[0] = args
;
19295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19296 if (!SWIG_IsOK(res1
)) {
19297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19299 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19315 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
= 0;
19317 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 char * kwnames
[] = {
19326 (char *) "self",(char *) "fit", NULL
19329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19331 if (!SWIG_IsOK(res1
)) {
19332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19334 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19336 if (!SWIG_IsOK(ecode2
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19339 arg2
= static_cast< bool >(val2
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->SetFitToCurrentPage(arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19354 PyObject
*resultobj
= 0;
19355 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19359 PyObject
*swig_obj
[1] ;
19361 if (!args
) SWIG_fail
;
19362 swig_obj
[0] = args
;
19363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19364 if (!SWIG_IsOK(res1
)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19367 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19383 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
= 0;
19385 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 PyObject
* obj1
= 0 ;
19394 char * kwnames
[] = {
19395 (char *) "self",(char *) "n", NULL
19398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19400 if (!SWIG_IsOK(res1
)) {
19401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19403 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19404 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19405 if (!SWIG_IsOK(ecode2
)) {
19406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19408 arg2
= static_cast< size_t >(val2
);
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (bool)(arg1
)->DeletePage(arg2
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19424 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
= 0;
19426 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19433 PyObject
* obj0
= 0 ;
19434 PyObject
* obj1
= 0 ;
19435 char * kwnames
[] = {
19436 (char *) "self",(char *) "n", NULL
19439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19441 if (!SWIG_IsOK(res1
)) {
19442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19444 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19445 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19446 if (!SWIG_IsOK(ecode2
)) {
19447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19449 arg2
= static_cast< size_t >(val2
);
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 result
= (bool)(arg1
)->RemovePage(arg2
);
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19465 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19466 PyObject
*resultobj
= 0;
19467 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19471 PyObject
*swig_obj
[1] ;
19473 if (!args
) SWIG_fail
;
19474 swig_obj
[0] = args
;
19475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19476 if (!SWIG_IsOK(res1
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19479 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (bool)(arg1
)->DeleteAllPages();
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19495 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19498 wxWindow
*arg2
= (wxWindow
*) 0 ;
19499 wxString
*arg3
= 0 ;
19500 bool arg4
= (bool) false ;
19501 int arg5
= (int) -1 ;
19507 bool temp3
= false ;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 PyObject
* obj2
= 0 ;
19515 PyObject
* obj3
= 0 ;
19516 PyObject
* obj4
= 0 ;
19517 char * kwnames
[] = {
19518 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19526 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19527 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19528 if (!SWIG_IsOK(res2
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19531 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19533 arg3
= wxString_in_helper(obj2
);
19534 if (arg3
== NULL
) SWIG_fail
;
19538 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19539 if (!SWIG_IsOK(ecode4
)) {
19540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19542 arg4
= static_cast< bool >(val4
);
19545 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19546 if (!SWIG_IsOK(ecode5
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19549 arg5
= static_cast< int >(val5
);
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19574 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
= 0;
19576 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19578 wxWindow
*arg3
= (wxWindow
*) 0 ;
19579 wxString
*arg4
= 0 ;
19580 bool arg5
= (bool) false ;
19581 int arg6
= (int) -1 ;
19589 bool temp4
= false ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 PyObject
* obj2
= 0 ;
19597 PyObject
* obj3
= 0 ;
19598 PyObject
* obj4
= 0 ;
19599 PyObject
* obj5
= 0 ;
19600 char * kwnames
[] = {
19601 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19606 if (!SWIG_IsOK(res1
)) {
19607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19609 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19610 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19611 if (!SWIG_IsOK(ecode2
)) {
19612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19614 arg2
= static_cast< size_t >(val2
);
19615 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19616 if (!SWIG_IsOK(res3
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19619 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19621 arg4
= wxString_in_helper(obj3
);
19622 if (arg4
== NULL
) SWIG_fail
;
19626 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19627 if (!SWIG_IsOK(ecode5
)) {
19628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19630 arg5
= static_cast< bool >(val5
);
19633 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19634 if (!SWIG_IsOK(ecode6
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19637 arg6
= static_cast< int >(val6
);
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19662 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
= 0;
19664 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "n", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19682 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19683 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19684 if (!SWIG_IsOK(ecode2
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19687 arg2
= static_cast< size_t >(val2
);
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (int)(arg1
)->SetSelection(arg2
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_From_int(static_cast< int >(result
));
19701 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
= 0;
19703 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19704 bool arg2
= (bool) true ;
19709 PyObject
* obj0
= 0 ;
19710 PyObject
* obj1
= 0 ;
19711 char * kwnames
[] = {
19712 (char *) "self",(char *) "forward", NULL
19715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19720 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19722 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19723 if (!SWIG_IsOK(ecode2
)) {
19724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19726 arg2
= static_cast< bool >(val2
);
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 (arg1
)->AdvanceSelection(arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_Py_Void();
19741 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
= 0;
19743 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19744 SwigValueWrapper
<wxVisualAttributes
> result
;
19747 PyObject
* obj0
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "variant", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19755 if (!SWIG_IsOK(ecode1
)) {
19756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19758 arg1
= static_cast< wxWindowVariant
>(val1
);
19761 if (!wxPyCheckForApp()) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19774 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19777 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19778 return SWIG_Py_Void();
19781 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
= 0;
19783 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19784 int arg2
= (int) 0 ;
19785 int arg3
= (int) -1 ;
19786 int arg4
= (int) -1 ;
19787 wxBookCtrlBaseEvent
*result
= 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 PyObject
* obj2
= 0 ;
19799 PyObject
* obj3
= 0 ;
19800 char * kwnames
[] = {
19801 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19807 if (!SWIG_IsOK(ecode1
)) {
19808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19810 arg1
= static_cast< wxEventType
>(val1
);
19813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19814 if (!SWIG_IsOK(ecode2
)) {
19815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19817 arg2
= static_cast< int >(val2
);
19820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19821 if (!SWIG_IsOK(ecode3
)) {
19822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19824 arg3
= static_cast< int >(val3
);
19827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19828 if (!SWIG_IsOK(ecode4
)) {
19829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
19831 arg4
= static_cast< int >(val4
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
19846 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19847 PyObject
*resultobj
= 0;
19848 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19852 PyObject
*swig_obj
[1] ;
19854 if (!args
) SWIG_fail
;
19855 swig_obj
[0] = args
;
19856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19857 if (!SWIG_IsOK(res1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19860 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_From_int(static_cast< int >(result
));
19874 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
= 0;
19876 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 char * kwnames
[] = {
19885 (char *) "self",(char *) "nSel", NULL
19888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19890 if (!SWIG_IsOK(res1
)) {
19891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19893 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19895 if (!SWIG_IsOK(ecode2
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
19898 arg2
= static_cast< int >(val2
);
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 (arg1
)->SetSelection(arg2
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= SWIG_Py_Void();
19912 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19913 PyObject
*resultobj
= 0;
19914 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19918 PyObject
*swig_obj
[1] ;
19920 if (!args
) SWIG_fail
;
19921 swig_obj
[0] = args
;
19922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19926 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_From_int(static_cast< int >(result
));
19940 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
= 0;
19942 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj1
= 0 ;
19950 char * kwnames
[] = {
19951 (char *) "self",(char *) "nOldSel", NULL
19954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19956 if (!SWIG_IsOK(res1
)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19959 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19961 if (!SWIG_IsOK(ecode2
)) {
19962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
19964 arg2
= static_cast< int >(val2
);
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 (arg1
)->SetOldSelection(arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= SWIG_Py_Void();
19978 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19981 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
19982 return SWIG_Py_Void();
19985 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19986 return SWIG_Python_InitShadowInstance(args
);
19989 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
= 0;
19991 wxWindow
*arg1
= (wxWindow
*) 0 ;
19992 int arg2
= (int) -1 ;
19993 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19994 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19995 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19996 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19997 long arg5
= (long) 0 ;
19998 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
19999 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20000 wxNotebook
*result
= 0 ;
20009 bool temp6
= false ;
20010 PyObject
* obj0
= 0 ;
20011 PyObject
* obj1
= 0 ;
20012 PyObject
* obj2
= 0 ;
20013 PyObject
* obj3
= 0 ;
20014 PyObject
* obj4
= 0 ;
20015 PyObject
* obj5
= 0 ;
20016 char * kwnames
[] = {
20017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20022 if (!SWIG_IsOK(res1
)) {
20023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20028 if (!SWIG_IsOK(ecode2
)) {
20029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20031 arg2
= static_cast< int >(val2
);
20036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20046 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20047 if (!SWIG_IsOK(ecode5
)) {
20048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20050 arg5
= static_cast< long >(val5
);
20054 arg6
= wxString_in_helper(obj5
);
20055 if (arg6
== NULL
) SWIG_fail
;
20060 if (!wxPyCheckForApp()) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20081 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20082 PyObject
*resultobj
= 0;
20083 wxNotebook
*result
= 0 ;
20085 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20087 if (!wxPyCheckForApp()) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (wxNotebook
*)new wxNotebook();
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20100 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
= 0;
20102 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20103 wxWindow
*arg2
= (wxWindow
*) 0 ;
20104 int arg3
= (int) -1 ;
20105 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20106 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20107 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20108 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20109 long arg6
= (long) 0 ;
20110 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20111 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20123 bool temp7
= false ;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 PyObject
* obj2
= 0 ;
20127 PyObject
* obj3
= 0 ;
20128 PyObject
* obj4
= 0 ;
20129 PyObject
* obj5
= 0 ;
20130 PyObject
* obj6
= 0 ;
20131 char * kwnames
[] = {
20132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20140 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20142 if (!SWIG_IsOK(res2
)) {
20143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20148 if (!SWIG_IsOK(ecode3
)) {
20149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20151 arg3
= static_cast< int >(val3
);
20156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20166 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20167 if (!SWIG_IsOK(ecode6
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20170 arg6
= static_cast< long >(val6
);
20174 arg7
= wxString_in_helper(obj6
);
20175 if (arg7
== NULL
) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20202 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20203 PyObject
*resultobj
= 0;
20204 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20208 PyObject
*swig_obj
[1] ;
20210 if (!args
) SWIG_fail
;
20211 swig_obj
[0] = args
;
20212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20213 if (!SWIG_IsOK(res1
)) {
20214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20216 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 resultobj
= SWIG_From_int(static_cast< int >(result
));
20230 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
= 0;
20232 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char * kwnames
[] = {
20240 (char *) "self",(char *) "padding", NULL
20243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20245 if (!SWIG_IsOK(res1
)) {
20246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20248 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20251 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_Py_Void();
20266 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
= 0;
20268 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20275 char * kwnames
[] = {
20276 (char *) "self",(char *) "sz", NULL
20279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20281 if (!SWIG_IsOK(res1
)) {
20282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20284 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20287 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_Py_Void();
20302 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
= 0;
20304 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20305 wxPoint
*arg2
= 0 ;
20306 long *arg3
= (long *) 0 ;
20312 int res3
= SWIG_TMPOBJ
;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char * kwnames
[] = {
20316 (char *) "self",(char *) "pt", NULL
20320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20322 if (!SWIG_IsOK(res1
)) {
20323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20325 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= SWIG_From_int(static_cast< int >(result
));
20337 if (SWIG_IsTmpObj(res3
)) {
20338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20340 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20349 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20350 PyObject
*resultobj
= 0;
20351 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20355 PyObject
*swig_obj
[1] ;
20357 if (!args
) SWIG_fail
;
20358 swig_obj
[0] = args
;
20359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20360 if (!SWIG_IsOK(res1
)) {
20361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20363 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20377 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
= 0;
20379 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20380 SwigValueWrapper
<wxVisualAttributes
> result
;
20383 PyObject
* obj0
= 0 ;
20384 char * kwnames
[] = {
20385 (char *) "variant", NULL
20388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20390 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20391 if (!SWIG_IsOK(ecode1
)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20394 arg1
= static_cast< wxWindowVariant
>(val1
);
20397 if (!wxPyCheckForApp()) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20410 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20413 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20414 return SWIG_Py_Void();
20417 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20418 return SWIG_Python_InitShadowInstance(args
);
20421 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
= 0;
20423 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20424 int arg2
= (int) 0 ;
20425 int arg3
= (int) -1 ;
20426 int arg4
= (int) -1 ;
20427 wxNotebookEvent
*result
= 0 ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 PyObject
* obj2
= 0 ;
20439 PyObject
* obj3
= 0 ;
20440 char * kwnames
[] = {
20441 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20447 if (!SWIG_IsOK(ecode1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20450 arg1
= static_cast< wxEventType
>(val1
);
20453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20454 if (!SWIG_IsOK(ecode2
)) {
20455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20457 arg2
= static_cast< int >(val2
);
20460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20461 if (!SWIG_IsOK(ecode3
)) {
20462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20464 arg3
= static_cast< int >(val3
);
20467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20468 if (!SWIG_IsOK(ecode4
)) {
20469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20471 arg4
= static_cast< int >(val4
);
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20486 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20489 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20490 return SWIG_Py_Void();
20493 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20494 return SWIG_Python_InitShadowInstance(args
);
20497 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
= 0;
20499 wxWindow
*arg1
= (wxWindow
*) 0 ;
20500 int arg2
= (int) -1 ;
20501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20505 long arg5
= (long) 0 ;
20506 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20507 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20508 wxListbook
*result
= 0 ;
20517 bool temp6
= false ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 PyObject
* obj2
= 0 ;
20521 PyObject
* obj3
= 0 ;
20522 PyObject
* obj4
= 0 ;
20523 PyObject
* obj5
= 0 ;
20524 char * kwnames
[] = {
20525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20530 if (!SWIG_IsOK(res1
)) {
20531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20533 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20536 if (!SWIG_IsOK(ecode2
)) {
20537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20539 arg2
= static_cast< int >(val2
);
20544 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20550 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20554 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20555 if (!SWIG_IsOK(ecode5
)) {
20556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20558 arg5
= static_cast< long >(val5
);
20562 arg6
= wxString_in_helper(obj5
);
20563 if (arg6
== NULL
) SWIG_fail
;
20568 if (!wxPyCheckForApp()) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20589 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20590 PyObject
*resultobj
= 0;
20591 wxListbook
*result
= 0 ;
20593 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20595 if (!wxPyCheckForApp()) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (wxListbook
*)new wxListbook();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20608 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
= 0;
20610 wxListbook
*arg1
= (wxListbook
*) 0 ;
20611 wxWindow
*arg2
= (wxWindow
*) 0 ;
20612 int arg3
= (int) -1 ;
20613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20617 long arg6
= (long) 0 ;
20618 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20631 bool temp7
= false ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 PyObject
* obj2
= 0 ;
20635 PyObject
* obj3
= 0 ;
20636 PyObject
* obj4
= 0 ;
20637 PyObject
* obj5
= 0 ;
20638 PyObject
* obj6
= 0 ;
20639 char * kwnames
[] = {
20640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20645 if (!SWIG_IsOK(res1
)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20648 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20650 if (!SWIG_IsOK(res2
)) {
20651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20656 if (!SWIG_IsOK(ecode3
)) {
20657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20659 arg3
= static_cast< int >(val3
);
20664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20675 if (!SWIG_IsOK(ecode6
)) {
20676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20678 arg6
= static_cast< long >(val6
);
20682 arg7
= wxString_in_helper(obj6
);
20683 if (arg7
== NULL
) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20710 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20711 PyObject
*resultobj
= 0;
20712 wxListbook
*arg1
= (wxListbook
*) 0 ;
20713 wxListView
*result
= 0 ;
20716 PyObject
*swig_obj
[1] ;
20718 if (!args
) SWIG_fail
;
20719 swig_obj
[0] = args
;
20720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20721 if (!SWIG_IsOK(res1
)) {
20722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20724 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (wxListView
*)(arg1
)->GetListView();
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20738 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20741 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20742 return SWIG_Py_Void();
20745 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20746 return SWIG_Python_InitShadowInstance(args
);
20749 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
= 0;
20751 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20752 int arg2
= (int) 0 ;
20753 int arg3
= (int) -1 ;
20754 int arg4
= (int) -1 ;
20755 wxListbookEvent
*result
= 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 PyObject
* obj2
= 0 ;
20767 PyObject
* obj3
= 0 ;
20768 char * kwnames
[] = {
20769 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20775 if (!SWIG_IsOK(ecode1
)) {
20776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20778 arg1
= static_cast< wxEventType
>(val1
);
20781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20782 if (!SWIG_IsOK(ecode2
)) {
20783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20785 arg2
= static_cast< int >(val2
);
20788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20789 if (!SWIG_IsOK(ecode3
)) {
20790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20792 arg3
= static_cast< int >(val3
);
20795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20796 if (!SWIG_IsOK(ecode4
)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20799 arg4
= static_cast< int >(val4
);
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20814 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20817 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20818 return SWIG_Py_Void();
20821 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20822 return SWIG_Python_InitShadowInstance(args
);
20825 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
= 0;
20827 wxWindow
*arg1
= (wxWindow
*) 0 ;
20829 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20830 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20831 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20832 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20833 long arg5
= (long) 0 ;
20834 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20835 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20836 wxChoicebook
*result
= 0 ;
20845 bool temp6
= false ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 PyObject
* obj2
= 0 ;
20849 PyObject
* obj3
= 0 ;
20850 PyObject
* obj4
= 0 ;
20851 PyObject
* obj5
= 0 ;
20852 char * kwnames
[] = {
20853 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20863 if (!SWIG_IsOK(ecode2
)) {
20864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
20866 arg2
= static_cast< int >(val2
);
20870 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20876 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20880 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20881 if (!SWIG_IsOK(ecode5
)) {
20882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
20884 arg5
= static_cast< long >(val5
);
20888 arg6
= wxString_in_helper(obj5
);
20889 if (arg6
== NULL
) SWIG_fail
;
20894 if (!wxPyCheckForApp()) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
20915 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20916 PyObject
*resultobj
= 0;
20917 wxChoicebook
*result
= 0 ;
20919 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
20921 if (!wxPyCheckForApp()) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (wxChoicebook
*)new wxChoicebook();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
20934 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
= 0;
20936 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
20937 wxWindow
*arg2
= (wxWindow
*) 0 ;
20939 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20940 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20941 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20942 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20943 long arg6
= (long) 0 ;
20944 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20945 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20957 bool temp7
= false ;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 PyObject
* obj2
= 0 ;
20961 PyObject
* obj3
= 0 ;
20962 PyObject
* obj4
= 0 ;
20963 PyObject
* obj5
= 0 ;
20964 PyObject
* obj6
= 0 ;
20965 char * kwnames
[] = {
20966 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
20971 if (!SWIG_IsOK(res1
)) {
20972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
20974 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
20975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20976 if (!SWIG_IsOK(res2
)) {
20977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20979 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20981 if (!SWIG_IsOK(ecode3
)) {
20982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
20984 arg3
= static_cast< int >(val3
);
20988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20998 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20999 if (!SWIG_IsOK(ecode6
)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21002 arg6
= static_cast< long >(val6
);
21006 arg7
= wxString_in_helper(obj6
);
21007 if (arg7
== NULL
) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21034 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21035 PyObject
*resultobj
= 0;
21036 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21037 wxChoice
*result
= 0 ;
21040 PyObject
*swig_obj
[1] ;
21042 if (!args
) SWIG_fail
;
21043 swig_obj
[0] = args
;
21044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21045 if (!SWIG_IsOK(res1
)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21048 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21062 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21065 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21066 return SWIG_Py_Void();
21069 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21070 return SWIG_Python_InitShadowInstance(args
);
21073 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
= 0;
21075 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21076 int arg2
= (int) 0 ;
21077 int arg3
= (int) -1 ;
21078 int arg4
= (int) -1 ;
21079 wxChoicebookEvent
*result
= 0 ;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 PyObject
* obj2
= 0 ;
21091 PyObject
* obj3
= 0 ;
21092 char * kwnames
[] = {
21093 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21098 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21099 if (!SWIG_IsOK(ecode1
)) {
21100 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21102 arg1
= static_cast< wxEventType
>(val1
);
21105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21106 if (!SWIG_IsOK(ecode2
)) {
21107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21109 arg2
= static_cast< int >(val2
);
21112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21113 if (!SWIG_IsOK(ecode3
)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21116 arg3
= static_cast< int >(val3
);
21119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21120 if (!SWIG_IsOK(ecode4
)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21123 arg4
= static_cast< int >(val4
);
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21138 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21141 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21142 return SWIG_Py_Void();
21145 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21146 return SWIG_Python_InitShadowInstance(args
);
21149 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
= 0;
21151 wxWindow
*arg1
= (wxWindow
*) 0 ;
21153 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21154 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21155 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21156 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21157 long arg5
= (long) wxBK_DEFAULT
;
21158 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21159 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21160 wxTreebook
*result
= 0 ;
21169 bool temp6
= false ;
21170 PyObject
* obj0
= 0 ;
21171 PyObject
* obj1
= 0 ;
21172 PyObject
* obj2
= 0 ;
21173 PyObject
* obj3
= 0 ;
21174 PyObject
* obj4
= 0 ;
21175 PyObject
* obj5
= 0 ;
21176 char * kwnames
[] = {
21177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21182 if (!SWIG_IsOK(res1
)) {
21183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21187 if (!SWIG_IsOK(ecode2
)) {
21188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21190 arg2
= static_cast< int >(val2
);
21194 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21200 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21204 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21205 if (!SWIG_IsOK(ecode5
)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21208 arg5
= static_cast< long >(val5
);
21212 arg6
= wxString_in_helper(obj5
);
21213 if (arg6
== NULL
) SWIG_fail
;
21218 if (!wxPyCheckForApp()) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21239 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21240 PyObject
*resultobj
= 0;
21241 wxTreebook
*result
= 0 ;
21243 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21245 if (!wxPyCheckForApp()) SWIG_fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (wxTreebook
*)new wxTreebook();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21258 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
= 0;
21260 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21261 wxWindow
*arg2
= (wxWindow
*) 0 ;
21263 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21264 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21265 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21266 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21267 long arg6
= (long) wxBK_DEFAULT
;
21268 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21269 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21281 bool temp7
= false ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 PyObject
* obj2
= 0 ;
21285 PyObject
* obj3
= 0 ;
21286 PyObject
* obj4
= 0 ;
21287 PyObject
* obj5
= 0 ;
21288 PyObject
* obj6
= 0 ;
21289 char * kwnames
[] = {
21290 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21295 if (!SWIG_IsOK(res1
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21298 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21300 if (!SWIG_IsOK(res2
)) {
21301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21303 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21305 if (!SWIG_IsOK(ecode3
)) {
21306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21308 arg3
= static_cast< int >(val3
);
21312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21322 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21323 if (!SWIG_IsOK(ecode6
)) {
21324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21326 arg6
= static_cast< long >(val6
);
21330 arg7
= wxString_in_helper(obj6
);
21331 if (arg7
== NULL
) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21358 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21362 wxWindow
*arg3
= (wxWindow
*) 0 ;
21363 wxString
*arg4
= 0 ;
21364 bool arg5
= (bool) false ;
21365 int arg6
= (int) wxNOT_FOUND
;
21373 bool temp4
= false ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 PyObject
* obj2
= 0 ;
21381 PyObject
* obj3
= 0 ;
21382 PyObject
* obj4
= 0 ;
21383 PyObject
* obj5
= 0 ;
21384 char * kwnames
[] = {
21385 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21390 if (!SWIG_IsOK(res1
)) {
21391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21393 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21394 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21395 if (!SWIG_IsOK(ecode2
)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21398 arg2
= static_cast< size_t >(val2
);
21399 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21400 if (!SWIG_IsOK(res3
)) {
21401 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21403 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21405 arg4
= wxString_in_helper(obj3
);
21406 if (arg4
== NULL
) SWIG_fail
;
21410 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21411 if (!SWIG_IsOK(ecode5
)) {
21412 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21414 arg5
= static_cast< bool >(val5
);
21417 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21418 if (!SWIG_IsOK(ecode6
)) {
21419 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21421 arg6
= static_cast< int >(val6
);
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21446 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
= 0;
21448 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21449 wxWindow
*arg2
= (wxWindow
*) 0 ;
21450 wxString
*arg3
= 0 ;
21451 bool arg4
= (bool) false ;
21452 int arg5
= (int) wxNOT_FOUND
;
21458 bool temp3
= false ;
21463 PyObject
* obj0
= 0 ;
21464 PyObject
* obj1
= 0 ;
21465 PyObject
* obj2
= 0 ;
21466 PyObject
* obj3
= 0 ;
21467 PyObject
* obj4
= 0 ;
21468 char * kwnames
[] = {
21469 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21474 if (!SWIG_IsOK(res1
)) {
21475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21477 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21479 if (!SWIG_IsOK(res2
)) {
21480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21482 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21484 arg3
= wxString_in_helper(obj2
);
21485 if (arg3
== NULL
) SWIG_fail
;
21489 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21490 if (!SWIG_IsOK(ecode4
)) {
21491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21493 arg4
= static_cast< bool >(val4
);
21496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21497 if (!SWIG_IsOK(ecode5
)) {
21498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21500 arg5
= static_cast< int >(val5
);
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21525 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
= 0;
21527 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 PyObject
* obj1
= 0 ;
21536 char * kwnames
[] = {
21537 (char *) "self",(char *) "pos", NULL
21540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21542 if (!SWIG_IsOK(res1
)) {
21543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21545 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21546 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21547 if (!SWIG_IsOK(ecode2
)) {
21548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21550 arg2
= static_cast< size_t >(val2
);
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21566 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
= 0;
21568 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21570 bool arg3
= (bool) true ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 PyObject
* obj2
= 0 ;
21581 char * kwnames
[] = {
21582 (char *) "self",(char *) "pos",(char *) "expand", NULL
21585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21587 if (!SWIG_IsOK(res1
)) {
21588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21590 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21591 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21592 if (!SWIG_IsOK(ecode2
)) {
21593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21595 arg2
= static_cast< size_t >(val2
);
21597 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21598 if (!SWIG_IsOK(ecode3
)) {
21599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21601 arg3
= static_cast< bool >(val3
);
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21618 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
= 0;
21620 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char * kwnames
[] = {
21630 (char *) "self",(char *) "pos", NULL
21633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21638 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21639 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21640 if (!SWIG_IsOK(ecode2
)) {
21641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21643 arg2
= static_cast< size_t >(val2
);
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= (bool)(arg1
)->CollapseNode(arg2
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21659 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
= 0;
21661 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char * kwnames
[] = {
21671 (char *) "self",(char *) "pos", NULL
21674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21676 if (!SWIG_IsOK(res1
)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21679 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21680 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21681 if (!SWIG_IsOK(ecode2
)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21684 arg2
= static_cast< size_t >(val2
);
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 resultobj
= SWIG_From_int(static_cast< int >(result
));
21698 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21699 PyObject
*resultobj
= 0;
21700 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21701 wxTreeCtrl
*result
= 0 ;
21704 PyObject
*swig_obj
[1] ;
21706 if (!args
) SWIG_fail
;
21707 swig_obj
[0] = args
;
21708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21709 if (!SWIG_IsOK(res1
)) {
21710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21712 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21726 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21729 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21730 return SWIG_Py_Void();
21733 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21734 return SWIG_Python_InitShadowInstance(args
);
21737 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
= 0;
21739 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21740 int arg2
= (int) 0 ;
21741 int arg3
= (int) wxNOT_FOUND
;
21742 int arg4
= (int) wxNOT_FOUND
;
21743 wxTreebookEvent
*result
= 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 PyObject
* obj2
= 0 ;
21755 PyObject
* obj3
= 0 ;
21756 char * kwnames
[] = {
21757 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21763 if (!SWIG_IsOK(ecode1
)) {
21764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21766 arg1
= static_cast< wxEventType
>(val1
);
21769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21770 if (!SWIG_IsOK(ecode2
)) {
21771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21773 arg2
= static_cast< int >(val2
);
21776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21777 if (!SWIG_IsOK(ecode3
)) {
21778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21780 arg3
= static_cast< int >(val3
);
21783 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21784 if (!SWIG_IsOK(ecode4
)) {
21785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21787 arg4
= static_cast< int >(val4
);
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21802 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21805 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21806 return SWIG_Py_Void();
21809 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21810 return SWIG_Python_InitShadowInstance(args
);
21813 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
= 0;
21815 wxWindow
*arg1
= (wxWindow
*) 0 ;
21817 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21818 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21819 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21820 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21821 long arg5
= (long) wxBK_DEFAULT
;
21822 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21823 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21824 wxToolbook
*result
= 0 ;
21833 bool temp6
= false ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 PyObject
* obj2
= 0 ;
21837 PyObject
* obj3
= 0 ;
21838 PyObject
* obj4
= 0 ;
21839 PyObject
* obj5
= 0 ;
21840 char * kwnames
[] = {
21841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21846 if (!SWIG_IsOK(res1
)) {
21847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21851 if (!SWIG_IsOK(ecode2
)) {
21852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
21854 arg2
= static_cast< int >(val2
);
21858 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21864 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21868 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21869 if (!SWIG_IsOK(ecode5
)) {
21870 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
21872 arg5
= static_cast< long >(val5
);
21876 arg6
= wxString_in_helper(obj5
);
21877 if (arg6
== NULL
) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
21902 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21903 PyObject
*resultobj
= 0;
21904 wxToolbook
*result
= 0 ;
21906 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (wxToolbook
*)new wxToolbook();
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
21920 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
= 0;
21922 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21923 wxWindow
*arg2
= (wxWindow
*) 0 ;
21925 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21926 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21927 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21928 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21929 long arg6
= (long) 0 ;
21930 wxString
const &arg7_defvalue
= wxEmptyString
;
21931 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21943 bool temp7
= false ;
21944 PyObject
* obj0
= 0 ;
21945 PyObject
* obj1
= 0 ;
21946 PyObject
* obj2
= 0 ;
21947 PyObject
* obj3
= 0 ;
21948 PyObject
* obj4
= 0 ;
21949 PyObject
* obj5
= 0 ;
21950 PyObject
* obj6
= 0 ;
21951 char * kwnames
[] = {
21952 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21957 if (!SWIG_IsOK(res1
)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
21960 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21962 if (!SWIG_IsOK(res2
)) {
21963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21967 if (!SWIG_IsOK(ecode3
)) {
21968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
21970 arg3
= static_cast< int >(val3
);
21974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21984 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21985 if (!SWIG_IsOK(ecode6
)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
21988 arg6
= static_cast< long >(val6
);
21992 arg7
= wxString_in_helper(obj6
);
21993 if (arg7
== NULL
) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22020 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22021 PyObject
*resultobj
= 0;
22022 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22023 wxToolBarBase
*result
= 0 ;
22026 PyObject
*swig_obj
[1] ;
22028 if (!args
) SWIG_fail
;
22029 swig_obj
[0] = args
;
22030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22031 if (!SWIG_IsOK(res1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22034 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22050 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 PyObject
*resultobj
= 0;
22052 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22055 PyObject
*swig_obj
[1] ;
22057 if (!args
) SWIG_fail
;
22058 swig_obj
[0] = args
;
22059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22063 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_Py_Void();
22077 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22080 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22081 return SWIG_Py_Void();
22084 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22085 return SWIG_Python_InitShadowInstance(args
);
22088 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
= 0;
22090 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22091 int arg2
= (int) 0 ;
22092 int arg3
= (int) wxNOT_FOUND
;
22093 int arg4
= (int) wxNOT_FOUND
;
22094 wxToolbookEvent
*result
= 0 ;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 PyObject
* obj2
= 0 ;
22106 PyObject
* obj3
= 0 ;
22107 char * kwnames
[] = {
22108 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22114 if (!SWIG_IsOK(ecode1
)) {
22115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22117 arg1
= static_cast< wxEventType
>(val1
);
22120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22121 if (!SWIG_IsOK(ecode2
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22124 arg2
= static_cast< int >(val2
);
22127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22128 if (!SWIG_IsOK(ecode3
)) {
22129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22131 arg3
= static_cast< int >(val3
);
22134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22135 if (!SWIG_IsOK(ecode4
)) {
22136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22138 arg4
= static_cast< int >(val4
);
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22153 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22156 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22157 return SWIG_Py_Void();
22160 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22161 return SWIG_Python_InitShadowInstance(args
);
22164 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22165 PyObject
*resultobj
= 0;
22166 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22170 PyObject
*swig_obj
[1] ;
22172 if (!args
) SWIG_fail
;
22173 swig_obj
[0] = args
;
22174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22175 if (!SWIG_IsOK(res1
)) {
22176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22178 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (int)(arg1
)->GetId();
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= SWIG_From_int(static_cast< int >(result
));
22192 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22193 PyObject
*resultobj
= 0;
22194 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22195 wxControl
*result
= 0 ;
22198 PyObject
*swig_obj
[1] ;
22200 if (!args
) SWIG_fail
;
22201 swig_obj
[0] = args
;
22202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22206 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (wxControl
*)(arg1
)->GetControl();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= wxPyMake_wxObject(result
, 0);
22222 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22225 wxToolBarBase
*result
= 0 ;
22228 PyObject
*swig_obj
[1] ;
22230 if (!args
) SWIG_fail
;
22231 swig_obj
[0] = args
;
22232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22236 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22252 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22253 PyObject
*resultobj
= 0;
22254 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22258 PyObject
*swig_obj
[1] ;
22260 if (!args
) SWIG_fail
;
22261 swig_obj
[0] = args
;
22262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22263 if (!SWIG_IsOK(res1
)) {
22264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22266 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (int)(arg1
)->IsButton();
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= SWIG_From_int(static_cast< int >(result
));
22280 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22281 PyObject
*resultobj
= 0;
22282 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22286 PyObject
*swig_obj
[1] ;
22288 if (!args
) SWIG_fail
;
22289 swig_obj
[0] = args
;
22290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22291 if (!SWIG_IsOK(res1
)) {
22292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22294 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (int)(arg1
)->IsControl();
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= SWIG_From_int(static_cast< int >(result
));
22308 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22309 PyObject
*resultobj
= 0;
22310 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22314 PyObject
*swig_obj
[1] ;
22316 if (!args
) SWIG_fail
;
22317 swig_obj
[0] = args
;
22318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22322 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= (int)(arg1
)->IsSeparator();
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_From_int(static_cast< int >(result
));
22336 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22337 PyObject
*resultobj
= 0;
22338 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22342 PyObject
*swig_obj
[1] ;
22344 if (!args
) SWIG_fail
;
22345 swig_obj
[0] = args
;
22346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22347 if (!SWIG_IsOK(res1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22350 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (int)(arg1
)->GetStyle();
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= SWIG_From_int(static_cast< int >(result
));
22364 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22365 PyObject
*resultobj
= 0;
22366 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22370 PyObject
*swig_obj
[1] ;
22372 if (!args
) SWIG_fail
;
22373 swig_obj
[0] = args
;
22374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22375 if (!SWIG_IsOK(res1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22378 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (wxItemKind
)(arg1
)->GetKind();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_From_int(static_cast< int >(result
));
22392 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 PyObject
*resultobj
= 0;
22394 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22398 PyObject
*swig_obj
[1] ;
22400 if (!args
) SWIG_fail
;
22401 swig_obj
[0] = args
;
22402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22403 if (!SWIG_IsOK(res1
)) {
22404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22406 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (bool)(arg1
)->IsEnabled();
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22422 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22423 PyObject
*resultobj
= 0;
22424 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22428 PyObject
*swig_obj
[1] ;
22430 if (!args
) SWIG_fail
;
22431 swig_obj
[0] = args
;
22432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22433 if (!SWIG_IsOK(res1
)) {
22434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22436 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 result
= (bool)(arg1
)->IsToggled();
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22452 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22453 PyObject
*resultobj
= 0;
22454 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22458 PyObject
*swig_obj
[1] ;
22460 if (!args
) SWIG_fail
;
22461 swig_obj
[0] = args
;
22462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22463 if (!SWIG_IsOK(res1
)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22466 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= (bool)(arg1
)->CanBeToggled();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22482 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22483 PyObject
*resultobj
= 0;
22484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22485 wxBitmap
*result
= 0 ;
22488 PyObject
*swig_obj
[1] ;
22490 if (!args
) SWIG_fail
;
22491 swig_obj
[0] = args
;
22492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22493 if (!SWIG_IsOK(res1
)) {
22494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22496 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22501 result
= (wxBitmap
*) &_result_ref
;
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 wxBitmap
* resultptr
= new wxBitmap(*result
);
22508 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22516 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22517 PyObject
*resultobj
= 0;
22518 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22519 wxBitmap
*result
= 0 ;
22522 PyObject
*swig_obj
[1] ;
22524 if (!args
) SWIG_fail
;
22525 swig_obj
[0] = args
;
22526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22527 if (!SWIG_IsOK(res1
)) {
22528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22530 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22535 result
= (wxBitmap
*) &_result_ref
;
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 wxBitmap
* resultptr
= new wxBitmap(*result
);
22542 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22550 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22551 PyObject
*resultobj
= 0;
22552 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22556 PyObject
*swig_obj
[1] ;
22558 if (!args
) SWIG_fail
;
22559 swig_obj
[0] = args
;
22560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22561 if (!SWIG_IsOK(res1
)) {
22562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22564 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (arg1
)->GetBitmap();
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22578 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22579 PyObject
*resultobj
= 0;
22580 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22584 PyObject
*swig_obj
[1] ;
22586 if (!args
) SWIG_fail
;
22587 swig_obj
[0] = args
;
22588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22589 if (!SWIG_IsOK(res1
)) {
22590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22592 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= (arg1
)->GetLabel();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22612 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22613 PyObject
*resultobj
= 0;
22614 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22618 PyObject
*swig_obj
[1] ;
22620 if (!args
) SWIG_fail
;
22621 swig_obj
[0] = args
;
22622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22623 if (!SWIG_IsOK(res1
)) {
22624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22626 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 result
= (arg1
)->GetShortHelp();
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22646 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22647 PyObject
*resultobj
= 0;
22648 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22652 PyObject
*swig_obj
[1] ;
22654 if (!args
) SWIG_fail
;
22655 swig_obj
[0] = args
;
22656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22657 if (!SWIG_IsOK(res1
)) {
22658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22660 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (arg1
)->GetLongHelp();
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22680 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
= 0;
22682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 char * kwnames
[] = {
22692 (char *) "self",(char *) "enable", NULL
22695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22697 if (!SWIG_IsOK(res1
)) {
22698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22700 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22701 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22702 if (!SWIG_IsOK(ecode2
)) {
22703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22705 arg2
= static_cast< bool >(val2
);
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (bool)(arg1
)->Enable(arg2
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22721 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22722 PyObject
*resultobj
= 0;
22723 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22726 PyObject
*swig_obj
[1] ;
22728 if (!args
) SWIG_fail
;
22729 swig_obj
[0] = args
;
22730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22731 if (!SWIG_IsOK(res1
)) {
22732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22734 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= SWIG_Py_Void();
22748 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22749 PyObject
*resultobj
= 0;
22750 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 char * kwnames
[] = {
22760 (char *) "self",(char *) "toggle", NULL
22763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22765 if (!SWIG_IsOK(res1
)) {
22766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22768 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22769 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22770 if (!SWIG_IsOK(ecode2
)) {
22771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22773 arg2
= static_cast< bool >(val2
);
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= (bool)(arg1
)->SetToggle(arg2
);
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22789 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
= 0;
22791 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22792 wxString
*arg2
= 0 ;
22796 bool temp2
= false ;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 char * kwnames
[] = {
22800 (char *) "self",(char *) "help", NULL
22803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22805 if (!SWIG_IsOK(res1
)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22808 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22810 arg2
= wxString_in_helper(obj1
);
22811 if (arg2
== NULL
) SWIG_fail
;
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22837 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
= 0;
22839 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22840 wxString
*arg2
= 0 ;
22844 bool temp2
= false ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char * kwnames
[] = {
22848 (char *) "self",(char *) "help", NULL
22851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22853 if (!SWIG_IsOK(res1
)) {
22854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22856 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22858 arg2
= wxString_in_helper(obj1
);
22859 if (arg2
== NULL
) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22885 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
= 0;
22887 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22888 wxBitmap
*arg2
= 0 ;
22893 PyObject
* obj0
= 0 ;
22894 PyObject
* obj1
= 0 ;
22895 char * kwnames
[] = {
22896 (char *) "self",(char *) "bmp", NULL
22899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22904 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22906 if (!SWIG_IsOK(res2
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22912 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= SWIG_Py_Void();
22926 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
= 0;
22928 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22929 wxBitmap
*arg2
= 0 ;
22934 PyObject
* obj0
= 0 ;
22935 PyObject
* obj1
= 0 ;
22936 char * kwnames
[] = {
22937 (char *) "self",(char *) "bmp", NULL
22940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22942 if (!SWIG_IsOK(res1
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22945 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22947 if (!SWIG_IsOK(res2
)) {
22948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22953 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= SWIG_Py_Void();
22967 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
= 0;
22969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22970 wxString
*arg2
= 0 ;
22973 bool temp2
= false ;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 char * kwnames
[] = {
22977 (char *) "self",(char *) "label", NULL
22980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22982 if (!SWIG_IsOK(res1
)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22985 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22987 arg2
= wxString_in_helper(obj1
);
22988 if (arg2
== NULL
) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 (arg1
)->SetLabel((wxString
const &)*arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_Py_Void();
23012 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 PyObject
*resultobj
= 0;
23014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23017 PyObject
*swig_obj
[1] ;
23019 if (!args
) SWIG_fail
;
23020 swig_obj
[0] = args
;
23021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23022 if (!SWIG_IsOK(res1
)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23025 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 resultobj
= SWIG_Py_Void();
23039 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
= 0;
23041 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23042 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 char * kwnames
[] = {
23050 (char *) "self",(char *) "tbar", NULL
23053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23058 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23060 if (!SWIG_IsOK(res2
)) {
23061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23063 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 (arg1
)->Attach(arg2
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= SWIG_Py_Void();
23077 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23078 PyObject
*resultobj
= 0;
23079 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23080 PyObject
*result
= 0 ;
23083 PyObject
*swig_obj
[1] ;
23085 if (!args
) SWIG_fail
;
23086 swig_obj
[0] = args
;
23087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23088 if (!SWIG_IsOK(res1
)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23091 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= result
;
23105 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
= 0;
23107 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23108 PyObject
*arg2
= (PyObject
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 char * kwnames
[] = {
23114 (char *) "self",(char *) "clientData", NULL
23117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23122 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_Py_Void();
23137 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23140 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23141 return SWIG_Py_Void();
23144 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
= 0;
23146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23148 wxString
*arg3
= 0 ;
23149 wxBitmap
*arg4
= 0 ;
23150 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23151 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23152 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23153 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23155 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23156 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23157 PyObject
*arg9
= (PyObject
*) NULL
;
23158 wxToolBarToolBase
*result
= 0 ;
23163 bool temp3
= false ;
23170 bool temp7
= false ;
23171 bool temp8
= false ;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 PyObject
* obj2
= 0 ;
23175 PyObject
* obj3
= 0 ;
23176 PyObject
* obj4
= 0 ;
23177 PyObject
* obj5
= 0 ;
23178 PyObject
* obj6
= 0 ;
23179 PyObject
* obj7
= 0 ;
23180 PyObject
* obj8
= 0 ;
23181 char * kwnames
[] = {
23182 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23187 if (!SWIG_IsOK(res1
)) {
23188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23190 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23192 if (!SWIG_IsOK(ecode2
)) {
23193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23195 arg2
= static_cast< int >(val2
);
23197 arg3
= wxString_in_helper(obj2
);
23198 if (arg3
== NULL
) SWIG_fail
;
23201 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23202 if (!SWIG_IsOK(res4
)) {
23203 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23208 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23210 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23211 if (!SWIG_IsOK(res5
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23217 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23220 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23221 if (!SWIG_IsOK(ecode6
)) {
23222 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23224 arg6
= static_cast< wxItemKind
>(val6
);
23228 arg7
= wxString_in_helper(obj6
);
23229 if (arg7
== NULL
) SWIG_fail
;
23235 arg8
= wxString_in_helper(obj7
);
23236 if (arg8
== NULL
) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23282 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
= 0;
23284 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23287 wxString
*arg4
= 0 ;
23288 wxBitmap
*arg5
= 0 ;
23289 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23290 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23291 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23292 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23293 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23294 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23295 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23296 PyObject
*arg10
= (PyObject
*) NULL
;
23297 wxToolBarToolBase
*result
= 0 ;
23304 bool temp4
= false ;
23311 bool temp8
= false ;
23312 bool temp9
= false ;
23313 PyObject
* obj0
= 0 ;
23314 PyObject
* obj1
= 0 ;
23315 PyObject
* obj2
= 0 ;
23316 PyObject
* obj3
= 0 ;
23317 PyObject
* obj4
= 0 ;
23318 PyObject
* obj5
= 0 ;
23319 PyObject
* obj6
= 0 ;
23320 PyObject
* obj7
= 0 ;
23321 PyObject
* obj8
= 0 ;
23322 PyObject
* obj9
= 0 ;
23323 char * kwnames
[] = {
23324 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23332 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23333 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23334 if (!SWIG_IsOK(ecode2
)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23337 arg2
= static_cast< size_t >(val2
);
23338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23339 if (!SWIG_IsOK(ecode3
)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23342 arg3
= static_cast< int >(val3
);
23344 arg4
= wxString_in_helper(obj3
);
23345 if (arg4
== NULL
) SWIG_fail
;
23348 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23349 if (!SWIG_IsOK(res5
)) {
23350 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23355 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23357 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23358 if (!SWIG_IsOK(res6
)) {
23359 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23364 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23367 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23368 if (!SWIG_IsOK(ecode7
)) {
23369 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23371 arg7
= static_cast< wxItemKind
>(val7
);
23375 arg8
= wxString_in_helper(obj7
);
23376 if (arg8
== NULL
) SWIG_fail
;
23382 arg9
= wxString_in_helper(obj8
);
23383 if (arg9
== NULL
) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23429 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
= 0;
23431 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23432 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23433 wxToolBarToolBase
*result
= 0 ;
23438 PyObject
* obj0
= 0 ;
23439 PyObject
* obj1
= 0 ;
23440 char * kwnames
[] = {
23441 (char *) "self",(char *) "tool", NULL
23444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23446 if (!SWIG_IsOK(res1
)) {
23447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23449 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23451 if (!SWIG_IsOK(res2
)) {
23452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23454 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23470 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
= 0;
23472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23474 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23475 wxToolBarToolBase
*result
= 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 PyObject
* obj2
= 0 ;
23485 char * kwnames
[] = {
23486 (char *) "self",(char *) "pos",(char *) "tool", NULL
23489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23491 if (!SWIG_IsOK(res1
)) {
23492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23494 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23495 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23496 if (!SWIG_IsOK(ecode2
)) {
23497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23499 arg2
= static_cast< size_t >(val2
);
23500 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23501 if (!SWIG_IsOK(res3
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23504 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23520 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
= 0;
23522 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23523 wxControl
*arg2
= (wxControl
*) 0 ;
23524 wxToolBarToolBase
*result
= 0 ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char * kwnames
[] = {
23532 (char *) "self",(char *) "control", NULL
23535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23537 if (!SWIG_IsOK(res1
)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23540 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23542 if (!SWIG_IsOK(res2
)) {
23543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23545 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23561 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
= 0;
23563 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23565 wxControl
*arg3
= (wxControl
*) 0 ;
23566 wxToolBarToolBase
*result
= 0 ;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 PyObject
* obj2
= 0 ;
23576 char * kwnames
[] = {
23577 (char *) "self",(char *) "pos",(char *) "control", NULL
23580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23582 if (!SWIG_IsOK(res1
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23585 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23586 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23587 if (!SWIG_IsOK(ecode2
)) {
23588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23590 arg2
= static_cast< size_t >(val2
);
23591 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23592 if (!SWIG_IsOK(res3
)) {
23593 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23595 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23611 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
= 0;
23613 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23615 wxControl
*result
= 0 ;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj1
= 0 ;
23622 char * kwnames
[] = {
23623 (char *) "self",(char *) "id", NULL
23626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23628 if (!SWIG_IsOK(res1
)) {
23629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23631 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23633 if (!SWIG_IsOK(ecode2
)) {
23634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23636 arg2
= static_cast< int >(val2
);
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= wxPyMake_wxObject(result
, 0);
23652 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23653 PyObject
*resultobj
= 0;
23654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23655 wxToolBarToolBase
*result
= 0 ;
23658 PyObject
*swig_obj
[1] ;
23660 if (!args
) SWIG_fail
;
23661 swig_obj
[0] = args
;
23662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23663 if (!SWIG_IsOK(res1
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23666 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23682 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
= 0;
23684 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23686 wxToolBarToolBase
*result
= 0 ;
23691 PyObject
* obj0
= 0 ;
23692 PyObject
* obj1
= 0 ;
23693 char * kwnames
[] = {
23694 (char *) "self",(char *) "pos", NULL
23697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23699 if (!SWIG_IsOK(res1
)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23702 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23703 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23704 if (!SWIG_IsOK(ecode2
)) {
23705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23707 arg2
= static_cast< size_t >(val2
);
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23723 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
= 0;
23725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23727 wxToolBarToolBase
*result
= 0 ;
23732 PyObject
* obj0
= 0 ;
23733 PyObject
* obj1
= 0 ;
23734 char * kwnames
[] = {
23735 (char *) "self",(char *) "id", NULL
23738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23740 if (!SWIG_IsOK(res1
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23743 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23745 if (!SWIG_IsOK(ecode2
)) {
23746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23748 arg2
= static_cast< int >(val2
);
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23764 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
= 0;
23766 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23773 PyObject
* obj0
= 0 ;
23774 PyObject
* obj1
= 0 ;
23775 char * kwnames
[] = {
23776 (char *) "self",(char *) "pos", NULL
23779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23781 if (!SWIG_IsOK(res1
)) {
23782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23784 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23785 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23786 if (!SWIG_IsOK(ecode2
)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23789 arg2
= static_cast< size_t >(val2
);
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23805 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
= 0;
23807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23814 PyObject
* obj0
= 0 ;
23815 PyObject
* obj1
= 0 ;
23816 char * kwnames
[] = {
23817 (char *) "self",(char *) "id", NULL
23820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23825 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23827 if (!SWIG_IsOK(ecode2
)) {
23828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23830 arg2
= static_cast< int >(val2
);
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (bool)(arg1
)->DeleteTool(arg2
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23846 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23847 PyObject
*resultobj
= 0;
23848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23851 PyObject
*swig_obj
[1] ;
23853 if (!args
) SWIG_fail
;
23854 swig_obj
[0] = args
;
23855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23859 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 (arg1
)->ClearTools();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= SWIG_Py_Void();
23873 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23874 PyObject
*resultobj
= 0;
23875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23879 PyObject
*swig_obj
[1] ;
23881 if (!args
) SWIG_fail
;
23882 swig_obj
[0] = args
;
23883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23884 if (!SWIG_IsOK(res1
)) {
23885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23887 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (bool)(arg1
)->Realize();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23903 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
= 0;
23905 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 PyObject
* obj2
= 0 ;
23917 char * kwnames
[] = {
23918 (char *) "self",(char *) "id",(char *) "enable", NULL
23921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23923 if (!SWIG_IsOK(res1
)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23926 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23928 if (!SWIG_IsOK(ecode2
)) {
23929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
23931 arg2
= static_cast< int >(val2
);
23932 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23933 if (!SWIG_IsOK(ecode3
)) {
23934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
23936 arg3
= static_cast< bool >(val3
);
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 (arg1
)->EnableTool(arg2
,arg3
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= SWIG_Py_Void();
23950 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
= 0;
23952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 PyObject
* obj2
= 0 ;
23964 char * kwnames
[] = {
23965 (char *) "self",(char *) "id",(char *) "toggle", NULL
23968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23970 if (!SWIG_IsOK(res1
)) {
23971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23973 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23975 if (!SWIG_IsOK(ecode2
)) {
23976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
23978 arg2
= static_cast< int >(val2
);
23979 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23980 if (!SWIG_IsOK(ecode3
)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
23983 arg3
= static_cast< bool >(val3
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 (arg1
)->ToggleTool(arg2
,arg3
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_Py_Void();
23997 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
= 0;
23999 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 PyObject
* obj2
= 0 ;
24011 char * kwnames
[] = {
24012 (char *) "self",(char *) "id",(char *) "toggle", NULL
24015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24017 if (!SWIG_IsOK(res1
)) {
24018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24020 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24022 if (!SWIG_IsOK(ecode2
)) {
24023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24025 arg2
= static_cast< int >(val2
);
24026 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24027 if (!SWIG_IsOK(ecode3
)) {
24028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24030 arg3
= static_cast< bool >(val3
);
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 (arg1
)->SetToggle(arg2
,arg3
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= SWIG_Py_Void();
24044 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
= 0;
24046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24048 PyObject
*result
= 0 ;
24053 PyObject
* obj0
= 0 ;
24054 PyObject
* obj1
= 0 ;
24055 char * kwnames
[] = {
24056 (char *) "self",(char *) "id", NULL
24059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24061 if (!SWIG_IsOK(res1
)) {
24062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24064 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24066 if (!SWIG_IsOK(ecode2
)) {
24067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24069 arg2
= static_cast< int >(val2
);
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= result
;
24083 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
= 0;
24085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24087 PyObject
*arg3
= (PyObject
*) 0 ;
24092 PyObject
* obj0
= 0 ;
24093 PyObject
* obj1
= 0 ;
24094 PyObject
* obj2
= 0 ;
24095 char * kwnames
[] = {
24096 (char *) "self",(char *) "id",(char *) "clientData", NULL
24099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24104 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24106 if (!SWIG_IsOK(ecode2
)) {
24107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24109 arg2
= static_cast< int >(val2
);
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_Py_Void();
24124 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
= 0;
24126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char * kwnames
[] = {
24136 (char *) "self",(char *) "id", NULL
24139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24141 if (!SWIG_IsOK(res1
)) {
24142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24144 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24146 if (!SWIG_IsOK(ecode2
)) {
24147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24149 arg2
= static_cast< int >(val2
);
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_From_int(static_cast< int >(result
));
24163 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
= 0;
24165 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char * kwnames
[] = {
24175 (char *) "self",(char *) "id", NULL
24178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24180 if (!SWIG_IsOK(res1
)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24183 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24185 if (!SWIG_IsOK(ecode2
)) {
24186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24188 arg2
= static_cast< int >(val2
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (bool)(arg1
)->GetToolState(arg2
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24204 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24205 PyObject
*resultobj
= 0;
24206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char * kwnames
[] = {
24216 (char *) "self",(char *) "id", NULL
24219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24221 if (!SWIG_IsOK(res1
)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24224 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24226 if (!SWIG_IsOK(ecode2
)) {
24227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24229 arg2
= static_cast< int >(val2
);
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24245 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
= 0;
24247 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24249 wxString
*arg3
= 0 ;
24254 bool temp3
= false ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 PyObject
* obj2
= 0 ;
24258 char * kwnames
[] = {
24259 (char *) "self",(char *) "id",(char *) "helpString", NULL
24262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24264 if (!SWIG_IsOK(res1
)) {
24265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24267 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24269 if (!SWIG_IsOK(ecode2
)) {
24270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24272 arg2
= static_cast< int >(val2
);
24274 arg3
= wxString_in_helper(obj2
);
24275 if (arg3
== NULL
) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_Py_Void();
24299 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
= 0;
24301 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24308 PyObject
* obj0
= 0 ;
24309 PyObject
* obj1
= 0 ;
24310 char * kwnames
[] = {
24311 (char *) "self",(char *) "id", NULL
24314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24316 if (!SWIG_IsOK(res1
)) {
24317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24319 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24321 if (!SWIG_IsOK(ecode2
)) {
24322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24324 arg2
= static_cast< int >(val2
);
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (arg1
)->GetToolShortHelp(arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24344 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
= 0;
24346 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24348 wxString
*arg3
= 0 ;
24353 bool temp3
= false ;
24354 PyObject
* obj0
= 0 ;
24355 PyObject
* obj1
= 0 ;
24356 PyObject
* obj2
= 0 ;
24357 char * kwnames
[] = {
24358 (char *) "self",(char *) "id",(char *) "helpString", NULL
24361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24363 if (!SWIG_IsOK(res1
)) {
24364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24366 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24368 if (!SWIG_IsOK(ecode2
)) {
24369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24371 arg2
= static_cast< int >(val2
);
24373 arg3
= wxString_in_helper(obj2
);
24374 if (arg3
== NULL
) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= SWIG_Py_Void();
24398 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
= 0;
24400 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 PyObject
* obj1
= 0 ;
24409 char * kwnames
[] = {
24410 (char *) "self",(char *) "id", NULL
24413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24415 if (!SWIG_IsOK(res1
)) {
24416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24418 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24420 if (!SWIG_IsOK(ecode2
)) {
24421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24423 arg2
= static_cast< int >(val2
);
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (arg1
)->GetToolLongHelp(arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24443 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
= 0;
24445 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 PyObject
* obj2
= 0 ;
24457 char * kwnames
[] = {
24458 (char *) "self",(char *) "x",(char *) "y", NULL
24461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24463 if (!SWIG_IsOK(res1
)) {
24464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24466 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24468 if (!SWIG_IsOK(ecode2
)) {
24469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24471 arg2
= static_cast< int >(val2
);
24472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24473 if (!SWIG_IsOK(ecode3
)) {
24474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24476 arg3
= static_cast< int >(val3
);
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 (arg1
)->SetMargins(arg2
,arg3
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= SWIG_Py_Void();
24490 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
= 0;
24492 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char * kwnames
[] = {
24500 (char *) "self",(char *) "size", NULL
24503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24505 if (!SWIG_IsOK(res1
)) {
24506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24508 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24511 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= SWIG_Py_Void();
24526 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24527 PyObject
*resultobj
= 0;
24528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 char * kwnames
[] = {
24537 (char *) "self",(char *) "packing", NULL
24540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24542 if (!SWIG_IsOK(res1
)) {
24543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24545 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24547 if (!SWIG_IsOK(ecode2
)) {
24548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24550 arg2
= static_cast< int >(val2
);
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 (arg1
)->SetToolPacking(arg2
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= SWIG_Py_Void();
24564 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char * kwnames
[] = {
24575 (char *) "self",(char *) "separation", NULL
24578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24580 if (!SWIG_IsOK(res1
)) {
24581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24583 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24585 if (!SWIG_IsOK(ecode2
)) {
24586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24588 arg2
= static_cast< int >(val2
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->SetToolSeparation(arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_Py_Void();
24602 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24603 PyObject
*resultobj
= 0;
24604 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24608 PyObject
*swig_obj
[1] ;
24610 if (!args
) SWIG_fail
;
24611 swig_obj
[0] = args
;
24612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24613 if (!SWIG_IsOK(res1
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24616 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (arg1
)->GetToolMargins();
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24630 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24631 PyObject
*resultobj
= 0;
24632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24636 PyObject
*swig_obj
[1] ;
24638 if (!args
) SWIG_fail
;
24639 swig_obj
[0] = args
;
24640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24641 if (!SWIG_IsOK(res1
)) {
24642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24644 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (arg1
)->GetMargins();
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24658 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24659 PyObject
*resultobj
= 0;
24660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24664 PyObject
*swig_obj
[1] ;
24666 if (!args
) SWIG_fail
;
24667 swig_obj
[0] = args
;
24668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24669 if (!SWIG_IsOK(res1
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24672 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (int)(arg1
)->GetToolPacking();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_From_int(static_cast< int >(result
));
24686 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24687 PyObject
*resultobj
= 0;
24688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24692 PyObject
*swig_obj
[1] ;
24694 if (!args
) SWIG_fail
;
24695 swig_obj
[0] = args
;
24696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24697 if (!SWIG_IsOK(res1
)) {
24698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24700 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (int)(arg1
)->GetToolSeparation();
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= SWIG_From_int(static_cast< int >(result
));
24714 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24722 PyObject
* obj0
= 0 ;
24723 PyObject
* obj1
= 0 ;
24724 char * kwnames
[] = {
24725 (char *) "self",(char *) "nRows", NULL
24728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24730 if (!SWIG_IsOK(res1
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24733 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24735 if (!SWIG_IsOK(ecode2
)) {
24736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24738 arg2
= static_cast< int >(val2
);
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 (arg1
)->SetRows(arg2
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= SWIG_Py_Void();
24752 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
= 0;
24754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 PyObject
* obj2
= 0 ;
24766 char * kwnames
[] = {
24767 (char *) "self",(char *) "rows",(char *) "cols", NULL
24770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24772 if (!SWIG_IsOK(res1
)) {
24773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24775 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24777 if (!SWIG_IsOK(ecode2
)) {
24778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24780 arg2
= static_cast< int >(val2
);
24781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24782 if (!SWIG_IsOK(ecode3
)) {
24783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24785 arg3
= static_cast< int >(val3
);
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_Py_Void();
24799 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24800 PyObject
*resultobj
= 0;
24801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24805 PyObject
*swig_obj
[1] ;
24807 if (!args
) SWIG_fail
;
24808 swig_obj
[0] = args
;
24809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24810 if (!SWIG_IsOK(res1
)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24813 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (int)(arg1
)->GetMaxRows();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= SWIG_From_int(static_cast< int >(result
));
24827 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(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_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24841 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (int)(arg1
)->GetMaxCols();
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= SWIG_From_int(static_cast< int >(result
));
24855 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
= 0;
24857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char * kwnames
[] = {
24865 (char *) "self",(char *) "size", NULL
24868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24873 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24876 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_Py_Void();
24891 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24892 PyObject
*resultobj
= 0;
24893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24897 PyObject
*swig_obj
[1] ;
24899 if (!args
) SWIG_fail
;
24900 swig_obj
[0] = args
;
24901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24902 if (!SWIG_IsOK(res1
)) {
24903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24905 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= (arg1
)->GetToolBitmapSize();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24919 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24920 PyObject
*resultobj
= 0;
24921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24925 PyObject
*swig_obj
[1] ;
24927 if (!args
) SWIG_fail
;
24928 swig_obj
[0] = args
;
24929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24930 if (!SWIG_IsOK(res1
)) {
24931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24933 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (arg1
)->GetToolSize();
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24947 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24952 wxToolBarToolBase
*result
= 0 ;
24959 PyObject
* obj0
= 0 ;
24960 PyObject
* obj1
= 0 ;
24961 PyObject
* obj2
= 0 ;
24962 char * kwnames
[] = {
24963 (char *) "self",(char *) "x",(char *) "y", NULL
24966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24968 if (!SWIG_IsOK(res1
)) {
24969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24971 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24973 if (!SWIG_IsOK(ecode2
)) {
24974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
24976 arg2
= static_cast< int >(val2
);
24977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24978 if (!SWIG_IsOK(ecode3
)) {
24979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
24981 arg3
= static_cast< int >(val3
);
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24997 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
= 0;
24999 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25001 wxToolBarToolBase
*result
= 0 ;
25006 PyObject
* obj0
= 0 ;
25007 PyObject
* obj1
= 0 ;
25008 char * kwnames
[] = {
25009 (char *) "self",(char *) "toolid", NULL
25012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25017 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25019 if (!SWIG_IsOK(ecode2
)) {
25020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25022 arg2
= static_cast< int >(val2
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25038 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25039 PyObject
*resultobj
= 0;
25040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25044 PyObject
*swig_obj
[1] ;
25046 if (!args
) SWIG_fail
;
25047 swig_obj
[0] = args
;
25048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25049 if (!SWIG_IsOK(res1
)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25052 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (bool)(arg1
)->IsVertical();
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25068 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25069 PyObject
*resultobj
= 0;
25070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25074 PyObject
*swig_obj
[1] ;
25076 if (!args
) SWIG_fail
;
25077 swig_obj
[0] = args
;
25078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25082 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25096 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25099 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25100 return SWIG_Py_Void();
25103 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
= 0;
25105 wxWindow
*arg1
= (wxWindow
*) 0 ;
25106 int arg2
= (int) -1 ;
25107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25111 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25112 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25113 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25114 wxToolBar
*result
= 0 ;
25123 bool temp6
= false ;
25124 PyObject
* obj0
= 0 ;
25125 PyObject
* obj1
= 0 ;
25126 PyObject
* obj2
= 0 ;
25127 PyObject
* obj3
= 0 ;
25128 PyObject
* obj4
= 0 ;
25129 PyObject
* obj5
= 0 ;
25130 char * kwnames
[] = {
25131 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25136 if (!SWIG_IsOK(res1
)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25139 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25142 if (!SWIG_IsOK(ecode2
)) {
25143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25145 arg2
= static_cast< int >(val2
);
25150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25156 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25160 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25161 if (!SWIG_IsOK(ecode5
)) {
25162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25164 arg5
= static_cast< long >(val5
);
25168 arg6
= wxString_in_helper(obj5
);
25169 if (arg6
== NULL
) SWIG_fail
;
25174 if (!wxPyCheckForApp()) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25195 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25196 PyObject
*resultobj
= 0;
25197 wxToolBar
*result
= 0 ;
25199 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25201 if (!wxPyCheckForApp()) SWIG_fail
;
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= (wxToolBar
*)new wxToolBar();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25214 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
= 0;
25216 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25217 wxWindow
*arg2
= (wxWindow
*) 0 ;
25218 int arg3
= (int) -1 ;
25219 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25220 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25221 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25222 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25223 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25224 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25225 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25237 bool temp7
= false ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 PyObject
* obj2
= 0 ;
25241 PyObject
* obj3
= 0 ;
25242 PyObject
* obj4
= 0 ;
25243 PyObject
* obj5
= 0 ;
25244 PyObject
* obj6
= 0 ;
25245 char * kwnames
[] = {
25246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25251 if (!SWIG_IsOK(res1
)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25254 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25256 if (!SWIG_IsOK(res2
)) {
25257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25259 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25262 if (!SWIG_IsOK(ecode3
)) {
25263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25265 arg3
= static_cast< int >(val3
);
25270 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25276 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25280 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25281 if (!SWIG_IsOK(ecode6
)) {
25282 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25284 arg6
= static_cast< long >(val6
);
25288 arg7
= wxString_in_helper(obj6
);
25289 if (arg7
== NULL
) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25316 SWIGINTERN PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
= 0;
25318 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25321 wxToolBarToolBase
*result
= 0 ;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 PyObject
* obj2
= 0 ;
25331 char * kwnames
[] = {
25332 (char *) "self",(char *) "x",(char *) "y", NULL
25335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25337 if (!SWIG_IsOK(res1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBar *""'");
25340 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25342 if (!SWIG_IsOK(ecode2
)) {
25343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25345 arg2
= static_cast< int >(val2
);
25346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25347 if (!SWIG_IsOK(ecode3
)) {
25348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25350 arg3
= static_cast< int >(val3
);
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25366 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
= 0;
25368 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25369 SwigValueWrapper
<wxVisualAttributes
> result
;
25372 PyObject
* obj0
= 0 ;
25373 char * kwnames
[] = {
25374 (char *) "variant", NULL
25377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25379 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25380 if (!SWIG_IsOK(ecode1
)) {
25381 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25383 arg1
= static_cast< wxWindowVariant
>(val1
);
25386 if (!wxPyCheckForApp()) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25399 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25402 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25403 return SWIG_Py_Void();
25406 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25407 return SWIG_Python_InitShadowInstance(args
);
25410 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25411 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25416 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25417 PyObject
*pyobj
= 0;
25421 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25423 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25430 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
= 0;
25432 wxColour
const &arg1_defvalue
= wxNullColour
;
25433 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25434 wxColour
const &arg2_defvalue
= wxNullColour
;
25435 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25436 wxFont
const &arg3_defvalue
= wxNullFont
;
25437 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25438 wxListItemAttr
*result
= 0 ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 PyObject
* obj2
= 0 ;
25446 char * kwnames
[] = {
25447 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25454 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25460 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25464 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25465 if (!SWIG_IsOK(res3
)) {
25466 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25471 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25486 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 PyObject
*resultobj
= 0;
25488 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25491 PyObject
*swig_obj
[1] ;
25493 if (!args
) SWIG_fail
;
25494 swig_obj
[0] = args
;
25495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25496 if (!SWIG_IsOK(res1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25499 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_Py_Void();
25514 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
= 0;
25516 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25517 wxColour
*arg2
= 0 ;
25521 PyObject
* obj0
= 0 ;
25522 PyObject
* obj1
= 0 ;
25523 char * kwnames
[] = {
25524 (char *) "self",(char *) "colText", NULL
25527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25529 if (!SWIG_IsOK(res1
)) {
25530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25532 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25535 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25543 resultobj
= SWIG_Py_Void();
25550 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
= 0;
25552 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25553 wxColour
*arg2
= 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "colBack", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25568 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25571 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= SWIG_Py_Void();
25586 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
= 0;
25588 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 char * kwnames
[] = {
25597 (char *) "self",(char *) "font", NULL
25600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25602 if (!SWIG_IsOK(res1
)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25605 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25607 if (!SWIG_IsOK(res2
)) {
25608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25613 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 (arg1
)->SetFont((wxFont
const &)*arg2
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_Py_Void();
25627 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25628 PyObject
*resultobj
= 0;
25629 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25633 PyObject
*swig_obj
[1] ;
25635 if (!args
) SWIG_fail
;
25636 swig_obj
[0] = args
;
25637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25641 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (bool)(arg1
)->HasTextColour();
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25657 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25658 PyObject
*resultobj
= 0;
25659 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25663 PyObject
*swig_obj
[1] ;
25665 if (!args
) SWIG_fail
;
25666 swig_obj
[0] = args
;
25667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25668 if (!SWIG_IsOK(res1
)) {
25669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25671 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (bool)(arg1
)->HasBackgroundColour();
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25687 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25688 PyObject
*resultobj
= 0;
25689 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25693 PyObject
*swig_obj
[1] ;
25695 if (!args
) SWIG_fail
;
25696 swig_obj
[0] = args
;
25697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25698 if (!SWIG_IsOK(res1
)) {
25699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25701 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 result
= (bool)(arg1
)->HasFont();
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25717 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25718 PyObject
*resultobj
= 0;
25719 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25723 PyObject
*swig_obj
[1] ;
25725 if (!args
) SWIG_fail
;
25726 swig_obj
[0] = args
;
25727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25728 if (!SWIG_IsOK(res1
)) {
25729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25731 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 result
= (arg1
)->GetTextColour();
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25745 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25746 PyObject
*resultobj
= 0;
25747 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25751 PyObject
*swig_obj
[1] ;
25753 if (!args
) SWIG_fail
;
25754 swig_obj
[0] = args
;
25755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25756 if (!SWIG_IsOK(res1
)) {
25757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25759 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= (arg1
)->GetBackgroundColour();
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25773 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25774 PyObject
*resultobj
= 0;
25775 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25779 PyObject
*swig_obj
[1] ;
25781 if (!args
) SWIG_fail
;
25782 swig_obj
[0] = args
;
25783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25784 if (!SWIG_IsOK(res1
)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25787 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (arg1
)->GetFont();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25801 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
= 0;
25803 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25804 wxListItemAttr
*arg2
= 0 ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 char * kwnames
[] = {
25812 (char *) "self",(char *) "source", NULL
25815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25820 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25822 if (!SWIG_IsOK(res2
)) {
25823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25828 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25835 resultobj
= SWIG_Py_Void();
25842 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25843 PyObject
*resultobj
= 0;
25844 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25847 PyObject
*swig_obj
[1] ;
25849 if (!args
) SWIG_fail
;
25850 swig_obj
[0] = args
;
25851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25852 if (!SWIG_IsOK(res1
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25855 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 wxListItemAttr_Destroy(arg1
);
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_Py_Void();
25869 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25872 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25873 return SWIG_Py_Void();
25876 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 return SWIG_Python_InitShadowInstance(args
);
25880 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25881 PyObject
*resultobj
= 0;
25882 wxListItem
*result
= 0 ;
25884 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (wxListItem
*)new wxListItem();
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
25900 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25901 PyObject
*resultobj
= 0;
25902 wxListItem
*arg1
= (wxListItem
*) 0 ;
25905 PyObject
*swig_obj
[1] ;
25907 if (!args
) SWIG_fail
;
25908 swig_obj
[0] = args
;
25909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
25910 if (!SWIG_IsOK(res1
)) {
25911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
25913 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_Py_Void();
25928 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25929 PyObject
*resultobj
= 0;
25930 wxListItem
*arg1
= (wxListItem
*) 0 ;
25933 PyObject
*swig_obj
[1] ;
25935 if (!args
) SWIG_fail
;
25936 swig_obj
[0] = args
;
25937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
25941 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_Py_Void();
25955 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25956 PyObject
*resultobj
= 0;
25957 wxListItem
*arg1
= (wxListItem
*) 0 ;
25960 PyObject
*swig_obj
[1] ;
25962 if (!args
) SWIG_fail
;
25963 swig_obj
[0] = args
;
25964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25965 if (!SWIG_IsOK(res1
)) {
25966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
25968 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 (arg1
)->ClearAttributes();
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_Py_Void();
25982 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= 0;
25984 wxListItem
*arg1
= (wxListItem
*) 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 char * kwnames
[] = {
25993 (char *) "self",(char *) "mask", NULL
25996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25998 if (!SWIG_IsOK(res1
)) {
25999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26001 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26002 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26003 if (!SWIG_IsOK(ecode2
)) {
26004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26006 arg2
= static_cast< long >(val2
);
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 (arg1
)->SetMask(arg2
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_Py_Void();
26020 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
= 0;
26022 wxListItem
*arg1
= (wxListItem
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char * kwnames
[] = {
26031 (char *) "self",(char *) "id", NULL
26034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26036 if (!SWIG_IsOK(res1
)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26039 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26041 if (!SWIG_IsOK(ecode2
)) {
26042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26044 arg2
= static_cast< long >(val2
);
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 (arg1
)->SetId(arg2
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_Py_Void();
26058 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
= 0;
26060 wxListItem
*arg1
= (wxListItem
*) 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "self",(char *) "col", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26074 if (!SWIG_IsOK(res1
)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26077 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26079 if (!SWIG_IsOK(ecode2
)) {
26080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26082 arg2
= static_cast< int >(val2
);
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->SetColumn(arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_Py_Void();
26096 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
= 0;
26098 wxListItem
*arg1
= (wxListItem
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char * kwnames
[] = {
26107 (char *) "self",(char *) "state", NULL
26110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26115 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26116 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26117 if (!SWIG_IsOK(ecode2
)) {
26118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26120 arg2
= static_cast< long >(val2
);
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->SetState(arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_Py_Void();
26134 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
= 0;
26136 wxListItem
*arg1
= (wxListItem
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char * kwnames
[] = {
26145 (char *) "self",(char *) "stateMask", NULL
26148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26150 if (!SWIG_IsOK(res1
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26153 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26154 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26155 if (!SWIG_IsOK(ecode2
)) {
26156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26158 arg2
= static_cast< long >(val2
);
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 (arg1
)->SetStateMask(arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= 0;
26174 wxListItem
*arg1
= (wxListItem
*) 0 ;
26175 wxString
*arg2
= 0 ;
26178 bool temp2
= false ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char * kwnames
[] = {
26182 (char *) "self",(char *) "text", NULL
26185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26190 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26192 arg2
= wxString_in_helper(obj1
);
26193 if (arg2
== NULL
) SWIG_fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 (arg1
)->SetText((wxString
const &)*arg2
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_Py_Void();
26217 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
= 0;
26219 wxListItem
*arg1
= (wxListItem
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char * kwnames
[] = {
26228 (char *) "self",(char *) "image", NULL
26231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26233 if (!SWIG_IsOK(res1
)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26236 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26238 if (!SWIG_IsOK(ecode2
)) {
26239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26241 arg2
= static_cast< int >(val2
);
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 (arg1
)->SetImage(arg2
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_Py_Void();
26255 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
= 0;
26257 wxListItem
*arg1
= (wxListItem
*) 0 ;
26263 PyObject
* obj0
= 0 ;
26264 PyObject
* obj1
= 0 ;
26265 char * kwnames
[] = {
26266 (char *) "self",(char *) "data", NULL
26269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26274 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26275 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26276 if (!SWIG_IsOK(ecode2
)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26279 arg2
= static_cast< long >(val2
);
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetData(arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_Py_Void();
26293 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
= 0;
26295 wxListItem
*arg1
= (wxListItem
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char * kwnames
[] = {
26304 (char *) "self",(char *) "width", NULL
26307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26312 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26314 if (!SWIG_IsOK(ecode2
)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26317 arg2
= static_cast< int >(val2
);
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetWidth(arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
= 0;
26333 wxListItem
*arg1
= (wxListItem
*) 0 ;
26334 wxListColumnFormat arg2
;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 char * kwnames
[] = {
26342 (char *) "self",(char *) "align", NULL
26345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26347 if (!SWIG_IsOK(res1
)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26350 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26352 if (!SWIG_IsOK(ecode2
)) {
26353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26355 arg2
= static_cast< wxListColumnFormat
>(val2
);
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->SetAlign(arg2
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_Py_Void();
26369 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
= 0;
26371 wxListItem
*arg1
= (wxListItem
*) 0 ;
26372 wxColour
*arg2
= 0 ;
26376 PyObject
* obj0
= 0 ;
26377 PyObject
* obj1
= 0 ;
26378 char * kwnames
[] = {
26379 (char *) "self",(char *) "colText", NULL
26382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26384 if (!SWIG_IsOK(res1
)) {
26385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26387 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26390 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= SWIG_Py_Void();
26405 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
= 0;
26407 wxListItem
*arg1
= (wxListItem
*) 0 ;
26408 wxColour
*arg2
= 0 ;
26412 PyObject
* obj0
= 0 ;
26413 PyObject
* obj1
= 0 ;
26414 char * kwnames
[] = {
26415 (char *) "self",(char *) "colBack", NULL
26418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26420 if (!SWIG_IsOK(res1
)) {
26421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26423 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26426 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= SWIG_Py_Void();
26441 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
= 0;
26443 wxListItem
*arg1
= (wxListItem
*) 0 ;
26449 PyObject
* obj0
= 0 ;
26450 PyObject
* obj1
= 0 ;
26451 char * kwnames
[] = {
26452 (char *) "self",(char *) "font", NULL
26455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26457 if (!SWIG_IsOK(res1
)) {
26458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26460 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26462 if (!SWIG_IsOK(res2
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26468 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 (arg1
)->SetFont((wxFont
const &)*arg2
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= SWIG_Py_Void();
26482 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26483 PyObject
*resultobj
= 0;
26484 wxListItem
*arg1
= (wxListItem
*) 0 ;
26488 PyObject
*swig_obj
[1] ;
26490 if (!args
) SWIG_fail
;
26491 swig_obj
[0] = args
;
26492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26493 if (!SWIG_IsOK(res1
)) {
26494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26496 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 result
= (long)(arg1
)->GetMask();
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= SWIG_From_long(static_cast< long >(result
));
26510 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26511 PyObject
*resultobj
= 0;
26512 wxListItem
*arg1
= (wxListItem
*) 0 ;
26516 PyObject
*swig_obj
[1] ;
26518 if (!args
) SWIG_fail
;
26519 swig_obj
[0] = args
;
26520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26521 if (!SWIG_IsOK(res1
)) {
26522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26524 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= (long)(arg1
)->GetId();
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 resultobj
= SWIG_From_long(static_cast< long >(result
));
26538 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26539 PyObject
*resultobj
= 0;
26540 wxListItem
*arg1
= (wxListItem
*) 0 ;
26544 PyObject
*swig_obj
[1] ;
26546 if (!args
) SWIG_fail
;
26547 swig_obj
[0] = args
;
26548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26549 if (!SWIG_IsOK(res1
)) {
26550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26552 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= (int)(arg1
)->GetColumn();
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_From_int(static_cast< int >(result
));
26566 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26567 PyObject
*resultobj
= 0;
26568 wxListItem
*arg1
= (wxListItem
*) 0 ;
26572 PyObject
*swig_obj
[1] ;
26574 if (!args
) SWIG_fail
;
26575 swig_obj
[0] = args
;
26576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26577 if (!SWIG_IsOK(res1
)) {
26578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26580 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (long)(arg1
)->GetState();
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= SWIG_From_long(static_cast< long >(result
));
26594 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26595 PyObject
*resultobj
= 0;
26596 wxListItem
*arg1
= (wxListItem
*) 0 ;
26597 wxString
*result
= 0 ;
26600 PyObject
*swig_obj
[1] ;
26602 if (!args
) SWIG_fail
;
26603 swig_obj
[0] = args
;
26604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26608 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 wxString
const &_result_ref
= (arg1
)->GetText();
26613 result
= (wxString
*) &_result_ref
;
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26620 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26622 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26631 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26632 PyObject
*resultobj
= 0;
26633 wxListItem
*arg1
= (wxListItem
*) 0 ;
26637 PyObject
*swig_obj
[1] ;
26639 if (!args
) SWIG_fail
;
26640 swig_obj
[0] = args
;
26641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26642 if (!SWIG_IsOK(res1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26645 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 result
= (int)(arg1
)->GetImage();
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_From_int(static_cast< int >(result
));
26659 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26660 PyObject
*resultobj
= 0;
26661 wxListItem
*arg1
= (wxListItem
*) 0 ;
26665 PyObject
*swig_obj
[1] ;
26667 if (!args
) SWIG_fail
;
26668 swig_obj
[0] = args
;
26669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26673 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (long)(arg1
)->GetData();
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_From_long(static_cast< long >(result
));
26687 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26688 PyObject
*resultobj
= 0;
26689 wxListItem
*arg1
= (wxListItem
*) 0 ;
26693 PyObject
*swig_obj
[1] ;
26695 if (!args
) SWIG_fail
;
26696 swig_obj
[0] = args
;
26697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26698 if (!SWIG_IsOK(res1
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26701 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 result
= (int)(arg1
)->GetWidth();
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= SWIG_From_int(static_cast< int >(result
));
26715 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26716 PyObject
*resultobj
= 0;
26717 wxListItem
*arg1
= (wxListItem
*) 0 ;
26718 wxListColumnFormat result
;
26721 PyObject
*swig_obj
[1] ;
26723 if (!args
) SWIG_fail
;
26724 swig_obj
[0] = args
;
26725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26726 if (!SWIG_IsOK(res1
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26729 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= SWIG_From_int(static_cast< int >(result
));
26743 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26744 PyObject
*resultobj
= 0;
26745 wxListItem
*arg1
= (wxListItem
*) 0 ;
26746 wxListItemAttr
*result
= 0 ;
26749 PyObject
*swig_obj
[1] ;
26751 if (!args
) SWIG_fail
;
26752 swig_obj
[0] = args
;
26753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26754 if (!SWIG_IsOK(res1
)) {
26755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26757 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26771 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26772 PyObject
*resultobj
= 0;
26773 wxListItem
*arg1
= (wxListItem
*) 0 ;
26777 PyObject
*swig_obj
[1] ;
26779 if (!args
) SWIG_fail
;
26780 swig_obj
[0] = args
;
26781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26782 if (!SWIG_IsOK(res1
)) {
26783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26785 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 result
= (bool)(arg1
)->HasAttributes();
26789 wxPyEndAllowThreads(__tstate
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26801 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26802 PyObject
*resultobj
= 0;
26803 wxListItem
*arg1
= (wxListItem
*) 0 ;
26807 PyObject
*swig_obj
[1] ;
26809 if (!args
) SWIG_fail
;
26810 swig_obj
[0] = args
;
26811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26812 if (!SWIG_IsOK(res1
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26815 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26829 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26830 PyObject
*resultobj
= 0;
26831 wxListItem
*arg1
= (wxListItem
*) 0 ;
26835 PyObject
*swig_obj
[1] ;
26837 if (!args
) SWIG_fail
;
26838 swig_obj
[0] = args
;
26839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26840 if (!SWIG_IsOK(res1
)) {
26841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26843 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26857 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26858 PyObject
*resultobj
= 0;
26859 wxListItem
*arg1
= (wxListItem
*) 0 ;
26863 PyObject
*swig_obj
[1] ;
26865 if (!args
) SWIG_fail
;
26866 swig_obj
[0] = args
;
26867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26871 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= ((wxListItem
const *)arg1
)->GetFont();
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26885 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26886 PyObject
*resultobj
= 0;
26887 wxListItem
*arg1
= (wxListItem
*) 0 ;
26893 PyObject
*swig_obj
[2] ;
26895 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
26896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26897 if (!SWIG_IsOK(res1
)) {
26898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26900 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26901 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26902 if (!SWIG_IsOK(ecode2
)) {
26903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
26905 arg2
= static_cast< long >(val2
);
26906 if (arg1
) (arg1
)->m_mask
= arg2
;
26908 resultobj
= SWIG_Py_Void();
26915 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26916 PyObject
*resultobj
= 0;
26917 wxListItem
*arg1
= (wxListItem
*) 0 ;
26921 PyObject
*swig_obj
[1] ;
26923 if (!args
) SWIG_fail
;
26924 swig_obj
[0] = args
;
26925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26926 if (!SWIG_IsOK(res1
)) {
26927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26929 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26930 result
= (long) ((arg1
)->m_mask
);
26931 resultobj
= SWIG_From_long(static_cast< long >(result
));
26938 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26939 PyObject
*resultobj
= 0;
26940 wxListItem
*arg1
= (wxListItem
*) 0 ;
26946 PyObject
*swig_obj
[2] ;
26948 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_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_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26953 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26954 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26955 if (!SWIG_IsOK(ecode2
)) {
26956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
26958 arg2
= static_cast< long >(val2
);
26959 if (arg1
) (arg1
)->m_itemId
= arg2
;
26961 resultobj
= SWIG_Py_Void();
26968 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26969 PyObject
*resultobj
= 0;
26970 wxListItem
*arg1
= (wxListItem
*) 0 ;
26974 PyObject
*swig_obj
[1] ;
26976 if (!args
) SWIG_fail
;
26977 swig_obj
[0] = args
;
26978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26979 if (!SWIG_IsOK(res1
)) {
26980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26982 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26983 result
= (long) ((arg1
)->m_itemId
);
26984 resultobj
= SWIG_From_long(static_cast< long >(result
));
26991 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26992 PyObject
*resultobj
= 0;
26993 wxListItem
*arg1
= (wxListItem
*) 0 ;
26999 PyObject
*swig_obj
[2] ;
27001 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27003 if (!SWIG_IsOK(res1
)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27006 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27007 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27008 if (!SWIG_IsOK(ecode2
)) {
27009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27011 arg2
= static_cast< int >(val2
);
27012 if (arg1
) (arg1
)->m_col
= arg2
;
27014 resultobj
= SWIG_Py_Void();
27021 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27022 PyObject
*resultobj
= 0;
27023 wxListItem
*arg1
= (wxListItem
*) 0 ;
27027 PyObject
*swig_obj
[1] ;
27029 if (!args
) SWIG_fail
;
27030 swig_obj
[0] = args
;
27031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27032 if (!SWIG_IsOK(res1
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27035 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27036 result
= (int) ((arg1
)->m_col
);
27037 resultobj
= SWIG_From_int(static_cast< int >(result
));
27044 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27045 PyObject
*resultobj
= 0;
27046 wxListItem
*arg1
= (wxListItem
*) 0 ;
27052 PyObject
*swig_obj
[2] ;
27054 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27056 if (!SWIG_IsOK(res1
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27059 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27060 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27061 if (!SWIG_IsOK(ecode2
)) {
27062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27064 arg2
= static_cast< long >(val2
);
27065 if (arg1
) (arg1
)->m_state
= arg2
;
27067 resultobj
= SWIG_Py_Void();
27074 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27075 PyObject
*resultobj
= 0;
27076 wxListItem
*arg1
= (wxListItem
*) 0 ;
27080 PyObject
*swig_obj
[1] ;
27082 if (!args
) SWIG_fail
;
27083 swig_obj
[0] = args
;
27084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27085 if (!SWIG_IsOK(res1
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27088 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27089 result
= (long) ((arg1
)->m_state
);
27090 resultobj
= SWIG_From_long(static_cast< long >(result
));
27097 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27098 PyObject
*resultobj
= 0;
27099 wxListItem
*arg1
= (wxListItem
*) 0 ;
27105 PyObject
*swig_obj
[2] ;
27107 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27112 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27113 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27114 if (!SWIG_IsOK(ecode2
)) {
27115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27117 arg2
= static_cast< long >(val2
);
27118 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27120 resultobj
= SWIG_Py_Void();
27127 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27128 PyObject
*resultobj
= 0;
27129 wxListItem
*arg1
= (wxListItem
*) 0 ;
27133 PyObject
*swig_obj
[1] ;
27135 if (!args
) SWIG_fail
;
27136 swig_obj
[0] = args
;
27137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27138 if (!SWIG_IsOK(res1
)) {
27139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27141 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27142 result
= (long) ((arg1
)->m_stateMask
);
27143 resultobj
= SWIG_From_long(static_cast< long >(result
));
27150 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27151 PyObject
*resultobj
= 0;
27152 wxListItem
*arg1
= (wxListItem
*) 0 ;
27153 wxString
*arg2
= (wxString
*) 0 ;
27156 bool temp2
= false ;
27157 PyObject
*swig_obj
[2] ;
27159 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27161 if (!SWIG_IsOK(res1
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27164 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27166 arg2
= wxString_in_helper(swig_obj
[1]);
27167 if (arg2
== NULL
) SWIG_fail
;
27170 if (arg1
) (arg1
)->m_text
= *arg2
;
27172 resultobj
= SWIG_Py_Void();
27187 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27188 PyObject
*resultobj
= 0;
27189 wxListItem
*arg1
= (wxListItem
*) 0 ;
27190 wxString
*result
= 0 ;
27193 PyObject
*swig_obj
[1] ;
27195 if (!args
) SWIG_fail
;
27196 swig_obj
[0] = args
;
27197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27198 if (!SWIG_IsOK(res1
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27201 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27202 result
= (wxString
*)& ((arg1
)->m_text
);
27205 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27207 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27216 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27217 PyObject
*resultobj
= 0;
27218 wxListItem
*arg1
= (wxListItem
*) 0 ;
27224 PyObject
*swig_obj
[2] ;
27226 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27228 if (!SWIG_IsOK(res1
)) {
27229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27231 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27232 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27233 if (!SWIG_IsOK(ecode2
)) {
27234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27236 arg2
= static_cast< int >(val2
);
27237 if (arg1
) (arg1
)->m_image
= arg2
;
27239 resultobj
= SWIG_Py_Void();
27246 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27247 PyObject
*resultobj
= 0;
27248 wxListItem
*arg1
= (wxListItem
*) 0 ;
27252 PyObject
*swig_obj
[1] ;
27254 if (!args
) SWIG_fail
;
27255 swig_obj
[0] = args
;
27256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27257 if (!SWIG_IsOK(res1
)) {
27258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27260 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27261 result
= (int) ((arg1
)->m_image
);
27262 resultobj
= SWIG_From_int(static_cast< int >(result
));
27269 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27270 PyObject
*resultobj
= 0;
27271 wxListItem
*arg1
= (wxListItem
*) 0 ;
27277 PyObject
*swig_obj
[2] ;
27279 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27281 if (!SWIG_IsOK(res1
)) {
27282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27284 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27285 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27286 if (!SWIG_IsOK(ecode2
)) {
27287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27289 arg2
= static_cast< long >(val2
);
27290 if (arg1
) (arg1
)->m_data
= arg2
;
27292 resultobj
= SWIG_Py_Void();
27299 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27300 PyObject
*resultobj
= 0;
27301 wxListItem
*arg1
= (wxListItem
*) 0 ;
27305 PyObject
*swig_obj
[1] ;
27307 if (!args
) SWIG_fail
;
27308 swig_obj
[0] = args
;
27309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27310 if (!SWIG_IsOK(res1
)) {
27311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27313 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27314 result
= (long) ((arg1
)->m_data
);
27315 resultobj
= SWIG_From_long(static_cast< long >(result
));
27322 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27323 PyObject
*resultobj
= 0;
27324 wxListItem
*arg1
= (wxListItem
*) 0 ;
27330 PyObject
*swig_obj
[2] ;
27332 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27334 if (!SWIG_IsOK(res1
)) {
27335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27337 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27338 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27339 if (!SWIG_IsOK(ecode2
)) {
27340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27342 arg2
= static_cast< int >(val2
);
27343 if (arg1
) (arg1
)->m_format
= arg2
;
27345 resultobj
= SWIG_Py_Void();
27352 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27353 PyObject
*resultobj
= 0;
27354 wxListItem
*arg1
= (wxListItem
*) 0 ;
27358 PyObject
*swig_obj
[1] ;
27360 if (!args
) SWIG_fail
;
27361 swig_obj
[0] = args
;
27362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27363 if (!SWIG_IsOK(res1
)) {
27364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27366 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27367 result
= (int) ((arg1
)->m_format
);
27368 resultobj
= SWIG_From_int(static_cast< int >(result
));
27375 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27376 PyObject
*resultobj
= 0;
27377 wxListItem
*arg1
= (wxListItem
*) 0 ;
27383 PyObject
*swig_obj
[2] ;
27385 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27387 if (!SWIG_IsOK(res1
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27390 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27391 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27392 if (!SWIG_IsOK(ecode2
)) {
27393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27395 arg2
= static_cast< int >(val2
);
27396 if (arg1
) (arg1
)->m_width
= arg2
;
27398 resultobj
= SWIG_Py_Void();
27405 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27406 PyObject
*resultobj
= 0;
27407 wxListItem
*arg1
= (wxListItem
*) 0 ;
27411 PyObject
*swig_obj
[1] ;
27413 if (!args
) SWIG_fail
;
27414 swig_obj
[0] = args
;
27415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27416 if (!SWIG_IsOK(res1
)) {
27417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27419 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27420 result
= (int) ((arg1
)->m_width
);
27421 resultobj
= SWIG_From_int(static_cast< int >(result
));
27428 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27431 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27432 return SWIG_Py_Void();
27435 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27436 return SWIG_Python_InitShadowInstance(args
);
27439 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
= 0;
27441 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27442 int arg2
= (int) 0 ;
27443 wxListEvent
*result
= 0 ;
27448 PyObject
* obj0
= 0 ;
27449 PyObject
* obj1
= 0 ;
27450 char * kwnames
[] = {
27451 (char *) "commandType",(char *) "id", NULL
27454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27457 if (!SWIG_IsOK(ecode1
)) {
27458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27460 arg1
= static_cast< wxEventType
>(val1
);
27463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27464 if (!SWIG_IsOK(ecode2
)) {
27465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27467 arg2
= static_cast< int >(val2
);
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27482 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27483 PyObject
*resultobj
= 0;
27484 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27490 PyObject
*swig_obj
[2] ;
27492 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27494 if (!SWIG_IsOK(res1
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27497 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27498 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27499 if (!SWIG_IsOK(ecode2
)) {
27500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27502 arg2
= static_cast< int >(val2
);
27503 if (arg1
) (arg1
)->m_code
= arg2
;
27505 resultobj
= SWIG_Py_Void();
27512 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27513 PyObject
*resultobj
= 0;
27514 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27518 PyObject
*swig_obj
[1] ;
27520 if (!args
) SWIG_fail
;
27521 swig_obj
[0] = args
;
27522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27523 if (!SWIG_IsOK(res1
)) {
27524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27526 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27527 result
= (int) ((arg1
)->m_code
);
27528 resultobj
= SWIG_From_int(static_cast< int >(result
));
27535 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27536 PyObject
*resultobj
= 0;
27537 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27543 PyObject
*swig_obj
[2] ;
27545 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
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_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27550 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27551 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27552 if (!SWIG_IsOK(ecode2
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27555 arg2
= static_cast< long >(val2
);
27556 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27558 resultobj
= SWIG_Py_Void();
27565 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27567 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27571 PyObject
*swig_obj
[1] ;
27573 if (!args
) SWIG_fail
;
27574 swig_obj
[0] = args
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27579 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27580 result
= (long) ((arg1
)->m_oldItemIndex
);
27581 resultobj
= SWIG_From_long(static_cast< long >(result
));
27588 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27589 PyObject
*resultobj
= 0;
27590 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27596 PyObject
*swig_obj
[2] ;
27598 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
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_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27603 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27604 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27605 if (!SWIG_IsOK(ecode2
)) {
27606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27608 arg2
= static_cast< long >(val2
);
27609 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27611 resultobj
= SWIG_Py_Void();
27618 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27619 PyObject
*resultobj
= 0;
27620 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27624 PyObject
*swig_obj
[1] ;
27626 if (!args
) SWIG_fail
;
27627 swig_obj
[0] = args
;
27628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27632 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27633 result
= (long) ((arg1
)->m_itemIndex
);
27634 resultobj
= SWIG_From_long(static_cast< long >(result
));
27641 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27642 PyObject
*resultobj
= 0;
27643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27649 PyObject
*swig_obj
[2] ;
27651 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27653 if (!SWIG_IsOK(res1
)) {
27654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27656 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27657 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27658 if (!SWIG_IsOK(ecode2
)) {
27659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27661 arg2
= static_cast< int >(val2
);
27662 if (arg1
) (arg1
)->m_col
= arg2
;
27664 resultobj
= SWIG_Py_Void();
27671 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27672 PyObject
*resultobj
= 0;
27673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27677 PyObject
*swig_obj
[1] ;
27679 if (!args
) SWIG_fail
;
27680 swig_obj
[0] = args
;
27681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27685 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27686 result
= (int) ((arg1
)->m_col
);
27687 resultobj
= SWIG_From_int(static_cast< int >(result
));
27694 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27695 PyObject
*resultobj
= 0;
27696 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27697 wxPoint
*arg2
= (wxPoint
*) 0 ;
27702 PyObject
*swig_obj
[2] ;
27704 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27706 if (!SWIG_IsOK(res1
)) {
27707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27709 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27710 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27711 if (!SWIG_IsOK(res2
)) {
27712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27714 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27715 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27717 resultobj
= SWIG_Py_Void();
27724 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27725 PyObject
*resultobj
= 0;
27726 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27727 wxPoint
*result
= 0 ;
27730 PyObject
*swig_obj
[1] ;
27732 if (!args
) SWIG_fail
;
27733 swig_obj
[0] = args
;
27734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27735 if (!SWIG_IsOK(res1
)) {
27736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27738 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27739 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27747 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27748 PyObject
*resultobj
= 0;
27749 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27750 wxListItem
*result
= 0 ;
27753 PyObject
*swig_obj
[1] ;
27755 if (!args
) SWIG_fail
;
27756 swig_obj
[0] = args
;
27757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27761 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27762 result
= (wxListItem
*)& ((arg1
)->m_item
);
27764 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27772 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27773 PyObject
*resultobj
= 0;
27774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27778 PyObject
*swig_obj
[1] ;
27780 if (!args
) SWIG_fail
;
27781 swig_obj
[0] = args
;
27782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27783 if (!SWIG_IsOK(res1
)) {
27784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27786 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 result
= (int)(arg1
)->GetKeyCode();
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_From_int(static_cast< int >(result
));
27800 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27801 PyObject
*resultobj
= 0;
27802 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27806 PyObject
*swig_obj
[1] ;
27808 if (!args
) SWIG_fail
;
27809 swig_obj
[0] = args
;
27810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27814 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 result
= (long)(arg1
)->GetIndex();
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= SWIG_From_long(static_cast< long >(result
));
27828 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27834 PyObject
*swig_obj
[1] ;
27836 if (!args
) SWIG_fail
;
27837 swig_obj
[0] = args
;
27838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27839 if (!SWIG_IsOK(res1
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27842 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 result
= (int)(arg1
)->GetColumn();
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_From_int(static_cast< int >(result
));
27856 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27857 PyObject
*resultobj
= 0;
27858 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27862 PyObject
*swig_obj
[1] ;
27864 if (!args
) SWIG_fail
;
27865 swig_obj
[0] = args
;
27866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27867 if (!SWIG_IsOK(res1
)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27870 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27873 result
= (arg1
)->GetPoint();
27874 wxPyEndAllowThreads(__tstate
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27884 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27885 PyObject
*resultobj
= 0;
27886 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27887 wxString
*result
= 0 ;
27890 PyObject
*swig_obj
[1] ;
27892 if (!args
) SWIG_fail
;
27893 swig_obj
[0] = args
;
27894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
27898 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 wxString
const &_result_ref
= (arg1
)->GetLabel();
27903 result
= (wxString
*) &_result_ref
;
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27910 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27912 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27921 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27922 PyObject
*resultobj
= 0;
27923 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27924 wxString
*result
= 0 ;
27927 PyObject
*swig_obj
[1] ;
27929 if (!args
) SWIG_fail
;
27930 swig_obj
[0] = args
;
27931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
27935 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27939 wxString
const &_result_ref
= (arg1
)->GetText();
27940 result
= (wxString
*) &_result_ref
;
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27947 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27949 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27958 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27959 PyObject
*resultobj
= 0;
27960 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27964 PyObject
*swig_obj
[1] ;
27966 if (!args
) SWIG_fail
;
27967 swig_obj
[0] = args
;
27968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27969 if (!SWIG_IsOK(res1
)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
27972 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= (int)(arg1
)->GetImage();
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= SWIG_From_int(static_cast< int >(result
));
27986 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27987 PyObject
*resultobj
= 0;
27988 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27992 PyObject
*swig_obj
[1] ;
27994 if (!args
) SWIG_fail
;
27995 swig_obj
[0] = args
;
27996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27997 if (!SWIG_IsOK(res1
)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28000 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= (long)(arg1
)->GetData();
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 resultobj
= SWIG_From_long(static_cast< long >(result
));
28014 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28015 PyObject
*resultobj
= 0;
28016 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28020 PyObject
*swig_obj
[1] ;
28022 if (!args
) SWIG_fail
;
28023 swig_obj
[0] = args
;
28024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28025 if (!SWIG_IsOK(res1
)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28028 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (long)(arg1
)->GetMask();
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= SWIG_From_long(static_cast< long >(result
));
28042 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28043 PyObject
*resultobj
= 0;
28044 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28045 wxListItem
*result
= 0 ;
28048 PyObject
*swig_obj
[1] ;
28050 if (!args
) SWIG_fail
;
28051 swig_obj
[0] = args
;
28052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28053 if (!SWIG_IsOK(res1
)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28056 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28061 result
= (wxListItem
*) &_result_ref
;
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28073 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28074 PyObject
*resultobj
= 0;
28075 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28079 PyObject
*swig_obj
[1] ;
28081 if (!args
) SWIG_fail
;
28082 swig_obj
[0] = args
;
28083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28084 if (!SWIG_IsOK(res1
)) {
28085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28087 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 result
= (long)(arg1
)->GetCacheFrom();
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28094 resultobj
= SWIG_From_long(static_cast< long >(result
));
28101 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28102 PyObject
*resultobj
= 0;
28103 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28107 PyObject
*swig_obj
[1] ;
28109 if (!args
) SWIG_fail
;
28110 swig_obj
[0] = args
;
28111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28112 if (!SWIG_IsOK(res1
)) {
28113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28115 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 result
= (long)(arg1
)->GetCacheTo();
28119 wxPyEndAllowThreads(__tstate
);
28120 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= SWIG_From_long(static_cast< long >(result
));
28129 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28130 PyObject
*resultobj
= 0;
28131 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28135 PyObject
*swig_obj
[1] ;
28137 if (!args
) SWIG_fail
;
28138 swig_obj
[0] = args
;
28139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28140 if (!SWIG_IsOK(res1
)) {
28141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28143 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28159 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
= 0;
28161 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28167 PyObject
* obj0
= 0 ;
28168 PyObject
* obj1
= 0 ;
28169 char * kwnames
[] = {
28170 (char *) "self",(char *) "editCancelled", NULL
28173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28178 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28179 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28180 if (!SWIG_IsOK(ecode2
)) {
28181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28183 arg2
= static_cast< bool >(val2
);
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 (arg1
)->SetEditCanceled(arg2
);
28187 wxPyEndAllowThreads(__tstate
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= SWIG_Py_Void();
28197 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28200 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28201 return SWIG_Py_Void();
28204 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28205 return SWIG_Python_InitShadowInstance(args
);
28208 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
= 0;
28210 wxWindow
*arg1
= (wxWindow
*) 0 ;
28211 int arg2
= (int) -1 ;
28212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28216 long arg5
= (long) wxLC_ICON
;
28217 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28218 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28219 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28220 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28221 wxPyListCtrl
*result
= 0 ;
28232 bool temp7
= false ;
28233 PyObject
* obj0
= 0 ;
28234 PyObject
* obj1
= 0 ;
28235 PyObject
* obj2
= 0 ;
28236 PyObject
* obj3
= 0 ;
28237 PyObject
* obj4
= 0 ;
28238 PyObject
* obj5
= 0 ;
28239 PyObject
* obj6
= 0 ;
28240 char * kwnames
[] = {
28241 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28246 if (!SWIG_IsOK(res1
)) {
28247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28252 if (!SWIG_IsOK(ecode2
)) {
28253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28255 arg2
= static_cast< int >(val2
);
28260 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28266 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28270 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28271 if (!SWIG_IsOK(ecode5
)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28274 arg5
= static_cast< long >(val5
);
28277 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28278 if (!SWIG_IsOK(res6
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28284 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28288 arg7
= wxString_in_helper(obj6
);
28289 if (arg7
== NULL
) SWIG_fail
;
28294 if (!wxPyCheckForApp()) SWIG_fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28315 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28316 PyObject
*resultobj
= 0;
28317 wxPyListCtrl
*result
= 0 ;
28319 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28321 if (!wxPyCheckForApp()) SWIG_fail
;
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28324 wxPyEndAllowThreads(__tstate
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28334 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28335 PyObject
*resultobj
= 0;
28336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28337 wxWindow
*arg2
= (wxWindow
*) 0 ;
28338 int arg3
= (int) -1 ;
28339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28343 long arg6
= (long) wxLC_ICON
;
28344 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28345 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28346 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28347 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28361 bool temp8
= false ;
28362 PyObject
* obj0
= 0 ;
28363 PyObject
* obj1
= 0 ;
28364 PyObject
* obj2
= 0 ;
28365 PyObject
* obj3
= 0 ;
28366 PyObject
* obj4
= 0 ;
28367 PyObject
* obj5
= 0 ;
28368 PyObject
* obj6
= 0 ;
28369 PyObject
* obj7
= 0 ;
28370 char * kwnames
[] = {
28371 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28376 if (!SWIG_IsOK(res1
)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28379 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28381 if (!SWIG_IsOK(res2
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28384 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28387 if (!SWIG_IsOK(ecode3
)) {
28388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28390 arg3
= static_cast< int >(val3
);
28395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28405 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28406 if (!SWIG_IsOK(ecode6
)) {
28407 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28409 arg6
= static_cast< long >(val6
);
28412 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28413 if (!SWIG_IsOK(res7
)) {
28414 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28419 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28423 arg8
= wxString_in_helper(obj7
);
28424 if (arg8
== NULL
) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28451 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28452 PyObject
*resultobj
= 0;
28453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28454 PyObject
*arg2
= (PyObject
*) 0 ;
28455 PyObject
*arg3
= (PyObject
*) 0 ;
28458 PyObject
* obj0
= 0 ;
28459 PyObject
* obj1
= 0 ;
28460 PyObject
* obj2
= 0 ;
28461 char * kwnames
[] = {
28462 (char *) "self",(char *) "self",(char *) "_class", NULL
28465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28467 if (!SWIG_IsOK(res1
)) {
28468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28470 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_Py_Void();
28486 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
= 0;
28488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28490 wxListItem
*result
= 0 ;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 char * kwnames
[] = {
28498 (char *) "self",(char *) "col", NULL
28501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28506 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28508 if (!SWIG_IsOK(ecode2
)) {
28509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28511 arg2
= static_cast< int >(val2
);
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28527 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
= 0;
28529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28531 wxListItem
*arg3
= 0 ;
28539 PyObject
* obj0
= 0 ;
28540 PyObject
* obj1
= 0 ;
28541 PyObject
* obj2
= 0 ;
28542 char * kwnames
[] = {
28543 (char *) "self",(char *) "col",(char *) "item", NULL
28546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28551 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28553 if (!SWIG_IsOK(ecode2
)) {
28554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28556 arg2
= static_cast< int >(val2
);
28557 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28558 if (!SWIG_IsOK(res3
)) {
28559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28564 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28580 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
= 0;
28582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 char * kwnames
[] = {
28592 (char *) "self",(char *) "col", NULL
28595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28597 if (!SWIG_IsOK(res1
)) {
28598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28600 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28602 if (!SWIG_IsOK(ecode2
)) {
28603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28605 arg2
= static_cast< int >(val2
);
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= SWIG_From_int(static_cast< int >(result
));
28619 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
= 0;
28621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 PyObject
* obj1
= 0 ;
28633 PyObject
* obj2
= 0 ;
28634 char * kwnames
[] = {
28635 (char *) "self",(char *) "col",(char *) "width", NULL
28638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28640 if (!SWIG_IsOK(res1
)) {
28641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28645 if (!SWIG_IsOK(ecode2
)) {
28646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28648 arg2
= static_cast< int >(val2
);
28649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28650 if (!SWIG_IsOK(ecode3
)) {
28651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28653 arg3
= static_cast< int >(val3
);
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28669 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28670 PyObject
*resultobj
= 0;
28671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28675 PyObject
*swig_obj
[1] ;
28677 if (!args
) SWIG_fail
;
28678 swig_obj
[0] = args
;
28679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28680 if (!SWIG_IsOK(res1
)) {
28681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28683 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= SWIG_From_int(static_cast< int >(result
));
28697 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28698 PyObject
*resultobj
= 0;
28699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28703 PyObject
*swig_obj
[1] ;
28705 if (!args
) SWIG_fail
;
28706 swig_obj
[0] = args
;
28707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28708 if (!SWIG_IsOK(res1
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28711 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28725 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28726 PyObject
*resultobj
= 0;
28727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28728 wxTextCtrl
*result
= 0 ;
28731 PyObject
*swig_obj
[1] ;
28733 if (!args
) SWIG_fail
;
28734 swig_obj
[0] = args
;
28735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28736 if (!SWIG_IsOK(res1
)) {
28737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= wxPyMake_wxObject(result
, 0);
28755 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
= 0;
28757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28759 int arg3
= (int) 0 ;
28760 wxListItem
*result
= 0 ;
28767 PyObject
* obj0
= 0 ;
28768 PyObject
* obj1
= 0 ;
28769 PyObject
* obj2
= 0 ;
28770 char * kwnames
[] = {
28771 (char *) "self",(char *) "itemId",(char *) "col", NULL
28774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28776 if (!SWIG_IsOK(res1
)) {
28777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28779 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28781 if (!SWIG_IsOK(ecode2
)) {
28782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28784 arg2
= static_cast< long >(val2
);
28786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28787 if (!SWIG_IsOK(ecode3
)) {
28788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28790 arg3
= static_cast< int >(val3
);
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28807 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
= 0;
28809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28810 wxListItem
*arg2
= 0 ;
28816 PyObject
* obj0
= 0 ;
28817 PyObject
* obj1
= 0 ;
28818 char * kwnames
[] = {
28819 (char *) "self",(char *) "info", NULL
28822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28824 if (!SWIG_IsOK(res1
)) {
28825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28827 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28828 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28829 if (!SWIG_IsOK(res2
)) {
28830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28835 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= (bool)(arg1
)->SetItem(*arg2
);
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28851 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
= 0;
28853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28856 wxString
*arg4
= 0 ;
28857 int arg5
= (int) -1 ;
28865 bool temp4
= false ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 PyObject
* obj2
= 0 ;
28871 PyObject
* obj3
= 0 ;
28872 PyObject
* obj4
= 0 ;
28873 char * kwnames
[] = {
28874 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28879 if (!SWIG_IsOK(res1
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28882 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28883 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28884 if (!SWIG_IsOK(ecode2
)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
28887 arg2
= static_cast< long >(val2
);
28888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28889 if (!SWIG_IsOK(ecode3
)) {
28890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
28892 arg3
= static_cast< int >(val3
);
28894 arg4
= wxString_in_helper(obj3
);
28895 if (arg4
== NULL
) SWIG_fail
;
28899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28900 if (!SWIG_IsOK(ecode5
)) {
28901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
28903 arg5
= static_cast< int >(val5
);
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_From_long(static_cast< long >(result
));
28926 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
= 0;
28928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 PyObject
* obj2
= 0 ;
28941 char * kwnames
[] = {
28942 (char *) "self",(char *) "item",(char *) "stateMask", NULL
28945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28950 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28951 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28952 if (!SWIG_IsOK(ecode2
)) {
28953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
28955 arg2
= static_cast< long >(val2
);
28956 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28957 if (!SWIG_IsOK(ecode3
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
28960 arg3
= static_cast< long >(val3
);
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_From_int(static_cast< int >(result
));
28974 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28975 PyObject
*resultobj
= 0;
28976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28989 PyObject
* obj0
= 0 ;
28990 PyObject
* obj1
= 0 ;
28991 PyObject
* obj2
= 0 ;
28992 PyObject
* obj3
= 0 ;
28993 char * kwnames
[] = {
28994 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
28997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28999 if (!SWIG_IsOK(res1
)) {
29000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29002 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29003 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29004 if (!SWIG_IsOK(ecode2
)) {
29005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29007 arg2
= static_cast< long >(val2
);
29008 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29009 if (!SWIG_IsOK(ecode3
)) {
29010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29012 arg3
= static_cast< long >(val3
);
29013 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29014 if (!SWIG_IsOK(ecode4
)) {
29015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29017 arg4
= static_cast< long >(val4
);
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29021 wxPyEndAllowThreads(__tstate
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29033 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
= 0;
29035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29038 int arg4
= (int) -1 ;
29048 PyObject
* obj0
= 0 ;
29049 PyObject
* obj1
= 0 ;
29050 PyObject
* obj2
= 0 ;
29051 PyObject
* obj3
= 0 ;
29052 char * kwnames
[] = {
29053 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
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_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29066 arg2
= static_cast< long >(val2
);
29067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29068 if (!SWIG_IsOK(ecode3
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29071 arg3
= static_cast< int >(val3
);
29073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29074 if (!SWIG_IsOK(ecode4
)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29077 arg4
= static_cast< int >(val4
);
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29094 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
= 0;
29096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 PyObject
* obj2
= 0 ;
29112 PyObject
* obj3
= 0 ;
29113 char * kwnames
[] = {
29114 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29119 if (!SWIG_IsOK(res1
)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29122 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29123 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29124 if (!SWIG_IsOK(ecode2
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29127 arg2
= static_cast< long >(val2
);
29128 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29129 if (!SWIG_IsOK(ecode3
)) {
29130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29132 arg3
= static_cast< long >(val3
);
29133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29134 if (!SWIG_IsOK(ecode4
)) {
29135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29137 arg4
= static_cast< int >(val4
);
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29153 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
= 0;
29155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 char * kwnames
[] = {
29165 (char *) "self",(char *) "item", NULL
29168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29170 if (!SWIG_IsOK(res1
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29173 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29174 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29175 if (!SWIG_IsOK(ecode2
)) {
29176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29178 arg2
= static_cast< long >(val2
);
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29198 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
= 0;
29200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29202 wxString
*arg3
= 0 ;
29207 bool temp3
= false ;
29208 PyObject
* obj0
= 0 ;
29209 PyObject
* obj1
= 0 ;
29210 PyObject
* obj2
= 0 ;
29211 char * kwnames
[] = {
29212 (char *) "self",(char *) "item",(char *) "str", NULL
29215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29217 if (!SWIG_IsOK(res1
)) {
29218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29220 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29221 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29222 if (!SWIG_IsOK(ecode2
)) {
29223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29225 arg2
= static_cast< long >(val2
);
29227 arg3
= wxString_in_helper(obj2
);
29228 if (arg3
== NULL
) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= SWIG_Py_Void();
29252 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
= 0;
29254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 char * kwnames
[] = {
29264 (char *) "self",(char *) "item", NULL
29267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29269 if (!SWIG_IsOK(res1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29272 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29273 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29274 if (!SWIG_IsOK(ecode2
)) {
29275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29277 arg2
= static_cast< long >(val2
);
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29284 resultobj
= SWIG_From_long(static_cast< long >(result
));
29291 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29292 PyObject
*resultobj
= 0;
29293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 PyObject
* obj2
= 0 ;
29306 char * kwnames
[] = {
29307 (char *) "self",(char *) "item",(char *) "data", NULL
29310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29312 if (!SWIG_IsOK(res1
)) {
29313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29315 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29316 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29317 if (!SWIG_IsOK(ecode2
)) {
29318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29320 arg2
= static_cast< long >(val2
);
29321 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29322 if (!SWIG_IsOK(ecode3
)) {
29323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29325 arg3
= static_cast< long >(val3
);
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29329 wxPyEndAllowThreads(__tstate
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29341 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29342 PyObject
*resultobj
= 0;
29343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29350 PyObject
* obj0
= 0 ;
29351 PyObject
* obj1
= 0 ;
29352 char * kwnames
[] = {
29353 (char *) "self",(char *) "item", NULL
29356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29358 if (!SWIG_IsOK(res1
)) {
29359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29361 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29362 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29363 if (!SWIG_IsOK(ecode2
)) {
29364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29366 arg2
= static_cast< long >(val2
);
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29369 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29373 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29380 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
= 0;
29382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29384 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 PyObject
* obj2
= 0 ;
29395 char * kwnames
[] = {
29396 (char *) "self",(char *) "item",(char *) "code", NULL
29399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29401 if (!SWIG_IsOK(res1
)) {
29402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29404 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29405 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29406 if (!SWIG_IsOK(ecode2
)) {
29407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29409 arg2
= static_cast< long >(val2
);
29411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29412 if (!SWIG_IsOK(ecode3
)) {
29413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29415 arg3
= static_cast< int >(val3
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29430 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29434 wxPoint
*arg3
= 0 ;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 PyObject
* obj2
= 0 ;
29444 char * kwnames
[] = {
29445 (char *) "self",(char *) "item",(char *) "pos", NULL
29448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29453 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29454 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29455 if (!SWIG_IsOK(ecode2
)) {
29456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29458 arg2
= static_cast< long >(val2
);
29461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29478 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29479 PyObject
*resultobj
= 0;
29480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29484 PyObject
*swig_obj
[1] ;
29486 if (!args
) SWIG_fail
;
29487 swig_obj
[0] = args
;
29488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29489 if (!SWIG_IsOK(res1
)) {
29490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29492 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 resultobj
= SWIG_From_int(static_cast< int >(result
));
29506 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29507 PyObject
*resultobj
= 0;
29508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29512 PyObject
*swig_obj
[1] ;
29514 if (!args
) SWIG_fail
;
29515 swig_obj
[0] = args
;
29516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29520 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= SWIG_From_int(static_cast< int >(result
));
29534 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29535 PyObject
*resultobj
= 0;
29536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29540 PyObject
*swig_obj
[1] ;
29542 if (!args
) SWIG_fail
;
29543 swig_obj
[0] = args
;
29544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29545 if (!SWIG_IsOK(res1
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29548 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29551 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29562 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
= 0;
29564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29566 bool arg3
= (bool) false ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 PyObject
* obj2
= 0 ;
29576 char * kwnames
[] = {
29577 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29585 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29587 if (!SWIG_IsOK(ecode2
)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29590 arg2
= static_cast< int >(val2
);
29592 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29593 if (!SWIG_IsOK(ecode3
)) {
29594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29596 arg3
= static_cast< bool >(val3
);
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 (arg1
)->SetItemSpacing(arg2
,arg3
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= SWIG_Py_Void();
29611 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29612 PyObject
*resultobj
= 0;
29613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29617 PyObject
*swig_obj
[1] ;
29619 if (!args
) SWIG_fail
;
29620 swig_obj
[0] = args
;
29621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29622 if (!SWIG_IsOK(res1
)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29625 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_From_int(static_cast< int >(result
));
29639 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29640 PyObject
*resultobj
= 0;
29641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29645 PyObject
*swig_obj
[1] ;
29647 if (!args
) SWIG_fail
;
29648 swig_obj
[0] = args
;
29649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29650 if (!SWIG_IsOK(res1
)) {
29651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29653 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29660 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29667 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
= 0;
29669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29670 wxColour
*arg2
= 0 ;
29674 PyObject
* obj0
= 0 ;
29675 PyObject
* obj1
= 0 ;
29676 char * kwnames
[] = {
29677 (char *) "self",(char *) "col", NULL
29680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29682 if (!SWIG_IsOK(res1
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29685 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29688 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= SWIG_Py_Void();
29703 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29704 PyObject
*resultobj
= 0;
29705 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29709 PyObject
*swig_obj
[1] ;
29711 if (!args
) SWIG_fail
;
29712 swig_obj
[0] = args
;
29713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29717 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= SWIG_From_long(static_cast< long >(result
));
29731 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
= 0;
29733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29735 bool arg3
= (bool) true ;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 PyObject
* obj2
= 0 ;
29745 char * kwnames
[] = {
29746 (char *) "self",(char *) "style",(char *) "add", NULL
29749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29756 if (!SWIG_IsOK(ecode2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29759 arg2
= static_cast< long >(val2
);
29761 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29762 if (!SWIG_IsOK(ecode3
)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29765 arg3
= static_cast< bool >(val3
);
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 (arg1
)->SetSingleStyle(arg2
,arg3
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= SWIG_Py_Void();
29780 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
= 0;
29782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29784 int arg3
= (int) wxLIST_NEXT_ALL
;
29785 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29795 PyObject
* obj0
= 0 ;
29796 PyObject
* obj1
= 0 ;
29797 PyObject
* obj2
= 0 ;
29798 PyObject
* obj3
= 0 ;
29799 char * kwnames
[] = {
29800 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29805 if (!SWIG_IsOK(res1
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29809 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29810 if (!SWIG_IsOK(ecode2
)) {
29811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29813 arg2
= static_cast< long >(val2
);
29815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29816 if (!SWIG_IsOK(ecode3
)) {
29817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29819 arg3
= static_cast< int >(val3
);
29822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29823 if (!SWIG_IsOK(ecode4
)) {
29824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29826 arg4
= static_cast< int >(val4
);
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= SWIG_From_long(static_cast< long >(result
));
29841 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29842 PyObject
*resultobj
= 0;
29843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29845 wxImageList
*result
= 0 ;
29850 PyObject
* obj0
= 0 ;
29851 PyObject
* obj1
= 0 ;
29852 char * kwnames
[] = {
29853 (char *) "self",(char *) "which", NULL
29856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29858 if (!SWIG_IsOK(res1
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29861 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29863 if (!SWIG_IsOK(ecode2
)) {
29864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29866 arg2
= static_cast< int >(val2
);
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29882 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
= 0;
29884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29885 wxImageList
*arg2
= (wxImageList
*) 0 ;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 PyObject
* obj2
= 0 ;
29896 char * kwnames
[] = {
29897 (char *) "self",(char *) "imageList",(char *) "which", NULL
29900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29905 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
29907 if (!SWIG_IsOK(res2
)) {
29908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29910 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
29911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29912 if (!SWIG_IsOK(ecode3
)) {
29913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
29915 arg3
= static_cast< int >(val3
);
29917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29918 (arg1
)->SetImageList(arg2
,arg3
);
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= SWIG_Py_Void();
29929 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
= 0;
29931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29932 wxImageList
*arg2
= (wxImageList
*) 0 ;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 PyObject
* obj2
= 0 ;
29942 char * kwnames
[] = {
29943 (char *) "self",(char *) "imageList",(char *) "which", NULL
29946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29948 if (!SWIG_IsOK(res1
)) {
29949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29951 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29952 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
29953 if (!SWIG_IsOK(res2
)) {
29954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29957 if (!SWIG_IsOK(ecode3
)) {
29958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
29960 arg3
= static_cast< int >(val3
);
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 (arg1
)->AssignImageList(arg2
,arg3
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= SWIG_Py_Void();
29974 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29975 PyObject
*resultobj
= 0;
29976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29980 PyObject
*swig_obj
[1] ;
29982 if (!args
) SWIG_fail
;
29983 swig_obj
[0] = args
;
29984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29985 if (!SWIG_IsOK(res1
)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29988 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
29992 wxPyEndAllowThreads(__tstate
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30004 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30005 PyObject
*resultobj
= 0;
30006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30010 PyObject
*swig_obj
[1] ;
30012 if (!args
) SWIG_fail
;
30013 swig_obj
[0] = args
;
30014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30015 if (!SWIG_IsOK(res1
)) {
30016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30018 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30034 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30035 PyObject
*resultobj
= 0;
30036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30042 PyObject
* obj0
= 0 ;
30043 PyObject
* obj1
= 0 ;
30044 char * kwnames
[] = {
30045 (char *) "self",(char *) "item", NULL
30048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30050 if (!SWIG_IsOK(res1
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30053 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30055 if (!SWIG_IsOK(ecode2
)) {
30056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30058 arg2
= static_cast< long >(val2
);
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30061 (arg1
)->RefreshItem(arg2
);
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30065 resultobj
= SWIG_Py_Void();
30072 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
= 0;
30074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30083 PyObject
* obj0
= 0 ;
30084 PyObject
* obj1
= 0 ;
30085 PyObject
* obj2
= 0 ;
30086 char * kwnames
[] = {
30087 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30095 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30096 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30097 if (!SWIG_IsOK(ecode2
)) {
30098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30100 arg2
= static_cast< long >(val2
);
30101 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30102 if (!SWIG_IsOK(ecode3
)) {
30103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30105 arg3
= static_cast< long >(val3
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 (arg1
)->RefreshItems(arg2
,arg3
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_Py_Void();
30119 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= 0;
30121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30122 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30128 PyObject
* obj0
= 0 ;
30129 PyObject
* obj1
= 0 ;
30130 char * kwnames
[] = {
30131 (char *) "self",(char *) "flag", NULL
30134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",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_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30139 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30142 if (!SWIG_IsOK(ecode2
)) {
30143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30145 arg2
= static_cast< int >(val2
);
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 result
= (bool)(arg1
)->Arrange(arg2
);
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30162 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
= 0;
30164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 char * kwnames
[] = {
30174 (char *) "self",(char *) "item", NULL
30177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30179 if (!SWIG_IsOK(res1
)) {
30180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30182 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30183 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30184 if (!SWIG_IsOK(ecode2
)) {
30185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30187 arg2
= static_cast< long >(val2
);
30189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30190 result
= (bool)(arg1
)->DeleteItem(arg2
);
30191 wxPyEndAllowThreads(__tstate
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30203 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30204 PyObject
*resultobj
= 0;
30205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30209 PyObject
*swig_obj
[1] ;
30211 if (!args
) SWIG_fail
;
30212 swig_obj
[0] = args
;
30213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30214 if (!SWIG_IsOK(res1
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30217 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 result
= (bool)(arg1
)->DeleteAllItems();
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30233 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30234 PyObject
*resultobj
= 0;
30235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30242 PyObject
* obj0
= 0 ;
30243 PyObject
* obj1
= 0 ;
30244 char * kwnames
[] = {
30245 (char *) "self",(char *) "col", NULL
30248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30250 if (!SWIG_IsOK(res1
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30253 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30255 if (!SWIG_IsOK(ecode2
)) {
30256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30258 arg2
= static_cast< int >(val2
);
30260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30261 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30262 wxPyEndAllowThreads(__tstate
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30274 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30275 PyObject
*resultobj
= 0;
30276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30280 PyObject
*swig_obj
[1] ;
30282 if (!args
) SWIG_fail
;
30283 swig_obj
[0] = args
;
30284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30285 if (!SWIG_IsOK(res1
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30288 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 result
= (bool)(arg1
)->DeleteAllColumns();
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30304 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30305 PyObject
*resultobj
= 0;
30306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30309 PyObject
*swig_obj
[1] ;
30311 if (!args
) SWIG_fail
;
30312 swig_obj
[0] = args
;
30313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30314 if (!SWIG_IsOK(res1
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30317 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 (arg1
)->ClearAll();
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= SWIG_Py_Void();
30331 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
= 0;
30333 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 char * kwnames
[] = {
30342 (char *) "self",(char *) "item", NULL
30345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30347 if (!SWIG_IsOK(res1
)) {
30348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30350 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30351 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30352 if (!SWIG_IsOK(ecode2
)) {
30353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30355 arg2
= static_cast< long >(val2
);
30357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 (arg1
)->EditLabel(arg2
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30362 resultobj
= SWIG_Py_Void();
30369 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30370 PyObject
*resultobj
= 0;
30371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30378 PyObject
* obj0
= 0 ;
30379 PyObject
* obj1
= 0 ;
30380 char * kwnames
[] = {
30381 (char *) "self",(char *) "item", NULL
30384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30389 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30390 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30391 if (!SWIG_IsOK(ecode2
)) {
30392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30394 arg2
= static_cast< long >(val2
);
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30410 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
= 0;
30412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30414 wxString
*arg3
= 0 ;
30415 bool arg4
= (bool) false ;
30421 bool temp3
= false ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 PyObject
* obj2
= 0 ;
30427 PyObject
* obj3
= 0 ;
30428 char * kwnames
[] = {
30429 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30434 if (!SWIG_IsOK(res1
)) {
30435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30437 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30438 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30439 if (!SWIG_IsOK(ecode2
)) {
30440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30442 arg2
= static_cast< long >(val2
);
30444 arg3
= wxString_in_helper(obj2
);
30445 if (arg3
== NULL
) SWIG_fail
;
30449 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30450 if (!SWIG_IsOK(ecode4
)) {
30451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30453 arg4
= static_cast< bool >(val4
);
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 resultobj
= SWIG_From_long(static_cast< long >(result
));
30476 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
= 0;
30478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30488 PyObject
* obj0
= 0 ;
30489 PyObject
* obj1
= 0 ;
30490 PyObject
* obj2
= 0 ;
30491 char * kwnames
[] = {
30492 (char *) "self",(char *) "start",(char *) "data", NULL
30495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30497 if (!SWIG_IsOK(res1
)) {
30498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30500 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30501 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30502 if (!SWIG_IsOK(ecode2
)) {
30503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30505 arg2
= static_cast< long >(val2
);
30506 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30507 if (!SWIG_IsOK(ecode3
)) {
30508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30510 arg3
= static_cast< long >(val3
);
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30514 wxPyEndAllowThreads(__tstate
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30517 resultobj
= SWIG_From_long(static_cast< long >(result
));
30524 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
= 0;
30526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30528 wxPoint
*arg3
= 0 ;
30538 PyObject
* obj0
= 0 ;
30539 PyObject
* obj1
= 0 ;
30540 PyObject
* obj2
= 0 ;
30541 PyObject
* obj3
= 0 ;
30542 char * kwnames
[] = {
30543 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30548 if (!SWIG_IsOK(res1
)) {
30549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30551 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30553 if (!SWIG_IsOK(ecode2
)) {
30554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30556 arg2
= static_cast< long >(val2
);
30559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30561 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30562 if (!SWIG_IsOK(ecode4
)) {
30563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30565 arg4
= static_cast< int >(val4
);
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30572 resultobj
= SWIG_From_long(static_cast< long >(result
));
30579 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
= 0;
30581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30582 wxPoint
*arg2
= 0 ;
30589 int res3
= SWIG_TMPOBJ
;
30590 PyObject
* obj0
= 0 ;
30591 PyObject
* obj1
= 0 ;
30592 char * kwnames
[] = {
30593 (char *) "self",(char *) "point", NULL
30597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30599 if (!SWIG_IsOK(res1
)) {
30600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30602 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30613 resultobj
= SWIG_From_long(static_cast< long >(result
));
30614 if (SWIG_IsTmpObj(res3
)) {
30615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30617 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30626 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30627 PyObject
*resultobj
= 0;
30628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30629 wxListItem
*arg2
= 0 ;
30635 PyObject
* obj0
= 0 ;
30636 PyObject
* obj1
= 0 ;
30637 char * kwnames
[] = {
30638 (char *) "self",(char *) "info", NULL
30641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30643 if (!SWIG_IsOK(res1
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30646 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30648 if (!SWIG_IsOK(res2
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30654 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 result
= (long)(arg1
)->InsertItem(*arg2
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= SWIG_From_long(static_cast< long >(result
));
30668 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
= 0;
30670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30672 wxString
*arg3
= 0 ;
30673 int arg4
= (int) -1 ;
30679 bool temp3
= false ;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 PyObject
* obj2
= 0 ;
30685 PyObject
* obj3
= 0 ;
30686 char * kwnames
[] = {
30687 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30695 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30696 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30697 if (!SWIG_IsOK(ecode2
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30700 arg2
= static_cast< long >(val2
);
30702 arg3
= wxString_in_helper(obj2
);
30703 if (arg3
== NULL
) SWIG_fail
;
30707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30708 if (!SWIG_IsOK(ecode4
)) {
30709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30711 arg4
= static_cast< int >(val4
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_From_long(static_cast< long >(result
));
30734 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30735 PyObject
*resultobj
= 0;
30736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30746 PyObject
* obj0
= 0 ;
30747 PyObject
* obj1
= 0 ;
30748 PyObject
* obj2
= 0 ;
30749 char * kwnames
[] = {
30750 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30755 if (!SWIG_IsOK(res1
)) {
30756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30758 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30759 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30760 if (!SWIG_IsOK(ecode2
)) {
30761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30763 arg2
= static_cast< long >(val2
);
30764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30765 if (!SWIG_IsOK(ecode3
)) {
30766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30768 arg3
= static_cast< int >(val3
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_From_long(static_cast< long >(result
));
30782 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
= 0;
30784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30786 wxString
*arg3
= 0 ;
30793 bool temp3
= false ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 PyObject
* obj2
= 0 ;
30799 PyObject
* obj3
= 0 ;
30800 char * kwnames
[] = {
30801 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30806 if (!SWIG_IsOK(res1
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30809 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30811 if (!SWIG_IsOK(ecode2
)) {
30812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30814 arg2
= static_cast< long >(val2
);
30816 arg3
= wxString_in_helper(obj2
);
30817 if (arg3
== NULL
) SWIG_fail
;
30820 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30821 if (!SWIG_IsOK(ecode4
)) {
30822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30824 arg4
= static_cast< int >(val4
);
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_From_long(static_cast< long >(result
));
30846 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
= 0;
30848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30850 wxListItem
*arg3
= 0 ;
30858 PyObject
* obj0
= 0 ;
30859 PyObject
* obj1
= 0 ;
30860 PyObject
* obj2
= 0 ;
30861 char * kwnames
[] = {
30862 (char *) "self",(char *) "col",(char *) "info", NULL
30865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30867 if (!SWIG_IsOK(res1
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30870 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30871 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30872 if (!SWIG_IsOK(ecode2
)) {
30873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30875 arg2
= static_cast< long >(val2
);
30876 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30877 if (!SWIG_IsOK(res3
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30883 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
30885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
30887 wxPyEndAllowThreads(__tstate
);
30888 if (PyErr_Occurred()) SWIG_fail
;
30890 resultobj
= SWIG_From_long(static_cast< long >(result
));
30897 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30898 PyObject
*resultobj
= 0;
30899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30901 wxString
*arg3
= 0 ;
30902 int arg4
= (int) wxLIST_FORMAT_LEFT
;
30903 int arg5
= (int) -1 ;
30909 bool temp3
= false ;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 PyObject
* obj2
= 0 ;
30917 PyObject
* obj3
= 0 ;
30918 PyObject
* obj4
= 0 ;
30919 char * kwnames
[] = {
30920 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
30923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30925 if (!SWIG_IsOK(res1
)) {
30926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30930 if (!SWIG_IsOK(ecode2
)) {
30931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
30933 arg2
= static_cast< long >(val2
);
30935 arg3
= wxString_in_helper(obj2
);
30936 if (arg3
== NULL
) SWIG_fail
;
30940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30941 if (!SWIG_IsOK(ecode4
)) {
30942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
30944 arg4
= static_cast< int >(val4
);
30947 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30948 if (!SWIG_IsOK(ecode5
)) {
30949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
30951 arg5
= static_cast< int >(val5
);
30954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30955 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= SWIG_From_long(static_cast< long >(result
));
30974 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
= 0;
30976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 char * kwnames
[] = {
30985 (char *) "self",(char *) "count", NULL
30988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30990 if (!SWIG_IsOK(res1
)) {
30991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30993 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30994 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30995 if (!SWIG_IsOK(ecode2
)) {
30996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
30998 arg2
= static_cast< long >(val2
);
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 (arg1
)->SetItemCount(arg2
);
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= SWIG_Py_Void();
31012 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
= 0;
31014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31024 PyObject
* obj0
= 0 ;
31025 PyObject
* obj1
= 0 ;
31026 PyObject
* obj2
= 0 ;
31027 char * kwnames
[] = {
31028 (char *) "self",(char *) "dx",(char *) "dy", NULL
31031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31036 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31038 if (!SWIG_IsOK(ecode2
)) {
31039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31041 arg2
= static_cast< int >(val2
);
31042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31043 if (!SWIG_IsOK(ecode3
)) {
31044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31046 arg3
= static_cast< int >(val3
);
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31062 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
= 0;
31064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31066 wxColour
*arg3
= 0 ;
31072 PyObject
* obj0
= 0 ;
31073 PyObject
* obj1
= 0 ;
31074 PyObject
* obj2
= 0 ;
31075 char * kwnames
[] = {
31076 (char *) "self",(char *) "item",(char *) "col", NULL
31079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31081 if (!SWIG_IsOK(res1
)) {
31082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31084 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31085 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31086 if (!SWIG_IsOK(ecode2
)) {
31087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31089 arg2
= static_cast< long >(val2
);
31092 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31096 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31097 wxPyEndAllowThreads(__tstate
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31100 resultobj
= SWIG_Py_Void();
31107 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
= 0;
31109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char * kwnames
[] = {
31119 (char *) "self",(char *) "item", NULL
31122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31124 if (!SWIG_IsOK(res1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31127 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31128 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31129 if (!SWIG_IsOK(ecode2
)) {
31130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31132 arg2
= static_cast< long >(val2
);
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31146 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= 0;
31148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31150 wxColour
*arg3
= 0 ;
31156 PyObject
* obj0
= 0 ;
31157 PyObject
* obj1
= 0 ;
31158 PyObject
* obj2
= 0 ;
31159 char * kwnames
[] = {
31160 (char *) "self",(char *) "item",(char *) "col", NULL
31163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31165 if (!SWIG_IsOK(res1
)) {
31166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31168 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31169 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31170 if (!SWIG_IsOK(ecode2
)) {
31171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31173 arg2
= static_cast< long >(val2
);
31176 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31181 wxPyEndAllowThreads(__tstate
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31184 resultobj
= SWIG_Py_Void();
31191 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
= 0;
31193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 char * kwnames
[] = {
31203 (char *) "self",(char *) "item", NULL
31206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31208 if (!SWIG_IsOK(res1
)) {
31209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31211 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31212 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31213 if (!SWIG_IsOK(ecode2
)) {
31214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31216 arg2
= static_cast< long >(val2
);
31218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31219 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31230 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
= 0;
31232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 PyObject
* obj2
= 0 ;
31244 char * kwnames
[] = {
31245 (char *) "self",(char *) "item",(char *) "f", NULL
31248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31250 if (!SWIG_IsOK(res1
)) {
31251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31253 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31254 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31255 if (!SWIG_IsOK(ecode2
)) {
31256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31258 arg2
= static_cast< long >(val2
);
31259 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31260 if (!SWIG_IsOK(res3
)) {
31261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31266 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31270 wxPyEndAllowThreads(__tstate
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 resultobj
= SWIG_Py_Void();
31280 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
= 0;
31282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31289 PyObject
* obj0
= 0 ;
31290 PyObject
* obj1
= 0 ;
31291 char * kwnames
[] = {
31292 (char *) "self",(char *) "item", NULL
31295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31297 if (!SWIG_IsOK(res1
)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31300 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31301 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31302 if (!SWIG_IsOK(ecode2
)) {
31303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31305 arg2
= static_cast< long >(val2
);
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31309 wxPyEndAllowThreads(__tstate
);
31310 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31319 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31320 PyObject
*resultobj
= 0;
31321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31322 PyObject
*arg2
= (PyObject
*) 0 ;
31326 PyObject
* obj0
= 0 ;
31327 PyObject
* obj1
= 0 ;
31328 char * kwnames
[] = {
31329 (char *) "self",(char *) "func", NULL
31332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31334 if (!SWIG_IsOK(res1
)) {
31335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31337 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31354 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31355 PyObject
*resultobj
= 0;
31356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31357 wxWindow
*result
= 0 ;
31360 PyObject
*swig_obj
[1] ;
31362 if (!args
) SWIG_fail
;
31363 swig_obj
[0] = args
;
31364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31365 if (!SWIG_IsOK(res1
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= wxPyMake_wxObject(result
, 0);
31384 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
= 0;
31386 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31387 SwigValueWrapper
<wxVisualAttributes
> result
;
31390 PyObject
* obj0
= 0 ;
31391 char * kwnames
[] = {
31392 (char *) "variant", NULL
31395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31398 if (!SWIG_IsOK(ecode1
)) {
31399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31401 arg1
= static_cast< wxWindowVariant
>(val1
);
31404 if (!wxPyCheckForApp()) SWIG_fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31410 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31417 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31420 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31421 return SWIG_Py_Void();
31424 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31425 return SWIG_Python_InitShadowInstance(args
);
31428 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
= 0;
31430 wxWindow
*arg1
= (wxWindow
*) 0 ;
31431 int arg2
= (int) -1 ;
31432 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31433 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31434 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31435 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31436 long arg5
= (long) wxLC_REPORT
;
31437 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31438 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31439 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31441 wxListView
*result
= 0 ;
31452 bool temp7
= false ;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 PyObject
* obj2
= 0 ;
31456 PyObject
* obj3
= 0 ;
31457 PyObject
* obj4
= 0 ;
31458 PyObject
* obj5
= 0 ;
31459 PyObject
* obj6
= 0 ;
31460 char * kwnames
[] = {
31461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31466 if (!SWIG_IsOK(res1
)) {
31467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31472 if (!SWIG_IsOK(ecode2
)) {
31473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31475 arg2
= static_cast< int >(val2
);
31480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31490 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31491 if (!SWIG_IsOK(ecode5
)) {
31492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31494 arg5
= static_cast< long >(val5
);
31497 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31498 if (!SWIG_IsOK(res6
)) {
31499 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31504 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31508 arg7
= wxString_in_helper(obj6
);
31509 if (arg7
== NULL
) SWIG_fail
;
31514 if (!wxPyCheckForApp()) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31535 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31536 PyObject
*resultobj
= 0;
31537 wxListView
*result
= 0 ;
31539 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31541 if (!wxPyCheckForApp()) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 result
= (wxListView
*)new wxListView();
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31554 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
= 0;
31556 wxListView
*arg1
= (wxListView
*) 0 ;
31557 wxWindow
*arg2
= (wxWindow
*) 0 ;
31558 int arg3
= (int) -1 ;
31559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31563 long arg6
= (long) wxLC_REPORT
;
31564 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31565 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31566 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31567 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31581 bool temp8
= false ;
31582 PyObject
* obj0
= 0 ;
31583 PyObject
* obj1
= 0 ;
31584 PyObject
* obj2
= 0 ;
31585 PyObject
* obj3
= 0 ;
31586 PyObject
* obj4
= 0 ;
31587 PyObject
* obj5
= 0 ;
31588 PyObject
* obj6
= 0 ;
31589 PyObject
* obj7
= 0 ;
31590 char * kwnames
[] = {
31591 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31596 if (!SWIG_IsOK(res1
)) {
31597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31599 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31600 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31601 if (!SWIG_IsOK(res2
)) {
31602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31604 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31607 if (!SWIG_IsOK(ecode3
)) {
31608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31610 arg3
= static_cast< int >(val3
);
31615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31625 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31626 if (!SWIG_IsOK(ecode6
)) {
31627 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31629 arg6
= static_cast< long >(val6
);
31632 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31633 if (!SWIG_IsOK(res7
)) {
31634 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31639 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31643 arg8
= wxString_in_helper(obj7
);
31644 if (arg8
== NULL
) SWIG_fail
;
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31671 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31672 PyObject
*resultobj
= 0;
31673 wxListView
*arg1
= (wxListView
*) 0 ;
31675 bool arg3
= (bool) true ;
31682 PyObject
* obj0
= 0 ;
31683 PyObject
* obj1
= 0 ;
31684 PyObject
* obj2
= 0 ;
31685 char * kwnames
[] = {
31686 (char *) "self",(char *) "n",(char *) "on", NULL
31689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31691 if (!SWIG_IsOK(res1
)) {
31692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31694 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31695 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31696 if (!SWIG_IsOK(ecode2
)) {
31697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31699 arg2
= static_cast< long >(val2
);
31701 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31702 if (!SWIG_IsOK(ecode3
)) {
31703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31705 arg3
= static_cast< bool >(val3
);
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 (arg1
)->Select(arg2
,arg3
);
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= SWIG_Py_Void();
31720 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= 0;
31722 wxListView
*arg1
= (wxListView
*) 0 ;
31728 PyObject
* obj0
= 0 ;
31729 PyObject
* obj1
= 0 ;
31730 char * kwnames
[] = {
31731 (char *) "self",(char *) "index", NULL
31734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31736 if (!SWIG_IsOK(res1
)) {
31737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31739 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31741 if (!SWIG_IsOK(ecode2
)) {
31742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31744 arg2
= static_cast< long >(val2
);
31746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31747 (arg1
)->Focus(arg2
);
31748 wxPyEndAllowThreads(__tstate
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= SWIG_Py_Void();
31758 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31759 PyObject
*resultobj
= 0;
31760 wxListView
*arg1
= (wxListView
*) 0 ;
31764 PyObject
*swig_obj
[1] ;
31766 if (!args
) SWIG_fail
;
31767 swig_obj
[0] = args
;
31768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31769 if (!SWIG_IsOK(res1
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31772 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= SWIG_From_long(static_cast< long >(result
));
31786 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
= 0;
31788 wxListView
*arg1
= (wxListView
*) 0 ;
31795 PyObject
* obj0
= 0 ;
31796 PyObject
* obj1
= 0 ;
31797 char * kwnames
[] = {
31798 (char *) "self",(char *) "item", NULL
31801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31803 if (!SWIG_IsOK(res1
)) {
31804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31806 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31807 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31808 if (!SWIG_IsOK(ecode2
)) {
31809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31811 arg2
= static_cast< long >(val2
);
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31815 wxPyEndAllowThreads(__tstate
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31818 resultobj
= SWIG_From_long(static_cast< long >(result
));
31825 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31826 PyObject
*resultobj
= 0;
31827 wxListView
*arg1
= (wxListView
*) 0 ;
31831 PyObject
*swig_obj
[1] ;
31833 if (!args
) SWIG_fail
;
31834 swig_obj
[0] = args
;
31835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31836 if (!SWIG_IsOK(res1
)) {
31837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31839 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31842 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31843 wxPyEndAllowThreads(__tstate
);
31844 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= SWIG_From_long(static_cast< long >(result
));
31853 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31854 PyObject
*resultobj
= 0;
31855 wxListView
*arg1
= (wxListView
*) 0 ;
31862 PyObject
* obj0
= 0 ;
31863 PyObject
* obj1
= 0 ;
31864 char * kwnames
[] = {
31865 (char *) "self",(char *) "index", NULL
31868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31870 if (!SWIG_IsOK(res1
)) {
31871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31873 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31875 if (!SWIG_IsOK(ecode2
)) {
31876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31878 arg2
= static_cast< long >(val2
);
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 result
= (bool)(arg1
)->IsSelected(arg2
);
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31894 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
= 0;
31896 wxListView
*arg1
= (wxListView
*) 0 ;
31905 PyObject
* obj0
= 0 ;
31906 PyObject
* obj1
= 0 ;
31907 PyObject
* obj2
= 0 ;
31908 char * kwnames
[] = {
31909 (char *) "self",(char *) "col",(char *) "image", NULL
31912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31914 if (!SWIG_IsOK(res1
)) {
31915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31917 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31919 if (!SWIG_IsOK(ecode2
)) {
31920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
31922 arg2
= static_cast< int >(val2
);
31923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31924 if (!SWIG_IsOK(ecode3
)) {
31925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
31927 arg3
= static_cast< int >(val3
);
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 (arg1
)->SetColumnImage(arg2
,arg3
);
31931 wxPyEndAllowThreads(__tstate
);
31932 if (PyErr_Occurred()) SWIG_fail
;
31934 resultobj
= SWIG_Py_Void();
31941 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31942 PyObject
*resultobj
= 0;
31943 wxListView
*arg1
= (wxListView
*) 0 ;
31949 PyObject
* obj0
= 0 ;
31950 PyObject
* obj1
= 0 ;
31951 char * kwnames
[] = {
31952 (char *) "self",(char *) "col", NULL
31955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31957 if (!SWIG_IsOK(res1
)) {
31958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31960 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31962 if (!SWIG_IsOK(ecode2
)) {
31963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
31965 arg2
= static_cast< int >(val2
);
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 (arg1
)->ClearColumnImage(arg2
);
31969 wxPyEndAllowThreads(__tstate
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31972 resultobj
= SWIG_Py_Void();
31979 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31982 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
31983 return SWIG_Py_Void();
31986 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31987 return SWIG_Python_InitShadowInstance(args
);
31990 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
31991 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
31996 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
31997 PyObject
*pyobj
= 0;
32001 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32003 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32010 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32011 PyObject
*resultobj
= 0;
32012 wxTreeItemId
*result
= 0 ;
32014 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32017 result
= (wxTreeItemId
*)new wxTreeItemId();
32018 wxPyEndAllowThreads(__tstate
);
32019 if (PyErr_Occurred()) SWIG_fail
;
32021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32028 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32029 PyObject
*resultobj
= 0;
32030 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32033 PyObject
*swig_obj
[1] ;
32035 if (!args
) SWIG_fail
;
32036 swig_obj
[0] = args
;
32037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32038 if (!SWIG_IsOK(res1
)) {
32039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32041 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32049 resultobj
= SWIG_Py_Void();
32056 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32057 PyObject
*resultobj
= 0;
32058 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32062 PyObject
*swig_obj
[1] ;
32064 if (!args
) SWIG_fail
;
32065 swig_obj
[0] = args
;
32066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32067 if (!SWIG_IsOK(res1
)) {
32068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32070 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32086 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32087 PyObject
*resultobj
= 0;
32088 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32089 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32095 PyObject
* obj0
= 0 ;
32096 PyObject
* obj1
= 0 ;
32097 char * kwnames
[] = {
32098 (char *) "self",(char *) "other", NULL
32101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32103 if (!SWIG_IsOK(res1
)) {
32104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32106 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32108 if (!SWIG_IsOK(res2
)) {
32109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32111 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32127 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
= 0;
32129 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32130 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32136 PyObject
* obj0
= 0 ;
32137 PyObject
* obj1
= 0 ;
32138 char * kwnames
[] = {
32139 (char *) "self",(char *) "other", NULL
32142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32144 if (!SWIG_IsOK(res1
)) {
32145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32147 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32149 if (!SWIG_IsOK(res2
)) {
32150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32152 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32156 wxPyEndAllowThreads(__tstate
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32168 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32169 PyObject
*resultobj
= 0;
32170 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32171 void *arg2
= (void *) 0 ;
32175 PyObject
*swig_obj
[2] ;
32177 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32179 if (!SWIG_IsOK(res1
)) {
32180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32182 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32183 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32184 if (!SWIG_IsOK(res2
)) {
32185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32187 if (arg1
) (arg1
)->m_pItem
= arg2
;
32189 resultobj
= SWIG_Py_Void();
32196 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32197 PyObject
*resultobj
= 0;
32198 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32202 PyObject
*swig_obj
[1] ;
32204 if (!args
) SWIG_fail
;
32205 swig_obj
[0] = args
;
32206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32207 if (!SWIG_IsOK(res1
)) {
32208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32210 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32211 result
= (void *) ((arg1
)->m_pItem
);
32212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32219 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32222 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32223 return SWIG_Py_Void();
32226 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32227 return SWIG_Python_InitShadowInstance(args
);
32230 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
= 0;
32232 PyObject
*arg1
= (PyObject
*) NULL
;
32233 wxPyTreeItemData
*result
= 0 ;
32234 PyObject
* obj0
= 0 ;
32235 char * kwnames
[] = {
32236 (char *) "obj", NULL
32239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32245 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32256 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32257 PyObject
*resultobj
= 0;
32258 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32261 PyObject
*swig_obj
[1] ;
32263 if (!args
) SWIG_fail
;
32264 swig_obj
[0] = args
;
32265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32266 if (!SWIG_IsOK(res1
)) {
32267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32269 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= SWIG_Py_Void();
32284 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32285 PyObject
*resultobj
= 0;
32286 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32287 PyObject
*result
= 0 ;
32290 PyObject
*swig_obj
[1] ;
32292 if (!args
) SWIG_fail
;
32293 swig_obj
[0] = args
;
32294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32295 if (!SWIG_IsOK(res1
)) {
32296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32298 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32301 result
= (PyObject
*)(arg1
)->GetData();
32302 wxPyEndAllowThreads(__tstate
);
32303 if (PyErr_Occurred()) SWIG_fail
;
32305 resultobj
= result
;
32312 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
= 0;
32314 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32315 PyObject
*arg2
= (PyObject
*) 0 ;
32318 PyObject
* obj0
= 0 ;
32319 PyObject
* obj1
= 0 ;
32320 char * kwnames
[] = {
32321 (char *) "self",(char *) "obj", NULL
32324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32326 if (!SWIG_IsOK(res1
)) {
32327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32329 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 (arg1
)->SetData(arg2
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= SWIG_Py_Void();
32344 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32345 PyObject
*resultobj
= 0;
32346 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32347 wxTreeItemId
*result
= 0 ;
32350 PyObject
*swig_obj
[1] ;
32352 if (!args
) SWIG_fail
;
32353 swig_obj
[0] = args
;
32354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32355 if (!SWIG_IsOK(res1
)) {
32356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32358 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32363 result
= (wxTreeItemId
*) &_result_ref
;
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32375 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32376 PyObject
*resultobj
= 0;
32377 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32378 wxTreeItemId
*arg2
= 0 ;
32383 PyObject
* obj0
= 0 ;
32384 PyObject
* obj1
= 0 ;
32385 char * kwnames
[] = {
32386 (char *) "self",(char *) "id", NULL
32389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32391 if (!SWIG_IsOK(res1
)) {
32392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32394 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32396 if (!SWIG_IsOK(res2
)) {
32397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32402 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= SWIG_Py_Void();
32416 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32417 PyObject
*resultobj
= 0;
32418 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32421 PyObject
*swig_obj
[1] ;
32423 if (!args
) SWIG_fail
;
32424 swig_obj
[0] = args
;
32425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32426 if (!SWIG_IsOK(res1
)) {
32427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32429 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 wxPyTreeItemData_Destroy(arg1
);
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 resultobj
= SWIG_Py_Void();
32443 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32446 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32447 return SWIG_Py_Void();
32450 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32451 return SWIG_Python_InitShadowInstance(args
);
32454 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
= 0;
32456 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32457 int arg2
= (int) 0 ;
32458 wxTreeEvent
*result
= 0 ;
32463 PyObject
* obj0
= 0 ;
32464 PyObject
* obj1
= 0 ;
32465 char * kwnames
[] = {
32466 (char *) "commandType",(char *) "id", NULL
32469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32471 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32472 if (!SWIG_IsOK(ecode1
)) {
32473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32475 arg1
= static_cast< wxEventType
>(val1
);
32478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32479 if (!SWIG_IsOK(ecode2
)) {
32480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32482 arg2
= static_cast< int >(val2
);
32485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32486 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32487 wxPyEndAllowThreads(__tstate
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32497 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32498 PyObject
*resultobj
= 0;
32499 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32500 wxTreeItemId result
;
32503 PyObject
*swig_obj
[1] ;
32505 if (!args
) SWIG_fail
;
32506 swig_obj
[0] = args
;
32507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32508 if (!SWIG_IsOK(res1
)) {
32509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32511 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32525 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32526 PyObject
*resultobj
= 0;
32527 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32528 wxTreeItemId
*arg2
= 0 ;
32533 PyObject
* obj0
= 0 ;
32534 PyObject
* obj1
= 0 ;
32535 char * kwnames
[] = {
32536 (char *) "self",(char *) "item", NULL
32539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32541 if (!SWIG_IsOK(res1
)) {
32542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32544 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32546 if (!SWIG_IsOK(res2
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32552 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= SWIG_Py_Void();
32566 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32567 PyObject
*resultobj
= 0;
32568 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32569 wxTreeItemId result
;
32572 PyObject
*swig_obj
[1] ;
32574 if (!args
) SWIG_fail
;
32575 swig_obj
[0] = args
;
32576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32577 if (!SWIG_IsOK(res1
)) {
32578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32580 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32587 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32594 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32595 PyObject
*resultobj
= 0;
32596 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32597 wxTreeItemId
*arg2
= 0 ;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 char * kwnames
[] = {
32605 (char *) "self",(char *) "item", NULL
32608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32610 if (!SWIG_IsOK(res1
)) {
32611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32613 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32615 if (!SWIG_IsOK(res2
)) {
32616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32621 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32624 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32625 wxPyEndAllowThreads(__tstate
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32628 resultobj
= SWIG_Py_Void();
32635 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32636 PyObject
*resultobj
= 0;
32637 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32641 PyObject
*swig_obj
[1] ;
32643 if (!args
) SWIG_fail
;
32644 swig_obj
[0] = args
;
32645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32646 if (!SWIG_IsOK(res1
)) {
32647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32649 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32653 wxPyEndAllowThreads(__tstate
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32663 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32664 PyObject
*resultobj
= 0;
32665 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32666 wxPoint
*arg2
= 0 ;
32670 PyObject
* obj0
= 0 ;
32671 PyObject
* obj1
= 0 ;
32672 char * kwnames
[] = {
32673 (char *) "self",(char *) "pt", NULL
32676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32678 if (!SWIG_IsOK(res1
)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32681 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32688 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32689 wxPyEndAllowThreads(__tstate
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= SWIG_Py_Void();
32699 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32700 PyObject
*resultobj
= 0;
32701 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32702 wxKeyEvent
*result
= 0 ;
32705 PyObject
*swig_obj
[1] ;
32707 if (!args
) SWIG_fail
;
32708 swig_obj
[0] = args
;
32709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32710 if (!SWIG_IsOK(res1
)) {
32711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32713 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32717 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32718 result
= (wxKeyEvent
*) &_result_ref
;
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32730 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32731 PyObject
*resultobj
= 0;
32732 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32736 PyObject
*swig_obj
[1] ;
32738 if (!args
) SWIG_fail
;
32739 swig_obj
[0] = args
;
32740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32744 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= SWIG_From_int(static_cast< int >(result
));
32758 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32759 PyObject
*resultobj
= 0;
32760 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32761 wxKeyEvent
*arg2
= 0 ;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 char * kwnames
[] = {
32769 (char *) "self",(char *) "evt", NULL
32772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32774 if (!SWIG_IsOK(res1
)) {
32775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32777 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32779 if (!SWIG_IsOK(res2
)) {
32780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32785 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32788 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32789 wxPyEndAllowThreads(__tstate
);
32790 if (PyErr_Occurred()) SWIG_fail
;
32792 resultobj
= SWIG_Py_Void();
32799 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32800 PyObject
*resultobj
= 0;
32801 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32802 wxString
*result
= 0 ;
32805 PyObject
*swig_obj
[1] ;
32807 if (!args
) SWIG_fail
;
32808 swig_obj
[0] = args
;
32809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32810 if (!SWIG_IsOK(res1
)) {
32811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32813 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32818 result
= (wxString
*) &_result_ref
;
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32825 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32827 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32836 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32837 PyObject
*resultobj
= 0;
32838 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32839 wxString
*arg2
= 0 ;
32842 bool temp2
= false ;
32843 PyObject
* obj0
= 0 ;
32844 PyObject
* obj1
= 0 ;
32845 char * kwnames
[] = {
32846 (char *) "self",(char *) "label", NULL
32849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32851 if (!SWIG_IsOK(res1
)) {
32852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32854 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32856 arg2
= wxString_in_helper(obj1
);
32857 if (arg2
== NULL
) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 (arg1
)->SetLabel((wxString
const &)*arg2
);
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= SWIG_Py_Void();
32881 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32882 PyObject
*resultobj
= 0;
32883 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32887 PyObject
*swig_obj
[1] ;
32889 if (!args
) SWIG_fail
;
32890 swig_obj
[0] = args
;
32891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32892 if (!SWIG_IsOK(res1
)) {
32893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32895 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
32899 wxPyEndAllowThreads(__tstate
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32911 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
= 0;
32913 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32919 PyObject
* obj0
= 0 ;
32920 PyObject
* obj1
= 0 ;
32921 char * kwnames
[] = {
32922 (char *) "self",(char *) "editCancelled", NULL
32925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32927 if (!SWIG_IsOK(res1
)) {
32928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32930 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32932 if (!SWIG_IsOK(ecode2
)) {
32933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
32935 arg2
= static_cast< bool >(val2
);
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 (arg1
)->SetEditCanceled(arg2
);
32939 wxPyEndAllowThreads(__tstate
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= SWIG_Py_Void();
32949 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
= 0;
32951 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32952 wxString
*arg2
= 0 ;
32955 bool temp2
= false ;
32956 PyObject
* obj0
= 0 ;
32957 PyObject
* obj1
= 0 ;
32958 char * kwnames
[] = {
32959 (char *) "self",(char *) "toolTip", NULL
32962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32964 if (!SWIG_IsOK(res1
)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32967 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32969 arg2
= wxString_in_helper(obj1
);
32970 if (arg2
== NULL
) SWIG_fail
;
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32975 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32979 resultobj
= SWIG_Py_Void();
32994 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32995 PyObject
*resultobj
= 0;
32996 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33000 PyObject
*swig_obj
[1] ;
33002 if (!args
) SWIG_fail
;
33003 swig_obj
[0] = args
;
33004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33005 if (!SWIG_IsOK(res1
)) {
33006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33008 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33011 result
= (arg1
)->GetToolTip();
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33028 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33031 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33032 return SWIG_Py_Void();
33035 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33036 return SWIG_Python_InitShadowInstance(args
);
33039 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33040 PyObject
*resultobj
= 0;
33041 wxWindow
*arg1
= (wxWindow
*) 0 ;
33042 int arg2
= (int) -1 ;
33043 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33044 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33045 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33046 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33047 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33048 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33049 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33050 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33052 wxPyTreeCtrl
*result
= 0 ;
33063 bool temp7
= false ;
33064 PyObject
* obj0
= 0 ;
33065 PyObject
* obj1
= 0 ;
33066 PyObject
* obj2
= 0 ;
33067 PyObject
* obj3
= 0 ;
33068 PyObject
* obj4
= 0 ;
33069 PyObject
* obj5
= 0 ;
33070 PyObject
* obj6
= 0 ;
33071 char * kwnames
[] = {
33072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33077 if (!SWIG_IsOK(res1
)) {
33078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33083 if (!SWIG_IsOK(ecode2
)) {
33084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33086 arg2
= static_cast< int >(val2
);
33091 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33097 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33101 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33102 if (!SWIG_IsOK(ecode5
)) {
33103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33105 arg5
= static_cast< long >(val5
);
33108 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33109 if (!SWIG_IsOK(res6
)) {
33110 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33115 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33119 arg7
= wxString_in_helper(obj6
);
33120 if (arg7
== NULL
) SWIG_fail
;
33125 if (!wxPyCheckForApp()) SWIG_fail
;
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33146 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33147 PyObject
*resultobj
= 0;
33148 wxPyTreeCtrl
*result
= 0 ;
33150 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33152 if (!wxPyCheckForApp()) SWIG_fail
;
33153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33154 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33155 wxPyEndAllowThreads(__tstate
);
33156 if (PyErr_Occurred()) SWIG_fail
;
33158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33165 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33166 PyObject
*resultobj
= 0;
33167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33168 wxWindow
*arg2
= (wxWindow
*) 0 ;
33169 int arg3
= (int) -1 ;
33170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33174 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33175 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33176 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33177 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33178 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33192 bool temp8
= false ;
33193 PyObject
* obj0
= 0 ;
33194 PyObject
* obj1
= 0 ;
33195 PyObject
* obj2
= 0 ;
33196 PyObject
* obj3
= 0 ;
33197 PyObject
* obj4
= 0 ;
33198 PyObject
* obj5
= 0 ;
33199 PyObject
* obj6
= 0 ;
33200 PyObject
* obj7
= 0 ;
33201 char * kwnames
[] = {
33202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33207 if (!SWIG_IsOK(res1
)) {
33208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33210 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33212 if (!SWIG_IsOK(res2
)) {
33213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33218 if (!SWIG_IsOK(ecode3
)) {
33219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33221 arg3
= static_cast< int >(val3
);
33226 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33232 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33236 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33237 if (!SWIG_IsOK(ecode6
)) {
33238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33240 arg6
= static_cast< long >(val6
);
33243 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33244 if (!SWIG_IsOK(res7
)) {
33245 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33250 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33254 arg8
= wxString_in_helper(obj7
);
33255 if (arg8
== NULL
) SWIG_fail
;
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33282 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
= 0;
33284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33285 PyObject
*arg2
= (PyObject
*) 0 ;
33286 PyObject
*arg3
= (PyObject
*) 0 ;
33289 PyObject
* obj0
= 0 ;
33290 PyObject
* obj1
= 0 ;
33291 PyObject
* obj2
= 0 ;
33292 char * kwnames
[] = {
33293 (char *) "self",(char *) "self",(char *) "_class", NULL
33296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33298 if (!SWIG_IsOK(res1
)) {
33299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33301 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33307 wxPyEndAllowThreads(__tstate
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33310 resultobj
= SWIG_Py_Void();
33317 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33318 PyObject
*resultobj
= 0;
33319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33323 PyObject
*swig_obj
[1] ;
33325 if (!args
) SWIG_fail
;
33326 swig_obj
[0] = args
;
33327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33328 if (!SWIG_IsOK(res1
)) {
33329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33331 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33338 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33345 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33346 PyObject
*resultobj
= 0;
33347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33348 unsigned int result
;
33351 PyObject
*swig_obj
[1] ;
33353 if (!args
) SWIG_fail
;
33354 swig_obj
[0] = args
;
33355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33356 if (!SWIG_IsOK(res1
)) {
33357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33362 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33366 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33373 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33374 PyObject
*resultobj
= 0;
33375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33376 unsigned int arg2
;
33379 unsigned int val2
;
33381 PyObject
* obj0
= 0 ;
33382 PyObject
* obj1
= 0 ;
33383 char * kwnames
[] = {
33384 (char *) "self",(char *) "indent", NULL
33387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33389 if (!SWIG_IsOK(res1
)) {
33390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33392 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33393 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33394 if (!SWIG_IsOK(ecode2
)) {
33395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33397 arg2
= static_cast< unsigned int >(val2
);
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 (arg1
)->SetIndent(arg2
);
33401 wxPyEndAllowThreads(__tstate
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= SWIG_Py_Void();
33411 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33412 PyObject
*resultobj
= 0;
33413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33414 unsigned int result
;
33417 PyObject
*swig_obj
[1] ;
33419 if (!args
) SWIG_fail
;
33420 swig_obj
[0] = args
;
33421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33422 if (!SWIG_IsOK(res1
)) {
33423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33425 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33428 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33429 wxPyEndAllowThreads(__tstate
);
33430 if (PyErr_Occurred()) SWIG_fail
;
33432 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33439 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33440 PyObject
*resultobj
= 0;
33441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33442 unsigned int arg2
;
33445 unsigned int val2
;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 char * kwnames
[] = {
33450 (char *) "self",(char *) "spacing", NULL
33453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33455 if (!SWIG_IsOK(res1
)) {
33456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33458 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33459 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33460 if (!SWIG_IsOK(ecode2
)) {
33461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33463 arg2
= static_cast< unsigned int >(val2
);
33465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33466 (arg1
)->SetSpacing(arg2
);
33467 wxPyEndAllowThreads(__tstate
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33470 resultobj
= SWIG_Py_Void();
33477 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33478 PyObject
*resultobj
= 0;
33479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33480 wxImageList
*result
= 0 ;
33483 PyObject
*swig_obj
[1] ;
33485 if (!args
) SWIG_fail
;
33486 swig_obj
[0] = args
;
33487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33488 if (!SWIG_IsOK(res1
)) {
33489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33491 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33494 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33495 wxPyEndAllowThreads(__tstate
);
33496 if (PyErr_Occurred()) SWIG_fail
;
33499 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33507 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33508 PyObject
*resultobj
= 0;
33509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33510 wxImageList
*result
= 0 ;
33513 PyObject
*swig_obj
[1] ;
33515 if (!args
) SWIG_fail
;
33516 swig_obj
[0] = args
;
33517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33518 if (!SWIG_IsOK(res1
)) {
33519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33521 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33529 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33537 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
= 0;
33539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33540 wxImageList
*arg2
= (wxImageList
*) 0 ;
33545 PyObject
* obj0
= 0 ;
33546 PyObject
* obj1
= 0 ;
33547 char * kwnames
[] = {
33548 (char *) "self",(char *) "imageList", NULL
33551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33553 if (!SWIG_IsOK(res1
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33556 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33558 if (!SWIG_IsOK(res2
)) {
33559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33561 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33564 (arg1
)->SetImageList(arg2
);
33565 wxPyEndAllowThreads(__tstate
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= SWIG_Py_Void();
33575 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33576 PyObject
*resultobj
= 0;
33577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33578 wxImageList
*arg2
= (wxImageList
*) 0 ;
33583 PyObject
* obj0
= 0 ;
33584 PyObject
* obj1
= 0 ;
33585 char * kwnames
[] = {
33586 (char *) "self",(char *) "imageList", NULL
33589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33591 if (!SWIG_IsOK(res1
)) {
33592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33594 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33596 if (!SWIG_IsOK(res2
)) {
33597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33599 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33602 (arg1
)->SetStateImageList(arg2
);
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= SWIG_Py_Void();
33613 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
= 0;
33615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33616 wxImageList
*arg2
= (wxImageList
*) 0 ;
33620 PyObject
* obj0
= 0 ;
33621 PyObject
* obj1
= 0 ;
33622 char * kwnames
[] = {
33623 (char *) "self",(char *) "imageList", NULL
33626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33628 if (!SWIG_IsOK(res1
)) {
33629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33631 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33632 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33633 if (!SWIG_IsOK(res2
)) {
33634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 (arg1
)->AssignImageList(arg2
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= SWIG_Py_Void();
33649 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33650 PyObject
*resultobj
= 0;
33651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33652 wxImageList
*arg2
= (wxImageList
*) 0 ;
33656 PyObject
* obj0
= 0 ;
33657 PyObject
* obj1
= 0 ;
33658 char * kwnames
[] = {
33659 (char *) "self",(char *) "imageList", NULL
33662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33664 if (!SWIG_IsOK(res1
)) {
33665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33667 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33668 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33669 if (!SWIG_IsOK(res2
)) {
33670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33674 (arg1
)->AssignStateImageList(arg2
);
33675 wxPyEndAllowThreads(__tstate
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33678 resultobj
= SWIG_Py_Void();
33685 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
= 0;
33687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33688 wxTreeItemId
*arg2
= 0 ;
33694 PyObject
* obj0
= 0 ;
33695 PyObject
* obj1
= 0 ;
33696 char * kwnames
[] = {
33697 (char *) "self",(char *) "item", NULL
33700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33702 if (!SWIG_IsOK(res1
)) {
33703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33705 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33707 if (!SWIG_IsOK(res2
)) {
33708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33713 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33716 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33717 wxPyEndAllowThreads(__tstate
);
33718 if (PyErr_Occurred()) SWIG_fail
;
33722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33733 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33734 PyObject
*resultobj
= 0;
33735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33736 wxTreeItemId
*arg2
= 0 ;
33737 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33745 PyObject
* obj0
= 0 ;
33746 PyObject
* obj1
= 0 ;
33747 PyObject
* obj2
= 0 ;
33748 char * kwnames
[] = {
33749 (char *) "self",(char *) "item",(char *) "which", NULL
33752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33754 if (!SWIG_IsOK(res1
)) {
33755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33757 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33759 if (!SWIG_IsOK(res2
)) {
33760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33765 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33768 if (!SWIG_IsOK(ecode3
)) {
33769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33771 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33775 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33776 wxPyEndAllowThreads(__tstate
);
33777 if (PyErr_Occurred()) SWIG_fail
;
33779 resultobj
= SWIG_From_int(static_cast< int >(result
));
33786 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33787 PyObject
*resultobj
= 0;
33788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33789 wxTreeItemId
*arg2
= 0 ;
33790 wxPyTreeItemData
*result
= 0 ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 char * kwnames
[] = {
33798 (char *) "self",(char *) "item", NULL
33801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33803 if (!SWIG_IsOK(res1
)) {
33804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33806 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33808 if (!SWIG_IsOK(res2
)) {
33809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33814 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33828 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33829 PyObject
*resultobj
= 0;
33830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33831 wxTreeItemId
*arg2
= 0 ;
33832 PyObject
*result
= 0 ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 char * kwnames
[] = {
33840 (char *) "self",(char *) "item", NULL
33843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33845 if (!SWIG_IsOK(res1
)) {
33846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33848 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33850 if (!SWIG_IsOK(res2
)) {
33851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33856 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33859 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33860 wxPyEndAllowThreads(__tstate
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33863 resultobj
= result
;
33870 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33871 PyObject
*resultobj
= 0;
33872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33873 wxTreeItemId
*arg2
= 0 ;
33879 PyObject
* obj0
= 0 ;
33880 PyObject
* obj1
= 0 ;
33881 char * kwnames
[] = {
33882 (char *) "self",(char *) "item", NULL
33885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33887 if (!SWIG_IsOK(res1
)) {
33888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33890 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33892 if (!SWIG_IsOK(res2
)) {
33893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33898 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33912 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33913 PyObject
*resultobj
= 0;
33914 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33915 wxTreeItemId
*arg2
= 0 ;
33921 PyObject
* obj0
= 0 ;
33922 PyObject
* obj1
= 0 ;
33923 char * kwnames
[] = {
33924 (char *) "self",(char *) "item", NULL
33927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33929 if (!SWIG_IsOK(res1
)) {
33930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33932 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33934 if (!SWIG_IsOK(res2
)) {
33935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33940 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33943 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
33944 wxPyEndAllowThreads(__tstate
);
33945 if (PyErr_Occurred()) SWIG_fail
;
33947 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33954 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33955 PyObject
*resultobj
= 0;
33956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33957 wxTreeItemId
*arg2
= 0 ;
33963 PyObject
* obj0
= 0 ;
33964 PyObject
* obj1
= 0 ;
33965 char * kwnames
[] = {
33966 (char *) "self",(char *) "item", NULL
33969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33971 if (!SWIG_IsOK(res1
)) {
33972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33974 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33976 if (!SWIG_IsOK(res2
)) {
33977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33982 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33985 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
33986 wxPyEndAllowThreads(__tstate
);
33987 if (PyErr_Occurred()) SWIG_fail
;
33989 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
33996 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33997 PyObject
*resultobj
= 0;
33998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33999 wxTreeItemId
*arg2
= 0 ;
34000 wxString
*arg3
= 0 ;
34005 bool temp3
= false ;
34006 PyObject
* obj0
= 0 ;
34007 PyObject
* obj1
= 0 ;
34008 PyObject
* obj2
= 0 ;
34009 char * kwnames
[] = {
34010 (char *) "self",(char *) "item",(char *) "text", NULL
34013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",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_SetItemText" "', 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_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34026 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34028 arg3
= wxString_in_helper(obj2
);
34029 if (arg3
== NULL
) SWIG_fail
;
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= SWIG_Py_Void();
34053 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
= 0;
34055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34056 wxTreeItemId
*arg2
= 0 ;
34058 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34067 PyObject
* obj0
= 0 ;
34068 PyObject
* obj1
= 0 ;
34069 PyObject
* obj2
= 0 ;
34070 PyObject
* obj3
= 0 ;
34071 char * kwnames
[] = {
34072 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34077 if (!SWIG_IsOK(res1
)) {
34078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34082 if (!SWIG_IsOK(res2
)) {
34083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34088 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34090 if (!SWIG_IsOK(ecode3
)) {
34091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34093 arg3
= static_cast< int >(val3
);
34095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34096 if (!SWIG_IsOK(ecode4
)) {
34097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34099 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34107 resultobj
= SWIG_Py_Void();
34114 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34115 PyObject
*resultobj
= 0;
34116 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34117 wxTreeItemId
*arg2
= 0 ;
34118 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34124 PyObject
* obj0
= 0 ;
34125 PyObject
* obj1
= 0 ;
34126 PyObject
* obj2
= 0 ;
34127 char * kwnames
[] = {
34128 (char *) "self",(char *) "item",(char *) "data", NULL
34131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34138 if (!SWIG_IsOK(res2
)) {
34139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34144 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34145 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34146 if (!SWIG_IsOK(res3
)) {
34147 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34151 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34152 wxPyEndAllowThreads(__tstate
);
34153 if (PyErr_Occurred()) SWIG_fail
;
34155 resultobj
= SWIG_Py_Void();
34162 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34163 PyObject
*resultobj
= 0;
34164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34165 wxTreeItemId
*arg2
= 0 ;
34166 PyObject
*arg3
= (PyObject
*) 0 ;
34171 PyObject
* obj0
= 0 ;
34172 PyObject
* obj1
= 0 ;
34173 PyObject
* obj2
= 0 ;
34174 char * kwnames
[] = {
34175 (char *) "self",(char *) "item",(char *) "obj", NULL
34178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34180 if (!SWIG_IsOK(res1
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34183 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34185 if (!SWIG_IsOK(res2
)) {
34186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34191 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= SWIG_Py_Void();
34206 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34207 PyObject
*resultobj
= 0;
34208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34209 wxTreeItemId
*arg2
= 0 ;
34210 bool arg3
= (bool) true ;
34217 PyObject
* obj0
= 0 ;
34218 PyObject
* obj1
= 0 ;
34219 PyObject
* obj2
= 0 ;
34220 char * kwnames
[] = {
34221 (char *) "self",(char *) "item",(char *) "has", NULL
34224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34226 if (!SWIG_IsOK(res1
)) {
34227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34229 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34231 if (!SWIG_IsOK(res2
)) {
34232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34237 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34239 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34240 if (!SWIG_IsOK(ecode3
)) {
34241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34243 arg3
= static_cast< bool >(val3
);
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34251 resultobj
= SWIG_Py_Void();
34258 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34259 PyObject
*resultobj
= 0;
34260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34261 wxTreeItemId
*arg2
= 0 ;
34262 bool arg3
= (bool) true ;
34269 PyObject
* obj0
= 0 ;
34270 PyObject
* obj1
= 0 ;
34271 PyObject
* obj2
= 0 ;
34272 char * kwnames
[] = {
34273 (char *) "self",(char *) "item",(char *) "bold", NULL
34276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34278 if (!SWIG_IsOK(res1
)) {
34279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34281 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34283 if (!SWIG_IsOK(res2
)) {
34284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34289 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34291 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34292 if (!SWIG_IsOK(ecode3
)) {
34293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34295 arg3
= static_cast< bool >(val3
);
34298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34299 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34300 wxPyEndAllowThreads(__tstate
);
34301 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= SWIG_Py_Void();
34310 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34311 PyObject
*resultobj
= 0;
34312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34313 wxTreeItemId
*arg2
= 0 ;
34314 bool arg3
= (bool) true ;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 PyObject
* obj2
= 0 ;
34324 char * kwnames
[] = {
34325 (char *) "self",(char *) "item",(char *) "highlight", NULL
34328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34330 if (!SWIG_IsOK(res1
)) {
34331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34333 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34335 if (!SWIG_IsOK(res2
)) {
34336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34341 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34343 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34344 if (!SWIG_IsOK(ecode3
)) {
34345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34347 arg3
= static_cast< bool >(val3
);
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34351 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34355 resultobj
= SWIG_Py_Void();
34362 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34363 PyObject
*resultobj
= 0;
34364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34365 wxTreeItemId
*arg2
= 0 ;
34366 wxColour
*arg3
= 0 ;
34372 PyObject
* obj0
= 0 ;
34373 PyObject
* obj1
= 0 ;
34374 PyObject
* obj2
= 0 ;
34375 char * kwnames
[] = {
34376 (char *) "self",(char *) "item",(char *) "col", NULL
34379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34381 if (!SWIG_IsOK(res1
)) {
34382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34384 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34386 if (!SWIG_IsOK(res2
)) {
34387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34392 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34395 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34400 wxPyEndAllowThreads(__tstate
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34403 resultobj
= SWIG_Py_Void();
34410 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34411 PyObject
*resultobj
= 0;
34412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34413 wxTreeItemId
*arg2
= 0 ;
34414 wxColour
*arg3
= 0 ;
34420 PyObject
* obj0
= 0 ;
34421 PyObject
* obj1
= 0 ;
34422 PyObject
* obj2
= 0 ;
34423 char * kwnames
[] = {
34424 (char *) "self",(char *) "item",(char *) "col", NULL
34427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34429 if (!SWIG_IsOK(res1
)) {
34430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34432 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34434 if (!SWIG_IsOK(res2
)) {
34435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34440 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34443 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34447 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34448 wxPyEndAllowThreads(__tstate
);
34449 if (PyErr_Occurred()) SWIG_fail
;
34451 resultobj
= SWIG_Py_Void();
34458 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34459 PyObject
*resultobj
= 0;
34460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34461 wxTreeItemId
*arg2
= 0 ;
34469 PyObject
* obj0
= 0 ;
34470 PyObject
* obj1
= 0 ;
34471 PyObject
* obj2
= 0 ;
34472 char * kwnames
[] = {
34473 (char *) "self",(char *) "item",(char *) "font", NULL
34476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34478 if (!SWIG_IsOK(res1
)) {
34479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34481 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34483 if (!SWIG_IsOK(res2
)) {
34484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34489 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34490 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34491 if (!SWIG_IsOK(res3
)) {
34492 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34497 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34500 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34501 wxPyEndAllowThreads(__tstate
);
34502 if (PyErr_Occurred()) SWIG_fail
;
34504 resultobj
= SWIG_Py_Void();
34511 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34512 PyObject
*resultobj
= 0;
34513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34514 wxTreeItemId
*arg2
= 0 ;
34520 PyObject
* obj0
= 0 ;
34521 PyObject
* obj1
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "self",(char *) "item", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34531 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34533 if (!SWIG_IsOK(res2
)) {
34534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34539 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34542 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34543 wxPyEndAllowThreads(__tstate
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34555 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
= 0;
34557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34558 wxTreeItemId
*arg2
= 0 ;
34564 PyObject
* obj0
= 0 ;
34565 PyObject
* obj1
= 0 ;
34566 char * kwnames
[] = {
34567 (char *) "self",(char *) "item", NULL
34570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34572 if (!SWIG_IsOK(res1
)) {
34573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34575 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34577 if (!SWIG_IsOK(res2
)) {
34578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34583 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34586 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34587 wxPyEndAllowThreads(__tstate
);
34588 if (PyErr_Occurred()) SWIG_fail
;
34591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34599 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34600 PyObject
*resultobj
= 0;
34601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34602 wxTreeItemId
*arg2
= 0 ;
34608 PyObject
* obj0
= 0 ;
34609 PyObject
* obj1
= 0 ;
34610 char * kwnames
[] = {
34611 (char *) "self",(char *) "item", NULL
34614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34616 if (!SWIG_IsOK(res1
)) {
34617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34619 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34621 if (!SWIG_IsOK(res2
)) {
34622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34627 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34643 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34644 PyObject
*resultobj
= 0;
34645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34646 wxTreeItemId
*arg2
= 0 ;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "item", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34665 if (!SWIG_IsOK(res2
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34674 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34675 wxPyEndAllowThreads(__tstate
);
34676 if (PyErr_Occurred()) SWIG_fail
;
34679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34687 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34688 PyObject
*resultobj
= 0;
34689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34690 wxTreeItemId
*arg2
= 0 ;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 char * kwnames
[] = {
34699 (char *) "self",(char *) "item", NULL
34702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34704 if (!SWIG_IsOK(res1
)) {
34705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34707 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34709 if (!SWIG_IsOK(res2
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34715 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34731 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34732 PyObject
*resultobj
= 0;
34733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34734 wxTreeItemId
*arg2
= 0 ;
34735 bool arg3
= (bool) true ;
34743 PyObject
* obj0
= 0 ;
34744 PyObject
* obj1
= 0 ;
34745 PyObject
* obj2
= 0 ;
34746 char * kwnames
[] = {
34747 (char *) "self",(char *) "item",(char *) "recursively", NULL
34750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34752 if (!SWIG_IsOK(res1
)) {
34753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34755 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34757 if (!SWIG_IsOK(res2
)) {
34758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34763 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34765 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34766 if (!SWIG_IsOK(ecode3
)) {
34767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34769 arg3
= static_cast< bool >(val3
);
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34773 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34777 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34784 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34785 PyObject
*resultobj
= 0;
34786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34787 wxTreeItemId result
;
34790 PyObject
*swig_obj
[1] ;
34792 if (!args
) SWIG_fail
;
34793 swig_obj
[0] = args
;
34794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34795 if (!SWIG_IsOK(res1
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34798 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34802 wxPyEndAllowThreads(__tstate
);
34803 if (PyErr_Occurred()) SWIG_fail
;
34805 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34812 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34813 PyObject
*resultobj
= 0;
34814 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34815 wxTreeItemId result
;
34818 PyObject
*swig_obj
[1] ;
34820 if (!args
) SWIG_fail
;
34821 swig_obj
[0] = args
;
34822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34823 if (!SWIG_IsOK(res1
)) {
34824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34826 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34829 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34830 wxPyEndAllowThreads(__tstate
);
34831 if (PyErr_Occurred()) SWIG_fail
;
34833 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34840 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34841 PyObject
*resultobj
= 0;
34842 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34843 PyObject
*result
= 0 ;
34846 PyObject
*swig_obj
[1] ;
34848 if (!args
) SWIG_fail
;
34849 swig_obj
[0] = args
;
34850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34854 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34857 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34858 wxPyEndAllowThreads(__tstate
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34861 resultobj
= result
;
34868 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34869 PyObject
*resultobj
= 0;
34870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34871 wxTreeItemId
*arg2
= 0 ;
34872 wxTreeItemId result
;
34877 PyObject
* obj0
= 0 ;
34878 PyObject
* obj1
= 0 ;
34879 char * kwnames
[] = {
34880 (char *) "self",(char *) "item", NULL
34883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34885 if (!SWIG_IsOK(res1
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34888 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34890 if (!SWIG_IsOK(res2
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34896 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
34900 wxPyEndAllowThreads(__tstate
);
34901 if (PyErr_Occurred()) SWIG_fail
;
34903 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34910 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
= 0;
34912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34913 wxTreeItemId
*arg2
= 0 ;
34914 PyObject
*result
= 0 ;
34919 PyObject
* obj0
= 0 ;
34920 PyObject
* obj1
= 0 ;
34921 char * kwnames
[] = {
34922 (char *) "self",(char *) "item", NULL
34925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34927 if (!SWIG_IsOK(res1
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34930 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34932 if (!SWIG_IsOK(res2
)) {
34933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34938 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34941 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34945 resultobj
= result
;
34952 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
= 0;
34954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34955 wxTreeItemId
*arg2
= 0 ;
34956 void *arg3
= (void *) 0 ;
34957 PyObject
*result
= 0 ;
34963 PyObject
* obj0
= 0 ;
34964 PyObject
* obj1
= 0 ;
34965 PyObject
* obj2
= 0 ;
34966 char * kwnames
[] = {
34967 (char *) "self",(char *) "item",(char *) "cookie", NULL
34970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34972 if (!SWIG_IsOK(res1
)) {
34973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34975 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34977 if (!SWIG_IsOK(res2
)) {
34978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34983 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34984 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
34985 if (!SWIG_IsOK(res3
)) {
34986 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
34989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34990 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34991 wxPyEndAllowThreads(__tstate
);
34992 if (PyErr_Occurred()) SWIG_fail
;
34994 resultobj
= result
;
35001 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35002 PyObject
*resultobj
= 0;
35003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35004 wxTreeItemId
*arg2
= 0 ;
35005 wxTreeItemId result
;
35010 PyObject
* obj0
= 0 ;
35011 PyObject
* obj1
= 0 ;
35012 char * kwnames
[] = {
35013 (char *) "self",(char *) "item", NULL
35016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35018 if (!SWIG_IsOK(res1
)) {
35019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35021 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35023 if (!SWIG_IsOK(res2
)) {
35024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35029 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35032 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35033 wxPyEndAllowThreads(__tstate
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35036 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35043 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35044 PyObject
*resultobj
= 0;
35045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35046 wxTreeItemId
*arg2
= 0 ;
35047 wxTreeItemId result
;
35052 PyObject
* obj0
= 0 ;
35053 PyObject
* obj1
= 0 ;
35054 char * kwnames
[] = {
35055 (char *) "self",(char *) "item", NULL
35058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35060 if (!SWIG_IsOK(res1
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35063 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35065 if (!SWIG_IsOK(res2
)) {
35066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35071 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35078 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35085 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
= 0;
35087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35088 wxTreeItemId
*arg2
= 0 ;
35089 wxTreeItemId result
;
35094 PyObject
* obj0
= 0 ;
35095 PyObject
* obj1
= 0 ;
35096 char * kwnames
[] = {
35097 (char *) "self",(char *) "item", NULL
35100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35102 if (!SWIG_IsOK(res1
)) {
35103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35107 if (!SWIG_IsOK(res2
)) {
35108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35113 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35120 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35127 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35128 PyObject
*resultobj
= 0;
35129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35130 wxTreeItemId result
;
35133 PyObject
*swig_obj
[1] ;
35135 if (!args
) SWIG_fail
;
35136 swig_obj
[0] = args
;
35137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35138 if (!SWIG_IsOK(res1
)) {
35139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35141 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35144 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35145 wxPyEndAllowThreads(__tstate
);
35146 if (PyErr_Occurred()) SWIG_fail
;
35148 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35155 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35156 PyObject
*resultobj
= 0;
35157 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35158 wxTreeItemId
*arg2
= 0 ;
35159 wxTreeItemId result
;
35164 PyObject
* obj0
= 0 ;
35165 PyObject
* obj1
= 0 ;
35166 char * kwnames
[] = {
35167 (char *) "self",(char *) "item", NULL
35170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35172 if (!SWIG_IsOK(res1
)) {
35173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35175 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35177 if (!SWIG_IsOK(res2
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35183 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35186 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35187 wxPyEndAllowThreads(__tstate
);
35188 if (PyErr_Occurred()) SWIG_fail
;
35190 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35197 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35198 PyObject
*resultobj
= 0;
35199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35200 wxTreeItemId
*arg2
= 0 ;
35201 wxTreeItemId result
;
35206 PyObject
* obj0
= 0 ;
35207 PyObject
* obj1
= 0 ;
35208 char * kwnames
[] = {
35209 (char *) "self",(char *) "item", NULL
35212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35214 if (!SWIG_IsOK(res1
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35217 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35219 if (!SWIG_IsOK(res2
)) {
35220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35225 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35228 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35229 wxPyEndAllowThreads(__tstate
);
35230 if (PyErr_Occurred()) SWIG_fail
;
35232 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35239 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35240 PyObject
*resultobj
= 0;
35241 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35242 wxString
*arg2
= 0 ;
35243 int arg3
= (int) -1 ;
35244 int arg4
= (int) -1 ;
35245 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35246 wxTreeItemId result
;
35249 bool temp2
= false ;
35255 PyObject
* obj0
= 0 ;
35256 PyObject
* obj1
= 0 ;
35257 PyObject
* obj2
= 0 ;
35258 PyObject
* obj3
= 0 ;
35259 PyObject
* obj4
= 0 ;
35260 char * kwnames
[] = {
35261 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35266 if (!SWIG_IsOK(res1
)) {
35267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35269 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35271 arg2
= wxString_in_helper(obj1
);
35272 if (arg2
== NULL
) SWIG_fail
;
35276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35277 if (!SWIG_IsOK(ecode3
)) {
35278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35280 arg3
= static_cast< int >(val3
);
35283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35284 if (!SWIG_IsOK(ecode4
)) {
35285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35287 arg4
= static_cast< int >(val4
);
35290 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35291 if (!SWIG_IsOK(res5
)) {
35292 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35316 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35317 PyObject
*resultobj
= 0;
35318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35319 wxTreeItemId
*arg2
= 0 ;
35320 wxString
*arg3
= 0 ;
35321 int arg4
= (int) -1 ;
35322 int arg5
= (int) -1 ;
35323 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35324 wxTreeItemId result
;
35329 bool temp3
= false ;
35335 PyObject
* obj0
= 0 ;
35336 PyObject
* obj1
= 0 ;
35337 PyObject
* obj2
= 0 ;
35338 PyObject
* obj3
= 0 ;
35339 PyObject
* obj4
= 0 ;
35340 PyObject
* obj5
= 0 ;
35341 char * kwnames
[] = {
35342 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35347 if (!SWIG_IsOK(res1
)) {
35348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35350 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35352 if (!SWIG_IsOK(res2
)) {
35353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35358 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35360 arg3
= wxString_in_helper(obj2
);
35361 if (arg3
== NULL
) SWIG_fail
;
35365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35366 if (!SWIG_IsOK(ecode4
)) {
35367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35369 arg4
= static_cast< int >(val4
);
35372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35373 if (!SWIG_IsOK(ecode5
)) {
35374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35376 arg5
= static_cast< int >(val5
);
35379 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35380 if (!SWIG_IsOK(res6
)) {
35381 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35386 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35387 wxPyEndAllowThreads(__tstate
);
35388 if (PyErr_Occurred()) SWIG_fail
;
35390 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35405 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35406 PyObject
*resultobj
= 0;
35407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35408 wxTreeItemId
*arg2
= 0 ;
35409 wxTreeItemId
*arg3
= 0 ;
35410 wxString
*arg4
= 0 ;
35411 int arg5
= (int) -1 ;
35412 int arg6
= (int) -1 ;
35413 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35414 wxTreeItemId result
;
35421 bool temp4
= false ;
35427 PyObject
* obj0
= 0 ;
35428 PyObject
* obj1
= 0 ;
35429 PyObject
* obj2
= 0 ;
35430 PyObject
* obj3
= 0 ;
35431 PyObject
* obj4
= 0 ;
35432 PyObject
* obj5
= 0 ;
35433 PyObject
* obj6
= 0 ;
35434 char * kwnames
[] = {
35435 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35440 if (!SWIG_IsOK(res1
)) {
35441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35443 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35445 if (!SWIG_IsOK(res2
)) {
35446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35451 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35452 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35453 if (!SWIG_IsOK(res3
)) {
35454 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35459 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35461 arg4
= wxString_in_helper(obj3
);
35462 if (arg4
== NULL
) SWIG_fail
;
35466 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35467 if (!SWIG_IsOK(ecode5
)) {
35468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35470 arg5
= static_cast< int >(val5
);
35473 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35474 if (!SWIG_IsOK(ecode6
)) {
35475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35477 arg6
= static_cast< int >(val6
);
35480 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35481 if (!SWIG_IsOK(res7
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35488 wxPyEndAllowThreads(__tstate
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35491 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35506 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35507 PyObject
*resultobj
= 0;
35508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35509 wxTreeItemId
*arg2
= 0 ;
35511 wxString
*arg4
= 0 ;
35512 int arg5
= (int) -1 ;
35513 int arg6
= (int) -1 ;
35514 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35515 wxTreeItemId result
;
35522 bool temp4
= false ;
35528 PyObject
* obj0
= 0 ;
35529 PyObject
* obj1
= 0 ;
35530 PyObject
* obj2
= 0 ;
35531 PyObject
* obj3
= 0 ;
35532 PyObject
* obj4
= 0 ;
35533 PyObject
* obj5
= 0 ;
35534 PyObject
* obj6
= 0 ;
35535 char * kwnames
[] = {
35536 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35541 if (!SWIG_IsOK(res1
)) {
35542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35544 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35546 if (!SWIG_IsOK(res2
)) {
35547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35552 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35553 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35554 if (!SWIG_IsOK(ecode3
)) {
35555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35557 arg3
= static_cast< size_t >(val3
);
35559 arg4
= wxString_in_helper(obj3
);
35560 if (arg4
== NULL
) SWIG_fail
;
35564 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35565 if (!SWIG_IsOK(ecode5
)) {
35566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35568 arg5
= static_cast< int >(val5
);
35571 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35572 if (!SWIG_IsOK(ecode6
)) {
35573 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35575 arg6
= static_cast< int >(val6
);
35578 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35579 if (!SWIG_IsOK(res7
)) {
35580 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35589 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35604 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35605 PyObject
*resultobj
= 0;
35606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35607 wxTreeItemId
*arg2
= 0 ;
35608 wxString
*arg3
= 0 ;
35609 int arg4
= (int) -1 ;
35610 int arg5
= (int) -1 ;
35611 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35612 wxTreeItemId result
;
35617 bool temp3
= false ;
35623 PyObject
* obj0
= 0 ;
35624 PyObject
* obj1
= 0 ;
35625 PyObject
* obj2
= 0 ;
35626 PyObject
* obj3
= 0 ;
35627 PyObject
* obj4
= 0 ;
35628 PyObject
* obj5
= 0 ;
35629 char * kwnames
[] = {
35630 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35635 if (!SWIG_IsOK(res1
)) {
35636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35638 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35640 if (!SWIG_IsOK(res2
)) {
35641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35646 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35648 arg3
= wxString_in_helper(obj2
);
35649 if (arg3
== NULL
) SWIG_fail
;
35653 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35654 if (!SWIG_IsOK(ecode4
)) {
35655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35657 arg4
= static_cast< int >(val4
);
35660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35661 if (!SWIG_IsOK(ecode5
)) {
35662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35664 arg5
= static_cast< int >(val5
);
35667 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35668 if (!SWIG_IsOK(res6
)) {
35669 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35674 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35675 wxPyEndAllowThreads(__tstate
);
35676 if (PyErr_Occurred()) SWIG_fail
;
35678 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35693 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35694 PyObject
*resultobj
= 0;
35695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35696 wxTreeItemId
*arg2
= 0 ;
35701 PyObject
* obj0
= 0 ;
35702 PyObject
* obj1
= 0 ;
35703 char * kwnames
[] = {
35704 (char *) "self",(char *) "item", NULL
35707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35709 if (!SWIG_IsOK(res1
)) {
35710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35712 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35714 if (!SWIG_IsOK(res2
)) {
35715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35720 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35724 wxPyEndAllowThreads(__tstate
);
35725 if (PyErr_Occurred()) SWIG_fail
;
35727 resultobj
= SWIG_Py_Void();
35734 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
= 0;
35736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35737 wxTreeItemId
*arg2
= 0 ;
35742 PyObject
* obj0
= 0 ;
35743 PyObject
* obj1
= 0 ;
35744 char * kwnames
[] = {
35745 (char *) "self",(char *) "item", NULL
35748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35750 if (!SWIG_IsOK(res1
)) {
35751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35753 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35755 if (!SWIG_IsOK(res2
)) {
35756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35761 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35764 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35768 resultobj
= SWIG_Py_Void();
35775 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35776 PyObject
*resultobj
= 0;
35777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35780 PyObject
*swig_obj
[1] ;
35782 if (!args
) SWIG_fail
;
35783 swig_obj
[0] = args
;
35784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35785 if (!SWIG_IsOK(res1
)) {
35786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35788 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35791 (arg1
)->DeleteAllItems();
35792 wxPyEndAllowThreads(__tstate
);
35793 if (PyErr_Occurred()) SWIG_fail
;
35795 resultobj
= SWIG_Py_Void();
35802 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35803 PyObject
*resultobj
= 0;
35804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35805 wxTreeItemId
*arg2
= 0 ;
35810 PyObject
* obj0
= 0 ;
35811 PyObject
* obj1
= 0 ;
35812 char * kwnames
[] = {
35813 (char *) "self",(char *) "item", NULL
35816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35818 if (!SWIG_IsOK(res1
)) {
35819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35821 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35823 if (!SWIG_IsOK(res2
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35829 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 resultobj
= SWIG_Py_Void();
35843 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35844 PyObject
*resultobj
= 0;
35845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35846 wxTreeItemId
*arg2
= 0 ;
35851 PyObject
* obj0
= 0 ;
35852 PyObject
* obj1
= 0 ;
35853 char * kwnames
[] = {
35854 (char *) "self",(char *) "item", NULL
35857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35859 if (!SWIG_IsOK(res1
)) {
35860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35862 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35864 if (!SWIG_IsOK(res2
)) {
35865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35870 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35873 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35877 resultobj
= SWIG_Py_Void();
35884 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35885 PyObject
*resultobj
= 0;
35886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35887 wxTreeItemId
*arg2
= 0 ;
35892 PyObject
* obj0
= 0 ;
35893 PyObject
* obj1
= 0 ;
35894 char * kwnames
[] = {
35895 (char *) "self",(char *) "item", NULL
35898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35900 if (!SWIG_IsOK(res1
)) {
35901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35903 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35905 if (!SWIG_IsOK(res2
)) {
35906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35911 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
35915 wxPyEndAllowThreads(__tstate
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35918 resultobj
= SWIG_Py_Void();
35925 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35926 PyObject
*resultobj
= 0;
35927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35928 wxTreeItemId
*arg2
= 0 ;
35933 PyObject
* obj0
= 0 ;
35934 PyObject
* obj1
= 0 ;
35935 char * kwnames
[] = {
35936 (char *) "self",(char *) "item", NULL
35939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35941 if (!SWIG_IsOK(res1
)) {
35942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35944 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35946 if (!SWIG_IsOK(res2
)) {
35947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35952 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35955 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
35956 wxPyEndAllowThreads(__tstate
);
35957 if (PyErr_Occurred()) SWIG_fail
;
35959 resultobj
= SWIG_Py_Void();
35966 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35967 PyObject
*resultobj
= 0;
35968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35971 PyObject
*swig_obj
[1] ;
35973 if (!args
) SWIG_fail
;
35974 swig_obj
[0] = args
;
35975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35976 if (!SWIG_IsOK(res1
)) {
35977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35979 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35982 (arg1
)->Unselect();
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_Py_Void();
35993 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
= 0;
35995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35996 wxTreeItemId
*arg2
= 0 ;
36001 PyObject
* obj0
= 0 ;
36002 PyObject
* obj1
= 0 ;
36003 char * kwnames
[] = {
36004 (char *) "self",(char *) "item", NULL
36007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36009 if (!SWIG_IsOK(res1
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36012 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36014 if (!SWIG_IsOK(res2
)) {
36015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36020 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36023 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36024 wxPyEndAllowThreads(__tstate
);
36025 if (PyErr_Occurred()) SWIG_fail
;
36027 resultobj
= SWIG_Py_Void();
36034 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36035 PyObject
*resultobj
= 0;
36036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36039 PyObject
*swig_obj
[1] ;
36041 if (!args
) SWIG_fail
;
36042 swig_obj
[0] = args
;
36043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36044 if (!SWIG_IsOK(res1
)) {
36045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36047 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36050 (arg1
)->UnselectAll();
36051 wxPyEndAllowThreads(__tstate
);
36052 if (PyErr_Occurred()) SWIG_fail
;
36054 resultobj
= SWIG_Py_Void();
36061 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
= 0;
36063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36064 wxTreeItemId
*arg2
= 0 ;
36065 bool arg3
= (bool) true ;
36072 PyObject
* obj0
= 0 ;
36073 PyObject
* obj1
= 0 ;
36074 PyObject
* obj2
= 0 ;
36075 char * kwnames
[] = {
36076 (char *) "self",(char *) "item",(char *) "select", NULL
36079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36081 if (!SWIG_IsOK(res1
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36084 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36086 if (!SWIG_IsOK(res2
)) {
36087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36092 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36094 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36095 if (!SWIG_IsOK(ecode3
)) {
36096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36098 arg3
= static_cast< bool >(val3
);
36101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36102 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36106 resultobj
= SWIG_Py_Void();
36113 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36114 PyObject
*resultobj
= 0;
36115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36116 wxTreeItemId
*arg2
= 0 ;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 char * kwnames
[] = {
36124 (char *) "self",(char *) "item", NULL
36127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36129 if (!SWIG_IsOK(res1
)) {
36130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36132 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36134 if (!SWIG_IsOK(res2
)) {
36135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36140 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36143 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= SWIG_Py_Void();
36154 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36155 PyObject
*resultobj
= 0;
36156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36157 wxTreeItemId
*arg2
= 0 ;
36162 PyObject
* obj0
= 0 ;
36163 PyObject
* obj1
= 0 ;
36164 char * kwnames
[] = {
36165 (char *) "self",(char *) "item", NULL
36168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36170 if (!SWIG_IsOK(res1
)) {
36171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36175 if (!SWIG_IsOK(res2
)) {
36176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36181 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36184 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36185 wxPyEndAllowThreads(__tstate
);
36186 if (PyErr_Occurred()) SWIG_fail
;
36188 resultobj
= SWIG_Py_Void();
36195 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
= 0;
36197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36198 wxTreeItemId
*arg2
= 0 ;
36203 PyObject
* obj0
= 0 ;
36204 PyObject
* obj1
= 0 ;
36205 char * kwnames
[] = {
36206 (char *) "self",(char *) "item", NULL
36209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36211 if (!SWIG_IsOK(res1
)) {
36212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36214 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36216 if (!SWIG_IsOK(res2
)) {
36217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36222 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36225 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36226 wxPyEndAllowThreads(__tstate
);
36227 if (PyErr_Occurred()) SWIG_fail
;
36229 resultobj
= SWIG_Py_Void();
36236 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36237 PyObject
*resultobj
= 0;
36238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36239 wxTreeItemId
*arg2
= 0 ;
36244 PyObject
* obj0
= 0 ;
36245 PyObject
* obj1
= 0 ;
36246 char * kwnames
[] = {
36247 (char *) "self",(char *) "item", NULL
36250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36252 if (!SWIG_IsOK(res1
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36255 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36257 if (!SWIG_IsOK(res2
)) {
36258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36263 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36267 wxPyEndAllowThreads(__tstate
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36270 resultobj
= SWIG_Py_Void();
36277 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36278 PyObject
*resultobj
= 0;
36279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36280 wxTextCtrl
*result
= 0 ;
36283 PyObject
*swig_obj
[1] ;
36285 if (!args
) SWIG_fail
;
36286 swig_obj
[0] = args
;
36287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36288 if (!SWIG_IsOK(res1
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36291 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36294 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36299 resultobj
= wxPyMake_wxObject(result
, 0);
36307 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36308 PyObject
*resultobj
= 0;
36309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36310 wxTreeItemId
*arg2
= 0 ;
36315 PyObject
* obj0
= 0 ;
36316 PyObject
* obj1
= 0 ;
36317 char * kwnames
[] = {
36318 (char *) "self",(char *) "item", NULL
36321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36323 if (!SWIG_IsOK(res1
)) {
36324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36326 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36328 if (!SWIG_IsOK(res2
)) {
36329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36334 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36338 wxPyEndAllowThreads(__tstate
);
36339 if (PyErr_Occurred()) SWIG_fail
;
36341 resultobj
= SWIG_Py_Void();
36348 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36349 PyObject
*resultobj
= 0;
36350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36351 wxPoint
*arg2
= 0 ;
36353 wxTreeItemId result
;
36358 int res3
= SWIG_TMPOBJ
;
36359 PyObject
* obj0
= 0 ;
36360 PyObject
* obj1
= 0 ;
36361 char * kwnames
[] = {
36362 (char *) "self",(char *) "point", NULL
36366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36368 if (!SWIG_IsOK(res1
)) {
36369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36374 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36378 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36379 wxPyEndAllowThreads(__tstate
);
36380 if (PyErr_Occurred()) SWIG_fail
;
36382 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36383 if (SWIG_IsTmpObj(res3
)) {
36384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36386 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36395 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36396 PyObject
*resultobj
= 0;
36397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36398 wxTreeItemId
*arg2
= 0 ;
36399 bool arg3
= (bool) false ;
36400 PyObject
*result
= 0 ;
36407 PyObject
* obj0
= 0 ;
36408 PyObject
* obj1
= 0 ;
36409 PyObject
* obj2
= 0 ;
36410 char * kwnames
[] = {
36411 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36416 if (!SWIG_IsOK(res1
)) {
36417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36419 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36420 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36421 if (!SWIG_IsOK(res2
)) {
36422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36427 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36429 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36430 if (!SWIG_IsOK(ecode3
)) {
36431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36433 arg3
= static_cast< bool >(val3
);
36436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36437 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36438 wxPyEndAllowThreads(__tstate
);
36439 if (PyErr_Occurred()) SWIG_fail
;
36441 resultobj
= result
;
36448 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36449 PyObject
*resultobj
= 0;
36450 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36451 SwigValueWrapper
<wxVisualAttributes
> result
;
36454 PyObject
* obj0
= 0 ;
36455 char * kwnames
[] = {
36456 (char *) "variant", NULL
36459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36461 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36462 if (!SWIG_IsOK(ecode1
)) {
36463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36465 arg1
= static_cast< wxWindowVariant
>(val1
);
36468 if (!wxPyCheckForApp()) SWIG_fail
;
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36471 wxPyEndAllowThreads(__tstate
);
36472 if (PyErr_Occurred()) SWIG_fail
;
36474 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36481 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36484 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36485 return SWIG_Py_Void();
36488 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36489 return SWIG_Python_InitShadowInstance(args
);
36492 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36493 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36498 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36499 PyObject
*pyobj
= 0;
36503 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36505 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36512 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36513 PyObject
*resultobj
= 0;
36514 wxWindow
*arg1
= (wxWindow
*) 0 ;
36515 int arg2
= (int) (int)-1 ;
36516 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36522 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36523 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36525 int arg8
= (int) 0 ;
36526 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36528 wxGenericDirCtrl
*result
= 0 ;
36533 bool temp3
= false ;
36538 bool temp7
= false ;
36541 bool temp9
= false ;
36542 PyObject
* obj0
= 0 ;
36543 PyObject
* obj1
= 0 ;
36544 PyObject
* obj2
= 0 ;
36545 PyObject
* obj3
= 0 ;
36546 PyObject
* obj4
= 0 ;
36547 PyObject
* obj5
= 0 ;
36548 PyObject
* obj6
= 0 ;
36549 PyObject
* obj7
= 0 ;
36550 PyObject
* obj8
= 0 ;
36551 char * kwnames
[] = {
36552 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36557 if (!SWIG_IsOK(res1
)) {
36558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36560 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36563 if (!SWIG_IsOK(ecode2
)) {
36564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36566 arg2
= static_cast< int >(val2
);
36570 arg3
= wxString_in_helper(obj2
);
36571 if (arg3
== NULL
) SWIG_fail
;
36578 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36584 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36588 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36589 if (!SWIG_IsOK(ecode6
)) {
36590 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36592 arg6
= static_cast< long >(val6
);
36596 arg7
= wxString_in_helper(obj6
);
36597 if (arg7
== NULL
) SWIG_fail
;
36602 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36603 if (!SWIG_IsOK(ecode8
)) {
36604 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36606 arg8
= static_cast< int >(val8
);
36610 arg9
= wxString_in_helper(obj8
);
36611 if (arg9
== NULL
) SWIG_fail
;
36616 if (!wxPyCheckForApp()) SWIG_fail
;
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36619 wxPyEndAllowThreads(__tstate
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36653 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36654 PyObject
*resultobj
= 0;
36655 wxGenericDirCtrl
*result
= 0 ;
36657 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36659 if (!wxPyCheckForApp()) SWIG_fail
;
36660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36661 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36662 wxPyEndAllowThreads(__tstate
);
36663 if (PyErr_Occurred()) SWIG_fail
;
36665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36672 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36673 PyObject
*resultobj
= 0;
36674 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36675 wxWindow
*arg2
= (wxWindow
*) 0 ;
36676 int arg3
= (int) (int)-1 ;
36677 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36678 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36679 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36680 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36681 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36682 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36683 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36684 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36685 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36686 int arg9
= (int) 0 ;
36687 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36688 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36696 bool temp4
= false ;
36701 bool temp8
= false ;
36704 bool temp10
= false ;
36705 PyObject
* obj0
= 0 ;
36706 PyObject
* obj1
= 0 ;
36707 PyObject
* obj2
= 0 ;
36708 PyObject
* obj3
= 0 ;
36709 PyObject
* obj4
= 0 ;
36710 PyObject
* obj5
= 0 ;
36711 PyObject
* obj6
= 0 ;
36712 PyObject
* obj7
= 0 ;
36713 PyObject
* obj8
= 0 ;
36714 PyObject
* obj9
= 0 ;
36715 char * kwnames
[] = {
36716 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36721 if (!SWIG_IsOK(res1
)) {
36722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36724 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36726 if (!SWIG_IsOK(res2
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36732 if (!SWIG_IsOK(ecode3
)) {
36733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36735 arg3
= static_cast< int >(val3
);
36739 arg4
= wxString_in_helper(obj3
);
36740 if (arg4
== NULL
) SWIG_fail
;
36747 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36753 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36757 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36758 if (!SWIG_IsOK(ecode7
)) {
36759 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36761 arg7
= static_cast< long >(val7
);
36765 arg8
= wxString_in_helper(obj7
);
36766 if (arg8
== NULL
) SWIG_fail
;
36771 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36772 if (!SWIG_IsOK(ecode9
)) {
36773 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36775 arg9
= static_cast< int >(val9
);
36779 arg10
= wxString_in_helper(obj9
);
36780 if (arg10
== NULL
) SWIG_fail
;
36785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36823 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36824 PyObject
*resultobj
= 0;
36825 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36826 wxString
*arg2
= 0 ;
36830 bool temp2
= false ;
36831 PyObject
* obj0
= 0 ;
36832 PyObject
* obj1
= 0 ;
36833 char * kwnames
[] = {
36834 (char *) "self",(char *) "path", NULL
36837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36839 if (!SWIG_IsOK(res1
)) {
36840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36842 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36844 arg2
= wxString_in_helper(obj1
);
36845 if (arg2
== NULL
) SWIG_fail
;
36849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36850 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
36851 wxPyEndAllowThreads(__tstate
);
36852 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36871 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36872 PyObject
*resultobj
= 0;
36873 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36877 PyObject
*swig_obj
[1] ;
36879 if (!args
) SWIG_fail
;
36880 swig_obj
[0] = args
;
36881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36882 if (!SWIG_IsOK(res1
)) {
36883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36885 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36888 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
36889 wxPyEndAllowThreads(__tstate
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36905 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36906 PyObject
*resultobj
= 0;
36907 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36908 wxString
*arg2
= 0 ;
36911 bool temp2
= false ;
36912 PyObject
* obj0
= 0 ;
36913 PyObject
* obj1
= 0 ;
36914 char * kwnames
[] = {
36915 (char *) "self",(char *) "path", NULL
36918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36920 if (!SWIG_IsOK(res1
)) {
36921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36923 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36925 arg2
= wxString_in_helper(obj1
);
36926 if (arg2
== NULL
) SWIG_fail
;
36930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36931 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
36932 wxPyEndAllowThreads(__tstate
);
36933 if (PyErr_Occurred()) SWIG_fail
;
36935 resultobj
= SWIG_Py_Void();
36950 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36951 PyObject
*resultobj
= 0;
36952 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36956 PyObject
*swig_obj
[1] ;
36958 if (!args
) SWIG_fail
;
36959 swig_obj
[0] = args
;
36960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36961 if (!SWIG_IsOK(res1
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36964 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36967 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
36968 wxPyEndAllowThreads(__tstate
);
36969 if (PyErr_Occurred()) SWIG_fail
;
36973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36984 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36985 PyObject
*resultobj
= 0;
36986 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36990 PyObject
*swig_obj
[1] ;
36992 if (!args
) SWIG_fail
;
36993 swig_obj
[0] = args
;
36994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36995 if (!SWIG_IsOK(res1
)) {
36996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36998 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37001 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37002 wxPyEndAllowThreads(__tstate
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37018 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37019 PyObject
*resultobj
= 0;
37020 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37021 wxString
*arg2
= 0 ;
37024 bool temp2
= false ;
37025 PyObject
* obj0
= 0 ;
37026 PyObject
* obj1
= 0 ;
37027 char * kwnames
[] = {
37028 (char *) "self",(char *) "path", NULL
37031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37033 if (!SWIG_IsOK(res1
)) {
37034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37036 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37038 arg2
= wxString_in_helper(obj1
);
37039 if (arg2
== NULL
) SWIG_fail
;
37043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37044 (arg1
)->SetPath((wxString
const &)*arg2
);
37045 wxPyEndAllowThreads(__tstate
);
37046 if (PyErr_Occurred()) SWIG_fail
;
37048 resultobj
= SWIG_Py_Void();
37063 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37064 PyObject
*resultobj
= 0;
37065 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37071 PyObject
* obj0
= 0 ;
37072 PyObject
* obj1
= 0 ;
37073 char * kwnames
[] = {
37074 (char *) "self",(char *) "show", NULL
37077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37079 if (!SWIG_IsOK(res1
)) {
37080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37082 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37083 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37084 if (!SWIG_IsOK(ecode2
)) {
37085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37087 arg2
= static_cast< bool >(val2
);
37089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37090 (arg1
)->ShowHidden(arg2
);
37091 wxPyEndAllowThreads(__tstate
);
37092 if (PyErr_Occurred()) SWIG_fail
;
37094 resultobj
= SWIG_Py_Void();
37101 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37102 PyObject
*resultobj
= 0;
37103 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37107 PyObject
*swig_obj
[1] ;
37109 if (!args
) SWIG_fail
;
37110 swig_obj
[0] = args
;
37111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37112 if (!SWIG_IsOK(res1
)) {
37113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37115 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 result
= (bool)(arg1
)->GetShowHidden();
37119 wxPyEndAllowThreads(__tstate
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37131 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37132 PyObject
*resultobj
= 0;
37133 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37137 PyObject
*swig_obj
[1] ;
37139 if (!args
) SWIG_fail
;
37140 swig_obj
[0] = args
;
37141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37142 if (!SWIG_IsOK(res1
)) {
37143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37145 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37148 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37149 wxPyEndAllowThreads(__tstate
);
37150 if (PyErr_Occurred()) SWIG_fail
;
37154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37165 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
= 0;
37167 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37168 wxString
*arg2
= 0 ;
37171 bool temp2
= false ;
37172 PyObject
* obj0
= 0 ;
37173 PyObject
* obj1
= 0 ;
37174 char * kwnames
[] = {
37175 (char *) "self",(char *) "filter", NULL
37178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37180 if (!SWIG_IsOK(res1
)) {
37181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37183 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37185 arg2
= wxString_in_helper(obj1
);
37186 if (arg2
== NULL
) SWIG_fail
;
37190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37191 (arg1
)->SetFilter((wxString
const &)*arg2
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 resultobj
= SWIG_Py_Void();
37210 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37211 PyObject
*resultobj
= 0;
37212 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37216 PyObject
*swig_obj
[1] ;
37218 if (!args
) SWIG_fail
;
37219 swig_obj
[0] = args
;
37220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37221 if (!SWIG_IsOK(res1
)) {
37222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37224 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37227 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37228 wxPyEndAllowThreads(__tstate
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= SWIG_From_int(static_cast< int >(result
));
37238 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37239 PyObject
*resultobj
= 0;
37240 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37246 PyObject
* obj0
= 0 ;
37247 PyObject
* obj1
= 0 ;
37248 char * kwnames
[] = {
37249 (char *) "self",(char *) "n", NULL
37252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37254 if (!SWIG_IsOK(res1
)) {
37255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37257 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37259 if (!SWIG_IsOK(ecode2
)) {
37260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37262 arg2
= static_cast< int >(val2
);
37264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37265 (arg1
)->SetFilterIndex(arg2
);
37266 wxPyEndAllowThreads(__tstate
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= SWIG_Py_Void();
37276 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37277 PyObject
*resultobj
= 0;
37278 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37279 wxTreeItemId result
;
37282 PyObject
*swig_obj
[1] ;
37284 if (!args
) SWIG_fail
;
37285 swig_obj
[0] = args
;
37286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37287 if (!SWIG_IsOK(res1
)) {
37288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37290 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37293 result
= (arg1
)->GetRootId();
37294 wxPyEndAllowThreads(__tstate
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37297 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37304 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37305 PyObject
*resultobj
= 0;
37306 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37307 wxPyTreeCtrl
*result
= 0 ;
37310 PyObject
*swig_obj
[1] ;
37312 if (!args
) SWIG_fail
;
37313 swig_obj
[0] = args
;
37314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37315 if (!SWIG_IsOK(res1
)) {
37316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37318 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37321 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37322 wxPyEndAllowThreads(__tstate
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37326 resultobj
= wxPyMake_wxObject(result
, 0);
37334 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37335 PyObject
*resultobj
= 0;
37336 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37337 wxDirFilterListCtrl
*result
= 0 ;
37340 PyObject
*swig_obj
[1] ;
37342 if (!args
) SWIG_fail
;
37343 swig_obj
[0] = args
;
37344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37345 if (!SWIG_IsOK(res1
)) {
37346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37348 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37351 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37352 wxPyEndAllowThreads(__tstate
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37362 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37363 PyObject
*resultobj
= 0;
37364 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37365 wxTreeItemId arg2
;
37366 wxString
*arg3
= 0 ;
37368 wxTreeItemId result
;
37373 bool temp3
= false ;
37375 int res4
= SWIG_TMPOBJ
;
37376 PyObject
* obj0
= 0 ;
37377 PyObject
* obj1
= 0 ;
37378 PyObject
* obj2
= 0 ;
37379 char * kwnames
[] = {
37380 (char *) "self",(char *) "parentId",(char *) "path", NULL
37384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37386 if (!SWIG_IsOK(res1
)) {
37387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37389 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37392 if (!SWIG_IsOK(res2
)) {
37393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37398 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37400 if (SWIG_IsNewObj(res2
)) delete temp
;
37404 arg3
= wxString_in_helper(obj2
);
37405 if (arg3
== NULL
) SWIG_fail
;
37409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37410 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37411 wxPyEndAllowThreads(__tstate
);
37412 if (PyErr_Occurred()) SWIG_fail
;
37414 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37415 if (SWIG_IsTmpObj(res4
)) {
37416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37418 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37435 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37436 PyObject
*resultobj
= 0;
37437 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37440 PyObject
*swig_obj
[1] ;
37442 if (!args
) SWIG_fail
;
37443 swig_obj
[0] = args
;
37444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37445 if (!SWIG_IsOK(res1
)) {
37446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37448 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37451 (arg1
)->DoResize();
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 resultobj
= SWIG_Py_Void();
37462 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37463 PyObject
*resultobj
= 0;
37464 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37467 PyObject
*swig_obj
[1] ;
37469 if (!args
) SWIG_fail
;
37470 swig_obj
[0] = args
;
37471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37472 if (!SWIG_IsOK(res1
)) {
37473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37475 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37478 (arg1
)->ReCreateTree();
37479 wxPyEndAllowThreads(__tstate
);
37480 if (PyErr_Occurred()) SWIG_fail
;
37482 resultobj
= SWIG_Py_Void();
37489 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37492 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37493 return SWIG_Py_Void();
37496 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37497 return SWIG_Python_InitShadowInstance(args
);
37500 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37501 PyObject
*resultobj
= 0;
37502 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37503 int arg2
= (int) (int)-1 ;
37504 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37505 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37506 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37507 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37508 long arg5
= (long) 0 ;
37509 wxDirFilterListCtrl
*result
= 0 ;
37518 PyObject
* obj0
= 0 ;
37519 PyObject
* obj1
= 0 ;
37520 PyObject
* obj2
= 0 ;
37521 PyObject
* obj3
= 0 ;
37522 PyObject
* obj4
= 0 ;
37523 char * kwnames
[] = {
37524 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37529 if (!SWIG_IsOK(res1
)) {
37530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37532 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37535 if (!SWIG_IsOK(ecode2
)) {
37536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37538 arg2
= static_cast< int >(val2
);
37543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37549 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37553 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37554 if (!SWIG_IsOK(ecode5
)) {
37555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37557 arg5
= static_cast< long >(val5
);
37560 if (!wxPyCheckForApp()) SWIG_fail
;
37561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37562 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37563 wxPyEndAllowThreads(__tstate
);
37564 if (PyErr_Occurred()) SWIG_fail
;
37566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37573 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37574 PyObject
*resultobj
= 0;
37575 wxDirFilterListCtrl
*result
= 0 ;
37577 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37579 if (!wxPyCheckForApp()) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37582 wxPyEndAllowThreads(__tstate
);
37583 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37592 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37593 PyObject
*resultobj
= 0;
37594 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37595 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37596 int arg3
= (int) (int)-1 ;
37597 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37598 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37599 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37600 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37601 long arg6
= (long) 0 ;
37613 PyObject
* obj0
= 0 ;
37614 PyObject
* obj1
= 0 ;
37615 PyObject
* obj2
= 0 ;
37616 PyObject
* obj3
= 0 ;
37617 PyObject
* obj4
= 0 ;
37618 PyObject
* obj5
= 0 ;
37619 char * kwnames
[] = {
37620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37625 if (!SWIG_IsOK(res1
)) {
37626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37628 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37630 if (!SWIG_IsOK(res2
)) {
37631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37633 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37636 if (!SWIG_IsOK(ecode3
)) {
37637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37639 arg3
= static_cast< int >(val3
);
37644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37654 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37655 if (!SWIG_IsOK(ecode6
)) {
37656 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37658 arg6
= static_cast< long >(val6
);
37661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37662 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37663 wxPyEndAllowThreads(__tstate
);
37664 if (PyErr_Occurred()) SWIG_fail
;
37667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37675 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37676 PyObject
*resultobj
= 0;
37677 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37678 wxString
*arg2
= 0 ;
37682 bool temp2
= false ;
37685 PyObject
* obj0
= 0 ;
37686 PyObject
* obj1
= 0 ;
37687 PyObject
* obj2
= 0 ;
37688 char * kwnames
[] = {
37689 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37694 if (!SWIG_IsOK(res1
)) {
37695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37697 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37699 arg2
= wxString_in_helper(obj1
);
37700 if (arg2
== NULL
) SWIG_fail
;
37703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37704 if (!SWIG_IsOK(ecode3
)) {
37705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37707 arg3
= static_cast< int >(val3
);
37709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37710 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37711 wxPyEndAllowThreads(__tstate
);
37712 if (PyErr_Occurred()) SWIG_fail
;
37714 resultobj
= SWIG_Py_Void();
37729 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37732 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37733 return SWIG_Py_Void();
37736 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37737 return SWIG_Python_InitShadowInstance(args
);
37740 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37741 PyObject
*resultobj
= 0;
37742 wxWindow
*arg1
= (wxWindow
*) 0 ;
37743 int arg2
= (int) (int)-1 ;
37744 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37745 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37746 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37747 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37748 long arg5
= (long) 0 ;
37749 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37750 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37751 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37752 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37753 wxPyControl
*result
= 0 ;
37764 bool temp7
= false ;
37765 PyObject
* obj0
= 0 ;
37766 PyObject
* obj1
= 0 ;
37767 PyObject
* obj2
= 0 ;
37768 PyObject
* obj3
= 0 ;
37769 PyObject
* obj4
= 0 ;
37770 PyObject
* obj5
= 0 ;
37771 PyObject
* obj6
= 0 ;
37772 char * kwnames
[] = {
37773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37778 if (!SWIG_IsOK(res1
)) {
37779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37784 if (!SWIG_IsOK(ecode2
)) {
37785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37787 arg2
= static_cast< int >(val2
);
37792 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37798 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37802 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37803 if (!SWIG_IsOK(ecode5
)) {
37804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
37806 arg5
= static_cast< long >(val5
);
37809 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
37810 if (!SWIG_IsOK(res6
)) {
37811 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37816 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
37820 arg7
= wxString_in_helper(obj6
);
37821 if (arg7
== NULL
) SWIG_fail
;
37826 if (!wxPyCheckForApp()) SWIG_fail
;
37827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37828 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37829 wxPyEndAllowThreads(__tstate
);
37830 if (PyErr_Occurred()) SWIG_fail
;
37832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
37847 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37848 PyObject
*resultobj
= 0;
37849 wxPyControl
*result
= 0 ;
37851 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
37853 if (!wxPyCheckForApp()) SWIG_fail
;
37854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37855 result
= (wxPyControl
*)new wxPyControl();
37856 wxPyEndAllowThreads(__tstate
);
37857 if (PyErr_Occurred()) SWIG_fail
;
37859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
37866 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37867 PyObject
*resultobj
= 0;
37868 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37869 PyObject
*arg2
= (PyObject
*) 0 ;
37870 PyObject
*arg3
= (PyObject
*) 0 ;
37873 PyObject
* obj0
= 0 ;
37874 PyObject
* obj1
= 0 ;
37875 PyObject
* obj2
= 0 ;
37876 char * kwnames
[] = {
37877 (char *) "self",(char *) "self",(char *) "_class", NULL
37880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37882 if (!SWIG_IsOK(res1
)) {
37883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
37885 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37890 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37891 wxPyEndAllowThreads(__tstate
);
37892 if (PyErr_Occurred()) SWIG_fail
;
37894 resultobj
= SWIG_Py_Void();
37901 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37902 PyObject
*resultobj
= 0;
37903 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37908 PyObject
* obj0
= 0 ;
37909 PyObject
* obj1
= 0 ;
37910 char * kwnames
[] = {
37911 (char *) "self",(char *) "size", NULL
37914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37916 if (!SWIG_IsOK(res1
)) {
37917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37919 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37922 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37926 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
37927 wxPyEndAllowThreads(__tstate
);
37928 if (PyErr_Occurred()) SWIG_fail
;
37930 resultobj
= SWIG_Py_Void();
37937 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37938 PyObject
*resultobj
= 0;
37939 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37940 wxDC
*arg2
= (wxDC
*) 0 ;
37946 PyObject
* obj0
= 0 ;
37947 PyObject
* obj1
= 0 ;
37948 char * kwnames
[] = {
37949 (char *) "self",(char *) "dc", NULL
37952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37954 if (!SWIG_IsOK(res1
)) {
37955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
37957 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
37959 if (!SWIG_IsOK(res2
)) {
37960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
37962 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37965 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
37966 wxPyEndAllowThreads(__tstate
);
37967 if (PyErr_Occurred()) SWIG_fail
;
37970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37978 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37979 PyObject
*resultobj
= 0;
37980 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37995 PyObject
* obj0
= 0 ;
37996 PyObject
* obj1
= 0 ;
37997 PyObject
* obj2
= 0 ;
37998 PyObject
* obj3
= 0 ;
37999 PyObject
* obj4
= 0 ;
38000 char * kwnames
[] = {
38001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38006 if (!SWIG_IsOK(res1
)) {
38007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38009 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38011 if (!SWIG_IsOK(ecode2
)) {
38012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38014 arg2
= static_cast< int >(val2
);
38015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38016 if (!SWIG_IsOK(ecode3
)) {
38017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38019 arg3
= static_cast< int >(val3
);
38020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38021 if (!SWIG_IsOK(ecode4
)) {
38022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38024 arg4
= static_cast< int >(val4
);
38025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38026 if (!SWIG_IsOK(ecode5
)) {
38027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38029 arg5
= static_cast< int >(val5
);
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38036 resultobj
= SWIG_Py_Void();
38043 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38044 PyObject
*resultobj
= 0;
38045 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38050 int arg6
= (int) wxSIZE_AUTO
;
38063 PyObject
* obj0
= 0 ;
38064 PyObject
* obj1
= 0 ;
38065 PyObject
* obj2
= 0 ;
38066 PyObject
* obj3
= 0 ;
38067 PyObject
* obj4
= 0 ;
38068 PyObject
* obj5
= 0 ;
38069 char * kwnames
[] = {
38070 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38075 if (!SWIG_IsOK(res1
)) {
38076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38078 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38080 if (!SWIG_IsOK(ecode2
)) {
38081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38083 arg2
= static_cast< int >(val2
);
38084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38085 if (!SWIG_IsOK(ecode3
)) {
38086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38088 arg3
= static_cast< int >(val3
);
38089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38090 if (!SWIG_IsOK(ecode4
)) {
38091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38093 arg4
= static_cast< int >(val4
);
38094 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38095 if (!SWIG_IsOK(ecode5
)) {
38096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38098 arg5
= static_cast< int >(val5
);
38100 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38101 if (!SWIG_IsOK(ecode6
)) {
38102 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38104 arg6
= static_cast< int >(val6
);
38107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38108 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38109 wxPyEndAllowThreads(__tstate
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38112 resultobj
= SWIG_Py_Void();
38119 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38120 PyObject
*resultobj
= 0;
38121 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38130 PyObject
* obj0
= 0 ;
38131 PyObject
* obj1
= 0 ;
38132 PyObject
* obj2
= 0 ;
38133 char * kwnames
[] = {
38134 (char *) "self",(char *) "width",(char *) "height", NULL
38137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38139 if (!SWIG_IsOK(res1
)) {
38140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38142 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38144 if (!SWIG_IsOK(ecode2
)) {
38145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38147 arg2
= static_cast< int >(val2
);
38148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38149 if (!SWIG_IsOK(ecode3
)) {
38150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38152 arg3
= static_cast< int >(val3
);
38154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38155 (arg1
)->DoSetClientSize(arg2
,arg3
);
38156 wxPyEndAllowThreads(__tstate
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38159 resultobj
= SWIG_Py_Void();
38166 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38167 PyObject
*resultobj
= 0;
38168 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38177 PyObject
* obj0
= 0 ;
38178 PyObject
* obj1
= 0 ;
38179 PyObject
* obj2
= 0 ;
38180 char * kwnames
[] = {
38181 (char *) "self",(char *) "x",(char *) "y", NULL
38184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38186 if (!SWIG_IsOK(res1
)) {
38187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38189 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38191 if (!SWIG_IsOK(ecode2
)) {
38192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38194 arg2
= static_cast< int >(val2
);
38195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38196 if (!SWIG_IsOK(ecode3
)) {
38197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38199 arg3
= static_cast< int >(val3
);
38201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38202 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38206 resultobj
= SWIG_Py_Void();
38213 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38214 PyObject
*resultobj
= 0;
38215 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38216 int *arg2
= (int *) 0 ;
38217 int *arg3
= (int *) 0 ;
38221 int res2
= SWIG_TMPOBJ
;
38223 int res3
= SWIG_TMPOBJ
;
38224 PyObject
*swig_obj
[1] ;
38228 if (!args
) SWIG_fail
;
38229 swig_obj
[0] = args
;
38230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38231 if (!SWIG_IsOK(res1
)) {
38232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38234 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38237 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38238 wxPyEndAllowThreads(__tstate
);
38239 if (PyErr_Occurred()) SWIG_fail
;
38241 resultobj
= SWIG_Py_Void();
38242 if (SWIG_IsTmpObj(res2
)) {
38243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38245 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38248 if (SWIG_IsTmpObj(res3
)) {
38249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38251 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38260 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38261 PyObject
*resultobj
= 0;
38262 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38263 int *arg2
= (int *) 0 ;
38264 int *arg3
= (int *) 0 ;
38268 int res2
= SWIG_TMPOBJ
;
38270 int res3
= SWIG_TMPOBJ
;
38271 PyObject
*swig_obj
[1] ;
38275 if (!args
) SWIG_fail
;
38276 swig_obj
[0] = args
;
38277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38278 if (!SWIG_IsOK(res1
)) {
38279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38281 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38288 resultobj
= SWIG_Py_Void();
38289 if (SWIG_IsTmpObj(res2
)) {
38290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38292 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38295 if (SWIG_IsTmpObj(res3
)) {
38296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38298 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38307 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38308 PyObject
*resultobj
= 0;
38309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38310 int *arg2
= (int *) 0 ;
38311 int *arg3
= (int *) 0 ;
38315 int res2
= SWIG_TMPOBJ
;
38317 int res3
= SWIG_TMPOBJ
;
38318 PyObject
*swig_obj
[1] ;
38322 if (!args
) SWIG_fail
;
38323 swig_obj
[0] = args
;
38324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38325 if (!SWIG_IsOK(res1
)) {
38326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38328 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38331 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38332 wxPyEndAllowThreads(__tstate
);
38333 if (PyErr_Occurred()) SWIG_fail
;
38335 resultobj
= SWIG_Py_Void();
38336 if (SWIG_IsTmpObj(res2
)) {
38337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38339 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38342 if (SWIG_IsTmpObj(res3
)) {
38343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38345 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38354 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38355 PyObject
*resultobj
= 0;
38356 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38360 PyObject
*swig_obj
[1] ;
38362 if (!args
) SWIG_fail
;
38363 swig_obj
[0] = args
;
38364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38365 if (!SWIG_IsOK(res1
)) {
38366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38368 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38371 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38372 wxPyEndAllowThreads(__tstate
);
38373 if (PyErr_Occurred()) SWIG_fail
;
38375 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38382 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38383 PyObject
*resultobj
= 0;
38384 wxPyControl
*arg1
= (wxPyControl
*) 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_wxPyControl
, 0 | 0 );
38393 if (!SWIG_IsOK(res1
)) {
38394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38396 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38399 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38400 wxPyEndAllowThreads(__tstate
);
38401 if (PyErr_Occurred()) SWIG_fail
;
38403 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38410 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38411 PyObject
*resultobj
= 0;
38412 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38413 SwigValueWrapper
<wxVisualAttributes
> result
;
38416 PyObject
*swig_obj
[1] ;
38418 if (!args
) SWIG_fail
;
38419 swig_obj
[0] = args
;
38420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38421 if (!SWIG_IsOK(res1
)) {
38422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38424 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 result
= (arg1
)->GetDefaultAttributes();
38428 wxPyEndAllowThreads(__tstate
);
38429 if (PyErr_Occurred()) SWIG_fail
;
38431 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38438 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38439 PyObject
*resultobj
= 0;
38440 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38443 PyObject
*swig_obj
[1] ;
38445 if (!args
) SWIG_fail
;
38446 swig_obj
[0] = args
;
38447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38448 if (!SWIG_IsOK(res1
)) {
38449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38451 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38454 (arg1
)->OnInternalIdle();
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= SWIG_Py_Void();
38465 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38469 return SWIG_Py_Void();
38472 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38473 return SWIG_Python_InitShadowInstance(args
);
38476 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38477 PyObject
*resultobj
= 0;
38478 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38479 int arg2
= (int) 0 ;
38480 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38481 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38482 wxHelpEvent
*result
= 0 ;
38488 PyObject
* obj0
= 0 ;
38489 PyObject
* obj1
= 0 ;
38490 PyObject
* obj2
= 0 ;
38491 char * kwnames
[] = {
38492 (char *) "type",(char *) "winid",(char *) "pt", NULL
38495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38497 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38498 if (!SWIG_IsOK(ecode1
)) {
38499 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38501 arg1
= static_cast< wxEventType
>(val1
);
38504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38505 if (!SWIG_IsOK(ecode2
)) {
38506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38508 arg2
= static_cast< int >(val2
);
38513 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38518 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38519 wxPyEndAllowThreads(__tstate
);
38520 if (PyErr_Occurred()) SWIG_fail
;
38522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38529 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38530 PyObject
*resultobj
= 0;
38531 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38535 PyObject
*swig_obj
[1] ;
38537 if (!args
) SWIG_fail
;
38538 swig_obj
[0] = args
;
38539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38540 if (!SWIG_IsOK(res1
)) {
38541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38543 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38546 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38547 wxPyEndAllowThreads(__tstate
);
38548 if (PyErr_Occurred()) SWIG_fail
;
38550 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38557 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38558 PyObject
*resultobj
= 0;
38559 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38560 wxPoint
*arg2
= 0 ;
38564 PyObject
* obj0
= 0 ;
38565 PyObject
* obj1
= 0 ;
38566 char * kwnames
[] = {
38567 (char *) "self",(char *) "pos", NULL
38570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38572 if (!SWIG_IsOK(res1
)) {
38573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38575 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38582 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38583 wxPyEndAllowThreads(__tstate
);
38584 if (PyErr_Occurred()) SWIG_fail
;
38586 resultobj
= SWIG_Py_Void();
38593 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38594 PyObject
*resultobj
= 0;
38595 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38596 wxString
*result
= 0 ;
38599 PyObject
*swig_obj
[1] ;
38601 if (!args
) SWIG_fail
;
38602 swig_obj
[0] = args
;
38603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38604 if (!SWIG_IsOK(res1
)) {
38605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38607 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38611 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38612 result
= (wxString
*) &_result_ref
;
38614 wxPyEndAllowThreads(__tstate
);
38615 if (PyErr_Occurred()) SWIG_fail
;
38619 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38621 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38630 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38631 PyObject
*resultobj
= 0;
38632 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38633 wxString
*arg2
= 0 ;
38636 bool temp2
= false ;
38637 PyObject
* obj0
= 0 ;
38638 PyObject
* obj1
= 0 ;
38639 char * kwnames
[] = {
38640 (char *) "self",(char *) "link", NULL
38643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38645 if (!SWIG_IsOK(res1
)) {
38646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38648 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38650 arg2
= wxString_in_helper(obj1
);
38651 if (arg2
== NULL
) SWIG_fail
;
38655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38656 (arg1
)->SetLink((wxString
const &)*arg2
);
38657 wxPyEndAllowThreads(__tstate
);
38658 if (PyErr_Occurred()) SWIG_fail
;
38660 resultobj
= SWIG_Py_Void();
38675 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38676 PyObject
*resultobj
= 0;
38677 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38678 wxString
*result
= 0 ;
38681 PyObject
*swig_obj
[1] ;
38683 if (!args
) SWIG_fail
;
38684 swig_obj
[0] = args
;
38685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38686 if (!SWIG_IsOK(res1
)) {
38687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38689 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38693 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38694 result
= (wxString
*) &_result_ref
;
38696 wxPyEndAllowThreads(__tstate
);
38697 if (PyErr_Occurred()) SWIG_fail
;
38701 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38703 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38712 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38713 PyObject
*resultobj
= 0;
38714 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38715 wxString
*arg2
= 0 ;
38718 bool temp2
= false ;
38719 PyObject
* obj0
= 0 ;
38720 PyObject
* obj1
= 0 ;
38721 char * kwnames
[] = {
38722 (char *) "self",(char *) "target", NULL
38725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38727 if (!SWIG_IsOK(res1
)) {
38728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38730 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38732 arg2
= wxString_in_helper(obj1
);
38733 if (arg2
== NULL
) SWIG_fail
;
38737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38738 (arg1
)->SetTarget((wxString
const &)*arg2
);
38739 wxPyEndAllowThreads(__tstate
);
38740 if (PyErr_Occurred()) SWIG_fail
;
38742 resultobj
= SWIG_Py_Void();
38757 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38760 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38761 return SWIG_Py_Void();
38764 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38765 return SWIG_Python_InitShadowInstance(args
);
38768 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38769 PyObject
*resultobj
= 0;
38770 wxWindow
*arg1
= (wxWindow
*) NULL
;
38771 bool arg2
= (bool) true ;
38772 wxContextHelp
*result
= 0 ;
38777 PyObject
* obj0
= 0 ;
38778 PyObject
* obj1
= 0 ;
38779 char * kwnames
[] = {
38780 (char *) "window",(char *) "doNow", NULL
38783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38786 if (!SWIG_IsOK(res1
)) {
38787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
38789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38793 if (!SWIG_IsOK(ecode2
)) {
38794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
38796 arg2
= static_cast< bool >(val2
);
38799 if (!wxPyCheckForApp()) SWIG_fail
;
38800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38801 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
38802 wxPyEndAllowThreads(__tstate
);
38803 if (PyErr_Occurred()) SWIG_fail
;
38805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
38812 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38813 PyObject
*resultobj
= 0;
38814 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38817 PyObject
*swig_obj
[1] ;
38819 if (!args
) SWIG_fail
;
38820 swig_obj
[0] = args
;
38821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
38822 if (!SWIG_IsOK(res1
)) {
38823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38825 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 wxPyEndAllowThreads(__tstate
);
38831 if (PyErr_Occurred()) SWIG_fail
;
38833 resultobj
= SWIG_Py_Void();
38840 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38841 PyObject
*resultobj
= 0;
38842 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38843 wxWindow
*arg2
= (wxWindow
*) NULL
;
38849 PyObject
* obj0
= 0 ;
38850 PyObject
* obj1
= 0 ;
38851 char * kwnames
[] = {
38852 (char *) "self",(char *) "window", NULL
38855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38857 if (!SWIG_IsOK(res1
)) {
38858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38860 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38862 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38863 if (!SWIG_IsOK(res2
)) {
38864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
38866 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38870 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
38871 wxPyEndAllowThreads(__tstate
);
38872 if (PyErr_Occurred()) SWIG_fail
;
38875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38883 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38884 PyObject
*resultobj
= 0;
38885 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38889 PyObject
*swig_obj
[1] ;
38891 if (!args
) SWIG_fail
;
38892 swig_obj
[0] = args
;
38893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38894 if (!SWIG_IsOK(res1
)) {
38895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38897 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38900 result
= (bool)(arg1
)->EndContextHelp();
38901 wxPyEndAllowThreads(__tstate
);
38902 if (PyErr_Occurred()) SWIG_fail
;
38905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38913 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38916 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
38917 return SWIG_Py_Void();
38920 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38921 return SWIG_Python_InitShadowInstance(args
);
38924 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38925 PyObject
*resultobj
= 0;
38926 wxWindow
*arg1
= (wxWindow
*) 0 ;
38927 int arg2
= (int) wxID_CONTEXT_HELP
;
38928 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38929 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38930 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38931 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38932 long arg5
= (long) wxBU_AUTODRAW
;
38933 wxContextHelpButton
*result
= 0 ;
38942 PyObject
* obj0
= 0 ;
38943 PyObject
* obj1
= 0 ;
38944 PyObject
* obj2
= 0 ;
38945 PyObject
* obj3
= 0 ;
38946 PyObject
* obj4
= 0 ;
38947 char * kwnames
[] = {
38948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38953 if (!SWIG_IsOK(res1
)) {
38954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
38956 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38959 if (!SWIG_IsOK(ecode2
)) {
38960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
38962 arg2
= static_cast< int >(val2
);
38967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38973 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38977 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38978 if (!SWIG_IsOK(ecode5
)) {
38979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
38981 arg5
= static_cast< long >(val5
);
38984 if (!wxPyCheckForApp()) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38987 wxPyEndAllowThreads(__tstate
);
38988 if (PyErr_Occurred()) SWIG_fail
;
38990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
38997 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39000 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39001 return SWIG_Py_Void();
39004 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39005 return SWIG_Python_InitShadowInstance(args
);
39008 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39009 PyObject
*resultobj
= 0;
39010 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39013 PyObject
*swig_obj
[1] ;
39015 if (!args
) SWIG_fail
;
39016 swig_obj
[0] = args
;
39017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39018 if (!SWIG_IsOK(res1
)) {
39019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39021 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39026 wxPyEndAllowThreads(__tstate
);
39027 if (PyErr_Occurred()) SWIG_fail
;
39029 resultobj
= SWIG_Py_Void();
39036 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39037 PyObject
*resultobj
= 0;
39038 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39039 wxHelpProvider
*result
= 0 ;
39041 PyObject
* obj0
= 0 ;
39042 char * kwnames
[] = {
39043 (char *) "helpProvider", NULL
39046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39047 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39048 if (!SWIG_IsOK(res1
)) {
39049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39053 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39054 wxPyEndAllowThreads(__tstate
);
39055 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39064 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39065 PyObject
*resultobj
= 0;
39066 wxHelpProvider
*result
= 0 ;
39068 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39072 wxPyEndAllowThreads(__tstate
);
39073 if (PyErr_Occurred()) SWIG_fail
;
39075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39082 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39083 PyObject
*resultobj
= 0;
39084 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39085 wxWindow
*arg2
= (wxWindow
*) 0 ;
39091 PyObject
* obj0
= 0 ;
39092 PyObject
* obj1
= 0 ;
39093 char * kwnames
[] = {
39094 (char *) "self",(char *) "window", NULL
39097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39099 if (!SWIG_IsOK(res1
)) {
39100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39102 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39104 if (!SWIG_IsOK(res2
)) {
39105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39107 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39110 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39111 wxPyEndAllowThreads(__tstate
);
39112 if (PyErr_Occurred()) SWIG_fail
;
39116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39127 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39128 PyObject
*resultobj
= 0;
39129 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39130 wxWindow
*arg2
= (wxWindow
*) 0 ;
39136 PyObject
* obj0
= 0 ;
39137 PyObject
* obj1
= 0 ;
39138 char * kwnames
[] = {
39139 (char *) "self",(char *) "window", NULL
39142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39144 if (!SWIG_IsOK(res1
)) {
39145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39147 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39149 if (!SWIG_IsOK(res2
)) {
39150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39152 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39155 result
= (bool)(arg1
)->ShowHelp(arg2
);
39156 wxPyEndAllowThreads(__tstate
);
39157 if (PyErr_Occurred()) SWIG_fail
;
39160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39168 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39169 PyObject
*resultobj
= 0;
39170 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39171 wxWindow
*arg2
= (wxWindow
*) 0 ;
39172 wxString
*arg3
= 0 ;
39177 bool temp3
= false ;
39178 PyObject
* obj0
= 0 ;
39179 PyObject
* obj1
= 0 ;
39180 PyObject
* obj2
= 0 ;
39181 char * kwnames
[] = {
39182 (char *) "self",(char *) "window",(char *) "text", NULL
39185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39187 if (!SWIG_IsOK(res1
)) {
39188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39190 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39192 if (!SWIG_IsOK(res2
)) {
39193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39197 arg3
= wxString_in_helper(obj2
);
39198 if (arg3
== NULL
) SWIG_fail
;
39202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39203 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39204 wxPyEndAllowThreads(__tstate
);
39205 if (PyErr_Occurred()) SWIG_fail
;
39207 resultobj
= SWIG_Py_Void();
39222 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39223 PyObject
*resultobj
= 0;
39224 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39226 wxString
*arg3
= 0 ;
39231 bool temp3
= false ;
39232 PyObject
* obj0
= 0 ;
39233 PyObject
* obj1
= 0 ;
39234 PyObject
* obj2
= 0 ;
39235 char * kwnames
[] = {
39236 (char *) "self",(char *) "id",(char *) "text", NULL
39239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39241 if (!SWIG_IsOK(res1
)) {
39242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39244 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39246 if (!SWIG_IsOK(ecode2
)) {
39247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39249 arg2
= static_cast< int >(val2
);
39251 arg3
= wxString_in_helper(obj2
);
39252 if (arg3
== NULL
) SWIG_fail
;
39256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39257 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39258 wxPyEndAllowThreads(__tstate
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39261 resultobj
= SWIG_Py_Void();
39276 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39277 PyObject
*resultobj
= 0;
39278 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39279 wxWindow
*arg2
= (wxWindow
*) 0 ;
39284 PyObject
* obj0
= 0 ;
39285 PyObject
* obj1
= 0 ;
39286 char * kwnames
[] = {
39287 (char *) "self",(char *) "window", NULL
39290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39292 if (!SWIG_IsOK(res1
)) {
39293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39295 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39297 if (!SWIG_IsOK(res2
)) {
39298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39300 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39303 (arg1
)->RemoveHelp(arg2
);
39304 wxPyEndAllowThreads(__tstate
);
39305 if (PyErr_Occurred()) SWIG_fail
;
39307 resultobj
= SWIG_Py_Void();
39314 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39315 PyObject
*resultobj
= 0;
39316 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39319 PyObject
*swig_obj
[1] ;
39321 if (!args
) SWIG_fail
;
39322 swig_obj
[0] = args
;
39323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39324 if (!SWIG_IsOK(res1
)) {
39325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39327 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39330 wxHelpProvider_Destroy(arg1
);
39331 wxPyEndAllowThreads(__tstate
);
39332 if (PyErr_Occurred()) SWIG_fail
;
39334 resultobj
= SWIG_Py_Void();
39341 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39344 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39345 return SWIG_Py_Void();
39348 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39349 PyObject
*resultobj
= 0;
39350 wxSimpleHelpProvider
*result
= 0 ;
39352 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39355 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39356 wxPyEndAllowThreads(__tstate
);
39357 if (PyErr_Occurred()) SWIG_fail
;
39359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39366 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39369 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39370 return SWIG_Py_Void();
39373 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39374 return SWIG_Python_InitShadowInstance(args
);
39377 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39378 PyObject
*resultobj
= 0;
39379 wxBitmap
*arg1
= 0 ;
39380 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39381 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39382 wxGenericDragImage
*result
= 0 ;
39387 PyObject
* obj0
= 0 ;
39388 PyObject
* obj1
= 0 ;
39389 char * kwnames
[] = {
39390 (char *) "image",(char *) "cursor", NULL
39393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39394 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39395 if (!SWIG_IsOK(res1
)) {
39396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39404 if (!SWIG_IsOK(res2
)) {
39405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39410 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39413 if (!wxPyCheckForApp()) SWIG_fail
;
39414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39415 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39416 wxPyEndAllowThreads(__tstate
);
39417 if (PyErr_Occurred()) SWIG_fail
;
39419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39426 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39427 PyObject
*resultobj
= 0;
39429 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39430 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39431 wxGenericDragImage
*result
= 0 ;
39436 PyObject
* obj0
= 0 ;
39437 PyObject
* obj1
= 0 ;
39438 char * kwnames
[] = {
39439 (char *) "image",(char *) "cursor", NULL
39442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39443 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39444 if (!SWIG_IsOK(res1
)) {
39445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39450 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39453 if (!SWIG_IsOK(res2
)) {
39454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39459 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39462 if (!wxPyCheckForApp()) SWIG_fail
;
39463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39464 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39465 wxPyEndAllowThreads(__tstate
);
39466 if (PyErr_Occurred()) SWIG_fail
;
39468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39475 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39476 PyObject
*resultobj
= 0;
39477 wxString
*arg1
= 0 ;
39478 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39479 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39480 wxGenericDragImage
*result
= 0 ;
39481 bool temp1
= false ;
39484 PyObject
* obj0
= 0 ;
39485 PyObject
* obj1
= 0 ;
39486 char * kwnames
[] = {
39487 (char *) "str",(char *) "cursor", NULL
39490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39492 arg1
= wxString_in_helper(obj0
);
39493 if (arg1
== NULL
) SWIG_fail
;
39497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39498 if (!SWIG_IsOK(res2
)) {
39499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39504 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39507 if (!wxPyCheckForApp()) SWIG_fail
;
39508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39509 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39510 wxPyEndAllowThreads(__tstate
);
39511 if (PyErr_Occurred()) SWIG_fail
;
39513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39528 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39529 PyObject
*resultobj
= 0;
39530 wxPyTreeCtrl
*arg1
= 0 ;
39531 wxTreeItemId
*arg2
= 0 ;
39532 wxGenericDragImage
*result
= 0 ;
39537 PyObject
* obj0
= 0 ;
39538 PyObject
* obj1
= 0 ;
39539 char * kwnames
[] = {
39540 (char *) "treeCtrl",(char *) "id", NULL
39543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39544 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39545 if (!SWIG_IsOK(res1
)) {
39546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39551 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39553 if (!SWIG_IsOK(res2
)) {
39554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39559 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39561 if (!wxPyCheckForApp()) SWIG_fail
;
39562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39563 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39564 wxPyEndAllowThreads(__tstate
);
39565 if (PyErr_Occurred()) SWIG_fail
;
39567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39574 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39575 PyObject
*resultobj
= 0;
39576 wxPyListCtrl
*arg1
= 0 ;
39578 wxGenericDragImage
*result
= 0 ;
39583 PyObject
* obj0
= 0 ;
39584 PyObject
* obj1
= 0 ;
39585 char * kwnames
[] = {
39586 (char *) "listCtrl",(char *) "id", NULL
39589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39590 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39591 if (!SWIG_IsOK(res1
)) {
39592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39598 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39599 if (!SWIG_IsOK(ecode2
)) {
39600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39602 arg2
= static_cast< long >(val2
);
39604 if (!wxPyCheckForApp()) SWIG_fail
;
39605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39606 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39607 wxPyEndAllowThreads(__tstate
);
39608 if (PyErr_Occurred()) SWIG_fail
;
39610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39617 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39618 PyObject
*resultobj
= 0;
39619 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39622 PyObject
*swig_obj
[1] ;
39624 if (!args
) SWIG_fail
;
39625 swig_obj
[0] = args
;
39626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39627 if (!SWIG_IsOK(res1
)) {
39628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39630 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39635 wxPyEndAllowThreads(__tstate
);
39636 if (PyErr_Occurred()) SWIG_fail
;
39638 resultobj
= SWIG_Py_Void();
39645 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39646 PyObject
*resultobj
= 0;
39647 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39648 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39653 PyObject
* obj0
= 0 ;
39654 PyObject
* obj1
= 0 ;
39655 char * kwnames
[] = {
39656 (char *) "self",(char *) "bitmap", NULL
39659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39661 if (!SWIG_IsOK(res1
)) {
39662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39664 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39666 if (!SWIG_IsOK(res2
)) {
39667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39669 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39672 (arg1
)->SetBackingBitmap(arg2
);
39673 wxPyEndAllowThreads(__tstate
);
39674 if (PyErr_Occurred()) SWIG_fail
;
39676 resultobj
= SWIG_Py_Void();
39683 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39684 PyObject
*resultobj
= 0;
39685 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39686 wxPoint
*arg2
= 0 ;
39687 wxWindow
*arg3
= (wxWindow
*) 0 ;
39688 bool arg4
= (bool) false ;
39689 wxRect
*arg5
= (wxRect
*) NULL
;
39700 PyObject
* obj0
= 0 ;
39701 PyObject
* obj1
= 0 ;
39702 PyObject
* obj2
= 0 ;
39703 PyObject
* obj3
= 0 ;
39704 PyObject
* obj4
= 0 ;
39705 char * kwnames
[] = {
39706 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39711 if (!SWIG_IsOK(res1
)) {
39712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39714 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39719 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39720 if (!SWIG_IsOK(res3
)) {
39721 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39723 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39725 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39726 if (!SWIG_IsOK(ecode4
)) {
39727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39729 arg4
= static_cast< bool >(val4
);
39732 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39733 if (!SWIG_IsOK(res5
)) {
39734 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39736 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39740 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39741 wxPyEndAllowThreads(__tstate
);
39742 if (PyErr_Occurred()) SWIG_fail
;
39745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39753 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39754 PyObject
*resultobj
= 0;
39755 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39756 wxPoint
*arg2
= 0 ;
39757 wxWindow
*arg3
= (wxWindow
*) 0 ;
39758 wxWindow
*arg4
= (wxWindow
*) 0 ;
39767 PyObject
* obj0
= 0 ;
39768 PyObject
* obj1
= 0 ;
39769 PyObject
* obj2
= 0 ;
39770 PyObject
* obj3
= 0 ;
39771 char * kwnames
[] = {
39772 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39777 if (!SWIG_IsOK(res1
)) {
39778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39780 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39783 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39785 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39786 if (!SWIG_IsOK(res3
)) {
39787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
39789 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39790 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39791 if (!SWIG_IsOK(res4
)) {
39792 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
39794 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
39796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39797 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
39798 wxPyEndAllowThreads(__tstate
);
39799 if (PyErr_Occurred()) SWIG_fail
;
39802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39810 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39811 PyObject
*resultobj
= 0;
39812 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39816 PyObject
*swig_obj
[1] ;
39818 if (!args
) SWIG_fail
;
39819 swig_obj
[0] = args
;
39820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39821 if (!SWIG_IsOK(res1
)) {
39822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39824 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39827 result
= (bool)(arg1
)->EndDrag();
39828 wxPyEndAllowThreads(__tstate
);
39829 if (PyErr_Occurred()) SWIG_fail
;
39832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39840 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39841 PyObject
*resultobj
= 0;
39842 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39843 wxPoint
*arg2
= 0 ;
39848 PyObject
* obj0
= 0 ;
39849 PyObject
* obj1
= 0 ;
39850 char * kwnames
[] = {
39851 (char *) "self",(char *) "pt", NULL
39854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39856 if (!SWIG_IsOK(res1
)) {
39857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39859 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39862 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39866 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
39867 wxPyEndAllowThreads(__tstate
);
39868 if (PyErr_Occurred()) SWIG_fail
;
39871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39879 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39880 PyObject
*resultobj
= 0;
39881 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39885 PyObject
*swig_obj
[1] ;
39887 if (!args
) SWIG_fail
;
39888 swig_obj
[0] = args
;
39889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39890 if (!SWIG_IsOK(res1
)) {
39891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39893 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39896 result
= (bool)(arg1
)->Show();
39897 wxPyEndAllowThreads(__tstate
);
39898 if (PyErr_Occurred()) SWIG_fail
;
39901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39909 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39910 PyObject
*resultobj
= 0;
39911 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39915 PyObject
*swig_obj
[1] ;
39917 if (!args
) SWIG_fail
;
39918 swig_obj
[0] = args
;
39919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39920 if (!SWIG_IsOK(res1
)) {
39921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39923 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39926 result
= (bool)(arg1
)->Hide();
39927 wxPyEndAllowThreads(__tstate
);
39928 if (PyErr_Occurred()) SWIG_fail
;
39931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39939 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39940 PyObject
*resultobj
= 0;
39941 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39942 wxPoint
*arg2
= 0 ;
39947 PyObject
* obj0
= 0 ;
39948 PyObject
* obj1
= 0 ;
39949 char * kwnames
[] = {
39950 (char *) "self",(char *) "pos", NULL
39953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39955 if (!SWIG_IsOK(res1
)) {
39956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39958 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
39966 wxPyEndAllowThreads(__tstate
);
39967 if (PyErr_Occurred()) SWIG_fail
;
39969 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
39976 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39977 PyObject
*resultobj
= 0;
39978 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39980 wxPoint
*arg3
= 0 ;
39987 PyObject
* obj0
= 0 ;
39988 PyObject
* obj1
= 0 ;
39989 PyObject
* obj2
= 0 ;
39990 char * kwnames
[] = {
39991 (char *) "self",(char *) "dc",(char *) "pos", NULL
39994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39996 if (!SWIG_IsOK(res1
)) {
39997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39999 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40001 if (!SWIG_IsOK(res2
)) {
40002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40007 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40014 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40015 wxPyEndAllowThreads(__tstate
);
40016 if (PyErr_Occurred()) SWIG_fail
;
40019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40027 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40028 PyObject
*resultobj
= 0;
40029 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40031 wxMemoryDC
*arg3
= 0 ;
40043 PyObject
* obj0
= 0 ;
40044 PyObject
* obj1
= 0 ;
40045 PyObject
* obj2
= 0 ;
40046 PyObject
* obj3
= 0 ;
40047 PyObject
* obj4
= 0 ;
40048 char * kwnames
[] = {
40049 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40054 if (!SWIG_IsOK(res1
)) {
40055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40057 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40059 if (!SWIG_IsOK(res2
)) {
40060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40065 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40066 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40067 if (!SWIG_IsOK(res3
)) {
40068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40073 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40076 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40080 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40085 wxPyEndAllowThreads(__tstate
);
40086 if (PyErr_Occurred()) SWIG_fail
;
40089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40097 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40098 PyObject
*resultobj
= 0;
40099 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40100 wxPoint
*arg2
= 0 ;
40101 wxPoint
*arg3
= 0 ;
40113 PyObject
* obj0
= 0 ;
40114 PyObject
* obj1
= 0 ;
40115 PyObject
* obj2
= 0 ;
40116 PyObject
* obj3
= 0 ;
40117 PyObject
* obj4
= 0 ;
40118 char * kwnames
[] = {
40119 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40124 if (!SWIG_IsOK(res1
)) {
40125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40127 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40136 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40137 if (!SWIG_IsOK(ecode4
)) {
40138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40140 arg4
= static_cast< bool >(val4
);
40141 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40142 if (!SWIG_IsOK(ecode5
)) {
40143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40145 arg5
= static_cast< bool >(val5
);
40147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40148 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40149 wxPyEndAllowThreads(__tstate
);
40150 if (PyErr_Occurred()) SWIG_fail
;
40153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40161 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40164 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40165 return SWIG_Py_Void();
40168 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40169 return SWIG_Python_InitShadowInstance(args
);
40172 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40173 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40178 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40179 PyObject
*pyobj
= 0;
40183 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40185 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40192 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
= 0;
40194 wxWindow
*arg1
= (wxWindow
*) 0 ;
40195 int arg2
= (int) -1 ;
40196 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40197 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40198 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40199 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40200 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40201 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40202 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40203 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40204 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40205 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40206 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40207 wxDatePickerCtrl
*result
= 0 ;
40220 bool temp8
= false ;
40221 PyObject
* obj0
= 0 ;
40222 PyObject
* obj1
= 0 ;
40223 PyObject
* obj2
= 0 ;
40224 PyObject
* obj3
= 0 ;
40225 PyObject
* obj4
= 0 ;
40226 PyObject
* obj5
= 0 ;
40227 PyObject
* obj6
= 0 ;
40228 PyObject
* obj7
= 0 ;
40229 char * kwnames
[] = {
40230 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40235 if (!SWIG_IsOK(res1
)) {
40236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40241 if (!SWIG_IsOK(ecode2
)) {
40242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40244 arg2
= static_cast< int >(val2
);
40247 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40248 if (!SWIG_IsOK(res3
)) {
40249 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40254 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40259 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40265 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40269 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40270 if (!SWIG_IsOK(ecode6
)) {
40271 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40273 arg6
= static_cast< long >(val6
);
40276 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40277 if (!SWIG_IsOK(res7
)) {
40278 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40283 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40287 arg8
= wxString_in_helper(obj7
);
40288 if (arg8
== NULL
) SWIG_fail
;
40293 if (!wxPyCheckForApp()) SWIG_fail
;
40294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40295 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40296 wxPyEndAllowThreads(__tstate
);
40297 if (PyErr_Occurred()) SWIG_fail
;
40299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40314 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40315 PyObject
*resultobj
= 0;
40316 wxDatePickerCtrl
*result
= 0 ;
40318 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40320 if (!wxPyCheckForApp()) SWIG_fail
;
40321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40322 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40323 wxPyEndAllowThreads(__tstate
);
40324 if (PyErr_Occurred()) SWIG_fail
;
40326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40333 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40334 PyObject
*resultobj
= 0;
40335 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40336 wxWindow
*arg2
= (wxWindow
*) 0 ;
40337 int arg3
= (int) -1 ;
40338 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40339 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40340 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40341 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40342 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40343 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40344 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40345 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40346 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40347 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40348 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40364 bool temp9
= false ;
40365 PyObject
* obj0
= 0 ;
40366 PyObject
* obj1
= 0 ;
40367 PyObject
* obj2
= 0 ;
40368 PyObject
* obj3
= 0 ;
40369 PyObject
* obj4
= 0 ;
40370 PyObject
* obj5
= 0 ;
40371 PyObject
* obj6
= 0 ;
40372 PyObject
* obj7
= 0 ;
40373 PyObject
* obj8
= 0 ;
40374 char * kwnames
[] = {
40375 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40380 if (!SWIG_IsOK(res1
)) {
40381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40383 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40385 if (!SWIG_IsOK(res2
)) {
40386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40388 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40391 if (!SWIG_IsOK(ecode3
)) {
40392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40394 arg3
= static_cast< int >(val3
);
40397 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40398 if (!SWIG_IsOK(res4
)) {
40399 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40404 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40409 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40415 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40419 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40420 if (!SWIG_IsOK(ecode7
)) {
40421 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40423 arg7
= static_cast< long >(val7
);
40426 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40427 if (!SWIG_IsOK(res8
)) {
40428 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40433 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40437 arg9
= wxString_in_helper(obj8
);
40438 if (arg9
== NULL
) SWIG_fail
;
40443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40445 wxPyEndAllowThreads(__tstate
);
40446 if (PyErr_Occurred()) SWIG_fail
;
40449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40465 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40466 PyObject
*resultobj
= 0;
40467 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40468 wxDateTime
*arg2
= 0 ;
40473 PyObject
* obj0
= 0 ;
40474 PyObject
* obj1
= 0 ;
40475 char * kwnames
[] = {
40476 (char *) "self",(char *) "dt", NULL
40479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40481 if (!SWIG_IsOK(res1
)) {
40482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40484 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40486 if (!SWIG_IsOK(res2
)) {
40487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40492 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40495 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40496 wxPyEndAllowThreads(__tstate
);
40497 if (PyErr_Occurred()) SWIG_fail
;
40499 resultobj
= SWIG_Py_Void();
40506 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40507 PyObject
*resultobj
= 0;
40508 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40512 PyObject
*swig_obj
[1] ;
40514 if (!args
) SWIG_fail
;
40515 swig_obj
[0] = args
;
40516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40517 if (!SWIG_IsOK(res1
)) {
40518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40520 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40523 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40524 wxPyEndAllowThreads(__tstate
);
40525 if (PyErr_Occurred()) SWIG_fail
;
40527 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40534 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40535 PyObject
*resultobj
= 0;
40536 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40537 wxDateTime
*arg2
= 0 ;
40538 wxDateTime
*arg3
= 0 ;
40545 PyObject
* obj0
= 0 ;
40546 PyObject
* obj1
= 0 ;
40547 PyObject
* obj2
= 0 ;
40548 char * kwnames
[] = {
40549 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40554 if (!SWIG_IsOK(res1
)) {
40555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40557 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40559 if (!SWIG_IsOK(res2
)) {
40560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40565 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40567 if (!SWIG_IsOK(res3
)) {
40568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40573 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40576 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40577 wxPyEndAllowThreads(__tstate
);
40578 if (PyErr_Occurred()) SWIG_fail
;
40580 resultobj
= SWIG_Py_Void();
40587 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40588 PyObject
*resultobj
= 0;
40589 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40593 PyObject
*swig_obj
[1] ;
40595 if (!args
) SWIG_fail
;
40596 swig_obj
[0] = args
;
40597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40598 if (!SWIG_IsOK(res1
)) {
40599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40601 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40604 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40605 wxPyEndAllowThreads(__tstate
);
40606 if (PyErr_Occurred()) SWIG_fail
;
40608 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40615 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40616 PyObject
*resultobj
= 0;
40617 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40621 PyObject
*swig_obj
[1] ;
40623 if (!args
) SWIG_fail
;
40624 swig_obj
[0] = args
;
40625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40626 if (!SWIG_IsOK(res1
)) {
40627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40629 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40632 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40633 wxPyEndAllowThreads(__tstate
);
40634 if (PyErr_Occurred()) SWIG_fail
;
40636 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40643 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40646 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40647 return SWIG_Py_Void();
40650 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40651 return SWIG_Python_InitShadowInstance(args
);
40654 static PyMethodDef SwigMethods
[] = {
40655 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40656 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40657 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40658 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40659 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40660 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40661 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40662 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40663 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40664 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40665 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40666 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40667 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40668 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40669 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40670 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40671 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40672 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40673 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40675 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40676 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40678 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40679 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40680 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40681 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40682 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40683 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40685 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40686 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40687 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40688 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40689 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40690 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40691 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40692 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40693 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40694 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40696 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40697 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40698 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40699 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40700 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40701 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40702 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40703 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40705 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40707 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40708 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40709 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40710 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40711 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40712 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40713 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40714 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
40715 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40716 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40717 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40719 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40720 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40722 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40723 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40724 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40725 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40726 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40727 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40728 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40729 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40730 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40731 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40732 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40733 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40735 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40738 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40740 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40741 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40742 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40743 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40745 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40747 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40748 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40749 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40750 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40751 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40753 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40754 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40756 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40757 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40758 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40759 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40760 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40761 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40762 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40764 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40768 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40769 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40770 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40771 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40773 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40776 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40777 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40778 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40780 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
40791 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
40796 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
40802 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
40803 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
40805 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40806 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
40809 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
40810 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
40811 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
40813 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
40814 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40815 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
40823 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
40824 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
40825 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
40826 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
40827 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
40828 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
40829 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
40831 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
40832 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
40833 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
40834 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
40835 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
40836 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
40837 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
40838 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
40839 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
40840 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
40842 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
40843 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
40845 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
40847 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
40852 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
40853 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
40854 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
40855 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
40856 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
40857 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
40858 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
40859 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
40864 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
40865 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
40873 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
40879 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
40880 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
40881 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
40882 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
40883 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
40884 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
40885 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
40886 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
40887 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
40888 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
40890 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
40891 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
40892 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
40894 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
40899 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
40900 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
40902 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
40903 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
40904 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
40905 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
40906 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
40908 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
40910 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
40911 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
40912 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
40913 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
40914 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
40917 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
40918 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
40920 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
40922 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
40923 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
40924 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
40929 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
40931 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
40932 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
40934 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
40936 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
40940 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
40941 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
40944 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
40945 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
40947 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
40949 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
40950 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
40952 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
40955 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
40956 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
40958 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
40966 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
40967 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
40970 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
40971 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
40973 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
40975 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
40978 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
40979 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
40981 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
40983 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
40986 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
40987 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
40992 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
40993 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
40995 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
40997 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
40998 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41000 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41001 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41002 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41005 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41006 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41008 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41011 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41013 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41014 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41015 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41017 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41018 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41023 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41028 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41030 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41032 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41035 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41041 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41043 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41045 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41047 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41048 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41050 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41052 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41056 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41058 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41059 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41061 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41062 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41064 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41066 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41067 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41068 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41070 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41071 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41073 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41075 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41076 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41077 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41079 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41080 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41082 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41090 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41091 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41092 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41094 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41095 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41097 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41099 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41100 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41101 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41102 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41104 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41105 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41106 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41107 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41108 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41109 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41110 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41111 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41112 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41113 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41114 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41115 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41116 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41117 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41118 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41119 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41120 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41121 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41122 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41124 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41131 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41133 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41135 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41143 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41148 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41149 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41166 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41167 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41168 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41169 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41172 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41173 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41175 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41176 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41179 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41180 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41181 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41183 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41187 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41188 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41190 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41194 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41195 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41196 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41197 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41198 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41199 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41201 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41202 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41203 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41204 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41205 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41206 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41207 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41221 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41222 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41223 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41224 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41225 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41226 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41227 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41228 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41229 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41230 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41231 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41232 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41233 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41234 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41235 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41236 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41237 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41238 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41239 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41240 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41241 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41242 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41243 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41244 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41245 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41246 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41247 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41248 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41249 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41250 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41251 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41252 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41253 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41254 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41255 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41256 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41258 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41259 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41260 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41261 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41262 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41263 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41264 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41265 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41266 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41267 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41268 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41269 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41270 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41271 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41272 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41273 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41274 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41275 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41276 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41277 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41278 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41279 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41280 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41281 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41283 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41284 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41286 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41293 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41294 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41295 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41310 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41311 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41312 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41314 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41315 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41317 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41323 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41324 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41329 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41331 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41332 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41354 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41356 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41357 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41359 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41363 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41365 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41369 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41370 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41371 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41372 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41373 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41376 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41377 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41378 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41379 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41381 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41382 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41384 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41386 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41387 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41388 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41390 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41392 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41394 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41396 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41397 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41399 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41401 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41404 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41405 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41406 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41408 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41411 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41412 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41414 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41416 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41417 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41445 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41446 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41447 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41454 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41464 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41469 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41471 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41477 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41482 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41483 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41485 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41488 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41490 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41491 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41494 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41495 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41497 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41499 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41500 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41501 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41503 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41504 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41505 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41506 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41508 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41511 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41512 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41514 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41522 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41523 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41524 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41525 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41526 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41527 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41528 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41529 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41530 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41532 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41534 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41536 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41538 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41539 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41541 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41543 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41544 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41545 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41547 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41548 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41549 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41551 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41557 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41558 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41559 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41560 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41561 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41567 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41571 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41573 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41574 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41579 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41580 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41582 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41585 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41587 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41588 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41589 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41590 { NULL
, NULL
, 0, NULL
}
41594 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41596 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41597 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41599 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41600 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41602 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41603 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41605 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41606 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41608 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41609 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41611 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41612 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41614 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41615 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41617 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41618 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41620 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41621 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41623 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41624 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41626 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41629 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41630 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41632 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41635 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41636 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41638 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41639 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41641 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41642 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41644 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41645 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41647 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41648 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41650 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41651 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41653 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41656 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41657 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41659 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41660 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41662 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41663 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41665 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41666 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41668 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41669 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41671 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41672 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41674 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41675 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41677 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41678 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41680 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41683 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41684 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41686 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41687 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41689 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41692 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41693 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41695 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41696 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41698 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41699 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41701 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41702 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41704 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41705 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41707 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41708 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41710 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41711 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41713 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41714 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41716 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41717 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41719 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41722 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41723 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41725 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41726 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41728 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41729 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41731 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41732 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41734 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41735 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41737 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41738 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
41740 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41741 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41743 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41744 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41746 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41747 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41749 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41750 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41752 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41753 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41755 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41756 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41758 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41759 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41761 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41762 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41764 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41765 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41767 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41768 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41770 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41771 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41773 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41774 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41776 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41777 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41779 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41780 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41782 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
41783 return (void *)((wxControl
*) ((wxComboBox
*) x
));
41785 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
41786 return (void *)((wxControl
*) ((wxPyControl
*) x
));
41788 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
41789 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
41791 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
41792 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
41794 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41795 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41797 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
41798 return (void *)((wxControl
*) ((wxGauge
*) x
));
41800 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
41801 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
41803 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
41804 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41806 static void *_p_wxListbookTo_p_wxControl(void *x
) {
41807 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
41809 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
41810 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
41812 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
41813 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
41815 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
41816 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
41818 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
41819 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41821 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
41822 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41824 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
41825 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41827 static void *_p_wxListViewTo_p_wxControl(void *x
) {
41828 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
41830 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
41831 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
41833 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
41834 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
41836 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
41837 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
41839 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
41840 return (void *)((wxControl
*) ((wxStaticText
*) x
));
41842 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
41843 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
41845 static void *_p_wxSliderTo_p_wxControl(void *x
) {
41846 return (void *)((wxControl
*) ((wxSlider
*) x
));
41848 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
41849 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
41851 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
41852 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
41854 static void *_p_wxButtonTo_p_wxControl(void *x
) {
41855 return (void *)((wxControl
*) ((wxButton
*) x
));
41857 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
41858 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
41860 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
41861 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41863 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
41864 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
41866 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
41867 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
41869 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
41870 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
41872 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
41873 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41875 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
41876 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41878 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
41879 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41881 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
41882 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
41884 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
41885 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41887 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
41888 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41890 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
41891 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41893 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
41894 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41896 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
41897 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41899 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
41900 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41902 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
41903 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41905 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
41906 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
41908 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
41909 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
41911 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
41912 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
41914 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
41915 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
41917 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41918 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41920 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
41921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
41923 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41924 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41926 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41927 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41929 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
41930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
41932 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41933 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41935 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
41936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
41938 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
41939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
41941 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
41942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
41944 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41945 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41947 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41948 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41950 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
41951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
41953 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
41954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
41956 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
41957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
41959 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
41960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41962 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
41963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
41965 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41966 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41968 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
41969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
41971 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
41972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
41974 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41977 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
41978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
41980 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
41981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
41983 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
41984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41986 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
41987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
41989 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
41990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
41992 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
41993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
41995 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
41996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
41998 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
41999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42001 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42004 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42007 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42010 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42013 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42016 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42019 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42022 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42025 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42028 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42031 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42034 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42037 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42040 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42043 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42046 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42049 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42050 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42052 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42053 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42055 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42056 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42058 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42059 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42061 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42062 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42064 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42065 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42067 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42070 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42071 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42073 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42074 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42076 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42079 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42080 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42082 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42085 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42086 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42088 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42089 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42091 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42092 return (void *)((wxObject
*) ((wxSizer
*) x
));
42094 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42095 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42097 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42100 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42103 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42106 static void *_p_wxEventTo_p_wxObject(void *x
) {
42107 return (void *)((wxObject
*) ((wxEvent
*) x
));
42109 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42110 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42112 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42113 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42115 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42116 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42118 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42121 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42124 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42127 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42128 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42130 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42131 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42133 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42134 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42136 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42137 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42139 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42140 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42142 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42143 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42145 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42148 static void *_p_wxControlTo_p_wxObject(void *x
) {
42149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42151 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42154 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42157 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42160 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42163 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42166 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42167 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42169 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42172 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42173 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42175 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42176 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42178 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42181 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42184 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42187 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42190 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42191 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42193 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42196 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42199 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42202 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42203 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42205 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42208 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42211 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42212 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42214 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42217 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42218 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42220 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42223 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42224 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42226 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42227 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42229 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42230 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42232 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42233 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42235 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42236 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42238 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42239 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42241 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42244 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42245 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42247 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42250 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42253 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42256 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42259 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42262 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42265 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42268 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42271 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42274 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42277 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42280 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42283 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42286 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42289 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42292 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42295 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42298 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42301 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42304 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42307 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42310 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42313 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42316 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42319 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42322 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42325 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42328 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42331 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) ((wxListItem
*) x
));
42334 static void *_p_wxImageTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) ((wxImage
*) x
));
42337 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42340 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42343 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42346 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42349 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42352 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42355 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42358 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42361 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42364 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42367 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42370 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42373 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42376 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42379 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42382 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42383 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42385 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42388 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42389 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42391 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42392 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42394 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42395 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42397 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42398 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42400 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42401 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42403 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42406 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42409 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42412 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42413 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42415 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42418 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42419 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42421 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42422 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42424 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42427 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42430 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42433 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42434 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42436 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42439 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42442 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42443 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42445 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42446 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42448 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42449 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42451 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42452 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42454 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42455 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42457 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42458 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42460 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42461 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42463 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42464 return (void *)((wxWindow
*) ((wxControl
*) x
));
42466 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42467 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42469 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42470 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42472 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42473 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
42475 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42476 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42478 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42479 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42481 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42482 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42484 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42485 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42487 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42488 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42490 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42491 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42493 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42494 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42496 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42497 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42499 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42500 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42502 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42503 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42505 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42506 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42508 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42509 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42511 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42512 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42514 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42515 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42517 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42518 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42520 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42521 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42523 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42524 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42526 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42527 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42529 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42530 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42532 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42533 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42535 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42536 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42538 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42539 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42541 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42542 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42544 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42545 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42547 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42548 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42550 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42551 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42553 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42554 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42556 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42557 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42559 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42560 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42562 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42563 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42565 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42566 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42568 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42569 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42571 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42572 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42574 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42575 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42577 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42578 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42580 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42581 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42583 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42584 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42586 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42587 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42589 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42590 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42592 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42593 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42595 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42596 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42598 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42599 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42601 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42602 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42604 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42605 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42607 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42608 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42610 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42611 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42613 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42614 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42616 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42617 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42619 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42620 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42622 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42623 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42625 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42626 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42628 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42629 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42631 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42632 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42634 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42635 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42637 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42638 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42640 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42641 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42643 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42644 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42646 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42647 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42649 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42650 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42652 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42653 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42654 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};
42655 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42656 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42657 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42658 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42659 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42660 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42661 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42662 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42663 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42664 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42665 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42666 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42667 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42668 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42669 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42670 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42671 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42672 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42673 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42674 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42675 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42676 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42677 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42678 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42679 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42680 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42681 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42682 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42683 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42684 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42685 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42686 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42687 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42688 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42689 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42690 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42691 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42692 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42693 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42694 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42695 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42696 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42697 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42698 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42699 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42700 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42701 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42702 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42703 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42704 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42705 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42706 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42707 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42708 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42709 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42710 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42711 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42712 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42713 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42714 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42715 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42716 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42717 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42718 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42719 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42720 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42721 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42722 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42723 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42724 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42725 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42726 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42727 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42728 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42729 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42730 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42731 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42732 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42733 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42734 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42735 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42736 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42737 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42738 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42739 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42740 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42741 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42742 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42743 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42744 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42745 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42746 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42747 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42748 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42749 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42750 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42751 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42752 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42753 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42754 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42755 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42756 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42757 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42758 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42759 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42760 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42761 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42762 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42763 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42764 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42765 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42766 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42767 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42768 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42769 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42770 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42771 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42772 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42773 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42774 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42775 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42776 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
42777 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
42778 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
42779 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
42780 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
42781 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
42782 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
42783 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
42784 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
42785 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
42786 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
42787 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
42788 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
42789 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
42790 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
42791 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
42792 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
42793 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
42794 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
42795 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
42796 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
42797 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
42798 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
42799 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
42800 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
42801 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
42802 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
42803 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
42804 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
42805 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
42806 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
42807 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
42808 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
42809 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
42810 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
42811 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
42812 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
42813 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
42814 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
42816 static swig_type_info
*swig_type_initial
[] = {
42819 &_swigt__p_form_ops_t
,
42822 &_swigt__p_unsigned_char
,
42823 &_swigt__p_unsigned_int
,
42824 &_swigt__p_unsigned_long
,
42826 &_swigt__p_wxANIHandler
,
42827 &_swigt__p_wxAcceleratorTable
,
42828 &_swigt__p_wxActivateEvent
,
42829 &_swigt__p_wxArrayInt
,
42830 &_swigt__p_wxArrayString
,
42831 &_swigt__p_wxBMPHandler
,
42832 &_swigt__p_wxBitmap
,
42833 &_swigt__p_wxBitmapButton
,
42834 &_swigt__p_wxBookCtrlBase
,
42835 &_swigt__p_wxBookCtrlBaseEvent
,
42836 &_swigt__p_wxBoxSizer
,
42837 &_swigt__p_wxButton
,
42838 &_swigt__p_wxCURHandler
,
42839 &_swigt__p_wxCheckBox
,
42840 &_swigt__p_wxCheckListBox
,
42841 &_swigt__p_wxChildFocusEvent
,
42842 &_swigt__p_wxChoice
,
42843 &_swigt__p_wxChoicebook
,
42844 &_swigt__p_wxChoicebookEvent
,
42845 &_swigt__p_wxCloseEvent
,
42846 &_swigt__p_wxColour
,
42847 &_swigt__p_wxComboBox
,
42848 &_swigt__p_wxCommandEvent
,
42849 &_swigt__p_wxContextHelp
,
42850 &_swigt__p_wxContextHelpButton
,
42851 &_swigt__p_wxContextMenuEvent
,
42852 &_swigt__p_wxControl
,
42853 &_swigt__p_wxControlWithItems
,
42854 &_swigt__p_wxCursor
,
42856 &_swigt__p_wxDateEvent
,
42857 &_swigt__p_wxDatePickerCtrl
,
42858 &_swigt__p_wxDateTime
,
42859 &_swigt__p_wxDirFilterListCtrl
,
42860 &_swigt__p_wxDisplayChangedEvent
,
42861 &_swigt__p_wxDropFilesEvent
,
42862 &_swigt__p_wxDuplexMode
,
42863 &_swigt__p_wxEraseEvent
,
42864 &_swigt__p_wxEvent
,
42865 &_swigt__p_wxEvtHandler
,
42866 &_swigt__p_wxFSFile
,
42867 &_swigt__p_wxFileSystem
,
42868 &_swigt__p_wxFlexGridSizer
,
42869 &_swigt__p_wxFocusEvent
,
42871 &_swigt__p_wxGBSizerItem
,
42872 &_swigt__p_wxGIFHandler
,
42873 &_swigt__p_wxGauge
,
42874 &_swigt__p_wxGenericDirCtrl
,
42875 &_swigt__p_wxGenericDragImage
,
42876 &_swigt__p_wxGridBagSizer
,
42877 &_swigt__p_wxGridSizer
,
42878 &_swigt__p_wxHelpEvent
,
42879 &_swigt__p_wxHelpProvider
,
42880 &_swigt__p_wxICOHandler
,
42882 &_swigt__p_wxIconizeEvent
,
42883 &_swigt__p_wxIdleEvent
,
42884 &_swigt__p_wxImage
,
42885 &_swigt__p_wxImageHandler
,
42886 &_swigt__p_wxImageList
,
42887 &_swigt__p_wxIndividualLayoutConstraint
,
42888 &_swigt__p_wxInitDialogEvent
,
42889 &_swigt__p_wxItemContainer
,
42890 &_swigt__p_wxJPEGHandler
,
42891 &_swigt__p_wxKeyEvent
,
42892 &_swigt__p_wxLayoutConstraints
,
42893 &_swigt__p_wxListBox
,
42894 &_swigt__p_wxListEvent
,
42895 &_swigt__p_wxListItem
,
42896 &_swigt__p_wxListItemAttr
,
42897 &_swigt__p_wxListView
,
42898 &_swigt__p_wxListbook
,
42899 &_swigt__p_wxListbookEvent
,
42900 &_swigt__p_wxMaximizeEvent
,
42901 &_swigt__p_wxMemoryDC
,
42903 &_swigt__p_wxMenuBar
,
42904 &_swigt__p_wxMenuEvent
,
42905 &_swigt__p_wxMenuItem
,
42906 &_swigt__p_wxMouseCaptureChangedEvent
,
42907 &_swigt__p_wxMouseEvent
,
42908 &_swigt__p_wxMoveEvent
,
42909 &_swigt__p_wxNavigationKeyEvent
,
42910 &_swigt__p_wxNcPaintEvent
,
42911 &_swigt__p_wxNotebook
,
42912 &_swigt__p_wxNotebookEvent
,
42913 &_swigt__p_wxNotifyEvent
,
42914 &_swigt__p_wxObject
,
42915 &_swigt__p_wxPCXHandler
,
42916 &_swigt__p_wxPNGHandler
,
42917 &_swigt__p_wxPNMHandler
,
42918 &_swigt__p_wxPaintEvent
,
42919 &_swigt__p_wxPaletteChangedEvent
,
42920 &_swigt__p_wxPaperSize
,
42921 &_swigt__p_wxPoint
,
42922 &_swigt__p_wxPyApp
,
42923 &_swigt__p_wxPyCommandEvent
,
42924 &_swigt__p_wxPyControl
,
42925 &_swigt__p_wxPyEvent
,
42926 &_swigt__p_wxPyImageHandler
,
42927 &_swigt__p_wxPyListCtrl
,
42928 &_swigt__p_wxPySizer
,
42929 &_swigt__p_wxPyTreeCtrl
,
42930 &_swigt__p_wxPyTreeItemData
,
42931 &_swigt__p_wxPyValidator
,
42932 &_swigt__p_wxQueryNewPaletteEvent
,
42933 &_swigt__p_wxRadioBox
,
42934 &_swigt__p_wxRadioButton
,
42936 &_swigt__p_wxScrollBar
,
42937 &_swigt__p_wxScrollEvent
,
42938 &_swigt__p_wxScrollWinEvent
,
42939 &_swigt__p_wxSetCursorEvent
,
42940 &_swigt__p_wxShowEvent
,
42941 &_swigt__p_wxSimpleHelpProvider
,
42943 &_swigt__p_wxSizeEvent
,
42944 &_swigt__p_wxSizer
,
42945 &_swigt__p_wxSizerItem
,
42946 &_swigt__p_wxSlider
,
42947 &_swigt__p_wxSpinButton
,
42948 &_swigt__p_wxSpinCtrl
,
42949 &_swigt__p_wxSpinEvent
,
42950 &_swigt__p_wxStaticBitmap
,
42951 &_swigt__p_wxStaticBox
,
42952 &_swigt__p_wxStaticBoxSizer
,
42953 &_swigt__p_wxStaticLine
,
42954 &_swigt__p_wxStaticText
,
42955 &_swigt__p_wxStdDialogButtonSizer
,
42956 &_swigt__p_wxString
,
42957 &_swigt__p_wxSysColourChangedEvent
,
42958 &_swigt__p_wxTIFFHandler
,
42959 &_swigt__p_wxTextAttr
,
42960 &_swigt__p_wxTextCtrl
,
42961 &_swigt__p_wxTextUrlEvent
,
42962 &_swigt__p_wxToggleButton
,
42963 &_swigt__p_wxToolBar
,
42964 &_swigt__p_wxToolBarBase
,
42965 &_swigt__p_wxToolBarToolBase
,
42966 &_swigt__p_wxToolbook
,
42967 &_swigt__p_wxToolbookEvent
,
42968 &_swigt__p_wxTreeCtrl
,
42969 &_swigt__p_wxTreeEvent
,
42970 &_swigt__p_wxTreeItemId
,
42971 &_swigt__p_wxTreebook
,
42972 &_swigt__p_wxTreebookEvent
,
42973 &_swigt__p_wxUpdateUIEvent
,
42974 &_swigt__p_wxValidator
,
42975 &_swigt__p_wxVisualAttributes
,
42976 &_swigt__p_wxWindow
,
42977 &_swigt__p_wxWindowCreateEvent
,
42978 &_swigt__p_wxWindowDestroyEvent
,
42979 &_swigt__p_wxXPMHandler
,
42982 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
42983 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
42984 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
42985 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
42986 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
42987 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
42988 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
42989 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
42990 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
42991 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
42992 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
42993 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
42994 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}};
42995 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}};
42996 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}};
42997 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}};
42998 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
42999 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43000 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}};
43001 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43002 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43003 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43004 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43005 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43006 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43007 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43008 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43009 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43010 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43011 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43012 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43013 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}};
43014 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43015 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43016 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}};
43017 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}};
43018 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43019 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43020 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43021 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43022 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43023 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43024 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43025 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43026 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43027 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43028 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43029 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43030 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43031 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43032 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43033 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43034 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43035 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43036 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43037 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43038 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43039 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43040 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43041 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43042 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43043 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43044 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43045 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43046 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43047 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43048 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}};
43049 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43050 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43051 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43052 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43053 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}};
43054 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43055 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43056 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43057 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43058 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43059 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}};
43060 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43061 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43062 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}};
43063 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43064 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}};
43065 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43066 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43067 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43068 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43069 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43070 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43071 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43072 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43073 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43074 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43075 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}};
43076 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43077 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43078 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43079 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43080 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43081 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43082 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43083 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43084 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43085 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43086 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43087 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43088 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43089 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43090 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43091 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43092 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43093 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43094 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43095 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43096 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43097 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43098 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43099 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43100 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43101 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43102 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43103 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43104 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43105 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43106 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}};
43107 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43108 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43109 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43110 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}};
43111 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43112 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43113 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43114 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43115 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43116 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43117 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43118 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43119 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43120 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43121 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43122 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43123 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43124 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43125 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43126 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43127 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43128 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43129 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43130 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43131 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43132 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43133 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}};
43134 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43135 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43136 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43137 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43138 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43139 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43140 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43141 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43142 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}};
43143 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43144 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}};
43146 static swig_cast_info
*swig_cast_initial
[] = {
43149 _swigc__p_form_ops_t
,
43152 _swigc__p_unsigned_char
,
43153 _swigc__p_unsigned_int
,
43154 _swigc__p_unsigned_long
,
43156 _swigc__p_wxANIHandler
,
43157 _swigc__p_wxAcceleratorTable
,
43158 _swigc__p_wxActivateEvent
,
43159 _swigc__p_wxArrayInt
,
43160 _swigc__p_wxArrayString
,
43161 _swigc__p_wxBMPHandler
,
43162 _swigc__p_wxBitmap
,
43163 _swigc__p_wxBitmapButton
,
43164 _swigc__p_wxBookCtrlBase
,
43165 _swigc__p_wxBookCtrlBaseEvent
,
43166 _swigc__p_wxBoxSizer
,
43167 _swigc__p_wxButton
,
43168 _swigc__p_wxCURHandler
,
43169 _swigc__p_wxCheckBox
,
43170 _swigc__p_wxCheckListBox
,
43171 _swigc__p_wxChildFocusEvent
,
43172 _swigc__p_wxChoice
,
43173 _swigc__p_wxChoicebook
,
43174 _swigc__p_wxChoicebookEvent
,
43175 _swigc__p_wxCloseEvent
,
43176 _swigc__p_wxColour
,
43177 _swigc__p_wxComboBox
,
43178 _swigc__p_wxCommandEvent
,
43179 _swigc__p_wxContextHelp
,
43180 _swigc__p_wxContextHelpButton
,
43181 _swigc__p_wxContextMenuEvent
,
43182 _swigc__p_wxControl
,
43183 _swigc__p_wxControlWithItems
,
43184 _swigc__p_wxCursor
,
43186 _swigc__p_wxDateEvent
,
43187 _swigc__p_wxDatePickerCtrl
,
43188 _swigc__p_wxDateTime
,
43189 _swigc__p_wxDirFilterListCtrl
,
43190 _swigc__p_wxDisplayChangedEvent
,
43191 _swigc__p_wxDropFilesEvent
,
43192 _swigc__p_wxDuplexMode
,
43193 _swigc__p_wxEraseEvent
,
43195 _swigc__p_wxEvtHandler
,
43196 _swigc__p_wxFSFile
,
43197 _swigc__p_wxFileSystem
,
43198 _swigc__p_wxFlexGridSizer
,
43199 _swigc__p_wxFocusEvent
,
43201 _swigc__p_wxGBSizerItem
,
43202 _swigc__p_wxGIFHandler
,
43204 _swigc__p_wxGenericDirCtrl
,
43205 _swigc__p_wxGenericDragImage
,
43206 _swigc__p_wxGridBagSizer
,
43207 _swigc__p_wxGridSizer
,
43208 _swigc__p_wxHelpEvent
,
43209 _swigc__p_wxHelpProvider
,
43210 _swigc__p_wxICOHandler
,
43212 _swigc__p_wxIconizeEvent
,
43213 _swigc__p_wxIdleEvent
,
43215 _swigc__p_wxImageHandler
,
43216 _swigc__p_wxImageList
,
43217 _swigc__p_wxIndividualLayoutConstraint
,
43218 _swigc__p_wxInitDialogEvent
,
43219 _swigc__p_wxItemContainer
,
43220 _swigc__p_wxJPEGHandler
,
43221 _swigc__p_wxKeyEvent
,
43222 _swigc__p_wxLayoutConstraints
,
43223 _swigc__p_wxListBox
,
43224 _swigc__p_wxListEvent
,
43225 _swigc__p_wxListItem
,
43226 _swigc__p_wxListItemAttr
,
43227 _swigc__p_wxListView
,
43228 _swigc__p_wxListbook
,
43229 _swigc__p_wxListbookEvent
,
43230 _swigc__p_wxMaximizeEvent
,
43231 _swigc__p_wxMemoryDC
,
43233 _swigc__p_wxMenuBar
,
43234 _swigc__p_wxMenuEvent
,
43235 _swigc__p_wxMenuItem
,
43236 _swigc__p_wxMouseCaptureChangedEvent
,
43237 _swigc__p_wxMouseEvent
,
43238 _swigc__p_wxMoveEvent
,
43239 _swigc__p_wxNavigationKeyEvent
,
43240 _swigc__p_wxNcPaintEvent
,
43241 _swigc__p_wxNotebook
,
43242 _swigc__p_wxNotebookEvent
,
43243 _swigc__p_wxNotifyEvent
,
43244 _swigc__p_wxObject
,
43245 _swigc__p_wxPCXHandler
,
43246 _swigc__p_wxPNGHandler
,
43247 _swigc__p_wxPNMHandler
,
43248 _swigc__p_wxPaintEvent
,
43249 _swigc__p_wxPaletteChangedEvent
,
43250 _swigc__p_wxPaperSize
,
43253 _swigc__p_wxPyCommandEvent
,
43254 _swigc__p_wxPyControl
,
43255 _swigc__p_wxPyEvent
,
43256 _swigc__p_wxPyImageHandler
,
43257 _swigc__p_wxPyListCtrl
,
43258 _swigc__p_wxPySizer
,
43259 _swigc__p_wxPyTreeCtrl
,
43260 _swigc__p_wxPyTreeItemData
,
43261 _swigc__p_wxPyValidator
,
43262 _swigc__p_wxQueryNewPaletteEvent
,
43263 _swigc__p_wxRadioBox
,
43264 _swigc__p_wxRadioButton
,
43266 _swigc__p_wxScrollBar
,
43267 _swigc__p_wxScrollEvent
,
43268 _swigc__p_wxScrollWinEvent
,
43269 _swigc__p_wxSetCursorEvent
,
43270 _swigc__p_wxShowEvent
,
43271 _swigc__p_wxSimpleHelpProvider
,
43273 _swigc__p_wxSizeEvent
,
43275 _swigc__p_wxSizerItem
,
43276 _swigc__p_wxSlider
,
43277 _swigc__p_wxSpinButton
,
43278 _swigc__p_wxSpinCtrl
,
43279 _swigc__p_wxSpinEvent
,
43280 _swigc__p_wxStaticBitmap
,
43281 _swigc__p_wxStaticBox
,
43282 _swigc__p_wxStaticBoxSizer
,
43283 _swigc__p_wxStaticLine
,
43284 _swigc__p_wxStaticText
,
43285 _swigc__p_wxStdDialogButtonSizer
,
43286 _swigc__p_wxString
,
43287 _swigc__p_wxSysColourChangedEvent
,
43288 _swigc__p_wxTIFFHandler
,
43289 _swigc__p_wxTextAttr
,
43290 _swigc__p_wxTextCtrl
,
43291 _swigc__p_wxTextUrlEvent
,
43292 _swigc__p_wxToggleButton
,
43293 _swigc__p_wxToolBar
,
43294 _swigc__p_wxToolBarBase
,
43295 _swigc__p_wxToolBarToolBase
,
43296 _swigc__p_wxToolbook
,
43297 _swigc__p_wxToolbookEvent
,
43298 _swigc__p_wxTreeCtrl
,
43299 _swigc__p_wxTreeEvent
,
43300 _swigc__p_wxTreeItemId
,
43301 _swigc__p_wxTreebook
,
43302 _swigc__p_wxTreebookEvent
,
43303 _swigc__p_wxUpdateUIEvent
,
43304 _swigc__p_wxValidator
,
43305 _swigc__p_wxVisualAttributes
,
43306 _swigc__p_wxWindow
,
43307 _swigc__p_wxWindowCreateEvent
,
43308 _swigc__p_wxWindowDestroyEvent
,
43309 _swigc__p_wxXPMHandler
,
43313 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43315 static swig_const_info swig_const_table
[] = {
43316 {0, 0, 0, 0.0, 0, 0}};
43321 /* -----------------------------------------------------------------------------
43322 * Type initialization:
43323 * This problem is tough by the requirement that no dynamic
43324 * memory is used. Also, since swig_type_info structures store pointers to
43325 * swig_cast_info structures and swig_cast_info structures store pointers back
43326 * to swig_type_info structures, we need some lookup code at initialization.
43327 * The idea is that swig generates all the structures that are needed.
43328 * The runtime then collects these partially filled structures.
43329 * The SWIG_InitializeModule function takes these initial arrays out of
43330 * swig_module, and does all the lookup, filling in the swig_module.types
43331 * array with the correct data and linking the correct swig_cast_info
43332 * structures together.
43334 * The generated swig_type_info structures are assigned staticly to an initial
43335 * array. We just loop though that array, and handle each type individually.
43336 * First we lookup if this type has been already loaded, and if so, use the
43337 * loaded structure instead of the generated one. Then we have to fill in the
43338 * cast linked list. The cast data is initially stored in something like a
43339 * two-dimensional array. Each row corresponds to a type (there are the same
43340 * number of rows as there are in the swig_type_initial array). Each entry in
43341 * a column is one of the swig_cast_info structures for that type.
43342 * The cast_initial array is actually an array of arrays, because each row has
43343 * a variable number of columns. So to actually build the cast linked list,
43344 * we find the array of casts associated with the type, and loop through it
43345 * adding the casts to the list. The one last trick we need to do is making
43346 * sure the type pointer in the swig_cast_info struct is correct.
43348 * First off, we lookup the cast->type name to see if it is already loaded.
43349 * There are three cases to handle:
43350 * 1) If the cast->type has already been loaded AND the type we are adding
43351 * casting info to has not been loaded (it is in this module), THEN we
43352 * replace the cast->type pointer with the type pointer that has already
43354 * 2) If BOTH types (the one we are adding casting info to, and the
43355 * cast->type) are loaded, THEN the cast info has already been loaded by
43356 * the previous module so we just ignore it.
43357 * 3) Finally, if cast->type has not already been loaded, then we add that
43358 * swig_cast_info to the linked list (because the cast->type) pointer will
43360 * ----------------------------------------------------------------------------- */
43370 #define SWIGRUNTIME_DEBUG
43374 SWIG_InitializeModule(void *clientdata
) {
43376 swig_module_info
*module_head
;
43377 static int init_run
= 0;
43379 clientdata
= clientdata
;
43381 if (init_run
) return;
43384 /* Initialize the swig_module */
43385 swig_module
.type_initial
= swig_type_initial
;
43386 swig_module
.cast_initial
= swig_cast_initial
;
43388 /* Try and load any already created modules */
43389 module_head
= SWIG_GetModule(clientdata
);
43391 swig_module
.next
= module_head
->next
;
43392 module_head
->next
= &swig_module
;
43394 /* This is the first module loaded */
43395 swig_module
.next
= &swig_module
;
43396 SWIG_SetModule(clientdata
, &swig_module
);
43399 /* Now work on filling in swig_module.types */
43400 #ifdef SWIGRUNTIME_DEBUG
43401 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43403 for (i
= 0; i
< swig_module
.size
; ++i
) {
43404 swig_type_info
*type
= 0;
43405 swig_type_info
*ret
;
43406 swig_cast_info
*cast
;
43408 #ifdef SWIGRUNTIME_DEBUG
43409 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43412 /* if there is another module already loaded */
43413 if (swig_module
.next
!= &swig_module
) {
43414 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43417 /* Overwrite clientdata field */
43418 #ifdef SWIGRUNTIME_DEBUG
43419 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43421 if (swig_module
.type_initial
[i
]->clientdata
) {
43422 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43423 #ifdef SWIGRUNTIME_DEBUG
43424 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43428 type
= swig_module
.type_initial
[i
];
43431 /* Insert casting types */
43432 cast
= swig_module
.cast_initial
[i
];
43433 while (cast
->type
) {
43434 /* Don't need to add information already in the list */
43436 #ifdef SWIGRUNTIME_DEBUG
43437 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43439 if (swig_module
.next
!= &swig_module
) {
43440 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43441 #ifdef SWIGRUNTIME_DEBUG
43442 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43446 if (type
== swig_module
.type_initial
[i
]) {
43447 #ifdef SWIGRUNTIME_DEBUG
43448 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43453 /* Check for casting already in the list */
43454 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43455 #ifdef SWIGRUNTIME_DEBUG
43456 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43458 if (!ocast
) ret
= 0;
43463 #ifdef SWIGRUNTIME_DEBUG
43464 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43467 type
->cast
->prev
= cast
;
43468 cast
->next
= type
->cast
;
43474 /* Set entry in modules->types array equal to the type */
43475 swig_module
.types
[i
] = type
;
43477 swig_module
.types
[i
] = 0;
43479 #ifdef SWIGRUNTIME_DEBUG
43480 printf("**** SWIG_InitializeModule: Cast List ******\n");
43481 for (i
= 0; i
< swig_module
.size
; ++i
) {
43483 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43484 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43485 while (cast
->type
) {
43486 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43490 printf("---- Total casts: %d\n",j
);
43492 printf("**** SWIG_InitializeModule: Cast List ******\n");
43496 /* This function will propagate the clientdata field of type to
43497 * any new swig_type_info structures that have been added into the list
43498 * of equivalent types. It is like calling
43499 * SWIG_TypeClientData(type, clientdata) a second time.
43502 SWIG_PropagateClientData(void) {
43504 swig_cast_info
*equiv
;
43505 static int init_run
= 0;
43507 if (init_run
) return;
43510 for (i
= 0; i
< swig_module
.size
; i
++) {
43511 if (swig_module
.types
[i
]->clientdata
) {
43512 equiv
= swig_module
.types
[i
]->cast
;
43514 if (!equiv
->converter
) {
43515 if (equiv
->type
&& !equiv
->type
->clientdata
)
43516 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43518 equiv
= equiv
->next
;
43538 /* Python-specific SWIG API */
43539 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43540 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43541 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43543 /* -----------------------------------------------------------------------------
43544 * global variable support code.
43545 * ----------------------------------------------------------------------------- */
43547 typedef struct swig_globalvar
{
43548 char *name
; /* Name of global variable */
43549 PyObject
*(*get_attr
)(void); /* Return the current value */
43550 int (*set_attr
)(PyObject
*); /* Set the value */
43551 struct swig_globalvar
*next
;
43554 typedef struct swig_varlinkobject
{
43556 swig_globalvar
*vars
;
43557 } swig_varlinkobject
;
43559 SWIGINTERN PyObject
*
43560 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43561 return PyString_FromString("<Swig global variables>");
43564 SWIGINTERN PyObject
*
43565 swig_varlink_str(swig_varlinkobject
*v
) {
43566 PyObject
*str
= PyString_FromString("(");
43567 swig_globalvar
*var
;
43568 for (var
= v
->vars
; var
; var
=var
->next
) {
43569 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43570 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43572 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43577 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43578 PyObject
*str
= swig_varlink_str(v
);
43579 fprintf(fp
,"Swig global variables ");
43580 fprintf(fp
,"%s\n", PyString_AsString(str
));
43586 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43587 swig_globalvar
*var
= v
->vars
;
43589 swig_globalvar
*n
= var
->next
;
43596 SWIGINTERN PyObject
*
43597 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43598 PyObject
*res
= NULL
;
43599 swig_globalvar
*var
= v
->vars
;
43601 if (strcmp(var
->name
,n
) == 0) {
43602 res
= (*var
->get_attr
)();
43607 if (res
== NULL
&& !PyErr_Occurred()) {
43608 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43614 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43616 swig_globalvar
*var
= v
->vars
;
43618 if (strcmp(var
->name
,n
) == 0) {
43619 res
= (*var
->set_attr
)(p
);
43624 if (res
== 1 && !PyErr_Occurred()) {
43625 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43630 SWIGINTERN PyTypeObject
*
43631 swig_varlink_type(void) {
43632 static char varlink__doc__
[] = "Swig var link object";
43633 static PyTypeObject varlink_type
;
43634 static int type_init
= 0;
43636 const PyTypeObject tmp
43638 PyObject_HEAD_INIT(NULL
)
43639 0, /* Number of items in variable part (ob_size) */
43640 (char *)"swigvarlink", /* Type name (tp_name) */
43641 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43642 0, /* Itemsize (tp_itemsize) */
43643 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43644 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43645 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43646 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43647 0, /* tp_compare */
43648 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43649 0, /* tp_as_number */
43650 0, /* tp_as_sequence */
43651 0, /* tp_as_mapping */
43654 (reprfunc
)swig_varlink_str
, /* tp_str */
43655 0, /* tp_getattro */
43656 0, /* tp_setattro */
43657 0, /* tp_as_buffer */
43659 varlink__doc__
, /* tp_doc */
43660 0, /* tp_traverse */
43662 0, /* tp_richcompare */
43663 0, /* tp_weaklistoffset */
43664 #if PY_VERSION_HEX >= 0x02020000
43665 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43667 #if PY_VERSION_HEX >= 0x02030000
43670 #ifdef COUNT_ALLOCS
43671 0,0,0,0 /* tp_alloc -> tp_next */
43674 varlink_type
= tmp
;
43675 varlink_type
.ob_type
= &PyType_Type
;
43678 return &varlink_type
;
43681 /* Create a variable linking object for use later */
43682 SWIGINTERN PyObject
*
43683 SWIG_Python_newvarlink(void) {
43684 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43688 return ((PyObject
*) result
);
43692 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43693 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43694 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43696 size_t size
= strlen(name
)+1;
43697 gv
->name
= (char *)malloc(size
);
43699 strncpy(gv
->name
,name
,size
);
43700 gv
->get_attr
= get_attr
;
43701 gv
->set_attr
= set_attr
;
43702 gv
->next
= v
->vars
;
43708 SWIGINTERN PyObject
*
43710 static PyObject
*_SWIG_globals
= 0;
43711 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43712 return _SWIG_globals
;
43715 /* -----------------------------------------------------------------------------
43716 * constants/methods manipulation
43717 * ----------------------------------------------------------------------------- */
43719 /* Install Constants */
43721 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43724 for (i
= 0; constants
[i
].type
; ++i
) {
43725 switch(constants
[i
].type
) {
43726 case SWIG_PY_POINTER
:
43727 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43729 case SWIG_PY_BINARY
:
43730 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43737 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43743 /* -----------------------------------------------------------------------------*/
43744 /* Fix SwigMethods to carry the callback ptrs when needed */
43745 /* -----------------------------------------------------------------------------*/
43748 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43749 swig_const_info
*const_table
,
43750 swig_type_info
**types
,
43751 swig_type_info
**types_initial
) {
43753 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43754 char *c
= methods
[i
].ml_doc
;
43755 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43757 swig_const_info
*ci
= 0;
43758 char *name
= c
+ 10;
43759 for (j
= 0; const_table
[j
].type
; ++j
) {
43760 if (strncmp(const_table
[j
].name
, name
,
43761 strlen(const_table
[j
].name
)) == 0) {
43762 ci
= &(const_table
[j
]);
43767 size_t shift
= (ci
->ptype
) - types
;
43768 swig_type_info
*ty
= types_initial
[shift
];
43769 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43770 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43771 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43774 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43776 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
43778 strncpy(buff
, "swig_ptr: ", 10);
43780 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
43781 methods
[i
].ml_doc
= ndoc
;
43793 /* -----------------------------------------------------------------------------*
43794 * Partial Init method
43795 * -----------------------------------------------------------------------------*/
43800 SWIGEXPORT
void SWIG_init(void) {
43803 /* Fix SwigMethods to carry the callback ptrs when needed */
43804 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
43806 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43807 d
= PyModule_GetDict(m
);
43809 SWIG_InitializeModule(0);
43810 SWIG_InstallConstants(d
,swig_const_table
);
43813 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
43814 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
43815 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
43816 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
43817 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
43818 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
43819 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
43820 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
43821 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
43822 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
43823 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
43824 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
43825 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
43826 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
43827 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
43828 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
43829 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
43830 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
43831 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
43832 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
43833 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
43834 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
43835 SWIG_Python_SetConstant(d
, "GA_PROGRESSBAR",SWIG_From_int(static_cast< int >(wxGA_PROGRESSBAR
)));
43836 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
43837 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
43838 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
43839 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
43840 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
43841 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
43842 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
43843 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
43844 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
43845 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
43846 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
43847 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
43848 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
43849 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
43850 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
43851 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
43852 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
43853 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
43854 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
43855 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
43856 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
43857 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
43858 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
43859 SWIG_Python_SetConstant(d
, "TE_LINEWRAP",SWIG_From_int(static_cast< int >(wxTE_LINEWRAP
)));
43860 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
43861 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
43862 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
43863 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
43864 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
43865 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
43866 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
43867 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
43868 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
43869 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
43870 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
43871 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
43872 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
43873 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
43874 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
43875 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
43876 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
43877 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
43878 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
43879 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
43880 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
43881 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
43882 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
43883 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
43884 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
43885 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
43886 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
43887 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
43888 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
43889 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
43890 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
43891 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
43892 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
43893 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
43894 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
43895 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
43896 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
43897 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
43898 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
43899 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
43900 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
43901 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
43902 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
43903 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
43904 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
43905 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
43906 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
43907 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
43908 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
43909 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
43910 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
43911 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
43912 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
43913 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
43914 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
43915 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
43916 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
43917 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
43918 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
43919 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
43920 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
43921 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
43922 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
43923 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
43924 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
43925 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
43926 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
43927 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
43928 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
43929 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
43930 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
43931 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
43932 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
43933 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
43934 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
43935 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
43936 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
43937 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
43938 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
43939 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
43940 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
43941 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
43942 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
43943 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
43944 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
43945 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
43946 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
43947 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
43948 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
43949 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
43950 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
43951 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
43952 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
43953 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
43954 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
43955 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
43956 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
43957 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
43958 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
43959 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
43960 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
43961 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
43962 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
43963 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
43964 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
43965 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
43966 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
43967 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
43968 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
43969 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
43970 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
43971 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
43972 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
43973 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
43974 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
43975 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
43976 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
43977 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
43978 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
43979 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
43980 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
43981 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
43982 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
43983 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
43984 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
43985 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
43986 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
43987 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
43988 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
43989 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
43990 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
43991 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
43992 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
43993 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
43994 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
43995 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
43996 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
43997 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
43998 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
43999 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44000 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44001 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44002 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44003 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44004 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44005 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44006 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44007 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44008 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44009 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44010 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44011 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44012 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44013 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44014 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44015 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44016 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44017 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44018 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44019 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44020 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44021 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44022 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44023 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44024 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44025 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44026 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44027 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44028 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44029 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44030 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44031 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44032 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44033 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44034 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44035 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44036 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44037 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44038 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44039 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44040 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44041 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44042 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44043 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44044 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44045 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44046 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44049 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44050 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44051 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44052 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44053 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44054 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44055 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44056 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44057 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44058 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44059 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44060 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44062 // Map renamed classes back to their common name for OOR
44063 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44065 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44066 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44067 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44068 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44069 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44070 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44071 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44072 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44073 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44074 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44075 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44076 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44077 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44078 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44079 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44080 SWIG_Python_SetConstant(d
, "TR_MAC_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_MAC_BUTTONS
)));
44081 SWIG_Python_SetConstant(d
, "TR_AQUA_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_AQUA_BUTTONS
)));
44082 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44083 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44084 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44085 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44086 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44087 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44088 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44089 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44090 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44091 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44092 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44093 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44094 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44095 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44096 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44097 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44098 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44099 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44100 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44101 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44102 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44103 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44104 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44105 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44106 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44107 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44108 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44109 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44110 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44111 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44112 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44113 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44114 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44115 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44116 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44117 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44118 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44119 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44120 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44121 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44123 // Map renamed classes back to their common name for OOR
44124 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44125 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44127 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44128 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44129 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44130 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44131 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44132 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44133 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44134 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44135 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44136 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44138 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44140 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44141 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44142 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44143 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44144 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44145 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));