1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxComboBox swig_types[31]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelp swig_types[33]
2496 #define SWIGTYPE_p_wxContextHelpButton swig_types[34]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[35]
2498 #define SWIGTYPE_p_wxControl swig_types[36]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[37]
2500 #define SWIGTYPE_p_wxCursor swig_types[38]
2501 #define SWIGTYPE_p_wxDC swig_types[39]
2502 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2503 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime swig_types[42]
2505 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
2512 #define SWIGTYPE_p_wxFSFile swig_types[50]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[51]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[53]
2516 #define SWIGTYPE_p_wxFont swig_types[54]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[56]
2519 #define SWIGTYPE_p_wxGauge swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[58]
2521 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
2522 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2523 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2524 #define SWIGTYPE_p_wxHelpEvent swig_types[62]
2525 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
2526 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[64]
2527 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[65]
2528 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2529 #define SWIGTYPE_p_wxIcon swig_types[67]
2530 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2532 #define SWIGTYPE_p_wxImage swig_types[70]
2533 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2534 #define SWIGTYPE_p_wxImageList swig_types[72]
2535 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[73]
2536 #define SWIGTYPE_p_wxInitDialogEvent swig_types[74]
2537 #define SWIGTYPE_p_wxItemContainer swig_types[75]
2538 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2539 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2541 #define SWIGTYPE_p_wxListBox swig_types[79]
2542 #define SWIGTYPE_p_wxListEvent swig_types[80]
2543 #define SWIGTYPE_p_wxListItem swig_types[81]
2544 #define SWIGTYPE_p_wxListItemAttr swig_types[82]
2545 #define SWIGTYPE_p_wxListView swig_types[83]
2546 #define SWIGTYPE_p_wxListbook swig_types[84]
2547 #define SWIGTYPE_p_wxListbookEvent swig_types[85]
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[86]
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[87]
2550 #define SWIGTYPE_p_wxMenu swig_types[88]
2551 #define SWIGTYPE_p_wxMenuBar swig_types[89]
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMenuItem swig_types[91]
2554 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMouseEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMoveEvent swig_types[94]
2557 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNcPaintEvent swig_types[96]
2559 #define SWIGTYPE_p_wxNotebook swig_types[97]
2560 #define SWIGTYPE_p_wxNotebookEvent swig_types[98]
2561 #define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2562 #define SWIGTYPE_p_wxObject swig_types[100]
2563 #define SWIGTYPE_p_wxPCXHandler swig_types[101]
2564 #define SWIGTYPE_p_wxPNGHandler swig_types[102]
2565 #define SWIGTYPE_p_wxPNMHandler swig_types[103]
2566 #define SWIGTYPE_p_wxPaintEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[105]
2568 #define SWIGTYPE_p_wxPaperSize swig_types[106]
2569 #define SWIGTYPE_p_wxPoint swig_types[107]
2570 #define SWIGTYPE_p_wxPyApp swig_types[108]
2571 #define SWIGTYPE_p_wxPyCommandEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPyControl swig_types[110]
2573 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPyImageHandler swig_types[112]
2575 #define SWIGTYPE_p_wxPyListCtrl swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[115]
2578 #define SWIGTYPE_p_wxPyTreeItemData swig_types[116]
2579 #define SWIGTYPE_p_wxPyValidator swig_types[117]
2580 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[118]
2581 #define SWIGTYPE_p_wxRadioBox swig_types[119]
2582 #define SWIGTYPE_p_wxRadioButton swig_types[120]
2583 #define SWIGTYPE_p_wxRect swig_types[121]
2584 #define SWIGTYPE_p_wxScrollBar swig_types[122]
2585 #define SWIGTYPE_p_wxScrollEvent swig_types[123]
2586 #define SWIGTYPE_p_wxScrollWinEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSetCursorEvent swig_types[125]
2588 #define SWIGTYPE_p_wxShowEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[127]
2590 #define SWIGTYPE_p_wxSize swig_types[128]
2591 #define SWIGTYPE_p_wxSizeEvent swig_types[129]
2592 #define SWIGTYPE_p_wxSizer swig_types[130]
2593 #define SWIGTYPE_p_wxSizerItem swig_types[131]
2594 #define SWIGTYPE_p_wxSlider swig_types[132]
2595 #define SWIGTYPE_p_wxSpinButton swig_types[133]
2596 #define SWIGTYPE_p_wxSpinCtrl swig_types[134]
2597 #define SWIGTYPE_p_wxSpinEvent swig_types[135]
2598 #define SWIGTYPE_p_wxStaticBitmap swig_types[136]
2599 #define SWIGTYPE_p_wxStaticBox swig_types[137]
2600 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxStaticLine swig_types[139]
2602 #define SWIGTYPE_p_wxStaticText swig_types[140]
2603 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[141]
2604 #define SWIGTYPE_p_wxString swig_types[142]
2605 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[143]
2606 #define SWIGTYPE_p_wxTIFFHandler swig_types[144]
2607 #define SWIGTYPE_p_wxTextAttr swig_types[145]
2608 #define SWIGTYPE_p_wxTextCtrl swig_types[146]
2609 #define SWIGTYPE_p_wxTextUrlEvent swig_types[147]
2610 #define SWIGTYPE_p_wxToggleButton swig_types[148]
2611 #define SWIGTYPE_p_wxToolBar swig_types[149]
2612 #define SWIGTYPE_p_wxToolBarBase swig_types[150]
2613 #define SWIGTYPE_p_wxToolBarToolBase swig_types[151]
2614 #define SWIGTYPE_p_wxToolbook swig_types[152]
2615 #define SWIGTYPE_p_wxToolbookEvent swig_types[153]
2616 #define SWIGTYPE_p_wxTreeCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTreeEvent swig_types[155]
2618 #define SWIGTYPE_p_wxTreeItemId swig_types[156]
2619 #define SWIGTYPE_p_wxTreebook swig_types[157]
2620 #define SWIGTYPE_p_wxTreebookEvent swig_types[158]
2621 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2622 #define SWIGTYPE_p_wxValidator swig_types[160]
2623 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2624 #define SWIGTYPE_p_wxWindow swig_types[162]
2625 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2626 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2627 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2628 static swig_type_info
*swig_types
[167];
2629 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2630 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2631 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2633 /* -------- TYPES TABLE (END) -------- */
2635 #if (PY_VERSION_HEX <= 0x02000000)
2636 # if !defined(SWIG_PYTHON_CLASSIC)
2637 # error "This python version requires to use swig with the '-classic' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodern' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 /*-----------------------------------------------
2651 @(target):= _controls_.so
2652 ------------------------------------------------*/
2653 #define SWIG_init init_controls_
2655 #define SWIG_name "_controls_"
2657 #define SWIGVERSION 0x010329
2660 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2661 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664 #include <stdexcept>
2668 class PyObject_ptr
{
2673 PyObject_ptr() :_obj(0)
2677 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2682 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2684 if (initial_ref
) Py_XINCREF(_obj
);
2687 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2689 Py_XINCREF(item
._obj
);
2700 operator PyObject
*() const
2705 PyObject
*operator->() const
2714 struct PyObject_var
: PyObject_ptr
{
2715 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2717 PyObject_var
& operator = (PyObject
* obj
)
2727 #include "wx/wxPython/wxPython.h"
2728 #include "wx/wxPython/pyclasses.h"
2730 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2731 static const wxString
wxPyEmptyString(wxEmptyString
);
2732 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2734 const wxArrayString wxPyEmptyStringArray
;
2736 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2738 #define SWIG_From_long PyInt_FromLong
2741 SWIGINTERNINLINE PyObject
*
2742 SWIG_From_int (int value
)
2744 return SWIG_From_long (value
);
2750 # define LLONG_MIN LONG_LONG_MIN
2753 # define LLONG_MAX LONG_LONG_MAX
2756 # define ULLONG_MAX ULONG_LONG_MAX
2761 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2763 if (PyNumber_Check(obj
)) {
2764 if (val
) *val
= PyInt_AsLong(obj
);
2767 return SWIG_TypeError
;
2772 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2775 int res
= SWIG_AsVal_long (obj
, &v
);
2776 if (SWIG_IsOK(res
)) {
2777 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2778 return SWIG_OverflowError
;
2780 if (val
) *val
= static_cast< int >(v
);
2786 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2789 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2791 if (obj
== Py_True
) {
2792 if (val
) *val
= true;
2794 } else if (obj
== Py_False
) {
2795 if (val
) *val
= false;
2799 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2800 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2805 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2806 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2807 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2808 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2809 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2810 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2812 #include <wx/checklst.h>
2814 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2815 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2818 wxPyClientData
* data
= new wxPyClientData(clientData
);
2819 self
->Insert(item
, pos
, data
);
2822 self
->Insert(item
, pos
);
2826 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2829 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2830 return SWIG_TypeError
;
2833 *val
= (unsigned long)v
;
2839 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2842 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2843 if (SWIG_IsOK(res
)) {
2844 if ((v
> UINT_MAX
)) {
2845 return SWIG_OverflowError
;
2847 if (val
) *val
= static_cast< unsigned int >(v
);
2853 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2854 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2856 self
->GetSelections(lst
);
2857 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2858 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2860 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2862 wxPyEndBlockThreads(blocked
);
2865 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2867 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2868 self
->GetItem(item
)->SetTextColour(c
);
2871 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2873 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2874 self
->GetItem(item
)->SetBackgroundColour(c
);
2877 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2879 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2880 self
->GetItem(item
)->SetFont(f
);
2883 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2884 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2885 self
->AppendText(text
);
2887 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2888 return self
->GetValue().Mid(from
, to
- from
);
2890 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2891 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2892 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2893 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2894 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2896 SWIGINTERNINLINE PyObject
*
2897 SWIG_From_unsigned_SS_long (unsigned long value
)
2899 return (value
> LONG_MAX
) ?
2900 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2904 SWIGINTERNINLINE PyObject
*
2905 SWIG_From_size_t (size_t value
)
2907 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2911 SWIGINTERNINLINE PyObject
*
2912 SWIG_From_unsigned_SS_int (unsigned int value
)
2914 return SWIG_From_unsigned_SS_long (value
);
2918 #include <wx/slider.h>
2921 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2922 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2924 #if !wxUSE_TOGGLEBTN
2925 // implement dummy items for platforms that don't have this class
2927 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2929 class wxToggleButton
: public wxControl
2932 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2933 const wxPoint
&, const wxSize
&, long,
2934 const wxValidator
&, const wxString
&)
2935 { wxPyRaiseNotImplemented(); }
2938 { wxPyRaiseNotImplemented(); }
2942 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2944 SWIGINTERNINLINE
int
2945 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2948 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2949 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2953 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2954 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2955 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2957 Py_INCREF(udata
->m_obj
);
2958 return udata
->m_obj
;
2964 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2965 self
->SetClientData(new wxPyUserData(clientData
));
2967 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
){
2968 wxPyUserData
* udata
= NULL
;
2969 if (clientData
&& clientData
!= Py_None
)
2970 udata
= new wxPyUserData(clientData
);
2971 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2972 shortHelp
, longHelp
, udata
);
2974 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
){
2975 wxPyUserData
* udata
= NULL
;
2976 if (clientData
&& clientData
!= Py_None
)
2977 udata
= new wxPyUserData(clientData
);
2978 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2979 shortHelp
, longHelp
, udata
);
2981 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2982 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2984 Py_INCREF(udata
->m_obj
);
2985 return udata
->m_obj
;
2991 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2992 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2995 #include <wx/listctrl.h>
2997 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2998 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2999 // Python aware sorting function for wxPyListCtrl
3000 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3002 PyObject
* func
= (PyObject
*)funcPtr
;
3003 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3005 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3006 PyObject
* result
= PyEval_CallObject(func
, args
);
3009 retval
= PyInt_AsLong(result
);
3013 wxPyEndBlockThreads(blocked
);
3017 // C++ Version of a Python aware class
3018 class wxPyListCtrl
: public wxListCtrl
{
3019 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3021 wxPyListCtrl() : wxListCtrl() {}
3022 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3026 const wxValidator
& validator
,
3027 const wxString
& name
) :
3028 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3030 bool Create(wxWindow
* parent
, wxWindowID id
,
3034 const wxValidator
& validator
,
3035 const wxString
& name
) {
3036 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3039 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3040 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3042 // use the virtual version to avoid a confusing assert in the base class
3043 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3044 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3051 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3052 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3053 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3054 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3057 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3059 item
.SetMask( wxLIST_MASK_STATE
|
3067 if (self
->GetColumn(col
, item
))
3068 return new wxListItem(item
);
3072 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3073 wxListItem
* info
= new wxListItem
;
3074 info
->m_itemId
= itemId
;
3076 info
->m_mask
= 0xFFFF;
3077 self
->GetItem(*info
);
3080 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3082 self
->GetItemPosition(item
, pos
);
3085 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3087 self
->GetItemRect(item
, rect
, code
);
3090 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3091 if (!PyCallable_Check(func
))
3093 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3095 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3099 return (wxWindow
*)self
->m_mainWin
;
3103 #include <wx/treectrl.h>
3104 #include "wx/wxPython/pytree.h"
3106 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3107 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3108 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3109 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3110 // C++ version of Python aware wxTreeCtrl
3111 class wxPyTreeCtrl
: public wxTreeCtrl
{
3112 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3114 wxPyTreeCtrl() : wxTreeCtrl() {}
3115 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3119 const wxValidator
& validator
,
3120 const wxString
& name
) :
3121 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3123 bool Create(wxWindow
*parent
, wxWindowID id
,
3127 const wxValidator
& validator
,
3128 const wxString
& name
) {
3129 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3133 int OnCompareItems(const wxTreeItemId
& item1
,
3134 const wxTreeItemId
& item2
) {
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3139 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3140 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3141 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3145 wxPyEndBlockThreads(blocked
);
3147 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3153 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3156 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3157 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3159 data
= new wxPyTreeItemData();
3160 data
->SetId(item
); // set the id
3161 self
->SetItemData(item
, data
);
3165 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3166 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3168 data
= new wxPyTreeItemData();
3169 data
->SetId(item
); // set the id
3170 self
->SetItemData(item
, data
);
3172 return data
->GetData();
3174 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3175 data
->SetId(item
); // set the id
3176 self
->SetItemData(item
, data
);
3178 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData(obj
);
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 PyObject
* rval
= PyList_New(0);
3190 wxArrayTreeItemIds array
;
3192 num
= self
->GetSelections(array
);
3193 for (x
=0; x
< num
; x
++) {
3194 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3195 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3196 PyList_Append(rval
, item
);
3199 wxPyEndBlockThreads(blocked
);
3202 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3204 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3205 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3206 PyObject
* tup
= PyTuple_New(2);
3207 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3208 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3209 wxPyEndBlockThreads(blocked
);
3212 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3213 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyObject
* tup
= PyTuple_New(2);
3216 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3217 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3223 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 wxRect
* r
= new wxRect(rect
);
3226 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3227 wxPyEndBlockThreads(blocked
);
3233 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3235 SWIGINTERNINLINE PyObject
*
3236 SWIG_From_bool (bool value
)
3238 return PyBool_FromLong(value
? 1 : 0);
3241 // C++ version of Python aware wxControl
3242 class wxPyControl
: public wxControl
3244 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3246 wxPyControl() : wxControl() {}
3247 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3248 const wxPoint
& pos
= wxDefaultPosition
,
3249 const wxSize
& size
= wxDefaultSize
,
3251 const wxValidator
& validator
=wxDefaultValidator
,
3252 const wxString
& name
= wxPyControlNameStr
)
3253 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3255 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3257 bool DoEraseBackground(wxDC
* dc
) {
3259 return wxWindow::DoEraseBackground(dc
->GetHDC());
3261 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3267 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3268 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3269 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3270 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3273 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3274 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3276 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3277 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3279 DEC_PYCALLBACK__(InitDialog
);
3280 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3281 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3282 DEC_PYCALLBACK_BOOL_(Validate
);
3284 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3285 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3286 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3288 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3289 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3291 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3292 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3294 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3296 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3301 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3303 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3304 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3305 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3306 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3308 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3309 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3312 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3313 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3315 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3316 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3317 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3318 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3320 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3321 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3322 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3324 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3325 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3327 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3328 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3330 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3332 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3336 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3338 #include <wx/generic/dragimgg.h>
3340 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3341 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3343 self
->GetRange(&rv
, NULL
);
3346 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3348 self
->GetRange(NULL
, &rv
);
3352 #include <wx/hyperlink.h>
3354 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3358 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3359 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3364 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3365 PyObject
*pyobj
= 0;
3369 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3371 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3378 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
= 0;
3380 wxWindow
*arg1
= (wxWindow
*) 0 ;
3381 int arg2
= (int) -1 ;
3382 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3383 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3386 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3387 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3388 long arg6
= (long) 0 ;
3389 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3390 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3391 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3392 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3393 wxButton
*result
= 0 ;
3398 bool temp3
= false ;
3405 bool temp8
= false ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3408 PyObject
* obj2
= 0 ;
3409 PyObject
* obj3
= 0 ;
3410 PyObject
* obj4
= 0 ;
3411 PyObject
* obj5
= 0 ;
3412 PyObject
* obj6
= 0 ;
3413 PyObject
* obj7
= 0 ;
3414 char * kwnames
[] = {
3415 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3420 if (!SWIG_IsOK(res1
)) {
3421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3423 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3426 if (!SWIG_IsOK(ecode2
)) {
3427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3429 arg2
= static_cast< int >(val2
);
3433 arg3
= wxString_in_helper(obj2
);
3434 if (arg3
== NULL
) SWIG_fail
;
3441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3451 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3452 if (!SWIG_IsOK(ecode6
)) {
3453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3455 arg6
= static_cast< long >(val6
);
3458 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3459 if (!SWIG_IsOK(res7
)) {
3460 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3465 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3469 arg8
= wxString_in_helper(obj7
);
3470 if (arg8
== NULL
) SWIG_fail
;
3475 if (!wxPyCheckForApp()) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3504 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3505 PyObject
*resultobj
= 0;
3506 wxButton
*result
= 0 ;
3508 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3510 if (!wxPyCheckForApp()) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= (wxButton
*)new wxButton();
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3523 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
= 0;
3525 wxButton
*arg1
= (wxButton
*) 0 ;
3526 wxWindow
*arg2
= (wxWindow
*) 0 ;
3527 int arg3
= (int) -1 ;
3528 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3529 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3534 long arg7
= (long) 0 ;
3535 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3536 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3537 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3546 bool temp4
= false ;
3553 bool temp9
= false ;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3556 PyObject
* obj2
= 0 ;
3557 PyObject
* obj3
= 0 ;
3558 PyObject
* obj4
= 0 ;
3559 PyObject
* obj5
= 0 ;
3560 PyObject
* obj6
= 0 ;
3561 PyObject
* obj7
= 0 ;
3562 PyObject
* obj8
= 0 ;
3563 char * kwnames
[] = {
3564 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3569 if (!SWIG_IsOK(res1
)) {
3570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3572 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3574 if (!SWIG_IsOK(res2
)) {
3575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3580 if (!SWIG_IsOK(ecode3
)) {
3581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3583 arg3
= static_cast< int >(val3
);
3587 arg4
= wxString_in_helper(obj3
);
3588 if (arg4
== NULL
) SWIG_fail
;
3595 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3601 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3605 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3606 if (!SWIG_IsOK(ecode7
)) {
3607 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3609 arg7
= static_cast< long >(val7
);
3612 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3613 if (!SWIG_IsOK(res8
)) {
3614 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3619 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3623 arg9
= wxString_in_helper(obj8
);
3624 if (arg9
== NULL
) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3659 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3660 PyObject
*resultobj
= 0;
3661 wxButton
*arg1
= (wxButton
*) 0 ;
3664 PyObject
*swig_obj
[1] ;
3666 if (!args
) SWIG_fail
;
3668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3669 if (!SWIG_IsOK(res1
)) {
3670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3672 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->SetDefault();
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3679 resultobj
= SWIG_Py_Void();
3686 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3687 PyObject
*resultobj
= 0;
3690 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= wxButton::GetDefaultSize();
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3704 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
= 0;
3706 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3707 SwigValueWrapper
<wxVisualAttributes
> result
;
3710 PyObject
* obj0
= 0 ;
3711 char * kwnames
[] = {
3712 (char *) "variant", NULL
3715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3718 if (!SWIG_IsOK(ecode1
)) {
3719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3721 arg1
= static_cast< wxWindowVariant
>(val1
);
3724 if (!wxPyCheckForApp()) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= wxButton::GetClassDefaultAttributes(arg1
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3737 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3740 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3741 return SWIG_Py_Void();
3744 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3745 return SWIG_Python_InitShadowInstance(args
);
3748 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
= 0;
3750 wxWindow
*arg1
= (wxWindow
*) 0 ;
3751 int arg2
= (int) -1 ;
3752 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3753 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3758 long arg6
= (long) wxBU_AUTODRAW
;
3759 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3760 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3761 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3762 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3763 wxBitmapButton
*result
= 0 ;
3776 bool temp8
= false ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3779 PyObject
* obj2
= 0 ;
3780 PyObject
* obj3
= 0 ;
3781 PyObject
* obj4
= 0 ;
3782 PyObject
* obj5
= 0 ;
3783 PyObject
* obj6
= 0 ;
3784 PyObject
* obj7
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3791 if (!SWIG_IsOK(res1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3797 if (!SWIG_IsOK(ecode2
)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3800 arg2
= static_cast< int >(val2
);
3803 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3804 if (!SWIG_IsOK(res3
)) {
3805 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3810 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3826 if (!SWIG_IsOK(ecode6
)) {
3827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3829 arg6
= static_cast< long >(val6
);
3832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3833 if (!SWIG_IsOK(res7
)) {
3834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3843 arg8
= wxString_in_helper(obj7
);
3844 if (arg8
== NULL
) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3870 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3871 PyObject
*resultobj
= 0;
3872 wxBitmapButton
*result
= 0 ;
3874 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3876 if (!wxPyCheckForApp()) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxBitmapButton
*)new wxBitmapButton();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3889 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
= 0;
3891 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3892 wxWindow
*arg2
= (wxWindow
*) 0 ;
3893 int arg3
= (int) -1 ;
3894 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3895 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3900 long arg7
= (long) wxBU_AUTODRAW
;
3901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3903 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3920 bool temp9
= false ;
3921 PyObject
* obj0
= 0 ;
3922 PyObject
* obj1
= 0 ;
3923 PyObject
* obj2
= 0 ;
3924 PyObject
* obj3
= 0 ;
3925 PyObject
* obj4
= 0 ;
3926 PyObject
* obj5
= 0 ;
3927 PyObject
* obj6
= 0 ;
3928 PyObject
* obj7
= 0 ;
3929 PyObject
* obj8
= 0 ;
3930 char * kwnames
[] = {
3931 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3936 if (!SWIG_IsOK(res1
)) {
3937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3939 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3941 if (!SWIG_IsOK(res2
)) {
3942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3944 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3947 if (!SWIG_IsOK(ecode3
)) {
3948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3950 arg3
= static_cast< int >(val3
);
3953 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3954 if (!SWIG_IsOK(res4
)) {
3955 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3960 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3965 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3971 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3975 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3976 if (!SWIG_IsOK(ecode7
)) {
3977 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3979 arg7
= static_cast< long >(val7
);
3982 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3983 if (!SWIG_IsOK(res8
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3989 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3993 arg9
= wxString_in_helper(obj8
);
3994 if (arg9
== NULL
) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4021 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4022 PyObject
*resultobj
= 0;
4023 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4027 PyObject
*swig_obj
[1] ;
4029 if (!args
) SWIG_fail
;
4031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4032 if (!SWIG_IsOK(res1
)) {
4033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4035 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= (arg1
)->GetBitmapLabel();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4049 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4050 PyObject
*resultobj
= 0;
4051 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4055 PyObject
*swig_obj
[1] ;
4057 if (!args
) SWIG_fail
;
4059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4060 if (!SWIG_IsOK(res1
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4063 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (arg1
)->GetBitmapDisabled();
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4077 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4078 PyObject
*resultobj
= 0;
4079 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4083 PyObject
*swig_obj
[1] ;
4085 if (!args
) SWIG_fail
;
4087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4088 if (!SWIG_IsOK(res1
)) {
4089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4091 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (arg1
)->GetBitmapFocus();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4105 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4106 PyObject
*resultobj
= 0;
4107 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4111 PyObject
*swig_obj
[1] ;
4113 if (!args
) SWIG_fail
;
4115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4116 if (!SWIG_IsOK(res1
)) {
4117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4119 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (arg1
)->GetBitmapSelected();
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4133 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4134 PyObject
*resultobj
= 0;
4135 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4139 PyObject
*swig_obj
[1] ;
4141 if (!args
) SWIG_fail
;
4143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4144 if (!SWIG_IsOK(res1
)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4147 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (arg1
)->GetBitmapHover();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4161 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
= 0;
4163 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4164 wxBitmap
*arg2
= 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 char * kwnames
[] = {
4172 (char *) "self",(char *) "bitmap", NULL
4175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4177 if (!SWIG_IsOK(res1
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4180 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4182 if (!SWIG_IsOK(res2
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4188 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_Py_Void();
4202 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= 0;
4204 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4205 wxBitmap
*arg2
= 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4212 char * kwnames
[] = {
4213 (char *) "self",(char *) "bitmap", NULL
4216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4221 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4223 if (!SWIG_IsOK(res2
)) {
4224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4229 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_Py_Void();
4243 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
= 0;
4245 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4246 wxBitmap
*arg2
= 0 ;
4251 PyObject
* obj0
= 0 ;
4252 PyObject
* obj1
= 0 ;
4253 char * kwnames
[] = {
4254 (char *) "self",(char *) "bitmap", NULL
4257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4259 if (!SWIG_IsOK(res1
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4262 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4264 if (!SWIG_IsOK(res2
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4270 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= SWIG_Py_Void();
4284 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
= 0;
4286 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4287 wxBitmap
*arg2
= 0 ;
4292 PyObject
* obj0
= 0 ;
4293 PyObject
* obj1
= 0 ;
4294 char * kwnames
[] = {
4295 (char *) "self",(char *) "bitmap", NULL
4298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4300 if (!SWIG_IsOK(res1
)) {
4301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4303 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4305 if (!SWIG_IsOK(res2
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4311 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_Py_Void();
4325 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
= 0;
4327 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4328 wxBitmap
*arg2
= 0 ;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4335 char * kwnames
[] = {
4336 (char *) "self",(char *) "hover", NULL
4339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4341 if (!SWIG_IsOK(res1
)) {
4342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4344 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4345 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4346 if (!SWIG_IsOK(res2
)) {
4347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4352 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= SWIG_Py_Void();
4366 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
= 0;
4368 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 PyObject
* obj2
= 0 ;
4380 char * kwnames
[] = {
4381 (char *) "self",(char *) "x",(char *) "y", NULL
4384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4386 if (!SWIG_IsOK(res1
)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4389 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4391 if (!SWIG_IsOK(ecode2
)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4394 arg2
= static_cast< int >(val2
);
4395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4396 if (!SWIG_IsOK(ecode3
)) {
4397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4399 arg3
= static_cast< int >(val3
);
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 (arg1
)->SetMargins(arg2
,arg3
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_Py_Void();
4413 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4414 PyObject
*resultobj
= 0;
4415 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4419 PyObject
*swig_obj
[1] ;
4421 if (!args
) SWIG_fail
;
4423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4424 if (!SWIG_IsOK(res1
)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4427 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= SWIG_From_int(static_cast< int >(result
));
4441 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4442 PyObject
*resultobj
= 0;
4443 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4447 PyObject
*swig_obj
[1] ;
4449 if (!args
) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4455 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_From_int(static_cast< int >(result
));
4469 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4472 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4473 return SWIG_Py_Void();
4476 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4477 return SWIG_Python_InitShadowInstance(args
);
4480 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4481 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4486 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4487 PyObject
*pyobj
= 0;
4491 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4493 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4500 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
= 0;
4502 wxWindow
*arg1
= (wxWindow
*) 0 ;
4503 int arg2
= (int) -1 ;
4504 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4505 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4510 long arg6
= (long) 0 ;
4511 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4512 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4513 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4515 wxCheckBox
*result
= 0 ;
4520 bool temp3
= false ;
4527 bool temp8
= false ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4530 PyObject
* obj2
= 0 ;
4531 PyObject
* obj3
= 0 ;
4532 PyObject
* obj4
= 0 ;
4533 PyObject
* obj5
= 0 ;
4534 PyObject
* obj6
= 0 ;
4535 PyObject
* obj7
= 0 ;
4536 char * kwnames
[] = {
4537 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4542 if (!SWIG_IsOK(res1
)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4548 if (!SWIG_IsOK(ecode2
)) {
4549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4551 arg2
= static_cast< int >(val2
);
4555 arg3
= wxString_in_helper(obj2
);
4556 if (arg3
== NULL
) SWIG_fail
;
4563 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4569 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4573 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4574 if (!SWIG_IsOK(ecode6
)) {
4575 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4577 arg6
= static_cast< long >(val6
);
4580 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4581 if (!SWIG_IsOK(res7
)) {
4582 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4587 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4591 arg8
= wxString_in_helper(obj7
);
4592 if (arg8
== NULL
) SWIG_fail
;
4597 if (!wxPyCheckForApp()) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4626 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4627 PyObject
*resultobj
= 0;
4628 wxCheckBox
*result
= 0 ;
4630 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4632 if (!wxPyCheckForApp()) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (wxCheckBox
*)new wxCheckBox();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4645 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
= 0;
4647 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4648 wxWindow
*arg2
= (wxWindow
*) 0 ;
4649 int arg3
= (int) -1 ;
4650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4652 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4653 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4654 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4655 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4656 long arg7
= (long) 0 ;
4657 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4658 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4659 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4660 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4668 bool temp4
= false ;
4675 bool temp9
= false ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4680 PyObject
* obj4
= 0 ;
4681 PyObject
* obj5
= 0 ;
4682 PyObject
* obj6
= 0 ;
4683 PyObject
* obj7
= 0 ;
4684 PyObject
* obj8
= 0 ;
4685 char * kwnames
[] = {
4686 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4691 if (!SWIG_IsOK(res1
)) {
4692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4694 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4696 if (!SWIG_IsOK(res2
)) {
4697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4699 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4702 if (!SWIG_IsOK(ecode3
)) {
4703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4705 arg3
= static_cast< int >(val3
);
4709 arg4
= wxString_in_helper(obj3
);
4710 if (arg4
== NULL
) SWIG_fail
;
4717 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4723 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4727 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4728 if (!SWIG_IsOK(ecode7
)) {
4729 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4731 arg7
= static_cast< long >(val7
);
4734 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4735 if (!SWIG_IsOK(res8
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4741 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4745 arg9
= wxString_in_helper(obj8
);
4746 if (arg9
== NULL
) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4781 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4782 PyObject
*resultobj
= 0;
4783 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4787 PyObject
*swig_obj
[1] ;
4789 if (!args
) SWIG_fail
;
4791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4792 if (!SWIG_IsOK(res1
)) {
4793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4795 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= (bool)(arg1
)->GetValue();
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4811 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4812 PyObject
*resultobj
= 0;
4813 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4817 PyObject
*swig_obj
[1] ;
4819 if (!args
) SWIG_fail
;
4821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4822 if (!SWIG_IsOK(res1
)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4825 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (bool)(arg1
)->IsChecked();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4841 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
= 0;
4843 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4851 char * kwnames
[] = {
4852 (char *) "self",(char *) "state", NULL
4855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4857 if (!SWIG_IsOK(res1
)) {
4858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4860 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4861 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4862 if (!SWIG_IsOK(ecode2
)) {
4863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4865 arg2
= static_cast< bool >(val2
);
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 (arg1
)->SetValue(arg2
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= SWIG_Py_Void();
4879 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4880 PyObject
*resultobj
= 0;
4881 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4882 wxCheckBoxState result
;
4885 PyObject
*swig_obj
[1] ;
4887 if (!args
) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4893 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= SWIG_From_int(static_cast< int >(result
));
4907 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
= 0;
4909 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4910 wxCheckBoxState arg2
;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 char * kwnames
[] = {
4918 (char *) "self",(char *) "state", NULL
4921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4923 if (!SWIG_IsOK(res1
)) {
4924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4926 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4928 if (!SWIG_IsOK(ecode2
)) {
4929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4931 arg2
= static_cast< wxCheckBoxState
>(val2
);
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 (arg1
)->Set3StateValue(arg2
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= SWIG_Py_Void();
4945 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4946 PyObject
*resultobj
= 0;
4947 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4951 PyObject
*swig_obj
[1] ;
4953 if (!args
) SWIG_fail
;
4955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4956 if (!SWIG_IsOK(res1
)) {
4957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4959 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4975 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4976 PyObject
*resultobj
= 0;
4977 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4981 PyObject
*swig_obj
[1] ;
4983 if (!args
) SWIG_fail
;
4985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4986 if (!SWIG_IsOK(res1
)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4989 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5005 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
= 0;
5007 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5008 SwigValueWrapper
<wxVisualAttributes
> result
;
5011 PyObject
* obj0
= 0 ;
5012 char * kwnames
[] = {
5013 (char *) "variant", NULL
5016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5019 if (!SWIG_IsOK(ecode1
)) {
5020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5022 arg1
= static_cast< wxWindowVariant
>(val1
);
5025 if (!wxPyCheckForApp()) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5038 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5041 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5042 return SWIG_Py_Void();
5045 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 return SWIG_Python_InitShadowInstance(args
);
5049 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5050 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5055 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5056 PyObject
*pyobj
= 0;
5060 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5062 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5069 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= 0;
5071 wxWindow
*arg1
= (wxWindow
*) 0 ;
5072 int arg2
= (int) -1 ;
5073 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5074 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5075 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5076 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5077 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5078 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5079 long arg6
= (long) 0 ;
5080 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5081 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5082 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5084 wxChoice
*result
= 0 ;
5091 bool temp5
= false ;
5096 bool temp8
= false ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5099 PyObject
* obj2
= 0 ;
5100 PyObject
* obj3
= 0 ;
5101 PyObject
* obj4
= 0 ;
5102 PyObject
* obj5
= 0 ;
5103 PyObject
* obj6
= 0 ;
5104 PyObject
* obj7
= 0 ;
5105 char * kwnames
[] = {
5106 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5117 if (!SWIG_IsOK(ecode2
)) {
5118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5120 arg2
= static_cast< int >(val2
);
5125 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5131 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5136 if (! PySequence_Check(obj4
)) {
5137 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5140 arg5
= new wxArrayString
;
5142 int i
, len
=PySequence_Length(obj4
);
5143 for (i
=0; i
<len
; i
++) {
5144 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5145 wxString
* s
= wxString_in_helper(item
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5154 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5155 if (!SWIG_IsOK(ecode6
)) {
5156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5158 arg6
= static_cast< long >(val6
);
5161 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5162 if (!SWIG_IsOK(res7
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5168 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5172 arg8
= wxString_in_helper(obj7
);
5173 if (arg8
== NULL
) SWIG_fail
;
5178 if (!wxPyCheckForApp()) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5186 if (temp5
) delete arg5
;
5195 if (temp5
) delete arg5
;
5205 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5206 PyObject
*resultobj
= 0;
5207 wxChoice
*result
= 0 ;
5209 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5211 if (!wxPyCheckForApp()) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (wxChoice
*)new wxChoice();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5224 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
= 0;
5226 wxChoice
*arg1
= (wxChoice
*) 0 ;
5227 wxWindow
*arg2
= (wxWindow
*) 0 ;
5228 int arg3
= (int) -1 ;
5229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5233 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5234 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5235 long arg7
= (long) 0 ;
5236 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5237 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5238 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5239 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5249 bool temp6
= false ;
5254 bool temp9
= false ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5257 PyObject
* obj2
= 0 ;
5258 PyObject
* obj3
= 0 ;
5259 PyObject
* obj4
= 0 ;
5260 PyObject
* obj5
= 0 ;
5261 PyObject
* obj6
= 0 ;
5262 PyObject
* obj7
= 0 ;
5263 PyObject
* obj8
= 0 ;
5264 char * kwnames
[] = {
5265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5270 if (!SWIG_IsOK(res1
)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5273 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5275 if (!SWIG_IsOK(res2
)) {
5276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5278 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5281 if (!SWIG_IsOK(ecode3
)) {
5282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5284 arg3
= static_cast< int >(val3
);
5289 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5295 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5300 if (! PySequence_Check(obj5
)) {
5301 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5304 arg6
= new wxArrayString
;
5306 int i
, len
=PySequence_Length(obj5
);
5307 for (i
=0; i
<len
; i
++) {
5308 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5309 wxString
* s
= wxString_in_helper(item
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5318 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5319 if (!SWIG_IsOK(ecode7
)) {
5320 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5322 arg7
= static_cast< long >(val7
);
5325 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5326 if (!SWIG_IsOK(res8
)) {
5327 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5332 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5336 arg9
= wxString_in_helper(obj8
);
5337 if (arg9
== NULL
) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5351 if (temp6
) delete arg6
;
5360 if (temp6
) delete arg6
;
5370 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5371 PyObject
*resultobj
= 0;
5372 wxChoice
*arg1
= (wxChoice
*) 0 ;
5376 PyObject
*swig_obj
[1] ;
5378 if (!args
) SWIG_fail
;
5380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5381 if (!SWIG_IsOK(res1
)) {
5382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5384 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_From_int(static_cast< int >(result
));
5398 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
= 0;
5400 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5401 SwigValueWrapper
<wxVisualAttributes
> result
;
5404 PyObject
* obj0
= 0 ;
5405 char * kwnames
[] = {
5406 (char *) "variant", NULL
5409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5412 if (!SWIG_IsOK(ecode1
)) {
5413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5415 arg1
= static_cast< wxWindowVariant
>(val1
);
5418 if (!wxPyCheckForApp()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5431 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5434 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5435 return SWIG_Py_Void();
5438 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5439 return SWIG_Python_InitShadowInstance(args
);
5442 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5443 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5448 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5449 PyObject
*pyobj
= 0;
5453 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5455 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5462 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
= 0;
5464 wxWindow
*arg1
= (wxWindow
*) 0 ;
5465 int arg2
= (int) -1 ;
5466 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5467 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5472 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5473 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5474 long arg7
= (long) 0 ;
5475 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5476 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5477 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5478 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5479 wxComboBox
*result
= 0 ;
5484 bool temp3
= false ;
5487 bool temp6
= false ;
5492 bool temp9
= false ;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5495 PyObject
* obj2
= 0 ;
5496 PyObject
* obj3
= 0 ;
5497 PyObject
* obj4
= 0 ;
5498 PyObject
* obj5
= 0 ;
5499 PyObject
* obj6
= 0 ;
5500 PyObject
* obj7
= 0 ;
5501 PyObject
* obj8
= 0 ;
5502 char * kwnames
[] = {
5503 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5508 if (!SWIG_IsOK(res1
)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5514 if (!SWIG_IsOK(ecode2
)) {
5515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5517 arg2
= static_cast< int >(val2
);
5521 arg3
= wxString_in_helper(obj2
);
5522 if (arg3
== NULL
) SWIG_fail
;
5529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5540 if (! PySequence_Check(obj5
)) {
5541 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5544 arg6
= new wxArrayString
;
5546 int i
, len
=PySequence_Length(obj5
);
5547 for (i
=0; i
<len
; i
++) {
5548 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5549 wxString
* s
= wxString_in_helper(item
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5558 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5559 if (!SWIG_IsOK(ecode7
)) {
5560 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5562 arg7
= static_cast< long >(val7
);
5565 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5566 if (!SWIG_IsOK(res8
)) {
5567 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5572 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5576 arg9
= wxString_in_helper(obj8
);
5577 if (arg9
== NULL
) SWIG_fail
;
5582 if (!wxPyCheckForApp()) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 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
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5594 if (temp6
) delete arg6
;
5607 if (temp6
) delete arg6
;
5617 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5618 PyObject
*resultobj
= 0;
5619 wxComboBox
*result
= 0 ;
5621 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5623 if (!wxPyCheckForApp()) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (wxComboBox
*)new wxComboBox();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5636 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
= 0;
5638 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5639 wxWindow
*arg2
= (wxWindow
*) 0 ;
5640 int arg3
= (int) -1 ;
5641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5643 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5644 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5645 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5646 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5647 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5648 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5649 long arg8
= (long) 0 ;
5650 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5651 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5652 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5653 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5661 bool temp4
= false ;
5664 bool temp7
= false ;
5669 bool temp10
= false ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5672 PyObject
* obj2
= 0 ;
5673 PyObject
* obj3
= 0 ;
5674 PyObject
* obj4
= 0 ;
5675 PyObject
* obj5
= 0 ;
5676 PyObject
* obj6
= 0 ;
5677 PyObject
* obj7
= 0 ;
5678 PyObject
* obj8
= 0 ;
5679 PyObject
* obj9
= 0 ;
5680 char * kwnames
[] = {
5681 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5691 if (!SWIG_IsOK(res2
)) {
5692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5694 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5697 if (!SWIG_IsOK(ecode3
)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5700 arg3
= static_cast< int >(val3
);
5704 arg4
= wxString_in_helper(obj3
);
5705 if (arg4
== NULL
) SWIG_fail
;
5712 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5718 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5723 if (! PySequence_Check(obj6
)) {
5724 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5727 arg7
= new wxArrayString
;
5729 int i
, len
=PySequence_Length(obj6
);
5730 for (i
=0; i
<len
; i
++) {
5731 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5732 wxString
* s
= wxString_in_helper(item
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5741 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5742 if (!SWIG_IsOK(ecode8
)) {
5743 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5745 arg8
= static_cast< long >(val8
);
5748 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5749 if (!SWIG_IsOK(res9
)) {
5750 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5755 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5759 arg10
= wxString_in_helper(obj9
);
5760 if (arg10
== NULL
) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 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
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5778 if (temp7
) delete arg7
;
5791 if (temp7
) delete arg7
;
5801 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5802 PyObject
*resultobj
= 0;
5803 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5807 PyObject
*swig_obj
[1] ;
5809 if (!args
) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5815 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= ((wxComboBox
const *)arg1
)->GetValue();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5835 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5838 wxString
*arg2
= 0 ;
5841 bool temp2
= false ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5844 char * kwnames
[] = {
5845 (char *) "self",(char *) "value", NULL
5848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5850 if (!SWIG_IsOK(res1
)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5853 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5855 arg2
= wxString_in_helper(obj1
);
5856 if (arg2
== NULL
) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->SetValue((wxString
const &)*arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_Py_Void();
5880 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5881 PyObject
*resultobj
= 0;
5882 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5885 PyObject
*swig_obj
[1] ;
5887 if (!args
) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5893 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5908 PyObject
*resultobj
= 0;
5909 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5912 PyObject
*swig_obj
[1] ;
5914 if (!args
) SWIG_fail
;
5916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5917 if (!SWIG_IsOK(res1
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5920 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_Py_Void();
5934 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5935 PyObject
*resultobj
= 0;
5936 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5939 PyObject
*swig_obj
[1] ;
5941 if (!args
) SWIG_fail
;
5943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5944 if (!SWIG_IsOK(res1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5947 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_Py_Void();
5961 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
= 0;
5963 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5971 char * kwnames
[] = {
5972 (char *) "self",(char *) "pos", NULL
5975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5977 if (!SWIG_IsOK(res1
)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5980 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5981 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5982 if (!SWIG_IsOK(ecode2
)) {
5983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5985 arg2
= static_cast< long >(val2
);
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 (arg1
)->SetInsertionPoint(arg2
);
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_Py_Void();
5999 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6000 PyObject
*resultobj
= 0;
6001 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6005 PyObject
*swig_obj
[1] ;
6007 if (!args
) SWIG_fail
;
6009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6010 if (!SWIG_IsOK(res1
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6013 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_From_long(static_cast< long >(result
));
6027 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6041 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= SWIG_From_long(static_cast< long >(result
));
6055 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
= 0;
6057 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6060 wxString
*arg4
= 0 ;
6067 bool temp4
= false ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 PyObject
* obj2
= 0 ;
6071 PyObject
* obj3
= 0 ;
6072 char * kwnames
[] = {
6073 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6078 if (!SWIG_IsOK(res1
)) {
6079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6081 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6082 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6083 if (!SWIG_IsOK(ecode2
)) {
6084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6086 arg2
= static_cast< long >(val2
);
6087 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6088 if (!SWIG_IsOK(ecode3
)) {
6089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6091 arg3
= static_cast< long >(val3
);
6093 arg4
= wxString_in_helper(obj3
);
6094 if (arg4
== NULL
) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_Py_Void();
6118 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
= 0;
6120 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 PyObject
* obj2
= 0 ;
6132 char * kwnames
[] = {
6133 (char *) "self",(char *) "from",(char *) "to", NULL
6136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6138 if (!SWIG_IsOK(res1
)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6141 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6143 if (!SWIG_IsOK(ecode2
)) {
6144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6146 arg2
= static_cast< long >(val2
);
6147 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6148 if (!SWIG_IsOK(ecode3
)) {
6149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6151 arg3
= static_cast< long >(val3
);
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 (arg1
)->SetSelection(arg2
,arg3
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= SWIG_Py_Void();
6165 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6166 PyObject
*resultobj
= 0;
6167 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6168 long *arg2
= (long *) 0 ;
6169 long *arg3
= (long *) 0 ;
6173 int res2
= SWIG_TMPOBJ
;
6175 int res3
= SWIG_TMPOBJ
;
6176 PyObject
*swig_obj
[1] ;
6180 if (!args
) SWIG_fail
;
6182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6183 if (!SWIG_IsOK(res1
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6186 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 (arg1
)->GetSelection(arg2
,arg3
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_Py_Void();
6194 if (SWIG_IsTmpObj(res2
)) {
6195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6197 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6200 if (SWIG_IsTmpObj(res3
)) {
6201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6203 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6212 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6213 PyObject
*resultobj
= 0;
6214 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6218 PyObject
*swig_obj
[1] ;
6220 if (!args
) SWIG_fail
;
6222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6223 if (!SWIG_IsOK(res1
)) {
6224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6226 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_From_int(static_cast< int >(result
));
6240 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6243 wxString
*arg2
= 0 ;
6247 bool temp2
= false ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6250 char * kwnames
[] = {
6251 (char *) "self",(char *) "string", NULL
6254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6256 if (!SWIG_IsOK(res1
)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6259 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6261 arg2
= wxString_in_helper(obj1
);
6262 if (arg2
== NULL
) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6288 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
= 0;
6290 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6292 wxString
*arg3
= 0 ;
6297 bool temp3
= false ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6300 PyObject
* obj2
= 0 ;
6301 char * kwnames
[] = {
6302 (char *) "self",(char *) "n",(char *) "string", NULL
6305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6307 if (!SWIG_IsOK(res1
)) {
6308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6310 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6312 if (!SWIG_IsOK(ecode2
)) {
6313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6315 arg2
= static_cast< int >(val2
);
6317 arg3
= wxString_in_helper(obj2
);
6318 if (arg3
== NULL
) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_Py_Void();
6342 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
= 0;
6344 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "editable", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6361 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6362 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6363 if (!SWIG_IsOK(ecode2
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6366 arg2
= static_cast< bool >(val2
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetEditable(arg2
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6385 PyObject
*swig_obj
[1] ;
6387 if (!args
) SWIG_fail
;
6389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6390 if (!SWIG_IsOK(res1
)) {
6391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6393 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 (arg1
)->SetInsertionPointEnd();
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= SWIG_Py_Void();
6407 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
= 0;
6409 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6420 PyObject
* obj2
= 0 ;
6421 char * kwnames
[] = {
6422 (char *) "self",(char *) "from",(char *) "to", NULL
6425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6427 if (!SWIG_IsOK(res1
)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6430 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6431 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6432 if (!SWIG_IsOK(ecode2
)) {
6433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6435 arg2
= static_cast< long >(val2
);
6436 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6437 if (!SWIG_IsOK(ecode3
)) {
6438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6440 arg3
= static_cast< long >(val3
);
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->Remove(arg2
,arg3
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_Py_Void();
6454 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6455 PyObject
*resultobj
= 0;
6456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6460 PyObject
*swig_obj
[1] ;
6462 if (!args
) SWIG_fail
;
6464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6465 if (!SWIG_IsOK(res1
)) {
6466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6468 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6543 PyObject
*swig_obj
[1] ;
6545 if (!args
) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6551 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 (arg1
)->SelectAll();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_Py_Void();
6565 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6566 PyObject
*resultobj
= 0;
6567 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6571 PyObject
*swig_obj
[1] ;
6573 if (!args
) SWIG_fail
;
6575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6576 if (!SWIG_IsOK(res1
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6579 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6595 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6596 PyObject
*resultobj
= 0;
6597 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6601 PyObject
*swig_obj
[1] ;
6603 if (!args
) SWIG_fail
;
6605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6606 if (!SWIG_IsOK(res1
)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6609 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6625 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6626 PyObject
*resultobj
= 0;
6627 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6631 PyObject
*swig_obj
[1] ;
6633 if (!args
) SWIG_fail
;
6635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6636 if (!SWIG_IsOK(res1
)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6639 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6655 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6656 PyObject
*resultobj
= 0;
6657 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6661 PyObject
*swig_obj
[1] ;
6663 if (!args
) SWIG_fail
;
6665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6666 if (!SWIG_IsOK(res1
)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6669 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6685 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6686 PyObject
*resultobj
= 0;
6687 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6691 PyObject
*swig_obj
[1] ;
6693 if (!args
) SWIG_fail
;
6695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6696 if (!SWIG_IsOK(res1
)) {
6697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6699 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6715 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
= 0;
6717 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6718 SwigValueWrapper
<wxVisualAttributes
> result
;
6721 PyObject
* obj0
= 0 ;
6722 char * kwnames
[] = {
6723 (char *) "variant", NULL
6726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6729 if (!SWIG_IsOK(ecode1
)) {
6730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6732 arg1
= static_cast< wxWindowVariant
>(val1
);
6735 if (!wxPyCheckForApp()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6748 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6751 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6752 return SWIG_Py_Void();
6755 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6756 return SWIG_Python_InitShadowInstance(args
);
6759 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6760 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6765 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6766 PyObject
*pyobj
= 0;
6770 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6772 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6779 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxWindow
*arg1
= (wxWindow
*) 0 ;
6782 int arg2
= (int) -1 ;
6783 int arg3
= (int) 100 ;
6784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6788 long arg6
= (long) wxGA_HORIZONTAL
;
6789 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6790 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6791 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6792 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6793 wxGauge
*result
= 0 ;
6806 bool temp8
= false ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6809 PyObject
* obj2
= 0 ;
6810 PyObject
* obj3
= 0 ;
6811 PyObject
* obj4
= 0 ;
6812 PyObject
* obj5
= 0 ;
6813 PyObject
* obj6
= 0 ;
6814 PyObject
* obj7
= 0 ;
6815 char * kwnames
[] = {
6816 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6821 if (!SWIG_IsOK(res1
)) {
6822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6827 if (!SWIG_IsOK(ecode2
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6830 arg2
= static_cast< int >(val2
);
6833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6834 if (!SWIG_IsOK(ecode3
)) {
6835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6837 arg3
= static_cast< int >(val3
);
6842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6852 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6853 if (!SWIG_IsOK(ecode6
)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6856 arg6
= static_cast< long >(val6
);
6859 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6860 if (!SWIG_IsOK(res7
)) {
6861 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6866 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6870 arg8
= wxString_in_helper(obj7
);
6871 if (arg8
== NULL
) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6897 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6898 PyObject
*resultobj
= 0;
6899 wxGauge
*result
= 0 ;
6901 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6903 if (!wxPyCheckForApp()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxGauge
*)new wxGauge();
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6916 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
= 0;
6918 wxGauge
*arg1
= (wxGauge
*) 0 ;
6919 wxWindow
*arg2
= (wxWindow
*) 0 ;
6920 int arg3
= (int) -1 ;
6921 int arg4
= (int) 100 ;
6922 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6923 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6924 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6925 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6926 long arg7
= (long) wxGA_HORIZONTAL
;
6927 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6928 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6929 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6930 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6946 bool temp9
= false ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 PyObject
* obj2
= 0 ;
6950 PyObject
* obj3
= 0 ;
6951 PyObject
* obj4
= 0 ;
6952 PyObject
* obj5
= 0 ;
6953 PyObject
* obj6
= 0 ;
6954 PyObject
* obj7
= 0 ;
6955 PyObject
* obj8
= 0 ;
6956 char * kwnames
[] = {
6957 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6962 if (!SWIG_IsOK(res1
)) {
6963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6965 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6967 if (!SWIG_IsOK(res2
)) {
6968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6973 if (!SWIG_IsOK(ecode3
)) {
6974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6976 arg3
= static_cast< int >(val3
);
6979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6980 if (!SWIG_IsOK(ecode4
)) {
6981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6983 arg4
= static_cast< int >(val4
);
6988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6998 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6999 if (!SWIG_IsOK(ecode7
)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7002 arg7
= static_cast< long >(val7
);
7005 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7006 if (!SWIG_IsOK(res8
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7012 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7016 arg9
= wxString_in_helper(obj8
);
7017 if (arg9
== NULL
) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7044 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
= 0;
7046 wxGauge
*arg1
= (wxGauge
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7054 char * kwnames
[] = {
7055 (char *) "self",(char *) "range", NULL
7058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7060 if (!SWIG_IsOK(res1
)) {
7061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7063 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7065 if (!SWIG_IsOK(ecode2
)) {
7066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7068 arg2
= static_cast< int >(val2
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 (arg1
)->SetRange(arg2
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_Py_Void();
7082 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7083 PyObject
*resultobj
= 0;
7084 wxGauge
*arg1
= (wxGauge
*) 0 ;
7088 PyObject
*swig_obj
[1] ;
7090 if (!args
) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7096 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= SWIG_From_int(static_cast< int >(result
));
7110 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
= 0;
7112 wxGauge
*arg1
= (wxGauge
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7120 char * kwnames
[] = {
7121 (char *) "self",(char *) "pos", NULL
7124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7126 if (!SWIG_IsOK(res1
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7129 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7131 if (!SWIG_IsOK(ecode2
)) {
7132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7134 arg2
= static_cast< int >(val2
);
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 (arg1
)->SetValue(arg2
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_Py_Void();
7148 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7149 PyObject
*resultobj
= 0;
7150 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_From_int(static_cast< int >(result
));
7176 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxGauge
*arg1
= (wxGauge
*) 0 ;
7182 PyObject
*swig_obj
[1] ;
7184 if (!args
) SWIG_fail
;
7186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7187 if (!SWIG_IsOK(res1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7190 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxGauge
*arg1
= (wxGauge
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "w", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7225 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetShadowWidth(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_Py_Void();
7244 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7258 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_From_int(static_cast< int >(result
));
7272 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxGauge
*arg1
= (wxGauge
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "self",(char *) "w", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7291 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7293 if (!SWIG_IsOK(ecode2
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7296 arg2
= static_cast< int >(val2
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->SetBezelFace(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxGauge
*arg1
= (wxGauge
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7324 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_From_int(static_cast< int >(result
));
7338 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7341 SwigValueWrapper
<wxVisualAttributes
> result
;
7344 PyObject
* obj0
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "variant", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7352 if (!SWIG_IsOK(ecode1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7355 arg1
= static_cast< wxWindowVariant
>(val1
);
7358 if (!wxPyCheckForApp()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7371 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7375 return SWIG_Py_Void();
7378 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 return SWIG_Python_InitShadowInstance(args
);
7382 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7383 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7388 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7389 PyObject
*pyobj
= 0;
7393 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7402 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7422 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7442 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= 0;
7444 wxWindow
*arg1
= (wxWindow
*) 0 ;
7445 int arg2
= (int) -1 ;
7446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7452 long arg6
= (long) 0 ;
7453 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7455 wxStaticBox
*result
= 0 ;
7460 bool temp3
= false ;
7465 bool temp7
= false ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7468 PyObject
* obj2
= 0 ;
7469 PyObject
* obj3
= 0 ;
7470 PyObject
* obj4
= 0 ;
7471 PyObject
* obj5
= 0 ;
7472 PyObject
* obj6
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7485 if (!SWIG_IsOK(ecode2
)) {
7486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7488 arg2
= static_cast< int >(val2
);
7492 arg3
= wxString_in_helper(obj2
);
7493 if (arg3
== NULL
) SWIG_fail
;
7500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7511 if (!SWIG_IsOK(ecode6
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7514 arg6
= static_cast< long >(val6
);
7518 arg7
= wxString_in_helper(obj6
);
7519 if (arg7
== NULL
) SWIG_fail
;
7524 if (!wxPyCheckForApp()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7553 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxStaticBox
*result
= 0 ;
7557 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7559 if (!wxPyCheckForApp()) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxStaticBox
*)new wxStaticBox();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7572 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
= 0;
7574 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7575 wxWindow
*arg2
= (wxWindow
*) 0 ;
7576 int arg3
= (int) -1 ;
7577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7581 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7582 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7583 long arg7
= (long) 0 ;
7584 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7593 bool temp4
= false ;
7598 bool temp8
= false ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 PyObject
* obj4
= 0 ;
7604 PyObject
* obj5
= 0 ;
7605 PyObject
* obj6
= 0 ;
7606 PyObject
* obj7
= 0 ;
7607 char * kwnames
[] = {
7608 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7616 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7618 if (!SWIG_IsOK(res2
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7624 if (!SWIG_IsOK(ecode3
)) {
7625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7627 arg3
= static_cast< int >(val3
);
7631 arg4
= wxString_in_helper(obj3
);
7632 if (arg4
== NULL
) SWIG_fail
;
7639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7650 if (!SWIG_IsOK(ecode7
)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7653 arg7
= static_cast< long >(val7
);
7657 arg8
= wxString_in_helper(obj7
);
7658 if (arg8
== NULL
) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= 0;
7695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7696 SwigValueWrapper
<wxVisualAttributes
> result
;
7699 PyObject
* obj0
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "variant", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7707 if (!SWIG_IsOK(ecode1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7710 arg1
= static_cast< wxWindowVariant
>(val1
);
7713 if (!wxPyCheckForApp()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7726 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7729 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7730 return SWIG_Py_Void();
7733 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 return SWIG_Python_InitShadowInstance(args
);
7737 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxWindow
*arg1
= (wxWindow
*) 0 ;
7740 int arg2
= (int) -1 ;
7741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7745 long arg5
= (long) wxLI_HORIZONTAL
;
7746 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7748 wxStaticLine
*result
= 0 ;
7757 bool temp6
= false ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7761 PyObject
* obj3
= 0 ;
7762 PyObject
* obj4
= 0 ;
7763 PyObject
* obj5
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7776 if (!SWIG_IsOK(ecode2
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7779 arg2
= static_cast< int >(val2
);
7784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7794 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7795 if (!SWIG_IsOK(ecode5
)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7798 arg5
= static_cast< long >(val5
);
7802 arg6
= wxString_in_helper(obj5
);
7803 if (arg6
== NULL
) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7829 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxStaticLine
*result
= 0 ;
7833 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7835 if (!wxPyCheckForApp()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxStaticLine
*)new wxStaticLine();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7848 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= 0;
7850 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7851 wxWindow
*arg2
= (wxWindow
*) 0 ;
7852 int arg3
= (int) -1 ;
7853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7857 long arg6
= (long) wxLI_HORIZONTAL
;
7858 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7871 bool temp7
= false ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7875 PyObject
* obj3
= 0 ;
7876 PyObject
* obj4
= 0 ;
7877 PyObject
* obj5
= 0 ;
7878 PyObject
* obj6
= 0 ;
7879 char * kwnames
[] = {
7880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7885 if (!SWIG_IsOK(res1
)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7888 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7890 if (!SWIG_IsOK(res2
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7896 if (!SWIG_IsOK(ecode3
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7899 arg3
= static_cast< int >(val3
);
7904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7915 if (!SWIG_IsOK(ecode6
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7918 arg6
= static_cast< long >(val6
);
7922 arg7
= wxString_in_helper(obj6
);
7923 if (arg7
== NULL
) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7950 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7951 PyObject
*resultobj
= 0;
7952 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7956 PyObject
*swig_obj
[1] ;
7958 if (!args
) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7964 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7980 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7984 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (int)wxStaticLine::GetDefaultSize();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_From_int(static_cast< int >(result
));
7998 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8001 SwigValueWrapper
<wxVisualAttributes
> result
;
8004 PyObject
* obj0
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "variant", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8012 if (!SWIG_IsOK(ecode1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8015 arg1
= static_cast< wxWindowVariant
>(val1
);
8018 if (!wxPyCheckForApp()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8031 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8034 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8035 return SWIG_Py_Void();
8038 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8039 return SWIG_Python_InitShadowInstance(args
);
8042 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxWindow
*arg1
= (wxWindow
*) 0 ;
8045 int arg2
= (int) -1 ;
8046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8052 long arg6
= (long) 0 ;
8053 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8055 wxStaticText
*result
= 0 ;
8060 bool temp3
= false ;
8065 bool temp7
= false ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 PyObject
* obj2
= 0 ;
8069 PyObject
* obj3
= 0 ;
8070 PyObject
* obj4
= 0 ;
8071 PyObject
* obj5
= 0 ;
8072 PyObject
* obj6
= 0 ;
8073 char * kwnames
[] = {
8074 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8085 if (!SWIG_IsOK(ecode2
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8088 arg2
= static_cast< int >(val2
);
8092 arg3
= wxString_in_helper(obj2
);
8093 if (arg3
== NULL
) SWIG_fail
;
8100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8110 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8111 if (!SWIG_IsOK(ecode6
)) {
8112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8114 arg6
= static_cast< long >(val6
);
8118 arg7
= wxString_in_helper(obj6
);
8119 if (arg7
== NULL
) SWIG_fail
;
8124 if (!wxPyCheckForApp()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8153 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8155 wxStaticText
*result
= 0 ;
8157 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8159 if (!wxPyCheckForApp()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (wxStaticText
*)new wxStaticText();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8172 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8175 wxWindow
*arg2
= (wxWindow
*) 0 ;
8176 int arg3
= (int) -1 ;
8177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8183 long arg7
= (long) 0 ;
8184 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8185 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8193 bool temp4
= false ;
8198 bool temp8
= false ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8202 PyObject
* obj3
= 0 ;
8203 PyObject
* obj4
= 0 ;
8204 PyObject
* obj5
= 0 ;
8205 PyObject
* obj6
= 0 ;
8206 PyObject
* obj7
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8216 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8224 if (!SWIG_IsOK(ecode3
)) {
8225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8227 arg3
= static_cast< int >(val3
);
8231 arg4
= wxString_in_helper(obj3
);
8232 if (arg4
== NULL
) SWIG_fail
;
8239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8250 if (!SWIG_IsOK(ecode7
)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8253 arg7
= static_cast< long >(val7
);
8257 arg8
= wxString_in_helper(obj7
);
8258 if (arg8
== NULL
) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8295 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 char * kwnames
[] = {
8304 (char *) "self",(char *) "width", NULL
8307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8309 if (!SWIG_IsOK(res1
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8312 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8314 if (!SWIG_IsOK(ecode2
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8317 arg2
= static_cast< int >(val2
);
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_Py_Void();
8331 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
= 0;
8333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8334 SwigValueWrapper
<wxVisualAttributes
> result
;
8337 PyObject
* obj0
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "variant", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8345 if (!SWIG_IsOK(ecode1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8348 arg1
= static_cast< wxWindowVariant
>(val1
);
8351 if (!wxPyCheckForApp()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8364 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8367 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8368 return SWIG_Py_Void();
8371 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 return SWIG_Python_InitShadowInstance(args
);
8375 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
= 0;
8377 wxWindow
*arg1
= (wxWindow
*) 0 ;
8378 int arg2
= (int) -1 ;
8379 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8380 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8385 long arg6
= (long) 0 ;
8386 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8388 wxStaticBitmap
*result
= 0 ;
8399 bool temp7
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8403 PyObject
* obj3
= 0 ;
8404 PyObject
* obj4
= 0 ;
8405 PyObject
* obj5
= 0 ;
8406 PyObject
* obj6
= 0 ;
8407 char * kwnames
[] = {
8408 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8419 if (!SWIG_IsOK(ecode2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8422 arg2
= static_cast< int >(val2
);
8425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8426 if (!SWIG_IsOK(res3
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8432 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8447 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8448 if (!SWIG_IsOK(ecode6
)) {
8449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8451 arg6
= static_cast< long >(val6
);
8455 arg7
= wxString_in_helper(obj6
);
8456 if (arg7
== NULL
) SWIG_fail
;
8461 if (!wxPyCheckForApp()) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8482 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8483 PyObject
*resultobj
= 0;
8484 wxStaticBitmap
*result
= 0 ;
8486 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8488 if (!wxPyCheckForApp()) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8501 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8504 wxWindow
*arg2
= (wxWindow
*) 0 ;
8505 int arg3
= (int) -1 ;
8506 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8507 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8508 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8509 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8510 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8511 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8512 long arg7
= (long) 0 ;
8513 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8528 bool temp8
= false ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 PyObject
* obj4
= 0 ;
8534 PyObject
* obj5
= 0 ;
8535 PyObject
* obj6
= 0 ;
8536 PyObject
* obj7
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8546 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res2
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8554 if (!SWIG_IsOK(ecode3
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8557 arg3
= static_cast< int >(val3
);
8560 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8561 if (!SWIG_IsOK(res4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8567 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8583 if (!SWIG_IsOK(ecode7
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8586 arg7
= static_cast< long >(val7
);
8590 arg8
= wxString_in_helper(obj7
);
8591 if (arg8
== NULL
) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8618 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8632 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (arg1
)->GetBitmap();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8646 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8649 wxBitmap
*arg2
= 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "bitmap", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8665 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8667 if (!SWIG_IsOK(res2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8673 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_Py_Void();
8687 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "self",(char *) "icon", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8706 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8708 if (!SWIG_IsOK(res2
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8714 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_Py_Void();
8728 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8731 SwigValueWrapper
<wxVisualAttributes
> result
;
8734 PyObject
* obj0
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "variant", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8742 if (!SWIG_IsOK(ecode1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8745 arg1
= static_cast< wxWindowVariant
>(val1
);
8748 if (!wxPyCheckForApp()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8761 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8765 return SWIG_Py_Void();
8768 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8769 return SWIG_Python_InitShadowInstance(args
);
8772 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8773 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8778 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8779 PyObject
*pyobj
= 0;
8783 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8792 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxWindow
*arg1
= (wxWindow
*) 0 ;
8795 int arg2
= (int) -1 ;
8796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8800 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8801 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8802 long arg6
= (long) 0 ;
8803 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8804 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8805 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8806 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8807 wxListBox
*result
= 0 ;
8814 bool temp5
= false ;
8819 bool temp8
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 PyObject
* obj5
= 0 ;
8826 PyObject
* obj6
= 0 ;
8827 PyObject
* obj7
= 0 ;
8828 char * kwnames
[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8834 if (!SWIG_IsOK(res1
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8840 if (!SWIG_IsOK(ecode2
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8843 arg2
= static_cast< int >(val2
);
8848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8859 if (! PySequence_Check(obj4
)) {
8860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8863 arg5
= new wxArrayString
;
8865 int i
, len
=PySequence_Length(obj4
);
8866 for (i
=0; i
<len
; i
++) {
8867 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8868 wxString
* s
= wxString_in_helper(item
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8878 if (!SWIG_IsOK(ecode6
)) {
8879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8881 arg6
= static_cast< long >(val6
);
8884 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8885 if (!SWIG_IsOK(res7
)) {
8886 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8891 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8895 arg8
= wxString_in_helper(obj7
);
8896 if (arg8
== NULL
) SWIG_fail
;
8901 if (!wxPyCheckForApp()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8909 if (temp5
) delete arg5
;
8918 if (temp5
) delete arg5
;
8928 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxListBox
*result
= 0 ;
8932 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (wxListBox
*)new wxListBox();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8947 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxListBox
*arg1
= (wxListBox
*) 0 ;
8950 wxWindow
*arg2
= (wxWindow
*) 0 ;
8951 int arg3
= (int) -1 ;
8952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8956 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8957 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8958 long arg7
= (long) 0 ;
8959 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8960 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8961 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8972 bool temp6
= false ;
8977 bool temp9
= false ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8981 PyObject
* obj3
= 0 ;
8982 PyObject
* obj4
= 0 ;
8983 PyObject
* obj5
= 0 ;
8984 PyObject
* obj6
= 0 ;
8985 PyObject
* obj7
= 0 ;
8986 PyObject
* obj8
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8996 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8998 if (!SWIG_IsOK(res2
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9004 if (!SWIG_IsOK(ecode3
)) {
9005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9007 arg3
= static_cast< int >(val3
);
9012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9023 if (! PySequence_Check(obj5
)) {
9024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9027 arg6
= new wxArrayString
;
9029 int i
, len
=PySequence_Length(obj5
);
9030 for (i
=0; i
<len
; i
++) {
9031 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9032 wxString
* s
= wxString_in_helper(item
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9042 if (!SWIG_IsOK(ecode7
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9045 arg7
= static_cast< long >(val7
);
9048 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9049 if (!SWIG_IsOK(res8
)) {
9050 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9055 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9059 arg9
= wxString_in_helper(obj8
);
9060 if (arg9
== NULL
) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9074 if (temp6
) delete arg6
;
9083 if (temp6
) delete arg6
;
9093 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= 0;
9095 wxListBox
*arg1
= (wxListBox
*) 0 ;
9096 wxString
*arg2
= 0 ;
9098 PyObject
*arg4
= (PyObject
*) NULL
;
9101 bool temp2
= false ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9117 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9119 arg2
= wxString_in_helper(obj1
);
9120 if (arg2
== NULL
) SWIG_fail
;
9123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9124 if (!SWIG_IsOK(ecode3
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9127 arg3
= static_cast< int >(val3
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxListBox
*arg1
= (wxListBox
*) 0 ;
9155 wxArrayString
*arg2
= 0 ;
9159 bool temp2
= false ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "self",(char *) "items",(char *) "pos", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9174 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9176 if (! PySequence_Check(obj1
)) {
9177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9180 arg2
= new wxArrayString
;
9182 int i
, len
=PySequence_Length(obj1
);
9183 for (i
=0; i
<len
; i
++) {
9184 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9185 wxString
* s
= wxString_in_helper(item
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9192 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9193 if (!SWIG_IsOK(ecode3
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9196 arg3
= static_cast< unsigned int >(val3
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9205 if (temp2
) delete arg2
;
9210 if (temp2
) delete arg2
;
9216 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxListBox
*arg1
= (wxListBox
*) 0 ;
9219 wxArrayString
*arg2
= 0 ;
9222 bool temp2
= false ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "self",(char *) "items", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9234 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9236 if (! PySequence_Check(obj1
)) {
9237 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9240 arg2
= new wxArrayString
;
9242 int i
, len
=PySequence_Length(obj1
);
9243 for (i
=0; i
<len
; i
++) {
9244 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9245 wxString
* s
= wxString_in_helper(item
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->Set((wxArrayString
const &)*arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_Py_Void();
9260 if (temp2
) delete arg2
;
9265 if (temp2
) delete arg2
;
9271 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxListBox
*arg1
= (wxListBox
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 char * kwnames
[] = {
9283 (char *) "self",(char *) "n", NULL
9286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9291 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9293 if (!SWIG_IsOK(ecode2
)) {
9294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9296 arg2
= static_cast< int >(val2
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9312 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
= 0;
9314 wxListBox
*arg1
= (wxListBox
*) 0 ;
9316 bool arg3
= (bool) true ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9326 char * kwnames
[] = {
9327 (char *) "self",(char *) "n",(char *) "select", NULL
9330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9335 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9337 if (!SWIG_IsOK(ecode2
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9340 arg2
= static_cast< int >(val2
);
9342 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9343 if (!SWIG_IsOK(ecode3
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9346 arg3
= static_cast< bool >(val3
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetSelection(arg2
,arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_Py_Void();
9361 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxListBox
*arg1
= (wxListBox
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "self",(char *) "n", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9380 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9382 if (!SWIG_IsOK(ecode2
)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9385 arg2
= static_cast< int >(val2
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->Select(arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxListBox
*arg1
= (wxListBox
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "n", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9418 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->Deselect(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxListBox
*arg1
= (wxListBox
*) 0 ;
9440 int arg2
= (int) -1 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "itemToLeaveSelected", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9456 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9459 if (!SWIG_IsOK(ecode2
)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9462 arg2
= static_cast< int >(val2
);
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 (arg1
)->DeselectAll(arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_Py_Void();
9477 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
= 0;
9479 wxListBox
*arg1
= (wxListBox
*) 0 ;
9480 wxString
*arg2
= 0 ;
9481 bool arg3
= (bool) true ;
9485 bool temp2
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9491 char * kwnames
[] = {
9492 (char *) "self",(char *) "s",(char *) "select", NULL
9495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9500 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9508 if (!SWIG_IsOK(ecode3
)) {
9509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9511 arg3
= static_cast< bool >(val3
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9536 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxListBox
*arg1
= (wxListBox
*) 0 ;
9539 PyObject
*result
= 0 ;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9550 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9564 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxListBox
*arg1
= (wxListBox
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 char * kwnames
[] = {
9575 (char *) "self",(char *) "n", NULL
9578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9583 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9585 if (!SWIG_IsOK(ecode2
)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9588 arg2
= static_cast< int >(val2
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 (arg1
)->SetFirstItem(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
= 0;
9604 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 wxString
*arg2
= 0 ;
9608 bool temp2
= false ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "s", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9620 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9622 arg2
= wxString_in_helper(obj1
);
9623 if (arg2
== NULL
) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_Py_Void();
9647 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= 0;
9649 wxListBox
*arg1
= (wxListBox
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 char * kwnames
[] = {
9658 (char *) "self",(char *) "n", NULL
9661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9668 if (!SWIG_IsOK(ecode2
)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9671 arg2
= static_cast< int >(val2
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->EnsureVisible(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_Py_Void();
9685 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxListBox
*arg1
= (wxListBox
*) 0 ;
9688 wxString
*arg2
= 0 ;
9691 bool temp2
= false ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "s", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9703 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9705 arg2
= wxString_in_helper(obj1
);
9706 if (arg2
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9730 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9731 PyObject
*resultobj
= 0;
9732 wxListBox
*arg1
= (wxListBox
*) 0 ;
9736 PyObject
*swig_obj
[1] ;
9738 if (!args
) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9744 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxListBox
*arg1
= (wxListBox
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "pt", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9779 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_From_int(static_cast< int >(result
));
9797 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxListBox
*arg1
= (wxListBox
*) 0 ;
9801 wxColour
*arg3
= 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 char * kwnames
[] = {
9811 (char *) "self",(char *) "item",(char *) "c", NULL
9814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9816 if (!SWIG_IsOK(res1
)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9819 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9821 if (!SWIG_IsOK(ecode2
)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9824 arg2
= static_cast< int >(val2
);
9827 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_Py_Void();
9842 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
= 0;
9844 wxListBox
*arg1
= (wxListBox
*) 0 ;
9846 wxColour
*arg3
= 0 ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 PyObject
* obj2
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "self",(char *) "item",(char *) "c", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9864 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9866 if (!SWIG_IsOK(ecode2
)) {
9867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9869 arg2
= static_cast< int >(val2
);
9872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_Py_Void();
9887 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxListBox
*arg1
= (wxListBox
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9901 char * kwnames
[] = {
9902 (char *) "self",(char *) "item",(char *) "f", NULL
9905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9907 if (!SWIG_IsOK(res1
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9912 if (!SWIG_IsOK(ecode2
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9915 arg2
= static_cast< int >(val2
);
9916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9917 if (!SWIG_IsOK(res3
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9923 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9940 SwigValueWrapper
<wxVisualAttributes
> result
;
9943 PyObject
* obj0
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "variant", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9951 if (!SWIG_IsOK(ecode1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9954 arg1
= static_cast< wxWindowVariant
>(val1
);
9957 if (!wxPyCheckForApp()) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9970 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9973 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9974 return SWIG_Py_Void();
9977 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 return SWIG_Python_InitShadowInstance(args
);
9981 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= 0;
9983 wxWindow
*arg1
= (wxWindow
*) 0 ;
9984 int arg2
= (int) -1 ;
9985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9989 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9990 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9991 long arg6
= (long) 0 ;
9992 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9993 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9994 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9995 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9996 wxCheckListBox
*result
= 0 ;
10003 bool temp5
= false ;
10008 bool temp8
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 PyObject
* obj3
= 0 ;
10013 PyObject
* obj4
= 0 ;
10014 PyObject
* obj5
= 0 ;
10015 PyObject
* obj6
= 0 ;
10016 PyObject
* obj7
= 0 ;
10017 char * kwnames
[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10023 if (!SWIG_IsOK(res1
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10029 if (!SWIG_IsOK(ecode2
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10032 arg2
= static_cast< int >(val2
);
10037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10048 if (! PySequence_Check(obj4
)) {
10049 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10052 arg5
= new wxArrayString
;
10054 int i
, len
=PySequence_Length(obj4
);
10055 for (i
=0; i
<len
; i
++) {
10056 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10057 wxString
* s
= wxString_in_helper(item
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10066 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10067 if (!SWIG_IsOK(ecode6
)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10070 arg6
= static_cast< long >(val6
);
10073 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10074 if (!SWIG_IsOK(res7
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10080 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10084 arg8
= wxString_in_helper(obj7
);
10085 if (arg8
== NULL
) SWIG_fail
;
10090 if (!wxPyCheckForApp()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10098 if (temp5
) delete arg5
;
10107 if (temp5
) delete arg5
;
10117 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxCheckListBox
*result
= 0 ;
10121 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10123 if (!wxPyCheckForApp()) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (wxCheckListBox
*)new wxCheckListBox();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10136 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10139 wxWindow
*arg2
= (wxWindow
*) 0 ;
10140 int arg3
= (int) -1 ;
10141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10145 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10146 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10147 long arg7
= (long) 0 ;
10148 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10149 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10150 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10151 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10161 bool temp6
= false ;
10166 bool temp9
= false ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 PyObject
* obj2
= 0 ;
10170 PyObject
* obj3
= 0 ;
10171 PyObject
* obj4
= 0 ;
10172 PyObject
* obj5
= 0 ;
10173 PyObject
* obj6
= 0 ;
10174 PyObject
* obj7
= 0 ;
10175 PyObject
* obj8
= 0 ;
10176 char * kwnames
[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10185 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10187 if (!SWIG_IsOK(res2
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10193 if (!SWIG_IsOK(ecode3
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10196 arg3
= static_cast< int >(val3
);
10201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10212 if (! PySequence_Check(obj5
)) {
10213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10216 arg6
= new wxArrayString
;
10218 int i
, len
=PySequence_Length(obj5
);
10219 for (i
=0; i
<len
; i
++) {
10220 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10221 wxString
* s
= wxString_in_helper(item
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10230 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10231 if (!SWIG_IsOK(ecode7
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10234 arg7
= static_cast< long >(val7
);
10237 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10238 if (!SWIG_IsOK(res8
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10244 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10248 arg9
= wxString_in_helper(obj8
);
10249 if (arg9
== NULL
) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 if (temp6
) delete arg6
;
10272 if (temp6
) delete arg6
;
10282 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= 0;
10284 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10285 unsigned int arg2
;
10289 unsigned int val2
;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "index", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10302 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10303 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10307 arg2
= static_cast< unsigned int >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsChecked(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= 0;
10325 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10326 unsigned int arg2
;
10327 int arg3
= (int) true ;
10330 unsigned int val2
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "self",(char *) "index",(char *) "check", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10346 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10347 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10348 if (!SWIG_IsOK(ecode2
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10351 arg2
= static_cast< unsigned int >(val2
);
10353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10354 if (!SWIG_IsOK(ecode3
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10357 arg3
= static_cast< int >(val3
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->Check(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10373 PyObject
*resultobj
= 0;
10374 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10378 PyObject
*swig_obj
[1] ;
10380 if (!args
) SWIG_fail
;
10381 swig_obj
[0] = args
;
10382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10383 if (!SWIG_IsOK(res1
)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10386 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (int)(arg1
)->GetItemHeight();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_From_int(static_cast< int >(result
));
10400 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10403 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10404 return SWIG_Py_Void();
10407 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10408 return SWIG_Python_InitShadowInstance(args
);
10411 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10412 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10417 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10418 PyObject
*pyobj
= 0;
10422 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10424 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10431 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= 0;
10433 wxColour
const &arg1_defvalue
= wxNullColour
;
10434 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10435 wxColour
const &arg2_defvalue
= wxNullColour
;
10436 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10437 wxFont
const &arg3_defvalue
= wxNullFont
;
10438 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10439 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10440 wxTextAttr
*result
= 0 ;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 PyObject
* obj2
= 0 ;
10450 PyObject
* obj3
= 0 ;
10451 char * kwnames
[] = {
10452 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10459 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10469 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10470 if (!SWIG_IsOK(res3
)) {
10471 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10476 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10479 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10480 if (!SWIG_IsOK(ecode4
)) {
10481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10483 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10498 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10503 PyObject
*swig_obj
[1] ;
10505 if (!args
) SWIG_fail
;
10506 swig_obj
[0] = args
;
10507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10508 if (!SWIG_IsOK(res1
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10511 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_Py_Void();
10526 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10527 PyObject
*resultobj
= 0;
10528 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10531 PyObject
*swig_obj
[1] ;
10533 if (!args
) SWIG_fail
;
10534 swig_obj
[0] = args
;
10535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10536 if (!SWIG_IsOK(res1
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10539 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= SWIG_Py_Void();
10553 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
= 0;
10555 wxTextAttr
*arg1
= 0 ;
10556 wxTextAttr
*arg2
= 0 ;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char * kwnames
[] = {
10565 (char *) "base",(char *) "overlay", NULL
10568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10569 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10570 if (!SWIG_IsOK(res1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10576 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10578 if (!SWIG_IsOK(res2
)) {
10579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10584 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10598 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
= 0;
10600 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10601 wxColour
*arg2
= 0 ;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 char * kwnames
[] = {
10608 (char *) "self",(char *) "colText", NULL
10611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10613 if (!SWIG_IsOK(res1
)) {
10614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10616 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10619 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= SWIG_Py_Void();
10634 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
= 0;
10636 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10637 wxColour
*arg2
= 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char * kwnames
[] = {
10644 (char *) "self",(char *) "colBack", NULL
10647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10649 if (!SWIG_IsOK(res1
)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10652 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10655 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_Py_Void();
10670 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
= 0;
10672 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10674 long arg3
= (long) wxTEXT_ATTR_FONT
;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 char * kwnames
[] = {
10685 (char *) "self",(char *) "font",(char *) "flags", NULL
10688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10690 if (!SWIG_IsOK(res1
)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10693 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10695 if (!SWIG_IsOK(res2
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10701 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10703 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10704 if (!SWIG_IsOK(ecode3
)) {
10705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10707 arg3
= static_cast< long >(val3
);
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_Py_Void();
10722 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
= 0;
10724 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10725 wxTextAttrAlignment arg2
;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char * kwnames
[] = {
10733 (char *) "self",(char *) "alignment", NULL
10736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10738 if (!SWIG_IsOK(res1
)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10741 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10743 if (!SWIG_IsOK(ecode2
)) {
10744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10746 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 (arg1
)->SetAlignment(arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_Py_Void();
10760 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
= 0;
10762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10763 wxArrayInt
*arg2
= 0 ;
10766 bool temp2
= false ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char * kwnames
[] = {
10770 (char *) "self",(char *) "tabs", NULL
10773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10775 if (!SWIG_IsOK(res1
)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10778 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10780 if (! PySequence_Check(obj1
)) {
10781 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10784 arg2
= new wxArrayInt
;
10786 int i
, len
=PySequence_Length(obj1
);
10787 for (i
=0; i
<len
; i
++) {
10788 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10789 PyObject
* number
= PyNumber_Int(item
);
10790 arg2
->Add(PyInt_AS_LONG(number
));
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_Py_Void();
10803 if (temp2
) delete arg2
;
10808 if (temp2
) delete arg2
;
10814 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= 0;
10816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10818 int arg3
= (int) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 PyObject
* obj2
= 0 ;
10828 char * kwnames
[] = {
10829 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10834 if (!SWIG_IsOK(res1
)) {
10835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10837 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10839 if (!SWIG_IsOK(ecode2
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10842 arg2
= static_cast< int >(val2
);
10844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10845 if (!SWIG_IsOK(ecode3
)) {
10846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10848 arg3
= static_cast< int >(val3
);
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 (arg1
)->SetLeftIndent(arg2
,arg3
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= SWIG_Py_Void();
10863 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
= 0;
10865 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "self",(char *) "indent", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10882 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10884 if (!SWIG_IsOK(ecode2
)) {
10885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10887 arg2
= static_cast< int >(val2
);
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 (arg1
)->SetRightIndent(arg2
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_Py_Void();
10901 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
= 0;
10903 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "flags", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10920 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10925 arg2
= static_cast< long >(val2
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->SetFlags(arg2
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_Py_Void();
10939 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10940 PyObject
*resultobj
= 0;
10941 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10945 PyObject
*swig_obj
[1] ;
10947 if (!args
) SWIG_fail
;
10948 swig_obj
[0] = args
;
10949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10953 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10969 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10970 PyObject
*resultobj
= 0;
10971 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10975 PyObject
*swig_obj
[1] ;
10977 if (!args
) SWIG_fail
;
10978 swig_obj
[0] = args
;
10979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10980 if (!SWIG_IsOK(res1
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10983 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10999 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11000 PyObject
*resultobj
= 0;
11001 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11005 PyObject
*swig_obj
[1] ;
11007 if (!args
) SWIG_fail
;
11008 swig_obj
[0] = args
;
11009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11013 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11029 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11030 PyObject
*resultobj
= 0;
11031 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11035 PyObject
*swig_obj
[1] ;
11037 if (!args
) SWIG_fail
;
11038 swig_obj
[0] = args
;
11039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11040 if (!SWIG_IsOK(res1
)) {
11041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11043 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11059 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11060 PyObject
*resultobj
= 0;
11061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11065 PyObject
*swig_obj
[1] ;
11067 if (!args
) SWIG_fail
;
11068 swig_obj
[0] = args
;
11069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11070 if (!SWIG_IsOK(res1
)) {
11071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11073 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11089 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 PyObject
*resultobj
= 0;
11091 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11095 PyObject
*swig_obj
[1] ;
11097 if (!args
) SWIG_fail
;
11098 swig_obj
[0] = args
;
11099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11100 if (!SWIG_IsOK(res1
)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11103 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11119 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11120 PyObject
*resultobj
= 0;
11121 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11125 PyObject
*swig_obj
[1] ;
11127 if (!args
) SWIG_fail
;
11128 swig_obj
[0] = args
;
11129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11130 if (!SWIG_IsOK(res1
)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11133 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11149 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
= 0;
11151 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 char * kwnames
[] = {
11161 (char *) "self",(char *) "flag", NULL
11164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11166 if (!SWIG_IsOK(res1
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11169 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11171 if (!SWIG_IsOK(ecode2
)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11174 arg2
= static_cast< long >(val2
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11190 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11191 PyObject
*resultobj
= 0;
11192 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11193 wxColour
*result
= 0 ;
11196 PyObject
*swig_obj
[1] ;
11198 if (!args
) SWIG_fail
;
11199 swig_obj
[0] = args
;
11200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11204 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11209 result
= (wxColour
*) &_result_ref
;
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11221 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11222 PyObject
*resultobj
= 0;
11223 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11224 wxColour
*result
= 0 ;
11227 PyObject
*swig_obj
[1] ;
11229 if (!args
) SWIG_fail
;
11230 swig_obj
[0] = args
;
11231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11232 if (!SWIG_IsOK(res1
)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11235 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11240 result
= (wxColour
*) &_result_ref
;
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11252 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11253 PyObject
*resultobj
= 0;
11254 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11255 wxFont
*result
= 0 ;
11258 PyObject
*swig_obj
[1] ;
11260 if (!args
) SWIG_fail
;
11261 swig_obj
[0] = args
;
11262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11266 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11271 result
= (wxFont
*) &_result_ref
;
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 wxFont
* resultptr
= new wxFont(*result
);
11278 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11286 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11287 PyObject
*resultobj
= 0;
11288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11289 wxTextAttrAlignment result
;
11292 PyObject
*swig_obj
[1] ;
11294 if (!args
) SWIG_fail
;
11295 swig_obj
[0] = args
;
11296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11300 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_From_int(static_cast< int >(result
));
11314 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11315 PyObject
*resultobj
= 0;
11316 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11317 wxArrayInt
*result
= 0 ;
11320 PyObject
*swig_obj
[1] ;
11322 if (!args
) SWIG_fail
;
11323 swig_obj
[0] = args
;
11324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11325 if (!SWIG_IsOK(res1
)) {
11326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11328 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11333 result
= (wxArrayInt
*) &_result_ref
;
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= PyList_New(0);
11341 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11342 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11343 PyList_Append(resultobj
, val
);
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long(static_cast< long >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long(static_cast< long >(result
));
11409 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11423 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= SWIG_From_long(static_cast< long >(result
));
11437 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11438 PyObject
*resultobj
= 0;
11439 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11443 PyObject
*swig_obj
[1] ;
11445 if (!args
) SWIG_fail
;
11446 swig_obj
[0] = args
;
11447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11451 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_From_long(static_cast< long >(result
));
11465 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11466 PyObject
*resultobj
= 0;
11467 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11471 PyObject
*swig_obj
[1] ;
11473 if (!args
) SWIG_fail
;
11474 swig_obj
[0] = args
;
11475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11479 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11495 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
= 0;
11497 wxTextAttr
*arg1
= 0 ;
11498 wxTextAttr
*arg2
= 0 ;
11499 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 char * kwnames
[] = {
11511 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11515 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11516 if (!SWIG_IsOK(res1
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11522 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11524 if (!SWIG_IsOK(res2
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11530 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11531 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11532 if (!SWIG_IsOK(res3
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11535 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11549 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11552 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11553 return SWIG_Py_Void();
11556 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11557 return SWIG_Python_InitShadowInstance(args
);
11560 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= 0;
11562 wxWindow
*arg1
= (wxWindow
*) 0 ;
11563 int arg2
= (int) -1 ;
11564 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11570 long arg6
= (long) 0 ;
11571 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11572 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11573 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11575 wxTextCtrl
*result
= 0 ;
11580 bool temp3
= false ;
11587 bool temp8
= false ;
11588 PyObject
* obj0
= 0 ;
11589 PyObject
* obj1
= 0 ;
11590 PyObject
* obj2
= 0 ;
11591 PyObject
* obj3
= 0 ;
11592 PyObject
* obj4
= 0 ;
11593 PyObject
* obj5
= 0 ;
11594 PyObject
* obj6
= 0 ;
11595 PyObject
* obj7
= 0 ;
11596 char * kwnames
[] = {
11597 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11602 if (!SWIG_IsOK(res1
)) {
11603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11608 if (!SWIG_IsOK(ecode2
)) {
11609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11611 arg2
= static_cast< int >(val2
);
11615 arg3
= wxString_in_helper(obj2
);
11616 if (arg3
== NULL
) SWIG_fail
;
11623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11633 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11634 if (!SWIG_IsOK(ecode6
)) {
11635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11637 arg6
= static_cast< long >(val6
);
11640 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11641 if (!SWIG_IsOK(res7
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11647 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11651 arg8
= wxString_in_helper(obj7
);
11652 if (arg8
== NULL
) SWIG_fail
;
11657 if (!wxPyCheckForApp()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11686 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11687 PyObject
*resultobj
= 0;
11688 wxTextCtrl
*result
= 0 ;
11690 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11692 if (!wxPyCheckForApp()) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 result
= (wxTextCtrl
*)new wxTextCtrl();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11705 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
= 0;
11707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11708 wxWindow
*arg2
= (wxWindow
*) 0 ;
11709 int arg3
= (int) -1 ;
11710 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11711 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11712 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11713 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11714 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11715 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11716 long arg7
= (long) 0 ;
11717 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11718 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11719 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11720 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11728 bool temp4
= false ;
11735 bool temp9
= false ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 PyObject
* obj2
= 0 ;
11739 PyObject
* obj3
= 0 ;
11740 PyObject
* obj4
= 0 ;
11741 PyObject
* obj5
= 0 ;
11742 PyObject
* obj6
= 0 ;
11743 PyObject
* obj7
= 0 ;
11744 PyObject
* obj8
= 0 ;
11745 char * kwnames
[] = {
11746 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11751 if (!SWIG_IsOK(res1
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11754 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11756 if (!SWIG_IsOK(res2
)) {
11757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11759 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11762 if (!SWIG_IsOK(ecode3
)) {
11763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11765 arg3
= static_cast< int >(val3
);
11769 arg4
= wxString_in_helper(obj3
);
11770 if (arg4
== NULL
) SWIG_fail
;
11777 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11783 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11787 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11788 if (!SWIG_IsOK(ecode7
)) {
11789 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11791 arg7
= static_cast< long >(val7
);
11794 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11795 if (!SWIG_IsOK(res8
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11801 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11805 arg9
= wxString_in_helper(obj8
);
11806 if (arg9
== NULL
) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11842 PyObject
*resultobj
= 0;
11843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11847 PyObject
*swig_obj
[1] ;
11849 if (!args
) SWIG_fail
;
11850 swig_obj
[0] = args
;
11851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11852 if (!SWIG_IsOK(res1
)) {
11853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11855 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11875 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
= 0;
11877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11878 wxString
*arg2
= 0 ;
11881 bool temp2
= false ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char * kwnames
[] = {
11885 (char *) "self",(char *) "value", NULL
11888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11893 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11895 arg2
= wxString_in_helper(obj1
);
11896 if (arg2
== NULL
) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 (arg1
)->SetValue((wxString
const &)*arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_Py_Void();
11920 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
= 0;
11922 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 PyObject
* obj2
= 0 ;
11935 char * kwnames
[] = {
11936 (char *) "self",(char *) "from",(char *) "to", NULL
11939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11944 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11945 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11946 if (!SWIG_IsOK(ecode2
)) {
11947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11949 arg2
= static_cast< long >(val2
);
11950 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11951 if (!SWIG_IsOK(ecode3
)) {
11952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11954 arg3
= static_cast< long >(val3
);
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11974 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
= 0;
11976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 PyObject
* obj1
= 0 ;
11985 char * kwnames
[] = {
11986 (char *) "self",(char *) "lineNo", NULL
11989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11991 if (!SWIG_IsOK(res1
)) {
11992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11994 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11995 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11996 if (!SWIG_IsOK(ecode2
)) {
11997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11999 arg2
= static_cast< long >(val2
);
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= SWIG_From_int(static_cast< int >(result
));
12013 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
= 0;
12015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 char * kwnames
[] = {
12025 (char *) "self",(char *) "lineNo", NULL
12028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12033 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12034 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12035 if (!SWIG_IsOK(ecode2
)) {
12036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12038 arg2
= static_cast< long >(val2
);
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12058 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12072 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_From_int(static_cast< int >(result
));
12086 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12087 PyObject
*resultobj
= 0;
12088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12092 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12100 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12116 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12117 PyObject
*resultobj
= 0;
12118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12122 PyObject
*swig_obj
[1] ;
12124 if (!args
) SWIG_fail
;
12125 swig_obj
[0] = args
;
12126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12127 if (!SWIG_IsOK(res1
)) {
12128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12130 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12146 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12147 PyObject
*resultobj
= 0;
12148 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12152 PyObject
*swig_obj
[1] ;
12154 if (!args
) SWIG_fail
;
12155 swig_obj
[0] = args
;
12156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12157 if (!SWIG_IsOK(res1
)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12160 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12176 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12177 PyObject
*resultobj
= 0;
12178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12182 PyObject
*swig_obj
[1] ;
12184 if (!args
) SWIG_fail
;
12185 swig_obj
[0] = args
;
12186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12190 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12206 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12207 PyObject
*resultobj
= 0;
12208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12209 long *arg2
= (long *) 0 ;
12210 long *arg3
= (long *) 0 ;
12214 int res2
= SWIG_TMPOBJ
;
12216 int res3
= SWIG_TMPOBJ
;
12217 PyObject
*swig_obj
[1] ;
12221 if (!args
) SWIG_fail
;
12222 swig_obj
[0] = args
;
12223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12227 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= SWIG_Py_Void();
12235 if (SWIG_IsTmpObj(res2
)) {
12236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12238 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12241 if (SWIG_IsTmpObj(res3
)) {
12242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12244 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12253 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12254 PyObject
*resultobj
= 0;
12255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12259 PyObject
*swig_obj
[1] ;
12261 if (!args
) SWIG_fail
;
12262 swig_obj
[0] = args
;
12263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12264 if (!SWIG_IsOK(res1
)) {
12265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12267 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12287 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12288 PyObject
*resultobj
= 0;
12289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12292 PyObject
*swig_obj
[1] ;
12294 if (!args
) SWIG_fail
;
12295 swig_obj
[0] = args
;
12296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12297 if (!SWIG_IsOK(res1
)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12300 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_Py_Void();
12314 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
= 0;
12316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12319 wxString
*arg4
= 0 ;
12326 bool temp4
= false ;
12327 PyObject
* obj0
= 0 ;
12328 PyObject
* obj1
= 0 ;
12329 PyObject
* obj2
= 0 ;
12330 PyObject
* obj3
= 0 ;
12331 char * kwnames
[] = {
12332 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12337 if (!SWIG_IsOK(res1
)) {
12338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12340 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12341 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12342 if (!SWIG_IsOK(ecode2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12345 arg2
= static_cast< long >(val2
);
12346 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12347 if (!SWIG_IsOK(ecode3
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12350 arg3
= static_cast< long >(val3
);
12352 arg4
= wxString_in_helper(obj3
);
12353 if (arg4
== NULL
) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12377 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 PyObject
* obj2
= 0 ;
12391 char * kwnames
[] = {
12392 (char *) "self",(char *) "from",(char *) "to", NULL
12395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12397 if (!SWIG_IsOK(res1
)) {
12398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12402 if (!SWIG_IsOK(ecode2
)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12405 arg2
= static_cast< long >(val2
);
12406 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12407 if (!SWIG_IsOK(ecode3
)) {
12408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12410 arg3
= static_cast< long >(val3
);
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->Remove(arg2
,arg3
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= SWIG_Py_Void();
12424 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
= 0;
12426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12427 wxString
*arg2
= 0 ;
12431 bool temp2
= false ;
12432 PyObject
* obj0
= 0 ;
12433 PyObject
* obj1
= 0 ;
12434 char * kwnames
[] = {
12435 (char *) "self",(char *) "file", NULL
12438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12440 if (!SWIG_IsOK(res1
)) {
12441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12443 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12445 arg2
= wxString_in_helper(obj1
);
12446 if (arg2
== NULL
) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12472 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
= 0;
12474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12475 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12476 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12480 bool temp2
= false ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 char * kwnames
[] = {
12484 (char *) "self",(char *) "file", NULL
12487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12492 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12495 arg2
= wxString_in_helper(obj1
);
12496 if (arg2
== NULL
) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12523 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12524 PyObject
*resultobj
= 0;
12525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12528 PyObject
*swig_obj
[1] ;
12530 if (!args
) SWIG_fail
;
12531 swig_obj
[0] = args
;
12532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12536 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->MarkDirty();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_Py_Void();
12550 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12551 PyObject
*resultobj
= 0;
12552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12555 PyObject
*swig_obj
[1] ;
12557 if (!args
) SWIG_fail
;
12558 swig_obj
[0] = args
;
12559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12563 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 (arg1
)->DiscardEdits();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_Py_Void();
12577 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
= 0;
12579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12580 unsigned long arg2
;
12583 unsigned long val2
;
12585 PyObject
* obj0
= 0 ;
12586 PyObject
* obj1
= 0 ;
12587 char * kwnames
[] = {
12588 (char *) "self",(char *) "len", NULL
12591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12593 if (!SWIG_IsOK(res1
)) {
12594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12596 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12597 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12598 if (!SWIG_IsOK(ecode2
)) {
12599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12601 arg2
= static_cast< unsigned long >(val2
);
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 (arg1
)->SetMaxLength(arg2
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_Py_Void();
12615 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
= 0;
12617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12618 wxString
*arg2
= 0 ;
12621 bool temp2
= false ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 char * kwnames
[] = {
12625 (char *) "self",(char *) "text", NULL
12628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12630 if (!SWIG_IsOK(res1
)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12635 arg2
= wxString_in_helper(obj1
);
12636 if (arg2
== NULL
) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 (arg1
)->WriteText((wxString
const &)*arg2
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= SWIG_Py_Void();
12660 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
= 0;
12662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12663 wxString
*arg2
= 0 ;
12666 bool temp2
= false ;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char * kwnames
[] = {
12670 (char *) "self",(char *) "text", NULL
12673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12675 if (!SWIG_IsOK(res1
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12678 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12680 arg2
= wxString_in_helper(obj1
);
12681 if (arg2
== NULL
) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 (arg1
)->AppendText((wxString
const &)*arg2
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_Py_Void();
12705 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
= 0;
12707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12708 wxKeyEvent
*arg2
= 0 ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "event", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12727 if (!SWIG_IsOK(res2
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12733 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12749 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
= 0;
12751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12754 wxTextAttr
*arg4
= 0 ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 PyObject
* obj2
= 0 ;
12767 PyObject
* obj3
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12777 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12778 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12779 if (!SWIG_IsOK(ecode2
)) {
12780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12782 arg2
= static_cast< long >(val2
);
12783 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12784 if (!SWIG_IsOK(ecode3
)) {
12785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12787 arg3
= static_cast< long >(val3
);
12788 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12789 if (!SWIG_IsOK(res4
)) {
12790 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12795 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12811 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
= 0;
12813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12815 wxTextAttr
*arg3
= 0 ;
12823 PyObject
* obj0
= 0 ;
12824 PyObject
* obj1
= 0 ;
12825 PyObject
* obj2
= 0 ;
12826 char * kwnames
[] = {
12827 (char *) "self",(char *) "position",(char *) "style", NULL
12830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12832 if (!SWIG_IsOK(res1
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12835 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12836 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12837 if (!SWIG_IsOK(ecode2
)) {
12838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12840 arg2
= static_cast< long >(val2
);
12841 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12842 if (!SWIG_IsOK(res3
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12848 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12864 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12867 wxTextAttr
*arg2
= 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char * kwnames
[] = {
12876 (char *) "self",(char *) "style", NULL
12879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12881 if (!SWIG_IsOK(res1
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12884 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12886 if (!SWIG_IsOK(res2
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12892 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12908 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 PyObject
*resultobj
= 0;
12910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12911 wxTextAttr
*result
= 0 ;
12914 PyObject
*swig_obj
[1] ;
12916 if (!args
) SWIG_fail
;
12917 swig_obj
[0] = args
;
12918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12919 if (!SWIG_IsOK(res1
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12922 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12927 result
= (wxTextAttr
*) &_result_ref
;
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12939 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
= 0;
12941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 PyObject
* obj1
= 0 ;
12953 PyObject
* obj2
= 0 ;
12954 char * kwnames
[] = {
12955 (char *) "self",(char *) "x",(char *) "y", NULL
12958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12963 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12965 if (!SWIG_IsOK(ecode2
)) {
12966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12968 arg2
= static_cast< long >(val2
);
12969 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12970 if (!SWIG_IsOK(ecode3
)) {
12971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12973 arg3
= static_cast< long >(val3
);
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_From_long(static_cast< long >(result
));
12987 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= 0;
12989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12991 long *arg3
= (long *) 0 ;
12992 long *arg4
= (long *) 0 ;
12998 int res3
= SWIG_TMPOBJ
;
13000 int res4
= SWIG_TMPOBJ
;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 char * kwnames
[] = {
13004 (char *) "self",(char *) "pos", NULL
13009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13011 if (!SWIG_IsOK(res1
)) {
13012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13016 if (!SWIG_IsOK(ecode2
)) {
13017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13019 arg2
= static_cast< long >(val2
);
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_Py_Void();
13027 if (SWIG_IsTmpObj(res3
)) {
13028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13030 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13033 if (SWIG_IsTmpObj(res4
)) {
13034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13036 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13045 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
= 0;
13047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char * kwnames
[] = {
13056 (char *) "self",(char *) "pos", NULL
13059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13064 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13066 if (!SWIG_IsOK(ecode2
)) {
13067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13069 arg2
= static_cast< long >(val2
);
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->ShowPosition(arg2
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= SWIG_Py_Void();
13083 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
= 0;
13085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13086 wxPoint
*arg2
= 0 ;
13087 long *arg3
= (long *) 0 ;
13088 long *arg4
= (long *) 0 ;
13089 wxTextCtrlHitTestResult result
;
13094 int res3
= SWIG_TMPOBJ
;
13096 int res4
= SWIG_TMPOBJ
;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 char * kwnames
[] = {
13100 (char *) "self",(char *) "pt", NULL
13105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13107 if (!SWIG_IsOK(res1
)) {
13108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13110 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_From_int(static_cast< int >(result
));
13122 if (SWIG_IsTmpObj(res3
)) {
13123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13125 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13128 if (SWIG_IsTmpObj(res4
)) {
13129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13131 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13140 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
= 0;
13142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13143 wxPoint
*arg2
= 0 ;
13144 long *arg3
= (long *) 0 ;
13145 wxTextCtrlHitTestResult result
;
13150 int res3
= SWIG_TMPOBJ
;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "pt", NULL
13158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13163 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13166 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_From_int(static_cast< int >(result
));
13175 if (SWIG_IsTmpObj(res3
)) {
13176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13178 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13187 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13188 PyObject
*resultobj
= 0;
13189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13192 PyObject
*swig_obj
[1] ;
13194 if (!args
) SWIG_fail
;
13195 swig_obj
[0] = args
;
13196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13200 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= SWIG_Py_Void();
13214 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13215 PyObject
*resultobj
= 0;
13216 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13219 PyObject
*swig_obj
[1] ;
13221 if (!args
) SWIG_fail
;
13222 swig_obj
[0] = args
;
13223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13224 if (!SWIG_IsOK(res1
)) {
13225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13227 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_Py_Void();
13241 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13242 PyObject
*resultobj
= 0;
13243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13254 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 PyObject
*resultobj
= 0;
13270 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13274 PyObject
*swig_obj
[1] ;
13276 if (!args
) SWIG_fail
;
13277 swig_obj
[0] = args
;
13278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13282 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13298 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13299 PyObject
*resultobj
= 0;
13300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13304 PyObject
*swig_obj
[1] ;
13306 if (!args
) SWIG_fail
;
13307 swig_obj
[0] = args
;
13308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13312 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13328 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13329 PyObject
*resultobj
= 0;
13330 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_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13342 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13358 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13359 PyObject
*resultobj
= 0;
13360 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13363 PyObject
*swig_obj
[1] ;
13365 if (!args
) SWIG_fail
;
13366 swig_obj
[0] = args
;
13367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13368 if (!SWIG_IsOK(res1
)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13371 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_Py_Void();
13385 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13386 PyObject
*resultobj
= 0;
13387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13390 PyObject
*swig_obj
[1] ;
13392 if (!args
) SWIG_fail
;
13393 swig_obj
[0] = args
;
13394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13395 if (!SWIG_IsOK(res1
)) {
13396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13398 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_Py_Void();
13412 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 PyObject
*resultobj
= 0;
13414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13418 PyObject
*swig_obj
[1] ;
13420 if (!args
) SWIG_fail
;
13421 swig_obj
[0] = args
;
13422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13423 if (!SWIG_IsOK(res1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13426 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13442 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13443 PyObject
*resultobj
= 0;
13444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13448 PyObject
*swig_obj
[1] ;
13450 if (!args
) SWIG_fail
;
13451 swig_obj
[0] = args
;
13452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13453 if (!SWIG_IsOK(res1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13456 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13472 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
= 0;
13474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char * kwnames
[] = {
13483 (char *) "self",(char *) "pos", NULL
13486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13488 if (!SWIG_IsOK(res1
)) {
13489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13491 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13492 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13493 if (!SWIG_IsOK(ecode2
)) {
13494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13496 arg2
= static_cast< long >(val2
);
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 (arg1
)->SetInsertionPoint(arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_Py_Void();
13510 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 PyObject
*resultobj
= 0;
13512 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_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 (arg1
)->SetInsertionPointEnd();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_Py_Void();
13537 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13538 PyObject
*resultobj
= 0;
13539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13543 PyObject
*swig_obj
[1] ;
13545 if (!args
) SWIG_fail
;
13546 swig_obj
[0] = args
;
13547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13548 if (!SWIG_IsOK(res1
)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13551 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_From_long(static_cast< long >(result
));
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13571 PyObject
*swig_obj
[1] ;
13573 if (!args
) SWIG_fail
;
13574 swig_obj
[0] = args
;
13575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_From_long(static_cast< long >(result
));
13593 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
= 0;
13595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 PyObject
* obj2
= 0 ;
13607 char * kwnames
[] = {
13608 (char *) "self",(char *) "from",(char *) "to", NULL
13611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13613 if (!SWIG_IsOK(res1
)) {
13614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13616 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13617 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13618 if (!SWIG_IsOK(ecode2
)) {
13619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13621 arg2
= static_cast< long >(val2
);
13622 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13623 if (!SWIG_IsOK(ecode3
)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13626 arg3
= static_cast< long >(val3
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->SetSelection(arg2
,arg3
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_Py_Void();
13640 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13641 PyObject
*resultobj
= 0;
13642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13645 PyObject
*swig_obj
[1] ;
13647 if (!args
) SWIG_fail
;
13648 swig_obj
[0] = args
;
13649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13653 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 (arg1
)->SelectAll();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= SWIG_Py_Void();
13667 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= 0;
13669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char * kwnames
[] = {
13678 (char *) "self",(char *) "editable", NULL
13681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13683 if (!SWIG_IsOK(res1
)) {
13684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13686 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13687 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13688 if (!SWIG_IsOK(ecode2
)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13691 arg2
= static_cast< bool >(val2
);
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetEditable(arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= SWIG_Py_Void();
13705 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
= 0;
13707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13708 wxString
*arg2
= 0 ;
13711 bool temp2
= false ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char * kwnames
[] = {
13715 (char *) "self",(char *) "text", NULL
13718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13723 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13725 arg2
= wxString_in_helper(obj1
);
13726 if (arg2
== NULL
) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= SWIG_Py_Void();
13750 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
= 0;
13752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 PyObject
* obj2
= 0 ;
13765 char * kwnames
[] = {
13766 (char *) "self",(char *) "from",(char *) "to", NULL
13769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13771 if (!SWIG_IsOK(res1
)) {
13772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13774 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13775 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13776 if (!SWIG_IsOK(ecode2
)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13779 arg2
= static_cast< long >(val2
);
13780 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13781 if (!SWIG_IsOK(ecode3
)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13784 arg3
= static_cast< long >(val3
);
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13804 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13807 SwigValueWrapper
<wxVisualAttributes
> result
;
13810 PyObject
* obj0
= 0 ;
13811 char * kwnames
[] = {
13812 (char *) "variant", NULL
13815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13817 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13818 if (!SWIG_IsOK(ecode1
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13821 arg1
= static_cast< wxWindowVariant
>(val1
);
13824 if (!wxPyCheckForApp()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13837 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13840 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13841 return SWIG_Py_Void();
13844 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13845 return SWIG_Python_InitShadowInstance(args
);
13848 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
= 0;
13851 wxMouseEvent
*arg2
= 0 ;
13854 wxTextUrlEvent
*result
= 0 ;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 PyObject
* obj2
= 0 ;
13866 PyObject
* obj3
= 0 ;
13867 char * kwnames
[] = {
13868 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13872 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13873 if (!SWIG_IsOK(ecode1
)) {
13874 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13876 arg1
= static_cast< int >(val1
);
13877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13878 if (!SWIG_IsOK(res2
)) {
13879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13884 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13885 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13886 if (!SWIG_IsOK(ecode3
)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13889 arg3
= static_cast< long >(val3
);
13890 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13891 if (!SWIG_IsOK(ecode4
)) {
13892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13894 arg4
= static_cast< long >(val4
);
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13908 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13909 PyObject
*resultobj
= 0;
13910 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13911 wxMouseEvent
*result
= 0 ;
13914 PyObject
*swig_obj
[1] ;
13916 if (!args
) SWIG_fail
;
13917 swig_obj
[0] = args
;
13918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13919 if (!SWIG_IsOK(res1
)) {
13920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13922 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13927 result
= (wxMouseEvent
*) &_result_ref
;
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13939 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13940 PyObject
*resultobj
= 0;
13941 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13945 PyObject
*swig_obj
[1] ;
13947 if (!args
) SWIG_fail
;
13948 swig_obj
[0] = args
;
13949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13950 if (!SWIG_IsOK(res1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13953 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_From_long(static_cast< long >(result
));
13967 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13968 PyObject
*resultobj
= 0;
13969 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13973 PyObject
*swig_obj
[1] ;
13975 if (!args
) SWIG_fail
;
13976 swig_obj
[0] = args
;
13977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13978 if (!SWIG_IsOK(res1
)) {
13979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13981 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_From_long(static_cast< long >(result
));
13995 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13998 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13999 return SWIG_Py_Void();
14002 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14003 return SWIG_Python_InitShadowInstance(args
);
14006 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14007 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14012 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14013 PyObject
*pyobj
= 0;
14017 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14019 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14026 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
= 0;
14028 wxWindow
*arg1
= (wxWindow
*) 0 ;
14029 int arg2
= (int) -1 ;
14030 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14031 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14032 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14033 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14034 long arg5
= (long) wxSB_HORIZONTAL
;
14035 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14036 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14037 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14038 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14039 wxScrollBar
*result
= 0 ;
14050 bool temp7
= false ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 PyObject
* obj2
= 0 ;
14054 PyObject
* obj3
= 0 ;
14055 PyObject
* obj4
= 0 ;
14056 PyObject
* obj5
= 0 ;
14057 PyObject
* obj6
= 0 ;
14058 char * kwnames
[] = {
14059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14064 if (!SWIG_IsOK(res1
)) {
14065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14067 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14070 if (!SWIG_IsOK(ecode2
)) {
14071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14073 arg2
= static_cast< int >(val2
);
14078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14084 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14088 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14089 if (!SWIG_IsOK(ecode5
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14092 arg5
= static_cast< long >(val5
);
14095 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14096 if (!SWIG_IsOK(res6
)) {
14097 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14102 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14106 arg7
= wxString_in_helper(obj6
);
14107 if (arg7
== NULL
) SWIG_fail
;
14112 if (!wxPyCheckForApp()) SWIG_fail
;
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14133 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14134 PyObject
*resultobj
= 0;
14135 wxScrollBar
*result
= 0 ;
14137 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14139 if (!wxPyCheckForApp()) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (wxScrollBar
*)new wxScrollBar();
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14152 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
= 0;
14154 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14155 wxWindow
*arg2
= (wxWindow
*) 0 ;
14156 int arg3
= (int) -1 ;
14157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14161 long arg6
= (long) wxSB_HORIZONTAL
;
14162 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14163 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14164 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14165 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14179 bool temp8
= false ;
14180 PyObject
* obj0
= 0 ;
14181 PyObject
* obj1
= 0 ;
14182 PyObject
* obj2
= 0 ;
14183 PyObject
* obj3
= 0 ;
14184 PyObject
* obj4
= 0 ;
14185 PyObject
* obj5
= 0 ;
14186 PyObject
* obj6
= 0 ;
14187 PyObject
* obj7
= 0 ;
14188 char * kwnames
[] = {
14189 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14194 if (!SWIG_IsOK(res1
)) {
14195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14197 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14198 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14199 if (!SWIG_IsOK(res2
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14202 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14205 if (!SWIG_IsOK(ecode3
)) {
14206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14208 arg3
= static_cast< int >(val3
);
14213 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14219 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14223 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14224 if (!SWIG_IsOK(ecode6
)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14227 arg6
= static_cast< long >(val6
);
14230 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14231 if (!SWIG_IsOK(res7
)) {
14232 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14237 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14241 arg8
= wxString_in_helper(obj7
);
14242 if (arg8
== NULL
) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14269 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(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_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14283 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_From_int(static_cast< int >(result
));
14297 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(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_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14311 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= SWIG_From_int(static_cast< int >(result
));
14325 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(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_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14339 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= SWIG_From_int(static_cast< int >(result
));
14353 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14354 PyObject
*resultobj
= 0;
14355 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14359 PyObject
*swig_obj
[1] ;
14361 if (!args
) SWIG_fail
;
14362 swig_obj
[0] = args
;
14363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14364 if (!SWIG_IsOK(res1
)) {
14365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14367 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_From_int(static_cast< int >(result
));
14381 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14382 PyObject
*resultobj
= 0;
14383 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14387 PyObject
*swig_obj
[1] ;
14389 if (!args
) SWIG_fail
;
14390 swig_obj
[0] = args
;
14391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14392 if (!SWIG_IsOK(res1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14395 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14411 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
= 0;
14413 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 char * kwnames
[] = {
14422 (char *) "self",(char *) "viewStart", NULL
14425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14430 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14432 if (!SWIG_IsOK(ecode2
)) {
14433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14435 arg2
= static_cast< int >(val2
);
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->SetThumbPosition(arg2
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_Py_Void();
14449 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
= 0;
14451 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14452 SwigValueWrapper
<wxVisualAttributes
> result
;
14455 PyObject
* obj0
= 0 ;
14456 char * kwnames
[] = {
14457 (char *) "variant", NULL
14460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14463 if (!SWIG_IsOK(ecode1
)) {
14464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14466 arg1
= static_cast< wxWindowVariant
>(val1
);
14469 if (!wxPyCheckForApp()) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14482 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14485 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14486 return SWIG_Py_Void();
14489 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14490 return SWIG_Python_InitShadowInstance(args
);
14493 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14494 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14499 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14500 PyObject
*pyobj
= 0;
14504 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14506 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14513 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14514 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14519 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14520 PyObject
*pyobj
= 0;
14524 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14526 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14533 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
= 0;
14535 wxWindow
*arg1
= (wxWindow
*) 0 ;
14536 int arg2
= (int) -1 ;
14537 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14538 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14539 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14540 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14541 long arg5
= (long) wxSP_HORIZONTAL
;
14542 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14543 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14544 wxSpinButton
*result
= 0 ;
14553 bool temp6
= false ;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 PyObject
* obj2
= 0 ;
14557 PyObject
* obj3
= 0 ;
14558 PyObject
* obj4
= 0 ;
14559 PyObject
* obj5
= 0 ;
14560 char * kwnames
[] = {
14561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14566 if (!SWIG_IsOK(res1
)) {
14567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14569 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14572 if (!SWIG_IsOK(ecode2
)) {
14573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14575 arg2
= static_cast< int >(val2
);
14580 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14586 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14590 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14591 if (!SWIG_IsOK(ecode5
)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14594 arg5
= static_cast< long >(val5
);
14598 arg6
= wxString_in_helper(obj5
);
14599 if (arg6
== NULL
) SWIG_fail
;
14604 if (!wxPyCheckForApp()) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14625 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14626 PyObject
*resultobj
= 0;
14627 wxSpinButton
*result
= 0 ;
14629 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14631 if (!wxPyCheckForApp()) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (wxSpinButton
*)new wxSpinButton();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14644 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
= 0;
14646 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14647 wxWindow
*arg2
= (wxWindow
*) 0 ;
14648 int arg3
= (int) -1 ;
14649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14653 long arg6
= (long) wxSP_HORIZONTAL
;
14654 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14655 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14667 bool temp7
= false ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 PyObject
* obj2
= 0 ;
14671 PyObject
* obj3
= 0 ;
14672 PyObject
* obj4
= 0 ;
14673 PyObject
* obj5
= 0 ;
14674 PyObject
* obj6
= 0 ;
14675 char * kwnames
[] = {
14676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14681 if (!SWIG_IsOK(res1
)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14684 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14686 if (!SWIG_IsOK(res2
)) {
14687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14689 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14692 if (!SWIG_IsOK(ecode3
)) {
14693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14695 arg3
= static_cast< int >(val3
);
14700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14710 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14711 if (!SWIG_IsOK(ecode6
)) {
14712 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14714 arg6
= static_cast< long >(val6
);
14718 arg7
= wxString_in_helper(obj6
);
14719 if (arg7
== NULL
) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14746 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(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_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14760 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_From_int(static_cast< int >(result
));
14774 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14775 PyObject
*resultobj
= 0;
14776 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14780 PyObject
*swig_obj
[1] ;
14782 if (!args
) SWIG_fail
;
14783 swig_obj
[0] = args
;
14784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14785 if (!SWIG_IsOK(res1
)) {
14786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14788 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_From_int(static_cast< int >(result
));
14802 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14803 PyObject
*resultobj
= 0;
14804 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14808 PyObject
*swig_obj
[1] ;
14810 if (!args
) SWIG_fail
;
14811 swig_obj
[0] = args
;
14812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14813 if (!SWIG_IsOK(res1
)) {
14814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14816 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= SWIG_From_int(static_cast< int >(result
));
14830 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
= 0;
14832 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 PyObject
* obj1
= 0 ;
14840 char * kwnames
[] = {
14841 (char *) "self",(char *) "val", NULL
14844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14846 if (!SWIG_IsOK(res1
)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14849 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14851 if (!SWIG_IsOK(ecode2
)) {
14852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14854 arg2
= static_cast< int >(val2
);
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 (arg1
)->SetValue(arg2
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_Py_Void();
14868 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= 0;
14870 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 char * kwnames
[] = {
14879 (char *) "self",(char *) "minVal", NULL
14882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14887 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14889 if (!SWIG_IsOK(ecode2
)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14892 arg2
= static_cast< int >(val2
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 (arg1
)->SetMin(arg2
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_Py_Void();
14906 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
= 0;
14908 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 char * kwnames
[] = {
14917 (char *) "self",(char *) "maxVal", NULL
14920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14922 if (!SWIG_IsOK(res1
)) {
14923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14925 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14927 if (!SWIG_IsOK(ecode2
)) {
14928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14930 arg2
= static_cast< int >(val2
);
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 (arg1
)->SetMax(arg2
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= SWIG_Py_Void();
14944 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
= 0;
14946 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 PyObject
* obj2
= 0 ;
14958 char * kwnames
[] = {
14959 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14964 if (!SWIG_IsOK(res1
)) {
14965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14967 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14969 if (!SWIG_IsOK(ecode2
)) {
14970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14972 arg2
= static_cast< int >(val2
);
14973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14974 if (!SWIG_IsOK(ecode3
)) {
14975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14977 arg3
= static_cast< int >(val3
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 (arg1
)->SetRange(arg2
,arg3
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_Py_Void();
14991 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14992 PyObject
*resultobj
= 0;
14993 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14997 PyObject
*swig_obj
[1] ;
14999 if (!args
) SWIG_fail
;
15000 swig_obj
[0] = args
;
15001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15002 if (!SWIG_IsOK(res1
)) {
15003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15005 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15021 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
= 0;
15023 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15024 SwigValueWrapper
<wxVisualAttributes
> result
;
15027 PyObject
* obj0
= 0 ;
15028 char * kwnames
[] = {
15029 (char *) "variant", NULL
15032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15035 if (!SWIG_IsOK(ecode1
)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15038 arg1
= static_cast< wxWindowVariant
>(val1
);
15041 if (!wxPyCheckForApp()) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15054 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15057 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15058 return SWIG_Py_Void();
15061 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15062 return SWIG_Python_InitShadowInstance(args
);
15065 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
= 0;
15067 wxWindow
*arg1
= (wxWindow
*) 0 ;
15068 int arg2
= (int) -1 ;
15069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15075 long arg6
= (long) wxSP_ARROW_KEYS
;
15076 int arg7
= (int) 0 ;
15077 int arg8
= (int) 100 ;
15078 int arg9
= (int) 0 ;
15079 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15080 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15081 wxSpinCtrl
*result
= 0 ;
15086 bool temp3
= false ;
15097 bool temp10
= false ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 PyObject
* obj2
= 0 ;
15101 PyObject
* obj3
= 0 ;
15102 PyObject
* obj4
= 0 ;
15103 PyObject
* obj5
= 0 ;
15104 PyObject
* obj6
= 0 ;
15105 PyObject
* obj7
= 0 ;
15106 PyObject
* obj8
= 0 ;
15107 PyObject
* obj9
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15120 if (!SWIG_IsOK(ecode2
)) {
15121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15123 arg2
= static_cast< int >(val2
);
15127 arg3
= wxString_in_helper(obj2
);
15128 if (arg3
== NULL
) SWIG_fail
;
15135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15145 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15146 if (!SWIG_IsOK(ecode6
)) {
15147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15149 arg6
= static_cast< long >(val6
);
15152 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15153 if (!SWIG_IsOK(ecode7
)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15156 arg7
= static_cast< int >(val7
);
15159 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15160 if (!SWIG_IsOK(ecode8
)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15163 arg8
= static_cast< int >(val8
);
15166 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15167 if (!SWIG_IsOK(ecode9
)) {
15168 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15170 arg9
= static_cast< int >(val9
);
15174 arg10
= wxString_in_helper(obj9
);
15175 if (arg10
== NULL
) SWIG_fail
;
15180 if (!wxPyCheckForApp()) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15209 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15210 PyObject
*resultobj
= 0;
15211 wxSpinCtrl
*result
= 0 ;
15213 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15215 if (!wxPyCheckForApp()) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15228 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
= 0;
15230 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15231 wxWindow
*arg2
= (wxWindow
*) 0 ;
15232 int arg3
= (int) -1 ;
15233 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15234 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15235 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15236 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15237 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15238 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15239 long arg7
= (long) wxSP_ARROW_KEYS
;
15240 int arg8
= (int) 0 ;
15241 int arg9
= (int) 100 ;
15242 int arg10
= (int) 0 ;
15243 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15244 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15252 bool temp4
= false ;
15263 bool temp11
= false ;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 PyObject
* obj2
= 0 ;
15267 PyObject
* obj3
= 0 ;
15268 PyObject
* obj4
= 0 ;
15269 PyObject
* obj5
= 0 ;
15270 PyObject
* obj6
= 0 ;
15271 PyObject
* obj7
= 0 ;
15272 PyObject
* obj8
= 0 ;
15273 PyObject
* obj9
= 0 ;
15274 PyObject
* obj10
= 0 ;
15275 char * kwnames
[] = {
15276 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15281 if (!SWIG_IsOK(res1
)) {
15282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15284 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15286 if (!SWIG_IsOK(res2
)) {
15287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15289 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15292 if (!SWIG_IsOK(ecode3
)) {
15293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15295 arg3
= static_cast< int >(val3
);
15299 arg4
= wxString_in_helper(obj3
);
15300 if (arg4
== NULL
) SWIG_fail
;
15307 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15313 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15317 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15318 if (!SWIG_IsOK(ecode7
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15321 arg7
= static_cast< long >(val7
);
15324 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15325 if (!SWIG_IsOK(ecode8
)) {
15326 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15328 arg8
= static_cast< int >(val8
);
15331 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15332 if (!SWIG_IsOK(ecode9
)) {
15333 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15335 arg9
= static_cast< int >(val9
);
15338 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15339 if (!SWIG_IsOK(ecode10
)) {
15340 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15342 arg10
= static_cast< int >(val10
);
15346 arg11
= wxString_in_helper(obj10
);
15347 if (arg11
== NULL
) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15382 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15383 PyObject
*resultobj
= 0;
15384 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15388 PyObject
*swig_obj
[1] ;
15390 if (!args
) SWIG_fail
;
15391 swig_obj
[0] = args
;
15392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15393 if (!SWIG_IsOK(res1
)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15396 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_From_int(static_cast< int >(result
));
15410 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
= 0;
15412 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "value", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15429 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15431 if (!SWIG_IsOK(ecode2
)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15434 arg2
= static_cast< int >(val2
);
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->SetValue(arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_Py_Void();
15448 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
= 0;
15450 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15451 wxString
*arg2
= 0 ;
15454 bool temp2
= false ;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 char * kwnames
[] = {
15458 (char *) "self",(char *) "text", NULL
15461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15463 if (!SWIG_IsOK(res1
)) {
15464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15466 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15468 arg2
= wxString_in_helper(obj1
);
15469 if (arg2
== NULL
) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 (arg1
)->SetValue((wxString
const &)*arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
= 0;
15495 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 char * kwnames
[] = {
15508 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15513 if (!SWIG_IsOK(res1
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15516 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15518 if (!SWIG_IsOK(ecode2
)) {
15519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15521 arg2
= static_cast< int >(val2
);
15522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15523 if (!SWIG_IsOK(ecode3
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15526 arg3
= static_cast< int >(val3
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->SetRange(arg2
,arg3
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_Py_Void();
15540 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15541 PyObject
*resultobj
= 0;
15542 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15546 PyObject
*swig_obj
[1] ;
15548 if (!args
) SWIG_fail
;
15549 swig_obj
[0] = args
;
15550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15551 if (!SWIG_IsOK(res1
)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15554 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_From_int(static_cast< int >(result
));
15568 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15569 PyObject
*resultobj
= 0;
15570 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15574 PyObject
*swig_obj
[1] ;
15576 if (!args
) SWIG_fail
;
15577 swig_obj
[0] = args
;
15578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15582 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_From_int(static_cast< int >(result
));
15596 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
= 0;
15598 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 char * kwnames
[] = {
15611 (char *) "self",(char *) "from",(char *) "to", NULL
15614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15616 if (!SWIG_IsOK(res1
)) {
15617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15619 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15620 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15621 if (!SWIG_IsOK(ecode2
)) {
15622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15624 arg2
= static_cast< long >(val2
);
15625 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15626 if (!SWIG_IsOK(ecode3
)) {
15627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15629 arg3
= static_cast< long >(val3
);
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 (arg1
)->SetSelection(arg2
,arg3
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_Py_Void();
15643 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
= 0;
15645 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15646 SwigValueWrapper
<wxVisualAttributes
> result
;
15649 PyObject
* obj0
= 0 ;
15650 char * kwnames
[] = {
15651 (char *) "variant", NULL
15654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15657 if (!SWIG_IsOK(ecode1
)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15660 arg1
= static_cast< wxWindowVariant
>(val1
);
15663 if (!wxPyCheckForApp()) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15676 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15679 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15680 return SWIG_Py_Void();
15683 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 return SWIG_Python_InitShadowInstance(args
);
15687 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
= 0;
15689 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15690 int arg2
= (int) 0 ;
15691 wxSpinEvent
*result
= 0 ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 char * kwnames
[] = {
15699 (char *) "commandType",(char *) "winid", NULL
15702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15705 if (!SWIG_IsOK(ecode1
)) {
15706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15708 arg1
= static_cast< wxEventType
>(val1
);
15711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15712 if (!SWIG_IsOK(ecode2
)) {
15713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15715 arg2
= static_cast< int >(val2
);
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15730 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15731 PyObject
*resultobj
= 0;
15732 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15736 PyObject
*swig_obj
[1] ;
15738 if (!args
) SWIG_fail
;
15739 swig_obj
[0] = args
;
15740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15741 if (!SWIG_IsOK(res1
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15744 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= SWIG_From_int(static_cast< int >(result
));
15758 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
= 0;
15760 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char * kwnames
[] = {
15769 (char *) "self",(char *) "pos", NULL
15772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15774 if (!SWIG_IsOK(res1
)) {
15775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15777 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15779 if (!SWIG_IsOK(ecode2
)) {
15780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15782 arg2
= static_cast< int >(val2
);
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 (arg1
)->SetPosition(arg2
);
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_Py_Void();
15796 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15799 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15800 return SWIG_Py_Void();
15803 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15804 return SWIG_Python_InitShadowInstance(args
);
15807 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15808 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15813 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15814 PyObject
*pyobj
= 0;
15818 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15820 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15827 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15828 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15833 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15834 PyObject
*pyobj
= 0;
15838 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15840 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15847 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
= 0;
15849 wxWindow
*arg1
= (wxWindow
*) 0 ;
15850 int arg2
= (int) -1 ;
15851 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15852 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15857 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15858 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15859 int arg7
= (int) 0 ;
15860 long arg8
= (long) wxRA_HORIZONTAL
;
15861 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15862 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15863 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15864 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15865 wxRadioBox
*result
= 0 ;
15870 bool temp3
= false ;
15873 bool temp6
= false ;
15880 bool temp10
= false ;
15881 PyObject
* obj0
= 0 ;
15882 PyObject
* obj1
= 0 ;
15883 PyObject
* obj2
= 0 ;
15884 PyObject
* obj3
= 0 ;
15885 PyObject
* obj4
= 0 ;
15886 PyObject
* obj5
= 0 ;
15887 PyObject
* obj6
= 0 ;
15888 PyObject
* obj7
= 0 ;
15889 PyObject
* obj8
= 0 ;
15890 PyObject
* obj9
= 0 ;
15891 char * kwnames
[] = {
15892 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15897 if (!SWIG_IsOK(res1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15900 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15903 if (!SWIG_IsOK(ecode2
)) {
15904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15906 arg2
= static_cast< int >(val2
);
15910 arg3
= wxString_in_helper(obj2
);
15911 if (arg3
== NULL
) SWIG_fail
;
15918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15929 if (! PySequence_Check(obj5
)) {
15930 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15933 arg6
= new wxArrayString
;
15935 int i
, len
=PySequence_Length(obj5
);
15936 for (i
=0; i
<len
; i
++) {
15937 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15938 wxString
* s
= wxString_in_helper(item
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15947 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15948 if (!SWIG_IsOK(ecode7
)) {
15949 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15951 arg7
= static_cast< int >(val7
);
15954 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15955 if (!SWIG_IsOK(ecode8
)) {
15956 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15958 arg8
= static_cast< long >(val8
);
15961 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15962 if (!SWIG_IsOK(res9
)) {
15963 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15968 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15972 arg10
= wxString_in_helper(obj9
);
15973 if (arg10
== NULL
) SWIG_fail
;
15978 if (!wxPyCheckForApp()) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 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
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15990 if (temp6
) delete arg6
;
16003 if (temp6
) delete arg6
;
16013 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16014 PyObject
*resultobj
= 0;
16015 wxRadioBox
*result
= 0 ;
16017 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16019 if (!wxPyCheckForApp()) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (wxRadioBox
*)new wxRadioBox();
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16032 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
= 0;
16034 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16035 wxWindow
*arg2
= (wxWindow
*) 0 ;
16036 int arg3
= (int) -1 ;
16037 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16038 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16039 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16040 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16041 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16042 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16043 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16044 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16045 int arg8
= (int) 0 ;
16046 long arg9
= (long) wxRA_HORIZONTAL
;
16047 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16048 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16049 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16050 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16058 bool temp4
= false ;
16061 bool temp7
= false ;
16068 bool temp11
= false ;
16069 PyObject
* obj0
= 0 ;
16070 PyObject
* obj1
= 0 ;
16071 PyObject
* obj2
= 0 ;
16072 PyObject
* obj3
= 0 ;
16073 PyObject
* obj4
= 0 ;
16074 PyObject
* obj5
= 0 ;
16075 PyObject
* obj6
= 0 ;
16076 PyObject
* obj7
= 0 ;
16077 PyObject
* obj8
= 0 ;
16078 PyObject
* obj9
= 0 ;
16079 PyObject
* obj10
= 0 ;
16080 char * kwnames
[] = {
16081 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16086 if (!SWIG_IsOK(res1
)) {
16087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16089 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16091 if (!SWIG_IsOK(res2
)) {
16092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16097 if (!SWIG_IsOK(ecode3
)) {
16098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16100 arg3
= static_cast< int >(val3
);
16104 arg4
= wxString_in_helper(obj3
);
16105 if (arg4
== NULL
) SWIG_fail
;
16112 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16118 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16123 if (! PySequence_Check(obj6
)) {
16124 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16127 arg7
= new wxArrayString
;
16129 int i
, len
=PySequence_Length(obj6
);
16130 for (i
=0; i
<len
; i
++) {
16131 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16132 wxString
* s
= wxString_in_helper(item
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16141 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16142 if (!SWIG_IsOK(ecode8
)) {
16143 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16145 arg8
= static_cast< int >(val8
);
16148 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16149 if (!SWIG_IsOK(ecode9
)) {
16150 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16152 arg9
= static_cast< long >(val9
);
16155 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16156 if (!SWIG_IsOK(res10
)) {
16157 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16162 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16166 arg11
= wxString_in_helper(obj10
);
16167 if (arg11
== NULL
) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 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
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16185 if (temp7
) delete arg7
;
16198 if (temp7
) delete arg7
;
16208 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
= 0;
16210 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 PyObject
* obj1
= 0 ;
16218 char * kwnames
[] = {
16219 (char *) "self",(char *) "n", NULL
16222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16224 if (!SWIG_IsOK(res1
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16227 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16229 if (!SWIG_IsOK(ecode2
)) {
16230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16232 arg2
= static_cast< int >(val2
);
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 (arg1
)->SetSelection(arg2
);
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 resultobj
= SWIG_Py_Void();
16246 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16247 PyObject
*resultobj
= 0;
16248 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16252 PyObject
*swig_obj
[1] ;
16254 if (!args
) SWIG_fail
;
16255 swig_obj
[0] = args
;
16256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16257 if (!SWIG_IsOK(res1
)) {
16258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16260 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_From_int(static_cast< int >(result
));
16274 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16275 PyObject
*resultobj
= 0;
16276 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16280 PyObject
*swig_obj
[1] ;
16282 if (!args
) SWIG_fail
;
16283 swig_obj
[0] = args
;
16284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16285 if (!SWIG_IsOK(res1
)) {
16286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16288 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16308 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
= 0;
16310 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16311 wxString
*arg2
= 0 ;
16315 bool temp2
= false ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char * kwnames
[] = {
16319 (char *) "self",(char *) "s", NULL
16322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16324 if (!SWIG_IsOK(res1
)) {
16325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16327 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16329 arg2
= wxString_in_helper(obj1
);
16330 if (arg2
== NULL
) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16356 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16357 PyObject
*resultobj
= 0;
16358 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16362 PyObject
*swig_obj
[1] ;
16364 if (!args
) SWIG_fail
;
16365 swig_obj
[0] = args
;
16366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16367 if (!SWIG_IsOK(res1
)) {
16368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16370 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16377 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16384 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
= 0;
16386 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16387 wxString
*arg2
= 0 ;
16391 bool temp2
= false ;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 char * kwnames
[] = {
16395 (char *) "self",(char *) "s", NULL
16398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16400 if (!SWIG_IsOK(res1
)) {
16401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16403 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16405 arg2
= wxString_in_helper(obj1
);
16406 if (arg2
== NULL
) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= SWIG_From_int(static_cast< int >(result
));
16430 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
= 0;
16432 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 PyObject
* obj1
= 0 ;
16441 char * kwnames
[] = {
16442 (char *) "self",(char *) "n", NULL
16445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16447 if (!SWIG_IsOK(res1
)) {
16448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16450 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16452 if (!SWIG_IsOK(ecode2
)) {
16453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16455 arg2
= static_cast< int >(val2
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16475 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
= 0;
16477 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16479 wxString
*arg3
= 0 ;
16484 bool temp3
= false ;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 PyObject
* obj2
= 0 ;
16488 char * kwnames
[] = {
16489 (char *) "self",(char *) "n",(char *) "label", NULL
16492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16494 if (!SWIG_IsOK(res1
)) {
16495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16497 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16499 if (!SWIG_IsOK(ecode2
)) {
16500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16502 arg2
= static_cast< int >(val2
);
16504 arg3
= wxString_in_helper(obj2
);
16505 if (arg3
== NULL
) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= SWIG_Py_Void();
16529 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
= 0;
16531 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16532 unsigned int arg2
;
16533 bool arg3
= (bool) true ;
16536 unsigned int val2
;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 PyObject
* obj2
= 0 ;
16543 char * kwnames
[] = {
16544 (char *) "self",(char *) "n",(char *) "enable", NULL
16547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16549 if (!SWIG_IsOK(res1
)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16552 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16553 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16554 if (!SWIG_IsOK(ecode2
)) {
16555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16557 arg2
= static_cast< unsigned int >(val2
);
16559 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16560 if (!SWIG_IsOK(ecode3
)) {
16561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16563 arg3
= static_cast< bool >(val3
);
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 (arg1
)->Enable(arg2
,arg3
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= SWIG_Py_Void();
16578 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
= 0;
16580 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16581 unsigned int arg2
;
16582 bool arg3
= (bool) true ;
16585 unsigned int val2
;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 PyObject
* obj2
= 0 ;
16592 char * kwnames
[] = {
16593 (char *) "self",(char *) "n",(char *) "show", NULL
16596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16598 if (!SWIG_IsOK(res1
)) {
16599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16601 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16602 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16603 if (!SWIG_IsOK(ecode2
)) {
16604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16606 arg2
= static_cast< unsigned int >(val2
);
16608 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16609 if (!SWIG_IsOK(ecode3
)) {
16610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16612 arg3
= static_cast< bool >(val3
);
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 (arg1
)->Show(arg2
,arg3
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= SWIG_Py_Void();
16627 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
= 0;
16629 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16630 unsigned int arg2
;
16634 unsigned int val2
;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char * kwnames
[] = {
16639 (char *) "self",(char *) "n", NULL
16642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16644 if (!SWIG_IsOK(res1
)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16647 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16648 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16649 if (!SWIG_IsOK(ecode2
)) {
16650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16652 arg2
= static_cast< unsigned int >(val2
);
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16668 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
= 0;
16670 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16671 unsigned int arg2
;
16675 unsigned int val2
;
16677 PyObject
* obj0
= 0 ;
16678 PyObject
* obj1
= 0 ;
16679 char * kwnames
[] = {
16680 (char *) "self",(char *) "n", NULL
16683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16685 if (!SWIG_IsOK(res1
)) {
16686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16688 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16689 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16690 if (!SWIG_IsOK(ecode2
)) {
16691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16693 arg2
= static_cast< unsigned int >(val2
);
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16709 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16710 PyObject
*resultobj
= 0;
16711 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16712 unsigned int result
;
16715 PyObject
*swig_obj
[1] ;
16717 if (!args
) SWIG_fail
;
16718 swig_obj
[0] = args
;
16719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16720 if (!SWIG_IsOK(res1
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16723 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16737 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16738 PyObject
*resultobj
= 0;
16739 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16740 unsigned int result
;
16743 PyObject
*swig_obj
[1] ;
16745 if (!args
) SWIG_fail
;
16746 swig_obj
[0] = args
;
16747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16748 if (!SWIG_IsOK(res1
)) {
16749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16751 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16765 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
= 0;
16767 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 PyObject
* obj2
= 0 ;
16783 PyObject
* obj3
= 0 ;
16784 char * kwnames
[] = {
16785 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16790 if (!SWIG_IsOK(res1
)) {
16791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16793 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16795 if (!SWIG_IsOK(ecode2
)) {
16796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16798 arg2
= static_cast< int >(val2
);
16799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16800 if (!SWIG_IsOK(ecode3
)) {
16801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16803 arg3
= static_cast< wxDirection
>(val3
);
16804 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16805 if (!SWIG_IsOK(ecode4
)) {
16806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16808 arg4
= static_cast< long >(val4
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_From_int(static_cast< int >(result
));
16822 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
= 0;
16824 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16825 unsigned int arg2
;
16826 wxString
*arg3
= 0 ;
16829 unsigned int val2
;
16831 bool temp3
= false ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 PyObject
* obj2
= 0 ;
16835 char * kwnames
[] = {
16836 (char *) "self",(char *) "item",(char *) "text", NULL
16839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16841 if (!SWIG_IsOK(res1
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16844 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16845 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16846 if (!SWIG_IsOK(ecode2
)) {
16847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16849 arg2
= static_cast< unsigned int >(val2
);
16851 arg3
= wxString_in_helper(obj2
);
16852 if (arg3
== NULL
) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_Py_Void();
16876 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
= 0;
16878 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16879 unsigned int arg2
;
16880 wxToolTip
*result
= 0 ;
16883 unsigned int val2
;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 char * kwnames
[] = {
16888 (char *) "self",(char *) "item", NULL
16891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16893 if (!SWIG_IsOK(res1
)) {
16894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16896 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16897 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16898 if (!SWIG_IsOK(ecode2
)) {
16899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16901 arg2
= static_cast< unsigned int >(val2
);
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16917 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
= 0;
16919 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16920 SwigValueWrapper
<wxVisualAttributes
> result
;
16923 PyObject
* obj0
= 0 ;
16924 char * kwnames
[] = {
16925 (char *) "variant", NULL
16928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16930 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16931 if (!SWIG_IsOK(ecode1
)) {
16932 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16934 arg1
= static_cast< wxWindowVariant
>(val1
);
16937 if (!wxPyCheckForApp()) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16950 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16953 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16954 return SWIG_Py_Void();
16957 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16958 return SWIG_Python_InitShadowInstance(args
);
16961 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
= 0;
16963 wxWindow
*arg1
= (wxWindow
*) 0 ;
16964 int arg2
= (int) -1 ;
16965 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16966 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16971 long arg6
= (long) 0 ;
16972 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16973 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16974 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16976 wxRadioButton
*result
= 0 ;
16981 bool temp3
= false ;
16988 bool temp8
= false ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 PyObject
* obj2
= 0 ;
16992 PyObject
* obj3
= 0 ;
16993 PyObject
* obj4
= 0 ;
16994 PyObject
* obj5
= 0 ;
16995 PyObject
* obj6
= 0 ;
16996 PyObject
* obj7
= 0 ;
16997 char * kwnames
[] = {
16998 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17003 if (!SWIG_IsOK(res1
)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17009 if (!SWIG_IsOK(ecode2
)) {
17010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17012 arg2
= static_cast< int >(val2
);
17016 arg3
= wxString_in_helper(obj2
);
17017 if (arg3
== NULL
) SWIG_fail
;
17024 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17030 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17034 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17035 if (!SWIG_IsOK(ecode6
)) {
17036 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17038 arg6
= static_cast< long >(val6
);
17041 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17042 if (!SWIG_IsOK(res7
)) {
17043 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17048 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17052 arg8
= wxString_in_helper(obj7
);
17053 if (arg8
== NULL
) SWIG_fail
;
17058 if (!wxPyCheckForApp()) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17087 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17088 PyObject
*resultobj
= 0;
17089 wxRadioButton
*result
= 0 ;
17091 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17093 if (!wxPyCheckForApp()) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (wxRadioButton
*)new wxRadioButton();
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17106 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
= 0;
17108 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17109 wxWindow
*arg2
= (wxWindow
*) 0 ;
17110 int arg3
= (int) -1 ;
17111 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17112 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17113 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17114 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17115 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17116 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17117 long arg7
= (long) 0 ;
17118 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17119 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17120 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17121 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17129 bool temp4
= false ;
17136 bool temp9
= false ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 PyObject
* obj2
= 0 ;
17140 PyObject
* obj3
= 0 ;
17141 PyObject
* obj4
= 0 ;
17142 PyObject
* obj5
= 0 ;
17143 PyObject
* obj6
= 0 ;
17144 PyObject
* obj7
= 0 ;
17145 PyObject
* obj8
= 0 ;
17146 char * kwnames
[] = {
17147 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17152 if (!SWIG_IsOK(res1
)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17155 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17157 if (!SWIG_IsOK(res2
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17160 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17163 if (!SWIG_IsOK(ecode3
)) {
17164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17166 arg3
= static_cast< int >(val3
);
17170 arg4
= wxString_in_helper(obj3
);
17171 if (arg4
== NULL
) SWIG_fail
;
17178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17188 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17189 if (!SWIG_IsOK(ecode7
)) {
17190 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17192 arg7
= static_cast< long >(val7
);
17195 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17196 if (!SWIG_IsOK(res8
)) {
17197 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17202 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17206 arg9
= wxString_in_helper(obj8
);
17207 if (arg9
== NULL
) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17242 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17243 PyObject
*resultobj
= 0;
17244 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17248 PyObject
*swig_obj
[1] ;
17250 if (!args
) SWIG_fail
;
17251 swig_obj
[0] = args
;
17252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17253 if (!SWIG_IsOK(res1
)) {
17254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17256 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 result
= (bool)(arg1
)->GetValue();
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17272 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
= 0;
17274 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17280 PyObject
* obj0
= 0 ;
17281 PyObject
* obj1
= 0 ;
17282 char * kwnames
[] = {
17283 (char *) "self",(char *) "value", NULL
17286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17288 if (!SWIG_IsOK(res1
)) {
17289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17291 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17292 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17293 if (!SWIG_IsOK(ecode2
)) {
17294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17296 arg2
= static_cast< bool >(val2
);
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 (arg1
)->SetValue(arg2
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= SWIG_Py_Void();
17310 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
= 0;
17312 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17313 SwigValueWrapper
<wxVisualAttributes
> result
;
17316 PyObject
* obj0
= 0 ;
17317 char * kwnames
[] = {
17318 (char *) "variant", NULL
17321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17324 if (!SWIG_IsOK(ecode1
)) {
17325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17327 arg1
= static_cast< wxWindowVariant
>(val1
);
17330 if (!wxPyCheckForApp()) SWIG_fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17343 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17346 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17347 return SWIG_Py_Void();
17350 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17351 return SWIG_Python_InitShadowInstance(args
);
17354 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17355 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17360 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17361 PyObject
*pyobj
= 0;
17365 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17367 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17374 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
= 0;
17376 wxWindow
*arg1
= (wxWindow
*) 0 ;
17377 int arg2
= (int) -1 ;
17378 int arg3
= (int) 0 ;
17379 int arg4
= (int) 0 ;
17380 int arg5
= (int) 100 ;
17381 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17382 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17383 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17384 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17385 long arg8
= (long) wxSL_HORIZONTAL
;
17386 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17387 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17388 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17389 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17390 wxSlider
*result
= 0 ;
17407 bool temp10
= false ;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 PyObject
* obj2
= 0 ;
17411 PyObject
* obj3
= 0 ;
17412 PyObject
* obj4
= 0 ;
17413 PyObject
* obj5
= 0 ;
17414 PyObject
* obj6
= 0 ;
17415 PyObject
* obj7
= 0 ;
17416 PyObject
* obj8
= 0 ;
17417 PyObject
* obj9
= 0 ;
17418 char * kwnames
[] = {
17419 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17430 if (!SWIG_IsOK(ecode2
)) {
17431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17433 arg2
= static_cast< int >(val2
);
17436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17437 if (!SWIG_IsOK(ecode3
)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17440 arg3
= static_cast< int >(val3
);
17443 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17444 if (!SWIG_IsOK(ecode4
)) {
17445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17447 arg4
= static_cast< int >(val4
);
17450 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17451 if (!SWIG_IsOK(ecode5
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17454 arg5
= static_cast< int >(val5
);
17459 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17465 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17469 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17470 if (!SWIG_IsOK(ecode8
)) {
17471 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17473 arg8
= static_cast< long >(val8
);
17476 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17477 if (!SWIG_IsOK(res9
)) {
17478 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17483 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17487 arg10
= wxString_in_helper(obj9
);
17488 if (arg10
== NULL
) SWIG_fail
;
17493 if (!wxPyCheckForApp()) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17514 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17515 PyObject
*resultobj
= 0;
17516 wxSlider
*result
= 0 ;
17518 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17520 if (!wxPyCheckForApp()) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (wxSlider
*)new wxSlider();
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17533 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
= 0;
17535 wxSlider
*arg1
= (wxSlider
*) 0 ;
17536 wxWindow
*arg2
= (wxWindow
*) 0 ;
17537 int arg3
= (int) -1 ;
17538 int arg4
= (int) 0 ;
17539 int arg5
= (int) 0 ;
17540 int arg6
= (int) 100 ;
17541 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17542 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17543 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17544 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17545 long arg9
= (long) wxSL_HORIZONTAL
;
17546 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17547 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17548 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17549 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17569 bool temp11
= false ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 PyObject
* obj3
= 0 ;
17574 PyObject
* obj4
= 0 ;
17575 PyObject
* obj5
= 0 ;
17576 PyObject
* obj6
= 0 ;
17577 PyObject
* obj7
= 0 ;
17578 PyObject
* obj8
= 0 ;
17579 PyObject
* obj9
= 0 ;
17580 PyObject
* obj10
= 0 ;
17581 char * kwnames
[] = {
17582 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17587 if (!SWIG_IsOK(res1
)) {
17588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17590 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17592 if (!SWIG_IsOK(res2
)) {
17593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17598 if (!SWIG_IsOK(ecode3
)) {
17599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17601 arg3
= static_cast< int >(val3
);
17604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17605 if (!SWIG_IsOK(ecode4
)) {
17606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17608 arg4
= static_cast< int >(val4
);
17611 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17612 if (!SWIG_IsOK(ecode5
)) {
17613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17615 arg5
= static_cast< int >(val5
);
17618 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17619 if (!SWIG_IsOK(ecode6
)) {
17620 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17622 arg6
= static_cast< int >(val6
);
17627 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17633 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17637 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17638 if (!SWIG_IsOK(ecode9
)) {
17639 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17641 arg9
= static_cast< long >(val9
);
17644 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17645 if (!SWIG_IsOK(res10
)) {
17646 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17651 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17655 arg11
= wxString_in_helper(obj10
);
17656 if (arg11
== NULL
) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17683 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17684 PyObject
*resultobj
= 0;
17685 wxSlider
*arg1
= (wxSlider
*) 0 ;
17689 PyObject
*swig_obj
[1] ;
17691 if (!args
) SWIG_fail
;
17692 swig_obj
[0] = args
;
17693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17694 if (!SWIG_IsOK(res1
)) {
17695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17697 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_From_int(static_cast< int >(result
));
17711 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
= 0;
17713 wxSlider
*arg1
= (wxSlider
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 char * kwnames
[] = {
17722 (char *) "self",(char *) "value", NULL
17725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17727 if (!SWIG_IsOK(res1
)) {
17728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17730 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17732 if (!SWIG_IsOK(ecode2
)) {
17733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17735 arg2
= static_cast< int >(val2
);
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 (arg1
)->SetValue(arg2
);
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= SWIG_Py_Void();
17749 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17750 PyObject
*resultobj
= 0;
17751 wxSlider
*arg1
= (wxSlider
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 PyObject
* obj2
= 0 ;
17763 char * kwnames
[] = {
17764 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17769 if (!SWIG_IsOK(res1
)) {
17770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17772 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17774 if (!SWIG_IsOK(ecode2
)) {
17775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17777 arg2
= static_cast< int >(val2
);
17778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17779 if (!SWIG_IsOK(ecode3
)) {
17780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17782 arg3
= static_cast< int >(val3
);
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 (arg1
)->SetRange(arg2
,arg3
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= SWIG_Py_Void();
17796 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17797 PyObject
*resultobj
= 0;
17798 wxSlider
*arg1
= (wxSlider
*) 0 ;
17802 PyObject
*swig_obj
[1] ;
17804 if (!args
) SWIG_fail
;
17805 swig_obj
[0] = args
;
17806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17807 if (!SWIG_IsOK(res1
)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17810 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_From_int(static_cast< int >(result
));
17824 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17825 PyObject
*resultobj
= 0;
17826 wxSlider
*arg1
= (wxSlider
*) 0 ;
17830 PyObject
*swig_obj
[1] ;
17832 if (!args
) SWIG_fail
;
17833 swig_obj
[0] = args
;
17834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17835 if (!SWIG_IsOK(res1
)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17838 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= SWIG_From_int(static_cast< int >(result
));
17852 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
= 0;
17854 wxSlider
*arg1
= (wxSlider
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 char * kwnames
[] = {
17863 (char *) "self",(char *) "minValue", NULL
17866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17868 if (!SWIG_IsOK(res1
)) {
17869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17871 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17873 if (!SWIG_IsOK(ecode2
)) {
17874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17876 arg2
= static_cast< int >(val2
);
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 (arg1
)->SetMin(arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= SWIG_Py_Void();
17890 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
= 0;
17892 wxSlider
*arg1
= (wxSlider
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 char * kwnames
[] = {
17901 (char *) "self",(char *) "maxValue", NULL
17904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17906 if (!SWIG_IsOK(res1
)) {
17907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17909 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17911 if (!SWIG_IsOK(ecode2
)) {
17912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17914 arg2
= static_cast< int >(val2
);
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->SetMax(arg2
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= SWIG_Py_Void();
17928 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
= 0;
17930 wxSlider
*arg1
= (wxSlider
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char * kwnames
[] = {
17939 (char *) "self",(char *) "lineSize", NULL
17942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17944 if (!SWIG_IsOK(res1
)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17947 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17949 if (!SWIG_IsOK(ecode2
)) {
17950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17952 arg2
= static_cast< int >(val2
);
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 (arg1
)->SetLineSize(arg2
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_Py_Void();
17966 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
= 0;
17968 wxSlider
*arg1
= (wxSlider
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 PyObject
* obj1
= 0 ;
17976 char * kwnames
[] = {
17977 (char *) "self",(char *) "pageSize", NULL
17980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17982 if (!SWIG_IsOK(res1
)) {
17983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17985 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17987 if (!SWIG_IsOK(ecode2
)) {
17988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17990 arg2
= static_cast< int >(val2
);
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 (arg1
)->SetPageSize(arg2
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= SWIG_Py_Void();
18004 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18005 PyObject
*resultobj
= 0;
18006 wxSlider
*arg1
= (wxSlider
*) 0 ;
18010 PyObject
*swig_obj
[1] ;
18012 if (!args
) SWIG_fail
;
18013 swig_obj
[0] = args
;
18014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18015 if (!SWIG_IsOK(res1
)) {
18016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18018 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= SWIG_From_int(static_cast< int >(result
));
18032 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18033 PyObject
*resultobj
= 0;
18034 wxSlider
*arg1
= (wxSlider
*) 0 ;
18038 PyObject
*swig_obj
[1] ;
18040 if (!args
) SWIG_fail
;
18041 swig_obj
[0] = args
;
18042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18043 if (!SWIG_IsOK(res1
)) {
18044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18046 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= SWIG_From_int(static_cast< int >(result
));
18060 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
= 0;
18062 wxSlider
*arg1
= (wxSlider
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char * kwnames
[] = {
18071 (char *) "self",(char *) "lenPixels", NULL
18074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18076 if (!SWIG_IsOK(res1
)) {
18077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18079 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18081 if (!SWIG_IsOK(ecode2
)) {
18082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18084 arg2
= static_cast< int >(val2
);
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 (arg1
)->SetThumbLength(arg2
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_Py_Void();
18098 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18099 PyObject
*resultobj
= 0;
18100 wxSlider
*arg1
= (wxSlider
*) 0 ;
18104 PyObject
*swig_obj
[1] ;
18106 if (!args
) SWIG_fail
;
18107 swig_obj
[0] = args
;
18108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18109 if (!SWIG_IsOK(res1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18112 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= SWIG_From_int(static_cast< int >(result
));
18126 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
= 0;
18128 wxSlider
*arg1
= (wxSlider
*) 0 ;
18130 int arg3
= (int) 1 ;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 PyObject
* obj2
= 0 ;
18140 char * kwnames
[] = {
18141 (char *) "self",(char *) "n",(char *) "pos", NULL
18144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18146 if (!SWIG_IsOK(res1
)) {
18147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18149 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18151 if (!SWIG_IsOK(ecode2
)) {
18152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18154 arg2
= static_cast< int >(val2
);
18156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18157 if (!SWIG_IsOK(ecode3
)) {
18158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18160 arg3
= static_cast< int >(val3
);
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 (arg1
)->SetTickFreq(arg2
,arg3
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_Py_Void();
18175 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18176 PyObject
*resultobj
= 0;
18177 wxSlider
*arg1
= (wxSlider
*) 0 ;
18181 PyObject
*swig_obj
[1] ;
18183 if (!args
) SWIG_fail
;
18184 swig_obj
[0] = args
;
18185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18186 if (!SWIG_IsOK(res1
)) {
18187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18189 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_From_int(static_cast< int >(result
));
18203 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18204 PyObject
*resultobj
= 0;
18205 wxSlider
*arg1
= (wxSlider
*) 0 ;
18208 PyObject
*swig_obj
[1] ;
18210 if (!args
) SWIG_fail
;
18211 swig_obj
[0] = args
;
18212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18213 if (!SWIG_IsOK(res1
)) {
18214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18216 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 (arg1
)->ClearTicks();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= SWIG_Py_Void();
18230 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
= 0;
18232 wxSlider
*arg1
= (wxSlider
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char * kwnames
[] = {
18241 (char *) "self",(char *) "tickPos", NULL
18244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18246 if (!SWIG_IsOK(res1
)) {
18247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18249 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18251 if (!SWIG_IsOK(ecode2
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18254 arg2
= static_cast< int >(val2
);
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->SetTick(arg2
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= SWIG_Py_Void();
18268 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18269 PyObject
*resultobj
= 0;
18270 wxSlider
*arg1
= (wxSlider
*) 0 ;
18273 PyObject
*swig_obj
[1] ;
18275 if (!args
) SWIG_fail
;
18276 swig_obj
[0] = args
;
18277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18278 if (!SWIG_IsOK(res1
)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18281 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 (arg1
)->ClearSel();
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= SWIG_Py_Void();
18295 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18296 PyObject
*resultobj
= 0;
18297 wxSlider
*arg1
= (wxSlider
*) 0 ;
18301 PyObject
*swig_obj
[1] ;
18303 if (!args
) SWIG_fail
;
18304 swig_obj
[0] = args
;
18305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18306 if (!SWIG_IsOK(res1
)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18309 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_From_int(static_cast< int >(result
));
18323 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18324 PyObject
*resultobj
= 0;
18325 wxSlider
*arg1
= (wxSlider
*) 0 ;
18329 PyObject
*swig_obj
[1] ;
18331 if (!args
) SWIG_fail
;
18332 swig_obj
[0] = args
;
18333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18334 if (!SWIG_IsOK(res1
)) {
18335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18337 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_From_int(static_cast< int >(result
));
18351 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
= 0;
18353 wxSlider
*arg1
= (wxSlider
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 PyObject
* obj2
= 0 ;
18365 char * kwnames
[] = {
18366 (char *) "self",(char *) "min",(char *) "max", NULL
18369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18371 if (!SWIG_IsOK(res1
)) {
18372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18374 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18376 if (!SWIG_IsOK(ecode2
)) {
18377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18379 arg2
= static_cast< int >(val2
);
18380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18381 if (!SWIG_IsOK(ecode3
)) {
18382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18384 arg3
= static_cast< int >(val3
);
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 (arg1
)->SetSelection(arg2
,arg3
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_Py_Void();
18398 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
= 0;
18400 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18401 SwigValueWrapper
<wxVisualAttributes
> result
;
18404 PyObject
* obj0
= 0 ;
18405 char * kwnames
[] = {
18406 (char *) "variant", NULL
18409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18412 if (!SWIG_IsOK(ecode1
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18415 arg1
= static_cast< wxWindowVariant
>(val1
);
18418 if (!wxPyCheckForApp()) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18431 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18434 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18435 return SWIG_Py_Void();
18438 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18439 return SWIG_Python_InitShadowInstance(args
);
18442 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18443 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18448 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18449 PyObject
*pyobj
= 0;
18453 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18455 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18462 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
= 0;
18464 wxWindow
*arg1
= (wxWindow
*) 0 ;
18465 int arg2
= (int) -1 ;
18466 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18467 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18472 long arg6
= (long) 0 ;
18473 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18474 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18475 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18477 wxToggleButton
*result
= 0 ;
18482 bool temp3
= false ;
18489 bool temp8
= false ;
18490 PyObject
* obj0
= 0 ;
18491 PyObject
* obj1
= 0 ;
18492 PyObject
* obj2
= 0 ;
18493 PyObject
* obj3
= 0 ;
18494 PyObject
* obj4
= 0 ;
18495 PyObject
* obj5
= 0 ;
18496 PyObject
* obj6
= 0 ;
18497 PyObject
* obj7
= 0 ;
18498 char * kwnames
[] = {
18499 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18504 if (!SWIG_IsOK(res1
)) {
18505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18507 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18510 if (!SWIG_IsOK(ecode2
)) {
18511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18513 arg2
= static_cast< int >(val2
);
18517 arg3
= wxString_in_helper(obj2
);
18518 if (arg3
== NULL
) SWIG_fail
;
18525 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18531 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18535 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18536 if (!SWIG_IsOK(ecode6
)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18539 arg6
= static_cast< long >(val6
);
18542 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18543 if (!SWIG_IsOK(res7
)) {
18544 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18549 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18553 arg8
= wxString_in_helper(obj7
);
18554 if (arg8
== NULL
) SWIG_fail
;
18559 if (!wxPyCheckForApp()) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18588 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18589 PyObject
*resultobj
= 0;
18590 wxToggleButton
*result
= 0 ;
18592 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18594 if (!wxPyCheckForApp()) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (wxToggleButton
*)new wxToggleButton();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18607 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
= 0;
18609 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18610 wxWindow
*arg2
= (wxWindow
*) 0 ;
18611 int arg3
= (int) -1 ;
18612 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18613 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18614 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18615 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18616 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18617 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18618 long arg7
= (long) 0 ;
18619 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18620 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18621 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18622 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18630 bool temp4
= false ;
18637 bool temp9
= false ;
18638 PyObject
* obj0
= 0 ;
18639 PyObject
* obj1
= 0 ;
18640 PyObject
* obj2
= 0 ;
18641 PyObject
* obj3
= 0 ;
18642 PyObject
* obj4
= 0 ;
18643 PyObject
* obj5
= 0 ;
18644 PyObject
* obj6
= 0 ;
18645 PyObject
* obj7
= 0 ;
18646 PyObject
* obj8
= 0 ;
18647 char * kwnames
[] = {
18648 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18653 if (!SWIG_IsOK(res1
)) {
18654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18656 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18658 if (!SWIG_IsOK(res2
)) {
18659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18661 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18664 if (!SWIG_IsOK(ecode3
)) {
18665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18667 arg3
= static_cast< int >(val3
);
18671 arg4
= wxString_in_helper(obj3
);
18672 if (arg4
== NULL
) SWIG_fail
;
18679 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18685 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18689 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18690 if (!SWIG_IsOK(ecode7
)) {
18691 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18693 arg7
= static_cast< long >(val7
);
18696 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18697 if (!SWIG_IsOK(res8
)) {
18698 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18703 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18707 arg9
= wxString_in_helper(obj8
);
18708 if (arg9
== NULL
) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18743 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
= 0;
18745 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 char * kwnames
[] = {
18754 (char *) "self",(char *) "value", NULL
18757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18759 if (!SWIG_IsOK(res1
)) {
18760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18762 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18763 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18764 if (!SWIG_IsOK(ecode2
)) {
18765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18767 arg2
= static_cast< bool >(val2
);
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 (arg1
)->SetValue(arg2
);
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= SWIG_Py_Void();
18781 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18782 PyObject
*resultobj
= 0;
18783 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18787 PyObject
*swig_obj
[1] ;
18789 if (!args
) SWIG_fail
;
18790 swig_obj
[0] = args
;
18791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18795 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18811 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
= 0;
18813 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18814 SwigValueWrapper
<wxVisualAttributes
> result
;
18817 PyObject
* obj0
= 0 ;
18818 char * kwnames
[] = {
18819 (char *) "variant", NULL
18822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18824 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18825 if (!SWIG_IsOK(ecode1
)) {
18826 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18828 arg1
= static_cast< wxWindowVariant
>(val1
);
18831 if (!wxPyCheckForApp()) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18844 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18847 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18848 return SWIG_Py_Void();
18851 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18852 return SWIG_Python_InitShadowInstance(args
);
18855 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18856 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18861 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18862 PyObject
*pyobj
= 0;
18866 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18868 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18875 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18876 PyObject
*resultobj
= 0;
18877 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18881 PyObject
*swig_obj
[1] ;
18883 if (!args
) SWIG_fail
;
18884 swig_obj
[0] = args
;
18885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18886 if (!SWIG_IsOK(res1
)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18889 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18903 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
= 0;
18905 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18907 wxWindow
*result
= 0 ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 char * kwnames
[] = {
18915 (char *) "self",(char *) "n", NULL
18918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18920 if (!SWIG_IsOK(res1
)) {
18921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18923 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18925 if (!SWIG_IsOK(ecode2
)) {
18926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18928 arg2
= static_cast< size_t >(val2
);
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= wxPyMake_wxObject(result
, 0);
18944 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18945 PyObject
*resultobj
= 0;
18946 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18947 wxWindow
*result
= 0 ;
18950 PyObject
*swig_obj
[1] ;
18952 if (!args
) SWIG_fail
;
18953 swig_obj
[0] = args
;
18954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18955 if (!SWIG_IsOK(res1
)) {
18956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18958 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= wxPyMake_wxObject(result
, 0);
18974 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18975 PyObject
*resultobj
= 0;
18976 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18980 PyObject
*swig_obj
[1] ;
18982 if (!args
) SWIG_fail
;
18983 swig_obj
[0] = args
;
18984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18985 if (!SWIG_IsOK(res1
)) {
18986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18988 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= SWIG_From_int(static_cast< int >(result
));
19002 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= 0;
19004 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19006 wxString
*arg3
= 0 ;
19012 bool temp3
= false ;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 PyObject
* obj2
= 0 ;
19016 char * kwnames
[] = {
19017 (char *) "self",(char *) "n",(char *) "strText", NULL
19020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19022 if (!SWIG_IsOK(res1
)) {
19023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19025 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19026 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19027 if (!SWIG_IsOK(ecode2
)) {
19028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19030 arg2
= static_cast< size_t >(val2
);
19032 arg3
= wxString_in_helper(obj2
);
19033 if (arg3
== NULL
) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19059 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
= 0;
19061 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 char * kwnames
[] = {
19071 (char *) "self",(char *) "n", NULL
19074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19076 if (!SWIG_IsOK(res1
)) {
19077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19079 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19080 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19081 if (!SWIG_IsOK(ecode2
)) {
19082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19084 arg2
= static_cast< size_t >(val2
);
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19104 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
= 0;
19106 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19107 wxImageList
*arg2
= (wxImageList
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char * kwnames
[] = {
19115 (char *) "self",(char *) "imageList", NULL
19118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19120 if (!SWIG_IsOK(res1
)) {
19121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19123 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19125 if (!SWIG_IsOK(res2
)) {
19126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19128 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 (arg1
)->SetImageList(arg2
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= SWIG_Py_Void();
19142 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
= 0;
19144 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19145 wxImageList
*arg2
= (wxImageList
*) 0 ;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 char * kwnames
[] = {
19152 (char *) "self",(char *) "imageList", NULL
19155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19157 if (!SWIG_IsOK(res1
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19160 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19161 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19162 if (!SWIG_IsOK(res2
)) {
19163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->AssignImageList(arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= SWIG_Py_Void();
19178 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19179 PyObject
*resultobj
= 0;
19180 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19181 wxImageList
*result
= 0 ;
19184 PyObject
*swig_obj
[1] ;
19186 if (!args
) SWIG_fail
;
19187 swig_obj
[0] = args
;
19188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19189 if (!SWIG_IsOK(res1
)) {
19190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19192 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19208 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
= 0;
19210 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char * kwnames
[] = {
19220 (char *) "self",(char *) "n", NULL
19223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19225 if (!SWIG_IsOK(res1
)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19228 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19229 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19230 if (!SWIG_IsOK(ecode2
)) {
19231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19233 arg2
= static_cast< size_t >(val2
);
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_From_int(static_cast< int >(result
));
19247 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 PyObject
* obj2
= 0 ;
19262 char * kwnames
[] = {
19263 (char *) "self",(char *) "n",(char *) "imageId", NULL
19266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19268 if (!SWIG_IsOK(res1
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19271 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19272 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19273 if (!SWIG_IsOK(ecode2
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19276 arg2
= static_cast< size_t >(val2
);
19277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19278 if (!SWIG_IsOK(ecode3
)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19281 arg3
= static_cast< int >(val3
);
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19297 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
= 0;
19299 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 char * kwnames
[] = {
19307 (char *) "self",(char *) "size", NULL
19310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19315 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19318 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_Py_Void();
19333 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char * kwnames
[] = {
19344 (char *) "self",(char *) "sizePage", NULL
19347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19352 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19355 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19370 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19371 PyObject
*resultobj
= 0;
19372 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19373 unsigned int result
;
19376 PyObject
*swig_obj
[1] ;
19378 if (!args
) SWIG_fail
;
19379 swig_obj
[0] = args
;
19380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19381 if (!SWIG_IsOK(res1
)) {
19382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19384 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19398 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
= 0;
19400 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19401 unsigned int arg2
;
19404 unsigned int val2
;
19406 PyObject
* obj0
= 0 ;
19407 PyObject
* obj1
= 0 ;
19408 char * kwnames
[] = {
19409 (char *) "self",(char *) "internalBorder", NULL
19412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19414 if (!SWIG_IsOK(res1
)) {
19415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19417 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19418 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19419 if (!SWIG_IsOK(ecode2
)) {
19420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19422 arg2
= static_cast< unsigned int >(val2
);
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 (arg1
)->SetInternalBorder(arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_Py_Void();
19436 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19437 PyObject
*resultobj
= 0;
19438 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19442 PyObject
*swig_obj
[1] ;
19444 if (!args
) SWIG_fail
;
19445 swig_obj
[0] = args
;
19446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19447 if (!SWIG_IsOK(res1
)) {
19448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19450 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19466 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
= 0;
19468 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 char * kwnames
[] = {
19477 (char *) "self",(char *) "margin", NULL
19480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19482 if (!SWIG_IsOK(res1
)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19485 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19487 if (!SWIG_IsOK(ecode2
)) {
19488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19490 arg2
= static_cast< int >(val2
);
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 (arg1
)->SetControlMargin(arg2
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_Py_Void();
19504 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19505 PyObject
*resultobj
= 0;
19506 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19510 PyObject
*swig_obj
[1] ;
19512 if (!args
) SWIG_fail
;
19513 swig_obj
[0] = args
;
19514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19515 if (!SWIG_IsOK(res1
)) {
19516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19518 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_From_int(static_cast< int >(result
));
19532 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
= 0;
19534 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char * kwnames
[] = {
19543 (char *) "self",(char *) "fit", NULL
19546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19551 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19552 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19553 if (!SWIG_IsOK(ecode2
)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19556 arg2
= static_cast< bool >(val2
);
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 (arg1
)->SetFitToCurrentPage(arg2
);
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= SWIG_Py_Void();
19570 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19571 PyObject
*resultobj
= 0;
19572 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19576 PyObject
*swig_obj
[1] ;
19578 if (!args
) SWIG_fail
;
19579 swig_obj
[0] = args
;
19580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19581 if (!SWIG_IsOK(res1
)) {
19582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19584 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19600 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19601 PyObject
*resultobj
= 0;
19602 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19603 wxSizer
*result
= 0 ;
19606 PyObject
*swig_obj
[1] ;
19608 if (!args
) SWIG_fail
;
19609 swig_obj
[0] = args
;
19610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19611 if (!SWIG_IsOK(res1
)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19614 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19630 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
= 0;
19632 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19639 PyObject
* obj0
= 0 ;
19640 PyObject
* obj1
= 0 ;
19641 char * kwnames
[] = {
19642 (char *) "self",(char *) "n", NULL
19645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19647 if (!SWIG_IsOK(res1
)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19650 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19651 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19652 if (!SWIG_IsOK(ecode2
)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19655 arg2
= static_cast< size_t >(val2
);
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (bool)(arg1
)->DeletePage(arg2
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19671 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
= 0;
19673 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char * kwnames
[] = {
19683 (char *) "self",(char *) "n", NULL
19686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19688 if (!SWIG_IsOK(res1
)) {
19689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19691 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19692 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19693 if (!SWIG_IsOK(ecode2
)) {
19694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19696 arg2
= static_cast< size_t >(val2
);
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (bool)(arg1
)->RemovePage(arg2
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19712 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19713 PyObject
*resultobj
= 0;
19714 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19718 PyObject
*swig_obj
[1] ;
19720 if (!args
) SWIG_fail
;
19721 swig_obj
[0] = args
;
19722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19723 if (!SWIG_IsOK(res1
)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19726 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (bool)(arg1
)->DeleteAllPages();
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19742 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
= 0;
19744 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19745 wxWindow
*arg2
= (wxWindow
*) 0 ;
19746 wxString
*arg3
= 0 ;
19747 bool arg4
= (bool) false ;
19748 int arg5
= (int) -1 ;
19754 bool temp3
= false ;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 PyObject
* obj2
= 0 ;
19762 PyObject
* obj3
= 0 ;
19763 PyObject
* obj4
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19770 if (!SWIG_IsOK(res1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19773 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19775 if (!SWIG_IsOK(res2
)) {
19776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19778 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19780 arg3
= wxString_in_helper(obj2
);
19781 if (arg3
== NULL
) SWIG_fail
;
19785 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19786 if (!SWIG_IsOK(ecode4
)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19789 arg4
= static_cast< bool >(val4
);
19792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19793 if (!SWIG_IsOK(ecode5
)) {
19794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19796 arg5
= static_cast< int >(val5
);
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19821 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
= 0;
19823 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19825 wxWindow
*arg3
= (wxWindow
*) 0 ;
19826 wxString
*arg4
= 0 ;
19827 bool arg5
= (bool) false ;
19828 int arg6
= (int) -1 ;
19836 bool temp4
= false ;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 PyObject
* obj2
= 0 ;
19844 PyObject
* obj3
= 0 ;
19845 PyObject
* obj4
= 0 ;
19846 PyObject
* obj5
= 0 ;
19847 char * kwnames
[] = {
19848 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19853 if (!SWIG_IsOK(res1
)) {
19854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19856 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19857 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19858 if (!SWIG_IsOK(ecode2
)) {
19859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19861 arg2
= static_cast< size_t >(val2
);
19862 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19863 if (!SWIG_IsOK(res3
)) {
19864 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19866 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19868 arg4
= wxString_in_helper(obj3
);
19869 if (arg4
== NULL
) SWIG_fail
;
19873 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19874 if (!SWIG_IsOK(ecode5
)) {
19875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19877 arg5
= static_cast< bool >(val5
);
19880 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19881 if (!SWIG_IsOK(ecode6
)) {
19882 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19884 arg6
= static_cast< int >(val6
);
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19909 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
= 0;
19911 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 PyObject
* obj1
= 0 ;
19920 char * kwnames
[] = {
19921 (char *) "self",(char *) "n", NULL
19924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19926 if (!SWIG_IsOK(res1
)) {
19927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19929 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19930 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19931 if (!SWIG_IsOK(ecode2
)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19934 arg2
= static_cast< size_t >(val2
);
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (int)(arg1
)->SetSelection(arg2
);
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= SWIG_From_int(static_cast< int >(result
));
19948 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
= 0;
19950 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19951 bool arg2
= (bool) true ;
19956 PyObject
* obj0
= 0 ;
19957 PyObject
* obj1
= 0 ;
19958 char * kwnames
[] = {
19959 (char *) "self",(char *) "forward", NULL
19962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19964 if (!SWIG_IsOK(res1
)) {
19965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19967 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19969 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19970 if (!SWIG_IsOK(ecode2
)) {
19971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19973 arg2
= static_cast< bool >(val2
);
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 (arg1
)->AdvanceSelection(arg2
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_Py_Void();
19988 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
= 0;
19990 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19991 wxPoint
*arg2
= 0 ;
19992 long *arg3
= (long *) 0 ;
19998 int res3
= SWIG_TMPOBJ
;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char * kwnames
[] = {
20002 (char *) "self",(char *) "pt", NULL
20006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20008 if (!SWIG_IsOK(res1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20011 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20014 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_From_int(static_cast< int >(result
));
20023 if (SWIG_IsTmpObj(res3
)) {
20024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20026 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20035 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20038 SwigValueWrapper
<wxVisualAttributes
> result
;
20041 PyObject
* obj0
= 0 ;
20042 char * kwnames
[] = {
20043 (char *) "variant", NULL
20046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20049 if (!SWIG_IsOK(ecode1
)) {
20050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20052 arg1
= static_cast< wxWindowVariant
>(val1
);
20055 if (!wxPyCheckForApp()) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20068 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20071 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20072 return SWIG_Py_Void();
20075 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
= 0;
20077 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20078 int arg2
= (int) 0 ;
20079 int arg3
= (int) -1 ;
20080 int arg4
= (int) -1 ;
20081 wxBookCtrlBaseEvent
*result
= 0 ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 PyObject
* obj2
= 0 ;
20093 PyObject
* obj3
= 0 ;
20094 char * kwnames
[] = {
20095 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20101 if (!SWIG_IsOK(ecode1
)) {
20102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20104 arg1
= static_cast< wxEventType
>(val1
);
20107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20108 if (!SWIG_IsOK(ecode2
)) {
20109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20111 arg2
= static_cast< int >(val2
);
20114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20115 if (!SWIG_IsOK(ecode3
)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20118 arg3
= static_cast< int >(val3
);
20121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20122 if (!SWIG_IsOK(ecode4
)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20125 arg4
= static_cast< int >(val4
);
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20140 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20141 PyObject
*resultobj
= 0;
20142 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20146 PyObject
*swig_obj
[1] ;
20148 if (!args
) SWIG_fail
;
20149 swig_obj
[0] = args
;
20150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20151 if (!SWIG_IsOK(res1
)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20154 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_From_int(static_cast< int >(result
));
20168 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
= 0;
20170 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char * kwnames
[] = {
20179 (char *) "self",(char *) "nSel", NULL
20182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20184 if (!SWIG_IsOK(res1
)) {
20185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20187 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20189 if (!SWIG_IsOK(ecode2
)) {
20190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20192 arg2
= static_cast< int >(val2
);
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->SetSelection(arg2
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_Py_Void();
20206 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20207 PyObject
*resultobj
= 0;
20208 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20212 PyObject
*swig_obj
[1] ;
20214 if (!args
) SWIG_fail
;
20215 swig_obj
[0] = args
;
20216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20220 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_From_int(static_cast< int >(result
));
20234 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= 0;
20236 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 char * kwnames
[] = {
20245 (char *) "self",(char *) "nOldSel", NULL
20248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20250 if (!SWIG_IsOK(res1
)) {
20251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20253 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20255 if (!SWIG_IsOK(ecode2
)) {
20256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20258 arg2
= static_cast< int >(val2
);
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 (arg1
)->SetOldSelection(arg2
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= SWIG_Py_Void();
20272 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20275 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20276 return SWIG_Py_Void();
20279 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20280 return SWIG_Python_InitShadowInstance(args
);
20283 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20284 PyObject
*resultobj
= 0;
20285 wxWindow
*arg1
= (wxWindow
*) 0 ;
20286 int arg2
= (int) -1 ;
20287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20291 long arg5
= (long) 0 ;
20292 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20293 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20294 wxNotebook
*result
= 0 ;
20303 bool temp6
= false ;
20304 PyObject
* obj0
= 0 ;
20305 PyObject
* obj1
= 0 ;
20306 PyObject
* obj2
= 0 ;
20307 PyObject
* obj3
= 0 ;
20308 PyObject
* obj4
= 0 ;
20309 PyObject
* obj5
= 0 ;
20310 char * kwnames
[] = {
20311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20316 if (!SWIG_IsOK(res1
)) {
20317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20319 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20322 if (!SWIG_IsOK(ecode2
)) {
20323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20325 arg2
= static_cast< int >(val2
);
20330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20336 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20340 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20341 if (!SWIG_IsOK(ecode5
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20344 arg5
= static_cast< long >(val5
);
20348 arg6
= wxString_in_helper(obj5
);
20349 if (arg6
== NULL
) SWIG_fail
;
20354 if (!wxPyCheckForApp()) SWIG_fail
;
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20375 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20376 PyObject
*resultobj
= 0;
20377 wxNotebook
*result
= 0 ;
20379 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20381 if (!wxPyCheckForApp()) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= (wxNotebook
*)new wxNotebook();
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20394 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
= 0;
20396 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20397 wxWindow
*arg2
= (wxWindow
*) 0 ;
20398 int arg3
= (int) -1 ;
20399 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20400 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20401 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20402 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20403 long arg6
= (long) 0 ;
20404 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20417 bool temp7
= false ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 PyObject
* obj2
= 0 ;
20421 PyObject
* obj3
= 0 ;
20422 PyObject
* obj4
= 0 ;
20423 PyObject
* obj5
= 0 ;
20424 PyObject
* obj6
= 0 ;
20425 char * kwnames
[] = {
20426 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20431 if (!SWIG_IsOK(res1
)) {
20432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20434 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20436 if (!SWIG_IsOK(res2
)) {
20437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20439 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20442 if (!SWIG_IsOK(ecode3
)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20445 arg3
= static_cast< int >(val3
);
20450 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20456 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20460 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20461 if (!SWIG_IsOK(ecode6
)) {
20462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20464 arg6
= static_cast< long >(val6
);
20468 arg7
= wxString_in_helper(obj6
);
20469 if (arg7
== NULL
) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20496 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20497 PyObject
*resultobj
= 0;
20498 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20502 PyObject
*swig_obj
[1] ;
20504 if (!args
) SWIG_fail
;
20505 swig_obj
[0] = args
;
20506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20510 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_From_int(static_cast< int >(result
));
20524 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
= 0;
20526 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 char * kwnames
[] = {
20534 (char *) "self",(char *) "padding", NULL
20537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20539 if (!SWIG_IsOK(res1
)) {
20540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20542 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20545 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_Py_Void();
20560 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
= 0;
20562 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 char * kwnames
[] = {
20570 (char *) "self",(char *) "sz", NULL
20573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20575 if (!SWIG_IsOK(res1
)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20578 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20581 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_Py_Void();
20596 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20597 PyObject
*resultobj
= 0;
20598 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20602 PyObject
*swig_obj
[1] ;
20604 if (!args
) SWIG_fail
;
20605 swig_obj
[0] = args
;
20606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20607 if (!SWIG_IsOK(res1
)) {
20608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20610 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20624 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
= 0;
20626 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20627 SwigValueWrapper
<wxVisualAttributes
> result
;
20630 PyObject
* obj0
= 0 ;
20631 char * kwnames
[] = {
20632 (char *) "variant", NULL
20635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20637 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20638 if (!SWIG_IsOK(ecode1
)) {
20639 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20641 arg1
= static_cast< wxWindowVariant
>(val1
);
20644 if (!wxPyCheckForApp()) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20657 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20660 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20661 return SWIG_Py_Void();
20664 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20665 return SWIG_Python_InitShadowInstance(args
);
20668 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
= 0;
20670 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20671 int arg2
= (int) 0 ;
20672 int arg3
= (int) -1 ;
20673 int arg4
= (int) -1 ;
20674 wxNotebookEvent
*result
= 0 ;
20683 PyObject
* obj0
= 0 ;
20684 PyObject
* obj1
= 0 ;
20685 PyObject
* obj2
= 0 ;
20686 PyObject
* obj3
= 0 ;
20687 char * kwnames
[] = {
20688 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20693 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20694 if (!SWIG_IsOK(ecode1
)) {
20695 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20697 arg1
= static_cast< wxEventType
>(val1
);
20700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20701 if (!SWIG_IsOK(ecode2
)) {
20702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20704 arg2
= static_cast< int >(val2
);
20707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20708 if (!SWIG_IsOK(ecode3
)) {
20709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20711 arg3
= static_cast< int >(val3
);
20714 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20715 if (!SWIG_IsOK(ecode4
)) {
20716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20718 arg4
= static_cast< int >(val4
);
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20733 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20736 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20737 return SWIG_Py_Void();
20740 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20741 return SWIG_Python_InitShadowInstance(args
);
20744 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
= 0;
20746 wxWindow
*arg1
= (wxWindow
*) 0 ;
20747 int arg2
= (int) -1 ;
20748 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20749 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20750 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20751 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20752 long arg5
= (long) 0 ;
20753 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20754 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20755 wxListbook
*result
= 0 ;
20764 bool temp6
= false ;
20765 PyObject
* obj0
= 0 ;
20766 PyObject
* obj1
= 0 ;
20767 PyObject
* obj2
= 0 ;
20768 PyObject
* obj3
= 0 ;
20769 PyObject
* obj4
= 0 ;
20770 PyObject
* obj5
= 0 ;
20771 char * kwnames
[] = {
20772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20780 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20783 if (!SWIG_IsOK(ecode2
)) {
20784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20786 arg2
= static_cast< int >(val2
);
20791 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20797 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20801 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20802 if (!SWIG_IsOK(ecode5
)) {
20803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20805 arg5
= static_cast< long >(val5
);
20809 arg6
= wxString_in_helper(obj5
);
20810 if (arg6
== NULL
) SWIG_fail
;
20815 if (!wxPyCheckForApp()) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20836 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20837 PyObject
*resultobj
= 0;
20838 wxListbook
*result
= 0 ;
20840 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20842 if (!wxPyCheckForApp()) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (wxListbook
*)new wxListbook();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20855 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
= 0;
20857 wxListbook
*arg1
= (wxListbook
*) 0 ;
20858 wxWindow
*arg2
= (wxWindow
*) 0 ;
20859 int arg3
= (int) -1 ;
20860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20864 long arg6
= (long) 0 ;
20865 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20878 bool temp7
= false ;
20879 PyObject
* obj0
= 0 ;
20880 PyObject
* obj1
= 0 ;
20881 PyObject
* obj2
= 0 ;
20882 PyObject
* obj3
= 0 ;
20883 PyObject
* obj4
= 0 ;
20884 PyObject
* obj5
= 0 ;
20885 PyObject
* obj6
= 0 ;
20886 char * kwnames
[] = {
20887 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20892 if (!SWIG_IsOK(res1
)) {
20893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20895 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20897 if (!SWIG_IsOK(res2
)) {
20898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20903 if (!SWIG_IsOK(ecode3
)) {
20904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20906 arg3
= static_cast< int >(val3
);
20911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20921 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20922 if (!SWIG_IsOK(ecode6
)) {
20923 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20925 arg6
= static_cast< long >(val6
);
20929 arg7
= wxString_in_helper(obj6
);
20930 if (arg7
== NULL
) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20957 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20958 PyObject
*resultobj
= 0;
20959 wxListbook
*arg1
= (wxListbook
*) 0 ;
20960 wxListView
*result
= 0 ;
20963 PyObject
*swig_obj
[1] ;
20965 if (!args
) SWIG_fail
;
20966 swig_obj
[0] = args
;
20967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20968 if (!SWIG_IsOK(res1
)) {
20969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20971 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (wxListView
*)(arg1
)->GetListView();
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20985 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20988 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20989 return SWIG_Py_Void();
20992 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20993 return SWIG_Python_InitShadowInstance(args
);
20996 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
= 0;
20998 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20999 int arg2
= (int) 0 ;
21000 int arg3
= (int) -1 ;
21001 int arg4
= (int) -1 ;
21002 wxListbookEvent
*result
= 0 ;
21011 PyObject
* obj0
= 0 ;
21012 PyObject
* obj1
= 0 ;
21013 PyObject
* obj2
= 0 ;
21014 PyObject
* obj3
= 0 ;
21015 char * kwnames
[] = {
21016 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21021 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21022 if (!SWIG_IsOK(ecode1
)) {
21023 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21025 arg1
= static_cast< wxEventType
>(val1
);
21028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21029 if (!SWIG_IsOK(ecode2
)) {
21030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21032 arg2
= static_cast< int >(val2
);
21035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21036 if (!SWIG_IsOK(ecode3
)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21039 arg3
= static_cast< int >(val3
);
21042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21043 if (!SWIG_IsOK(ecode4
)) {
21044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21046 arg4
= static_cast< int >(val4
);
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21061 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21064 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21065 return SWIG_Py_Void();
21068 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21069 return SWIG_Python_InitShadowInstance(args
);
21072 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
= 0;
21074 wxWindow
*arg1
= (wxWindow
*) 0 ;
21076 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21077 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21078 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21079 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21080 long arg5
= (long) 0 ;
21081 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21082 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21083 wxChoicebook
*result
= 0 ;
21092 bool temp6
= false ;
21093 PyObject
* obj0
= 0 ;
21094 PyObject
* obj1
= 0 ;
21095 PyObject
* obj2
= 0 ;
21096 PyObject
* obj3
= 0 ;
21097 PyObject
* obj4
= 0 ;
21098 PyObject
* obj5
= 0 ;
21099 char * kwnames
[] = {
21100 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21105 if (!SWIG_IsOK(res1
)) {
21106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21110 if (!SWIG_IsOK(ecode2
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21113 arg2
= static_cast< int >(val2
);
21117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21123 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21127 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21128 if (!SWIG_IsOK(ecode5
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21131 arg5
= static_cast< long >(val5
);
21135 arg6
= wxString_in_helper(obj5
);
21136 if (arg6
== NULL
) SWIG_fail
;
21141 if (!wxPyCheckForApp()) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21162 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21163 PyObject
*resultobj
= 0;
21164 wxChoicebook
*result
= 0 ;
21166 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21168 if (!wxPyCheckForApp()) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= (wxChoicebook
*)new wxChoicebook();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21181 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
= 0;
21183 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21184 wxWindow
*arg2
= (wxWindow
*) 0 ;
21186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21190 long arg6
= (long) 0 ;
21191 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21192 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21204 bool temp7
= false ;
21205 PyObject
* obj0
= 0 ;
21206 PyObject
* obj1
= 0 ;
21207 PyObject
* obj2
= 0 ;
21208 PyObject
* obj3
= 0 ;
21209 PyObject
* obj4
= 0 ;
21210 PyObject
* obj5
= 0 ;
21211 PyObject
* obj6
= 0 ;
21212 char * kwnames
[] = {
21213 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21221 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21223 if (!SWIG_IsOK(res2
)) {
21224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21226 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21228 if (!SWIG_IsOK(ecode3
)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21231 arg3
= static_cast< int >(val3
);
21235 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21241 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21245 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21246 if (!SWIG_IsOK(ecode6
)) {
21247 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21249 arg6
= static_cast< long >(val6
);
21253 arg7
= wxString_in_helper(obj6
);
21254 if (arg7
== NULL
) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21281 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21282 PyObject
*resultobj
= 0;
21283 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21284 wxChoice
*result
= 0 ;
21287 PyObject
*swig_obj
[1] ;
21289 if (!args
) SWIG_fail
;
21290 swig_obj
[0] = args
;
21291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21295 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21309 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21312 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21313 return SWIG_Py_Void();
21316 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21317 return SWIG_Python_InitShadowInstance(args
);
21320 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
= 0;
21322 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21323 int arg2
= (int) 0 ;
21324 int arg3
= (int) -1 ;
21325 int arg4
= (int) -1 ;
21326 wxChoicebookEvent
*result
= 0 ;
21335 PyObject
* obj0
= 0 ;
21336 PyObject
* obj1
= 0 ;
21337 PyObject
* obj2
= 0 ;
21338 PyObject
* obj3
= 0 ;
21339 char * kwnames
[] = {
21340 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21346 if (!SWIG_IsOK(ecode1
)) {
21347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21349 arg1
= static_cast< wxEventType
>(val1
);
21352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21353 if (!SWIG_IsOK(ecode2
)) {
21354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21356 arg2
= static_cast< int >(val2
);
21359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21360 if (!SWIG_IsOK(ecode3
)) {
21361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21363 arg3
= static_cast< int >(val3
);
21366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21367 if (!SWIG_IsOK(ecode4
)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21370 arg4
= static_cast< int >(val4
);
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21385 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21388 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21389 return SWIG_Py_Void();
21392 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21393 return SWIG_Python_InitShadowInstance(args
);
21396 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
= 0;
21398 wxWindow
*arg1
= (wxWindow
*) 0 ;
21400 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21401 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21402 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21403 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21404 long arg5
= (long) wxBK_DEFAULT
;
21405 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21406 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21407 wxTreebook
*result
= 0 ;
21416 bool temp6
= false ;
21417 PyObject
* obj0
= 0 ;
21418 PyObject
* obj1
= 0 ;
21419 PyObject
* obj2
= 0 ;
21420 PyObject
* obj3
= 0 ;
21421 PyObject
* obj4
= 0 ;
21422 PyObject
* obj5
= 0 ;
21423 char * kwnames
[] = {
21424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21429 if (!SWIG_IsOK(res1
)) {
21430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21434 if (!SWIG_IsOK(ecode2
)) {
21435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21437 arg2
= static_cast< int >(val2
);
21441 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21447 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21451 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21452 if (!SWIG_IsOK(ecode5
)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21455 arg5
= static_cast< long >(val5
);
21459 arg6
= wxString_in_helper(obj5
);
21460 if (arg6
== NULL
) SWIG_fail
;
21465 if (!wxPyCheckForApp()) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21486 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21487 PyObject
*resultobj
= 0;
21488 wxTreebook
*result
= 0 ;
21490 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21492 if (!wxPyCheckForApp()) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (wxTreebook
*)new wxTreebook();
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21505 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
= 0;
21507 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21508 wxWindow
*arg2
= (wxWindow
*) 0 ;
21510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21514 long arg6
= (long) wxBK_DEFAULT
;
21515 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21516 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21528 bool temp7
= false ;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 PyObject
* obj2
= 0 ;
21532 PyObject
* obj3
= 0 ;
21533 PyObject
* obj4
= 0 ;
21534 PyObject
* obj5
= 0 ;
21535 PyObject
* obj6
= 0 ;
21536 char * kwnames
[] = {
21537 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21545 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21547 if (!SWIG_IsOK(res2
)) {
21548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21550 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21552 if (!SWIG_IsOK(ecode3
)) {
21553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21555 arg3
= static_cast< int >(val3
);
21559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21569 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21570 if (!SWIG_IsOK(ecode6
)) {
21571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21573 arg6
= static_cast< long >(val6
);
21577 arg7
= wxString_in_helper(obj6
);
21578 if (arg7
== NULL
) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21605 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
= 0;
21607 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21609 wxWindow
*arg3
= (wxWindow
*) 0 ;
21610 wxString
*arg4
= 0 ;
21611 bool arg5
= (bool) false ;
21612 int arg6
= (int) wxNOT_FOUND
;
21620 bool temp4
= false ;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 PyObject
* obj2
= 0 ;
21628 PyObject
* obj3
= 0 ;
21629 PyObject
* obj4
= 0 ;
21630 PyObject
* obj5
= 0 ;
21631 char * kwnames
[] = {
21632 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21640 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21641 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21642 if (!SWIG_IsOK(ecode2
)) {
21643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21645 arg2
= static_cast< size_t >(val2
);
21646 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21647 if (!SWIG_IsOK(res3
)) {
21648 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21650 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21652 arg4
= wxString_in_helper(obj3
);
21653 if (arg4
== NULL
) SWIG_fail
;
21657 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21658 if (!SWIG_IsOK(ecode5
)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21661 arg5
= static_cast< bool >(val5
);
21664 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21665 if (!SWIG_IsOK(ecode6
)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21668 arg6
= static_cast< int >(val6
);
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21693 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
= 0;
21695 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21696 wxWindow
*arg2
= (wxWindow
*) 0 ;
21697 wxString
*arg3
= 0 ;
21698 bool arg4
= (bool) false ;
21699 int arg5
= (int) wxNOT_FOUND
;
21705 bool temp3
= false ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 PyObject
* obj2
= 0 ;
21713 PyObject
* obj3
= 0 ;
21714 PyObject
* obj4
= 0 ;
21715 char * kwnames
[] = {
21716 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21721 if (!SWIG_IsOK(res1
)) {
21722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21724 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21726 if (!SWIG_IsOK(res2
)) {
21727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21731 arg3
= wxString_in_helper(obj2
);
21732 if (arg3
== NULL
) SWIG_fail
;
21736 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21737 if (!SWIG_IsOK(ecode4
)) {
21738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21740 arg4
= static_cast< bool >(val4
);
21743 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21744 if (!SWIG_IsOK(ecode5
)) {
21745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21747 arg5
= static_cast< int >(val5
);
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21772 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
= 0;
21774 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char * kwnames
[] = {
21784 (char *) "self",(char *) "pos", NULL
21787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21789 if (!SWIG_IsOK(res1
)) {
21790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21792 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21793 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21794 if (!SWIG_IsOK(ecode2
)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21797 arg2
= static_cast< size_t >(val2
);
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21813 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
= 0;
21815 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21817 bool arg3
= (bool) true ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 PyObject
* obj2
= 0 ;
21828 char * kwnames
[] = {
21829 (char *) "self",(char *) "pos",(char *) "expand", NULL
21832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21834 if (!SWIG_IsOK(res1
)) {
21835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21837 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21838 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21839 if (!SWIG_IsOK(ecode2
)) {
21840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21842 arg2
= static_cast< size_t >(val2
);
21844 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21845 if (!SWIG_IsOK(ecode3
)) {
21846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21848 arg3
= static_cast< bool >(val3
);
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21865 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
= 0;
21867 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 PyObject
* obj1
= 0 ;
21876 char * kwnames
[] = {
21877 (char *) "self",(char *) "pos", NULL
21880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21885 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21886 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21887 if (!SWIG_IsOK(ecode2
)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21890 arg2
= static_cast< size_t >(val2
);
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (bool)(arg1
)->CollapseNode(arg2
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21906 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
= 0;
21908 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char * kwnames
[] = {
21918 (char *) "self",(char *) "pos", NULL
21921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21923 if (!SWIG_IsOK(res1
)) {
21924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21926 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21927 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21928 if (!SWIG_IsOK(ecode2
)) {
21929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21931 arg2
= static_cast< size_t >(val2
);
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= SWIG_From_int(static_cast< int >(result
));
21945 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21946 PyObject
*resultobj
= 0;
21947 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21948 wxTreeCtrl
*result
= 0 ;
21951 PyObject
*swig_obj
[1] ;
21953 if (!args
) SWIG_fail
;
21954 swig_obj
[0] = args
;
21955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21956 if (!SWIG_IsOK(res1
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21959 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21973 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21976 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21977 return SWIG_Py_Void();
21980 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21981 return SWIG_Python_InitShadowInstance(args
);
21984 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
= 0;
21986 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21987 int arg2
= (int) 0 ;
21988 int arg3
= (int) wxNOT_FOUND
;
21989 int arg4
= (int) wxNOT_FOUND
;
21990 wxTreebookEvent
*result
= 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 PyObject
* obj2
= 0 ;
22002 PyObject
* obj3
= 0 ;
22003 char * kwnames
[] = {
22004 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22010 if (!SWIG_IsOK(ecode1
)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22013 arg1
= static_cast< wxEventType
>(val1
);
22016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22017 if (!SWIG_IsOK(ecode2
)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22020 arg2
= static_cast< int >(val2
);
22023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22024 if (!SWIG_IsOK(ecode3
)) {
22025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22027 arg3
= static_cast< int >(val3
);
22030 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22031 if (!SWIG_IsOK(ecode4
)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22034 arg4
= static_cast< int >(val4
);
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22049 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22052 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22053 return SWIG_Py_Void();
22056 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22057 return SWIG_Python_InitShadowInstance(args
);
22060 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
= 0;
22062 wxWindow
*arg1
= (wxWindow
*) 0 ;
22064 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22065 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22066 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22067 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22068 long arg5
= (long) wxBK_DEFAULT
;
22069 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22070 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22071 wxToolbook
*result
= 0 ;
22080 bool temp6
= false ;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 PyObject
* obj2
= 0 ;
22084 PyObject
* obj3
= 0 ;
22085 PyObject
* obj4
= 0 ;
22086 PyObject
* obj5
= 0 ;
22087 char * kwnames
[] = {
22088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22093 if (!SWIG_IsOK(res1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22096 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22098 if (!SWIG_IsOK(ecode2
)) {
22099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22101 arg2
= static_cast< int >(val2
);
22105 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22111 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22115 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22116 if (!SWIG_IsOK(ecode5
)) {
22117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22119 arg5
= static_cast< long >(val5
);
22123 arg6
= wxString_in_helper(obj5
);
22124 if (arg6
== NULL
) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22149 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22150 PyObject
*resultobj
= 0;
22151 wxToolbook
*result
= 0 ;
22153 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (wxToolbook
*)new wxToolbook();
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22167 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
= 0;
22169 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22170 wxWindow
*arg2
= (wxWindow
*) 0 ;
22172 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22173 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22174 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22175 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22176 long arg6
= (long) 0 ;
22177 wxString
const &arg7_defvalue
= wxEmptyString
;
22178 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22190 bool temp7
= false ;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 PyObject
* obj2
= 0 ;
22194 PyObject
* obj3
= 0 ;
22195 PyObject
* obj4
= 0 ;
22196 PyObject
* obj5
= 0 ;
22197 PyObject
* obj6
= 0 ;
22198 char * kwnames
[] = {
22199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22204 if (!SWIG_IsOK(res1
)) {
22205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22207 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22209 if (!SWIG_IsOK(res2
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22214 if (!SWIG_IsOK(ecode3
)) {
22215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22217 arg3
= static_cast< int >(val3
);
22221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22231 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22232 if (!SWIG_IsOK(ecode6
)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22235 arg6
= static_cast< long >(val6
);
22239 arg7
= wxString_in_helper(obj6
);
22240 if (arg7
== NULL
) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22267 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22268 PyObject
*resultobj
= 0;
22269 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22270 wxToolBarBase
*result
= 0 ;
22273 PyObject
*swig_obj
[1] ;
22275 if (!args
) SWIG_fail
;
22276 swig_obj
[0] = args
;
22277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22278 if (!SWIG_IsOK(res1
)) {
22279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22281 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22297 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22298 PyObject
*resultobj
= 0;
22299 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22302 PyObject
*swig_obj
[1] ;
22304 if (!args
) SWIG_fail
;
22305 swig_obj
[0] = args
;
22306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22307 if (!SWIG_IsOK(res1
)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22310 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_Py_Void();
22324 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22327 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22328 return SWIG_Py_Void();
22331 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22332 return SWIG_Python_InitShadowInstance(args
);
22335 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
= 0;
22337 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22338 int arg2
= (int) 0 ;
22339 int arg3
= (int) wxNOT_FOUND
;
22340 int arg4
= (int) wxNOT_FOUND
;
22341 wxToolbookEvent
*result
= 0 ;
22350 PyObject
* obj0
= 0 ;
22351 PyObject
* obj1
= 0 ;
22352 PyObject
* obj2
= 0 ;
22353 PyObject
* obj3
= 0 ;
22354 char * kwnames
[] = {
22355 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22361 if (!SWIG_IsOK(ecode1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22364 arg1
= static_cast< wxEventType
>(val1
);
22367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22368 if (!SWIG_IsOK(ecode2
)) {
22369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22371 arg2
= static_cast< int >(val2
);
22374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22375 if (!SWIG_IsOK(ecode3
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22378 arg3
= static_cast< int >(val3
);
22381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22382 if (!SWIG_IsOK(ecode4
)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22385 arg4
= static_cast< int >(val4
);
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22400 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22403 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22404 return SWIG_Py_Void();
22407 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22408 return SWIG_Python_InitShadowInstance(args
);
22411 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22412 PyObject
*resultobj
= 0;
22413 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22417 PyObject
*swig_obj
[1] ;
22419 if (!args
) SWIG_fail
;
22420 swig_obj
[0] = args
;
22421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22422 if (!SWIG_IsOK(res1
)) {
22423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22425 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (int)(arg1
)->GetId();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_From_int(static_cast< int >(result
));
22439 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22440 PyObject
*resultobj
= 0;
22441 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22442 wxControl
*result
= 0 ;
22445 PyObject
*swig_obj
[1] ;
22447 if (!args
) SWIG_fail
;
22448 swig_obj
[0] = args
;
22449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22450 if (!SWIG_IsOK(res1
)) {
22451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22453 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= (wxControl
*)(arg1
)->GetControl();
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22461 resultobj
= wxPyMake_wxObject(result
, 0);
22469 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22470 PyObject
*resultobj
= 0;
22471 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22472 wxToolBarBase
*result
= 0 ;
22475 PyObject
*swig_obj
[1] ;
22477 if (!args
) SWIG_fail
;
22478 swig_obj
[0] = args
;
22479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22480 if (!SWIG_IsOK(res1
)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22483 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22499 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22500 PyObject
*resultobj
= 0;
22501 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22505 PyObject
*swig_obj
[1] ;
22507 if (!args
) SWIG_fail
;
22508 swig_obj
[0] = args
;
22509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22510 if (!SWIG_IsOK(res1
)) {
22511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22513 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 result
= (int)(arg1
)->IsButton();
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= SWIG_From_int(static_cast< int >(result
));
22527 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 PyObject
*resultobj
= 0;
22529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22533 PyObject
*swig_obj
[1] ;
22535 if (!args
) SWIG_fail
;
22536 swig_obj
[0] = args
;
22537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22541 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (int)(arg1
)->IsControl();
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_From_int(static_cast< int >(result
));
22555 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22556 PyObject
*resultobj
= 0;
22557 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22561 PyObject
*swig_obj
[1] ;
22563 if (!args
) SWIG_fail
;
22564 swig_obj
[0] = args
;
22565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22566 if (!SWIG_IsOK(res1
)) {
22567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22569 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (int)(arg1
)->IsSeparator();
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= SWIG_From_int(static_cast< int >(result
));
22583 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22584 PyObject
*resultobj
= 0;
22585 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22589 PyObject
*swig_obj
[1] ;
22591 if (!args
) SWIG_fail
;
22592 swig_obj
[0] = args
;
22593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22594 if (!SWIG_IsOK(res1
)) {
22595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22597 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (int)(arg1
)->GetStyle();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_From_int(static_cast< int >(result
));
22611 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22612 PyObject
*resultobj
= 0;
22613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22617 PyObject
*swig_obj
[1] ;
22619 if (!args
) SWIG_fail
;
22620 swig_obj
[0] = args
;
22621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22625 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (wxItemKind
)(arg1
)->GetKind();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_From_int(static_cast< int >(result
));
22639 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22640 PyObject
*resultobj
= 0;
22641 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22645 PyObject
*swig_obj
[1] ;
22647 if (!args
) SWIG_fail
;
22648 swig_obj
[0] = args
;
22649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22650 if (!SWIG_IsOK(res1
)) {
22651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22653 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (bool)(arg1
)->IsEnabled();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22669 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22670 PyObject
*resultobj
= 0;
22671 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22675 PyObject
*swig_obj
[1] ;
22677 if (!args
) SWIG_fail
;
22678 swig_obj
[0] = args
;
22679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22680 if (!SWIG_IsOK(res1
)) {
22681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22683 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (bool)(arg1
)->IsToggled();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22699 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22700 PyObject
*resultobj
= 0;
22701 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22705 PyObject
*swig_obj
[1] ;
22707 if (!args
) SWIG_fail
;
22708 swig_obj
[0] = args
;
22709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22710 if (!SWIG_IsOK(res1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22713 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 result
= (bool)(arg1
)->CanBeToggled();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22729 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22730 PyObject
*resultobj
= 0;
22731 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22732 wxBitmap
*result
= 0 ;
22735 PyObject
*swig_obj
[1] ;
22737 if (!args
) SWIG_fail
;
22738 swig_obj
[0] = args
;
22739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22743 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22748 result
= (wxBitmap
*) &_result_ref
;
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22754 wxBitmap
* resultptr
= new wxBitmap(*result
);
22755 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22763 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22764 PyObject
*resultobj
= 0;
22765 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22766 wxBitmap
*result
= 0 ;
22769 PyObject
*swig_obj
[1] ;
22771 if (!args
) SWIG_fail
;
22772 swig_obj
[0] = args
;
22773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22774 if (!SWIG_IsOK(res1
)) {
22775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22777 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22782 result
= (wxBitmap
*) &_result_ref
;
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 wxBitmap
* resultptr
= new wxBitmap(*result
);
22789 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22797 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22798 PyObject
*resultobj
= 0;
22799 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22803 PyObject
*swig_obj
[1] ;
22805 if (!args
) SWIG_fail
;
22806 swig_obj
[0] = args
;
22807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22811 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (arg1
)->GetBitmap();
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22825 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 PyObject
*resultobj
= 0;
22827 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22831 PyObject
*swig_obj
[1] ;
22833 if (!args
) SWIG_fail
;
22834 swig_obj
[0] = args
;
22835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22839 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (arg1
)->GetLabel();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22859 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22860 PyObject
*resultobj
= 0;
22861 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22865 PyObject
*swig_obj
[1] ;
22867 if (!args
) SWIG_fail
;
22868 swig_obj
[0] = args
;
22869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22873 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (arg1
)->GetShortHelp();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22893 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22894 PyObject
*resultobj
= 0;
22895 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22899 PyObject
*swig_obj
[1] ;
22901 if (!args
) SWIG_fail
;
22902 swig_obj
[0] = args
;
22903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22904 if (!SWIG_IsOK(res1
)) {
22905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22907 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (arg1
)->GetLongHelp();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22927 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
= 0;
22929 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 PyObject
* obj1
= 0 ;
22938 char * kwnames
[] = {
22939 (char *) "self",(char *) "enable", NULL
22942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22947 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22949 if (!SWIG_IsOK(ecode2
)) {
22950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22952 arg2
= static_cast< bool >(val2
);
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (bool)(arg1
)->Enable(arg2
);
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22968 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22969 PyObject
*resultobj
= 0;
22970 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22973 PyObject
*swig_obj
[1] ;
22975 if (!args
) SWIG_fail
;
22976 swig_obj
[0] = args
;
22977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22981 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_Py_Void();
22995 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
= 0;
22997 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 char * kwnames
[] = {
23007 (char *) "self",(char *) "toggle", NULL
23010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23012 if (!SWIG_IsOK(res1
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23015 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23016 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23017 if (!SWIG_IsOK(ecode2
)) {
23018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23020 arg2
= static_cast< bool >(val2
);
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (bool)(arg1
)->SetToggle(arg2
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23036 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
= 0;
23038 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23039 wxString
*arg2
= 0 ;
23043 bool temp2
= false ;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 char * kwnames
[] = {
23047 (char *) "self",(char *) "help", NULL
23050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23052 if (!SWIG_IsOK(res1
)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23055 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23057 arg2
= wxString_in_helper(obj1
);
23058 if (arg2
== NULL
) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23084 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
= 0;
23086 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23087 wxString
*arg2
= 0 ;
23091 bool temp2
= false ;
23092 PyObject
* obj0
= 0 ;
23093 PyObject
* obj1
= 0 ;
23094 char * kwnames
[] = {
23095 (char *) "self",(char *) "help", NULL
23098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23100 if (!SWIG_IsOK(res1
)) {
23101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23103 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23105 arg2
= wxString_in_helper(obj1
);
23106 if (arg2
== NULL
) SWIG_fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23132 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
= 0;
23134 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23135 wxBitmap
*arg2
= 0 ;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "self",(char *) "bmp", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23151 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23153 if (!SWIG_IsOK(res2
)) {
23154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23159 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_Py_Void();
23173 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
= 0;
23175 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23176 wxBitmap
*arg2
= 0 ;
23181 PyObject
* obj0
= 0 ;
23182 PyObject
* obj1
= 0 ;
23183 char * kwnames
[] = {
23184 (char *) "self",(char *) "bmp", NULL
23187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23189 if (!SWIG_IsOK(res1
)) {
23190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23192 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23194 if (!SWIG_IsOK(res2
)) {
23195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23200 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_Py_Void();
23214 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
= 0;
23216 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23217 wxString
*arg2
= 0 ;
23220 bool temp2
= false ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 char * kwnames
[] = {
23224 (char *) "self",(char *) "label", NULL
23227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23229 if (!SWIG_IsOK(res1
)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23232 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23234 arg2
= wxString_in_helper(obj1
);
23235 if (arg2
== NULL
) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 (arg1
)->SetLabel((wxString
const &)*arg2
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_Py_Void();
23259 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23260 PyObject
*resultobj
= 0;
23261 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23264 PyObject
*swig_obj
[1] ;
23266 if (!args
) SWIG_fail
;
23267 swig_obj
[0] = args
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23272 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= SWIG_Py_Void();
23286 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
= 0;
23288 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23289 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char * kwnames
[] = {
23297 (char *) "self",(char *) "tbar", NULL
23300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23302 if (!SWIG_IsOK(res1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23305 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23307 if (!SWIG_IsOK(res2
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23310 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 (arg1
)->Attach(arg2
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_Py_Void();
23324 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23325 PyObject
*resultobj
= 0;
23326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23327 PyObject
*result
= 0 ;
23330 PyObject
*swig_obj
[1] ;
23332 if (!args
) SWIG_fail
;
23333 swig_obj
[0] = args
;
23334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23335 if (!SWIG_IsOK(res1
)) {
23336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23338 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= result
;
23352 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
= 0;
23354 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23355 PyObject
*arg2
= (PyObject
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 char * kwnames
[] = {
23361 (char *) "self",(char *) "clientData", NULL
23364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23366 if (!SWIG_IsOK(res1
)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23369 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= SWIG_Py_Void();
23384 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23387 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23388 return SWIG_Py_Void();
23391 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
= 0;
23393 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23395 wxString
*arg3
= 0 ;
23396 wxBitmap
*arg4
= 0 ;
23397 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23398 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23399 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23400 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23402 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23403 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23404 PyObject
*arg9
= (PyObject
*) NULL
;
23405 wxToolBarToolBase
*result
= 0 ;
23410 bool temp3
= false ;
23417 bool temp7
= false ;
23418 bool temp8
= false ;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 PyObject
* obj2
= 0 ;
23422 PyObject
* obj3
= 0 ;
23423 PyObject
* obj4
= 0 ;
23424 PyObject
* obj5
= 0 ;
23425 PyObject
* obj6
= 0 ;
23426 PyObject
* obj7
= 0 ;
23427 PyObject
* obj8
= 0 ;
23428 char * kwnames
[] = {
23429 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23434 if (!SWIG_IsOK(res1
)) {
23435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23437 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23439 if (!SWIG_IsOK(ecode2
)) {
23440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23442 arg2
= static_cast< int >(val2
);
23444 arg3
= wxString_in_helper(obj2
);
23445 if (arg3
== NULL
) SWIG_fail
;
23448 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23449 if (!SWIG_IsOK(res4
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23455 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23457 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23458 if (!SWIG_IsOK(res5
)) {
23459 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23464 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23467 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23468 if (!SWIG_IsOK(ecode6
)) {
23469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23471 arg6
= static_cast< wxItemKind
>(val6
);
23475 arg7
= wxString_in_helper(obj6
);
23476 if (arg7
== NULL
) SWIG_fail
;
23482 arg8
= wxString_in_helper(obj7
);
23483 if (arg8
== NULL
) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23529 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
= 0;
23531 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23534 wxString
*arg4
= 0 ;
23535 wxBitmap
*arg5
= 0 ;
23536 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23537 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23538 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23539 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23540 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23541 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23542 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23543 PyObject
*arg10
= (PyObject
*) NULL
;
23544 wxToolBarToolBase
*result
= 0 ;
23551 bool temp4
= false ;
23558 bool temp8
= false ;
23559 bool temp9
= false ;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 PyObject
* obj2
= 0 ;
23563 PyObject
* obj3
= 0 ;
23564 PyObject
* obj4
= 0 ;
23565 PyObject
* obj5
= 0 ;
23566 PyObject
* obj6
= 0 ;
23567 PyObject
* obj7
= 0 ;
23568 PyObject
* obj8
= 0 ;
23569 PyObject
* obj9
= 0 ;
23570 char * kwnames
[] = {
23571 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23576 if (!SWIG_IsOK(res1
)) {
23577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23579 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23580 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23581 if (!SWIG_IsOK(ecode2
)) {
23582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23584 arg2
= static_cast< size_t >(val2
);
23585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23586 if (!SWIG_IsOK(ecode3
)) {
23587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23589 arg3
= static_cast< int >(val3
);
23591 arg4
= wxString_in_helper(obj3
);
23592 if (arg4
== NULL
) SWIG_fail
;
23595 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23596 if (!SWIG_IsOK(res5
)) {
23597 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23602 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23604 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23605 if (!SWIG_IsOK(res6
)) {
23606 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23611 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23614 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23615 if (!SWIG_IsOK(ecode7
)) {
23616 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23618 arg7
= static_cast< wxItemKind
>(val7
);
23622 arg8
= wxString_in_helper(obj7
);
23623 if (arg8
== NULL
) SWIG_fail
;
23629 arg9
= wxString_in_helper(obj8
);
23630 if (arg9
== NULL
) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23676 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
= 0;
23678 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23679 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23680 wxToolBarToolBase
*result
= 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char * kwnames
[] = {
23688 (char *) "self",(char *) "tool", NULL
23691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23693 if (!SWIG_IsOK(res1
)) {
23694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23696 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23697 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23698 if (!SWIG_IsOK(res2
)) {
23699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23701 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23717 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
= 0;
23719 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23721 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23722 wxToolBarToolBase
*result
= 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 PyObject
* obj2
= 0 ;
23732 char * kwnames
[] = {
23733 (char *) "self",(char *) "pos",(char *) "tool", NULL
23736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23738 if (!SWIG_IsOK(res1
)) {
23739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23741 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23742 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23743 if (!SWIG_IsOK(ecode2
)) {
23744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23746 arg2
= static_cast< size_t >(val2
);
23747 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23748 if (!SWIG_IsOK(res3
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23751 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23759 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23767 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
= 0;
23769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23770 wxControl
*arg2
= (wxControl
*) 0 ;
23771 wxToolBarToolBase
*result
= 0 ;
23776 PyObject
* obj0
= 0 ;
23777 PyObject
* obj1
= 0 ;
23778 char * kwnames
[] = {
23779 (char *) "self",(char *) "control", NULL
23782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23787 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23789 if (!SWIG_IsOK(res2
)) {
23790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23792 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23808 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
= 0;
23810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23812 wxControl
*arg3
= (wxControl
*) 0 ;
23813 wxToolBarToolBase
*result
= 0 ;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23822 PyObject
* obj2
= 0 ;
23823 char * kwnames
[] = {
23824 (char *) "self",(char *) "pos",(char *) "control", NULL
23827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23832 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23833 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23834 if (!SWIG_IsOK(ecode2
)) {
23835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23837 arg2
= static_cast< size_t >(val2
);
23838 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23839 if (!SWIG_IsOK(res3
)) {
23840 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23842 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23858 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
= 0;
23860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23862 wxControl
*result
= 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char * kwnames
[] = {
23870 (char *) "self",(char *) "id", NULL
23873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23878 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23880 if (!SWIG_IsOK(ecode2
)) {
23881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23883 arg2
= static_cast< int >(val2
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= wxPyMake_wxObject(result
, 0);
23899 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23900 PyObject
*resultobj
= 0;
23901 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23902 wxToolBarToolBase
*result
= 0 ;
23905 PyObject
*swig_obj
[1] ;
23907 if (!args
) SWIG_fail
;
23908 swig_obj
[0] = args
;
23909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23910 if (!SWIG_IsOK(res1
)) {
23911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23913 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23929 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
= 0;
23931 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23933 wxToolBarToolBase
*result
= 0 ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 char * kwnames
[] = {
23941 (char *) "self",(char *) "pos", NULL
23944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23946 if (!SWIG_IsOK(res1
)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23949 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23950 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23951 if (!SWIG_IsOK(ecode2
)) {
23952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23954 arg2
= static_cast< size_t >(val2
);
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23970 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
= 0;
23972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23974 wxToolBarToolBase
*result
= 0 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char * kwnames
[] = {
23982 (char *) "self",(char *) "id", NULL
23985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23987 if (!SWIG_IsOK(res1
)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23990 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23992 if (!SWIG_IsOK(ecode2
)) {
23993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23995 arg2
= static_cast< int >(val2
);
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24011 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
= 0;
24013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24020 PyObject
* obj0
= 0 ;
24021 PyObject
* obj1
= 0 ;
24022 char * kwnames
[] = {
24023 (char *) "self",(char *) "pos", NULL
24026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24032 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24033 if (!SWIG_IsOK(ecode2
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24036 arg2
= static_cast< size_t >(val2
);
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24052 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
= 0;
24054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 char * kwnames
[] = {
24064 (char *) "self",(char *) "id", NULL
24067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24069 if (!SWIG_IsOK(res1
)) {
24070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24072 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24074 if (!SWIG_IsOK(ecode2
)) {
24075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24077 arg2
= static_cast< int >(val2
);
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (bool)(arg1
)->DeleteTool(arg2
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24093 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 PyObject
*resultobj
= 0;
24095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24098 PyObject
*swig_obj
[1] ;
24100 if (!args
) SWIG_fail
;
24101 swig_obj
[0] = args
;
24102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24103 if (!SWIG_IsOK(res1
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24106 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 (arg1
)->ClearTools();
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_Py_Void();
24120 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24121 PyObject
*resultobj
= 0;
24122 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24126 PyObject
*swig_obj
[1] ;
24128 if (!args
) SWIG_fail
;
24129 swig_obj
[0] = args
;
24130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24131 if (!SWIG_IsOK(res1
)) {
24132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24134 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (bool)(arg1
)->Realize();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24150 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
= 0;
24152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 PyObject
* obj2
= 0 ;
24164 char * kwnames
[] = {
24165 (char *) "self",(char *) "id",(char *) "enable", NULL
24168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24170 if (!SWIG_IsOK(res1
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24173 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24175 if (!SWIG_IsOK(ecode2
)) {
24176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24178 arg2
= static_cast< int >(val2
);
24179 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24180 if (!SWIG_IsOK(ecode3
)) {
24181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24183 arg3
= static_cast< bool >(val3
);
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 (arg1
)->EnableTool(arg2
,arg3
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24190 resultobj
= SWIG_Py_Void();
24197 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
= 0;
24199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24208 PyObject
* obj0
= 0 ;
24209 PyObject
* obj1
= 0 ;
24210 PyObject
* obj2
= 0 ;
24211 char * kwnames
[] = {
24212 (char *) "self",(char *) "id",(char *) "toggle", NULL
24215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24220 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24222 if (!SWIG_IsOK(ecode2
)) {
24223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24225 arg2
= static_cast< int >(val2
);
24226 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24227 if (!SWIG_IsOK(ecode3
)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24230 arg3
= static_cast< bool >(val3
);
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 (arg1
)->ToggleTool(arg2
,arg3
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= SWIG_Py_Void();
24244 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
= 0;
24246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 PyObject
* obj2
= 0 ;
24258 char * kwnames
[] = {
24259 (char *) "self",(char *) "id",(char *) "toggle", NULL
24262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",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_SetToggle" "', 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_SetToggle" "', expected argument " "2"" of type '" "int""'");
24272 arg2
= static_cast< int >(val2
);
24273 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24274 if (!SWIG_IsOK(ecode3
)) {
24275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24277 arg3
= static_cast< bool >(val3
);
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 (arg1
)->SetToggle(arg2
,arg3
);
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_Py_Void();
24291 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24292 PyObject
*resultobj
= 0;
24293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24295 PyObject
*result
= 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 char * kwnames
[] = {
24303 (char *) "self",(char *) "id", NULL
24306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24308 if (!SWIG_IsOK(res1
)) {
24309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24311 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24313 if (!SWIG_IsOK(ecode2
)) {
24314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24316 arg2
= static_cast< int >(val2
);
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= result
;
24330 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
= 0;
24332 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24334 PyObject
*arg3
= (PyObject
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 PyObject
* obj2
= 0 ;
24342 char * kwnames
[] = {
24343 (char *) "self",(char *) "id",(char *) "clientData", NULL
24346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24348 if (!SWIG_IsOK(res1
)) {
24349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24351 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24353 if (!SWIG_IsOK(ecode2
)) {
24354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24356 arg2
= static_cast< int >(val2
);
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_Py_Void();
24371 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
= 0;
24373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 char * kwnames
[] = {
24383 (char *) "self",(char *) "id", NULL
24386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24388 if (!SWIG_IsOK(res1
)) {
24389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24391 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24393 if (!SWIG_IsOK(ecode2
)) {
24394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24396 arg2
= static_cast< int >(val2
);
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 resultobj
= SWIG_From_int(static_cast< int >(result
));
24410 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
= 0;
24412 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char * kwnames
[] = {
24422 (char *) "self",(char *) "id", NULL
24425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24427 if (!SWIG_IsOK(res1
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24430 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24432 if (!SWIG_IsOK(ecode2
)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24435 arg2
= static_cast< int >(val2
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (bool)(arg1
)->GetToolState(arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24451 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
= 0;
24453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char * kwnames
[] = {
24463 (char *) "self",(char *) "id", NULL
24466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24471 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24473 if (!SWIG_IsOK(ecode2
)) {
24474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24476 arg2
= static_cast< int >(val2
);
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24492 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24496 wxString
*arg3
= 0 ;
24501 bool temp3
= false ;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 PyObject
* obj2
= 0 ;
24505 char * kwnames
[] = {
24506 (char *) "self",(char *) "id",(char *) "helpString", NULL
24509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24511 if (!SWIG_IsOK(res1
)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24514 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24516 if (!SWIG_IsOK(ecode2
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24519 arg2
= static_cast< int >(val2
);
24521 arg3
= wxString_in_helper(obj2
);
24522 if (arg3
== NULL
) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= SWIG_Py_Void();
24546 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
= 0;
24548 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char * kwnames
[] = {
24558 (char *) "self",(char *) "id", NULL
24561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24566 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24568 if (!SWIG_IsOK(ecode2
)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24571 arg2
= static_cast< int >(val2
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (arg1
)->GetToolShortHelp(arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24591 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24592 PyObject
*resultobj
= 0;
24593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24595 wxString
*arg3
= 0 ;
24600 bool temp3
= false ;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 PyObject
* obj2
= 0 ;
24604 char * kwnames
[] = {
24605 (char *) "self",(char *) "id",(char *) "helpString", NULL
24608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24610 if (!SWIG_IsOK(res1
)) {
24611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24613 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24615 if (!SWIG_IsOK(ecode2
)) {
24616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24618 arg2
= static_cast< int >(val2
);
24620 arg3
= wxString_in_helper(obj2
);
24621 if (arg3
== NULL
) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= SWIG_Py_Void();
24645 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char * kwnames
[] = {
24657 (char *) "self",(char *) "id", NULL
24660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24662 if (!SWIG_IsOK(res1
)) {
24663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24665 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24667 if (!SWIG_IsOK(ecode2
)) {
24668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24670 arg2
= static_cast< int >(val2
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (arg1
)->GetToolLongHelp(arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24690 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
= 0;
24692 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 PyObject
* obj2
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "self",(char *) "x",(char *) "y", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24713 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24715 if (!SWIG_IsOK(ecode2
)) {
24716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24718 arg2
= static_cast< int >(val2
);
24719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24720 if (!SWIG_IsOK(ecode3
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24723 arg3
= static_cast< int >(val3
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 (arg1
)->SetMargins(arg2
,arg3
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_Py_Void();
24737 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
= 0;
24739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char * kwnames
[] = {
24747 (char *) "self",(char *) "size", NULL
24750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24752 if (!SWIG_IsOK(res1
)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24755 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24758 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_Py_Void();
24773 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= 0;
24775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char * kwnames
[] = {
24784 (char *) "self",(char *) "packing", NULL
24787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24789 if (!SWIG_IsOK(res1
)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24792 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24794 if (!SWIG_IsOK(ecode2
)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24797 arg2
= static_cast< int >(val2
);
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 (arg1
)->SetToolPacking(arg2
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= SWIG_Py_Void();
24811 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
= 0;
24813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 PyObject
* obj1
= 0 ;
24821 char * kwnames
[] = {
24822 (char *) "self",(char *) "separation", NULL
24825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24827 if (!SWIG_IsOK(res1
)) {
24828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24830 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24832 if (!SWIG_IsOK(ecode2
)) {
24833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24835 arg2
= static_cast< int >(val2
);
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 (arg1
)->SetToolSeparation(arg2
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_Py_Void();
24849 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24850 PyObject
*resultobj
= 0;
24851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24855 PyObject
*swig_obj
[1] ;
24857 if (!args
) SWIG_fail
;
24858 swig_obj
[0] = args
;
24859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24860 if (!SWIG_IsOK(res1
)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24863 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= (arg1
)->GetToolMargins();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24877 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24878 PyObject
*resultobj
= 0;
24879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24883 PyObject
*swig_obj
[1] ;
24885 if (!args
) SWIG_fail
;
24886 swig_obj
[0] = args
;
24887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24891 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 result
= (arg1
)->GetMargins();
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24905 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24906 PyObject
*resultobj
= 0;
24907 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24911 PyObject
*swig_obj
[1] ;
24913 if (!args
) SWIG_fail
;
24914 swig_obj
[0] = args
;
24915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24916 if (!SWIG_IsOK(res1
)) {
24917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24919 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (int)(arg1
)->GetToolPacking();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= SWIG_From_int(static_cast< int >(result
));
24933 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24934 PyObject
*resultobj
= 0;
24935 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24939 PyObject
*swig_obj
[1] ;
24941 if (!args
) SWIG_fail
;
24942 swig_obj
[0] = args
;
24943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24947 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (int)(arg1
)->GetToolSeparation();
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_From_int(static_cast< int >(result
));
24961 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
= 0;
24963 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char * kwnames
[] = {
24972 (char *) "self",(char *) "nRows", NULL
24975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24980 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24982 if (!SWIG_IsOK(ecode2
)) {
24983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24985 arg2
= static_cast< int >(val2
);
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 (arg1
)->SetRows(arg2
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_Py_Void();
24999 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
= 0;
25001 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 PyObject
* obj1
= 0 ;
25012 PyObject
* obj2
= 0 ;
25013 char * kwnames
[] = {
25014 (char *) "self",(char *) "rows",(char *) "cols", NULL
25017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25022 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25024 if (!SWIG_IsOK(ecode2
)) {
25025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25027 arg2
= static_cast< int >(val2
);
25028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25029 if (!SWIG_IsOK(ecode3
)) {
25030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25032 arg3
= static_cast< int >(val3
);
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= SWIG_Py_Void();
25046 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25047 PyObject
*resultobj
= 0;
25048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25052 PyObject
*swig_obj
[1] ;
25054 if (!args
) SWIG_fail
;
25055 swig_obj
[0] = args
;
25056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25057 if (!SWIG_IsOK(res1
)) {
25058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25060 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (int)(arg1
)->GetMaxRows();
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_From_int(static_cast< int >(result
));
25074 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25075 PyObject
*resultobj
= 0;
25076 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25080 PyObject
*swig_obj
[1] ;
25082 if (!args
) SWIG_fail
;
25083 swig_obj
[0] = args
;
25084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25085 if (!SWIG_IsOK(res1
)) {
25086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25088 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (int)(arg1
)->GetMaxCols();
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= SWIG_From_int(static_cast< int >(result
));
25102 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
= 0;
25104 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 char * kwnames
[] = {
25112 (char *) "self",(char *) "size", NULL
25115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25120 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= SWIG_Py_Void();
25138 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25139 PyObject
*resultobj
= 0;
25140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25144 PyObject
*swig_obj
[1] ;
25146 if (!args
) SWIG_fail
;
25147 swig_obj
[0] = args
;
25148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25152 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= (arg1
)->GetToolBitmapSize();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25166 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25167 PyObject
*resultobj
= 0;
25168 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25172 PyObject
*swig_obj
[1] ;
25174 if (!args
) SWIG_fail
;
25175 swig_obj
[0] = args
;
25176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25180 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (arg1
)->GetToolSize();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25194 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
= 0;
25196 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25199 wxToolBarToolBase
*result
= 0 ;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 PyObject
* obj2
= 0 ;
25209 char * kwnames
[] = {
25210 (char *) "self",(char *) "x",(char *) "y", NULL
25213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25215 if (!SWIG_IsOK(res1
)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25218 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25220 if (!SWIG_IsOK(ecode2
)) {
25221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25223 arg2
= static_cast< int >(val2
);
25224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25225 if (!SWIG_IsOK(ecode3
)) {
25226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25228 arg3
= static_cast< int >(val3
);
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25244 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
= 0;
25246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25248 wxToolBarToolBase
*result
= 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 char * kwnames
[] = {
25256 (char *) "self",(char *) "toolid", NULL
25259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25264 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25266 if (!SWIG_IsOK(ecode2
)) {
25267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25269 arg2
= static_cast< int >(val2
);
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25285 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25286 PyObject
*resultobj
= 0;
25287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25291 PyObject
*swig_obj
[1] ;
25293 if (!args
) SWIG_fail
;
25294 swig_obj
[0] = args
;
25295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25296 if (!SWIG_IsOK(res1
)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25299 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (bool)(arg1
)->IsVertical();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25315 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25316 PyObject
*resultobj
= 0;
25317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25321 PyObject
*swig_obj
[1] ;
25323 if (!args
) SWIG_fail
;
25324 swig_obj
[0] = args
;
25325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25329 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25343 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25346 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25347 return SWIG_Py_Void();
25350 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
= 0;
25352 wxWindow
*arg1
= (wxWindow
*) 0 ;
25353 int arg2
= (int) -1 ;
25354 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25355 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25356 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25357 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25358 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25359 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25360 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25361 wxToolBar
*result
= 0 ;
25370 bool temp6
= false ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 PyObject
* obj2
= 0 ;
25374 PyObject
* obj3
= 0 ;
25375 PyObject
* obj4
= 0 ;
25376 PyObject
* obj5
= 0 ;
25377 char * kwnames
[] = {
25378 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25383 if (!SWIG_IsOK(res1
)) {
25384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25386 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25389 if (!SWIG_IsOK(ecode2
)) {
25390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25392 arg2
= static_cast< int >(val2
);
25397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25403 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25407 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25408 if (!SWIG_IsOK(ecode5
)) {
25409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25411 arg5
= static_cast< long >(val5
);
25415 arg6
= wxString_in_helper(obj5
);
25416 if (arg6
== NULL
) SWIG_fail
;
25421 if (!wxPyCheckForApp()) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25442 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25443 PyObject
*resultobj
= 0;
25444 wxToolBar
*result
= 0 ;
25446 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25448 if (!wxPyCheckForApp()) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (wxToolBar
*)new wxToolBar();
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25461 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25462 PyObject
*resultobj
= 0;
25463 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25464 wxWindow
*arg2
= (wxWindow
*) 0 ;
25465 int arg3
= (int) -1 ;
25466 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25467 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25468 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25469 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25470 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25471 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25472 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25484 bool temp7
= false ;
25485 PyObject
* obj0
= 0 ;
25486 PyObject
* obj1
= 0 ;
25487 PyObject
* obj2
= 0 ;
25488 PyObject
* obj3
= 0 ;
25489 PyObject
* obj4
= 0 ;
25490 PyObject
* obj5
= 0 ;
25491 PyObject
* obj6
= 0 ;
25492 char * kwnames
[] = {
25493 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25501 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25503 if (!SWIG_IsOK(res2
)) {
25504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25506 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25509 if (!SWIG_IsOK(ecode3
)) {
25510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25512 arg3
= static_cast< int >(val3
);
25517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25527 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25528 if (!SWIG_IsOK(ecode6
)) {
25529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25531 arg6
= static_cast< long >(val6
);
25535 arg7
= wxString_in_helper(obj6
);
25536 if (arg7
== NULL
) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25563 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
= 0;
25565 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25566 SwigValueWrapper
<wxVisualAttributes
> result
;
25569 PyObject
* obj0
= 0 ;
25570 char * kwnames
[] = {
25571 (char *) "variant", NULL
25574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25576 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25577 if (!SWIG_IsOK(ecode1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25580 arg1
= static_cast< wxWindowVariant
>(val1
);
25583 if (!wxPyCheckForApp()) SWIG_fail
;
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25596 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25599 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25600 return SWIG_Py_Void();
25603 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25604 return SWIG_Python_InitShadowInstance(args
);
25607 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25608 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25613 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25614 PyObject
*pyobj
= 0;
25618 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25620 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25627 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
= 0;
25629 wxColour
const &arg1_defvalue
= wxNullColour
;
25630 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25631 wxColour
const &arg2_defvalue
= wxNullColour
;
25632 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25633 wxFont
const &arg3_defvalue
= wxNullFont
;
25634 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25635 wxListItemAttr
*result
= 0 ;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 PyObject
* obj2
= 0 ;
25643 char * kwnames
[] = {
25644 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25651 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25657 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25661 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25662 if (!SWIG_IsOK(res3
)) {
25663 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25668 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25683 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25684 PyObject
*resultobj
= 0;
25685 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25688 PyObject
*swig_obj
[1] ;
25690 if (!args
) SWIG_fail
;
25691 swig_obj
[0] = args
;
25692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25693 if (!SWIG_IsOK(res1
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25696 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= SWIG_Py_Void();
25711 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
= 0;
25713 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25714 wxColour
*arg2
= 0 ;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 char * kwnames
[] = {
25721 (char *) "self",(char *) "colText", NULL
25724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25726 if (!SWIG_IsOK(res1
)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25729 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25732 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= SWIG_Py_Void();
25747 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
= 0;
25749 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25750 wxColour
*arg2
= 0 ;
25754 PyObject
* obj0
= 0 ;
25755 PyObject
* obj1
= 0 ;
25756 char * kwnames
[] = {
25757 (char *) "self",(char *) "colBack", NULL
25760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25762 if (!SWIG_IsOK(res1
)) {
25763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25765 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= SWIG_Py_Void();
25783 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
= 0;
25785 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 char * kwnames
[] = {
25794 (char *) "self",(char *) "font", NULL
25797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25799 if (!SWIG_IsOK(res1
)) {
25800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25802 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25804 if (!SWIG_IsOK(res2
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25810 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 (arg1
)->SetFont((wxFont
const &)*arg2
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= SWIG_Py_Void();
25824 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25825 PyObject
*resultobj
= 0;
25826 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25830 PyObject
*swig_obj
[1] ;
25832 if (!args
) SWIG_fail
;
25833 swig_obj
[0] = args
;
25834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25835 if (!SWIG_IsOK(res1
)) {
25836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25838 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (bool)(arg1
)->HasTextColour();
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25854 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25855 PyObject
*resultobj
= 0;
25856 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25860 PyObject
*swig_obj
[1] ;
25862 if (!args
) SWIG_fail
;
25863 swig_obj
[0] = args
;
25864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25868 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (bool)(arg1
)->HasBackgroundColour();
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25884 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25885 PyObject
*resultobj
= 0;
25886 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25890 PyObject
*swig_obj
[1] ;
25892 if (!args
) SWIG_fail
;
25893 swig_obj
[0] = args
;
25894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25898 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (bool)(arg1
)->HasFont();
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25914 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25915 PyObject
*resultobj
= 0;
25916 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25920 PyObject
*swig_obj
[1] ;
25922 if (!args
) SWIG_fail
;
25923 swig_obj
[0] = args
;
25924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25925 if (!SWIG_IsOK(res1
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25928 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (arg1
)->GetTextColour();
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25942 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 PyObject
*resultobj
= 0;
25944 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25948 PyObject
*swig_obj
[1] ;
25950 if (!args
) SWIG_fail
;
25951 swig_obj
[0] = args
;
25952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25956 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= (arg1
)->GetBackgroundColour();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25970 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25971 PyObject
*resultobj
= 0;
25972 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25976 PyObject
*swig_obj
[1] ;
25978 if (!args
) SWIG_fail
;
25979 swig_obj
[0] = args
;
25980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25981 if (!SWIG_IsOK(res1
)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25984 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= (arg1
)->GetFont();
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25998 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
= 0;
26000 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26001 wxListItemAttr
*arg2
= 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 char * kwnames
[] = {
26009 (char *) "self",(char *) "source", NULL
26012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26014 if (!SWIG_IsOK(res1
)) {
26015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26017 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26019 if (!SWIG_IsOK(res2
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26025 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= SWIG_Py_Void();
26039 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26040 PyObject
*resultobj
= 0;
26041 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26044 PyObject
*swig_obj
[1] ;
26046 if (!args
) SWIG_fail
;
26047 swig_obj
[0] = args
;
26048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26052 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 wxListItemAttr_Destroy(arg1
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= SWIG_Py_Void();
26066 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26069 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26070 return SWIG_Py_Void();
26073 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26074 return SWIG_Python_InitShadowInstance(args
);
26077 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26078 PyObject
*resultobj
= 0;
26079 wxListItem
*result
= 0 ;
26081 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= (wxListItem
*)new wxListItem();
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26097 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26098 PyObject
*resultobj
= 0;
26099 wxListItem
*arg1
= (wxListItem
*) 0 ;
26102 PyObject
*swig_obj
[1] ;
26104 if (!args
) SWIG_fail
;
26105 swig_obj
[0] = args
;
26106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26107 if (!SWIG_IsOK(res1
)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26110 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_Py_Void();
26125 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26126 PyObject
*resultobj
= 0;
26127 wxListItem
*arg1
= (wxListItem
*) 0 ;
26130 PyObject
*swig_obj
[1] ;
26132 if (!args
) SWIG_fail
;
26133 swig_obj
[0] = args
;
26134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26135 if (!SWIG_IsOK(res1
)) {
26136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26138 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= SWIG_Py_Void();
26152 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26153 PyObject
*resultobj
= 0;
26154 wxListItem
*arg1
= (wxListItem
*) 0 ;
26157 PyObject
*swig_obj
[1] ;
26159 if (!args
) SWIG_fail
;
26160 swig_obj
[0] = args
;
26161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26162 if (!SWIG_IsOK(res1
)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 (arg1
)->ClearAttributes();
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 resultobj
= SWIG_Py_Void();
26179 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
= 0;
26181 wxListItem
*arg1
= (wxListItem
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char * kwnames
[] = {
26190 (char *) "self",(char *) "mask", NULL
26193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26195 if (!SWIG_IsOK(res1
)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26198 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26199 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26200 if (!SWIG_IsOK(ecode2
)) {
26201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26203 arg2
= static_cast< long >(val2
);
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 (arg1
)->SetMask(arg2
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_Py_Void();
26217 SWIGINTERN PyObject
*_wrap_ListItem_SetId(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 *) "id", NULL
26231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",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_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26236 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26237 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26238 if (!SWIG_IsOK(ecode2
)) {
26239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26241 arg2
= static_cast< long >(val2
);
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 (arg1
)->SetId(arg2
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_Py_Void();
26255 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(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 *) "col", NULL
26269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",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_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26274 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26276 if (!SWIG_IsOK(ecode2
)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26279 arg2
= static_cast< int >(val2
);
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetColumn(arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_Py_Void();
26293 SWIGINTERN PyObject
*_wrap_ListItem_SetState(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 *) "state", NULL
26307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",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_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26312 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26313 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26314 if (!SWIG_IsOK(ecode2
)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26317 arg2
= static_cast< long >(val2
);
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetState(arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
= 0;
26333 wxListItem
*arg1
= (wxListItem
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 char * kwnames
[] = {
26342 (char *) "self",(char *) "stateMask", NULL
26345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",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_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26350 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26351 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26352 if (!SWIG_IsOK(ecode2
)) {
26353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26355 arg2
= static_cast< long >(val2
);
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->SetStateMask(arg2
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_Py_Void();
26369 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
= 0;
26371 wxListItem
*arg1
= (wxListItem
*) 0 ;
26372 wxString
*arg2
= 0 ;
26375 bool temp2
= false ;
26376 PyObject
* obj0
= 0 ;
26377 PyObject
* obj1
= 0 ;
26378 char * kwnames
[] = {
26379 (char *) "self",(char *) "text", NULL
26382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",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_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26387 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26389 arg2
= wxString_in_helper(obj1
);
26390 if (arg2
== NULL
) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->SetText((wxString
const &)*arg2
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= SWIG_Py_Void();
26414 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
= 0;
26416 wxListItem
*arg1
= (wxListItem
*) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj1
= 0 ;
26424 char * kwnames
[] = {
26425 (char *) "self",(char *) "image", NULL
26428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26433 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26435 if (!SWIG_IsOK(ecode2
)) {
26436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26438 arg2
= static_cast< int >(val2
);
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 (arg1
)->SetImage(arg2
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_Py_Void();
26452 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
= 0;
26454 wxListItem
*arg1
= (wxListItem
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char * kwnames
[] = {
26463 (char *) "self",(char *) "data", NULL
26466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26471 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26473 if (!SWIG_IsOK(ecode2
)) {
26474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26476 arg2
= static_cast< long >(val2
);
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 (arg1
)->SetData(arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_Py_Void();
26490 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
= 0;
26492 wxListItem
*arg1
= (wxListItem
*) 0 ;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char * kwnames
[] = {
26501 (char *) "self",(char *) "width", NULL
26504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26506 if (!SWIG_IsOK(res1
)) {
26507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26509 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26511 if (!SWIG_IsOK(ecode2
)) {
26512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26514 arg2
= static_cast< int >(val2
);
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 (arg1
)->SetWidth(arg2
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_Py_Void();
26528 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
= 0;
26530 wxListItem
*arg1
= (wxListItem
*) 0 ;
26531 wxListColumnFormat arg2
;
26536 PyObject
* obj0
= 0 ;
26537 PyObject
* obj1
= 0 ;
26538 char * kwnames
[] = {
26539 (char *) "self",(char *) "align", NULL
26542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26544 if (!SWIG_IsOK(res1
)) {
26545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26547 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26549 if (!SWIG_IsOK(ecode2
)) {
26550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26552 arg2
= static_cast< wxListColumnFormat
>(val2
);
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 (arg1
)->SetAlign(arg2
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_Py_Void();
26566 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
= 0;
26568 wxListItem
*arg1
= (wxListItem
*) 0 ;
26569 wxColour
*arg2
= 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 char * kwnames
[] = {
26576 (char *) "self",(char *) "colText", NULL
26579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26584 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26587 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= SWIG_Py_Void();
26602 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
= 0;
26604 wxListItem
*arg1
= (wxListItem
*) 0 ;
26605 wxColour
*arg2
= 0 ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char * kwnames
[] = {
26612 (char *) "self",(char *) "colBack", NULL
26615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26620 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26623 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_Py_Void();
26638 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
= 0;
26640 wxListItem
*arg1
= (wxListItem
*) 0 ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 char * kwnames
[] = {
26649 (char *) "self",(char *) "font", NULL
26652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26654 if (!SWIG_IsOK(res1
)) {
26655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26657 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26659 if (!SWIG_IsOK(res2
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26665 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 (arg1
)->SetFont((wxFont
const &)*arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_Py_Void();
26679 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26680 PyObject
*resultobj
= 0;
26681 wxListItem
*arg1
= (wxListItem
*) 0 ;
26685 PyObject
*swig_obj
[1] ;
26687 if (!args
) SWIG_fail
;
26688 swig_obj
[0] = args
;
26689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26693 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (long)(arg1
)->GetMask();
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= SWIG_From_long(static_cast< long >(result
));
26707 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26708 PyObject
*resultobj
= 0;
26709 wxListItem
*arg1
= (wxListItem
*) 0 ;
26713 PyObject
*swig_obj
[1] ;
26715 if (!args
) SWIG_fail
;
26716 swig_obj
[0] = args
;
26717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26718 if (!SWIG_IsOK(res1
)) {
26719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26721 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26724 result
= (long)(arg1
)->GetId();
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_From_long(static_cast< long >(result
));
26735 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26736 PyObject
*resultobj
= 0;
26737 wxListItem
*arg1
= (wxListItem
*) 0 ;
26741 PyObject
*swig_obj
[1] ;
26743 if (!args
) SWIG_fail
;
26744 swig_obj
[0] = args
;
26745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26749 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= (int)(arg1
)->GetColumn();
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_From_int(static_cast< int >(result
));
26763 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26764 PyObject
*resultobj
= 0;
26765 wxListItem
*arg1
= (wxListItem
*) 0 ;
26769 PyObject
*swig_obj
[1] ;
26771 if (!args
) SWIG_fail
;
26772 swig_obj
[0] = args
;
26773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26777 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (long)(arg1
)->GetState();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= SWIG_From_long(static_cast< long >(result
));
26791 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26792 PyObject
*resultobj
= 0;
26793 wxListItem
*arg1
= (wxListItem
*) 0 ;
26794 wxString
*result
= 0 ;
26797 PyObject
*swig_obj
[1] ;
26799 if (!args
) SWIG_fail
;
26800 swig_obj
[0] = args
;
26801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26805 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 wxString
const &_result_ref
= (arg1
)->GetText();
26810 result
= (wxString
*) &_result_ref
;
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26828 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26829 PyObject
*resultobj
= 0;
26830 wxListItem
*arg1
= (wxListItem
*) 0 ;
26834 PyObject
*swig_obj
[1] ;
26836 if (!args
) SWIG_fail
;
26837 swig_obj
[0] = args
;
26838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26842 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (int)(arg1
)->GetImage();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= SWIG_From_int(static_cast< int >(result
));
26856 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26857 PyObject
*resultobj
= 0;
26858 wxListItem
*arg1
= (wxListItem
*) 0 ;
26862 PyObject
*swig_obj
[1] ;
26864 if (!args
) SWIG_fail
;
26865 swig_obj
[0] = args
;
26866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26870 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= (long)(arg1
)->GetData();
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= SWIG_From_long(static_cast< long >(result
));
26884 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26885 PyObject
*resultobj
= 0;
26886 wxListItem
*arg1
= (wxListItem
*) 0 ;
26890 PyObject
*swig_obj
[1] ;
26892 if (!args
) SWIG_fail
;
26893 swig_obj
[0] = args
;
26894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26895 if (!SWIG_IsOK(res1
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26898 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= (int)(arg1
)->GetWidth();
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= SWIG_From_int(static_cast< int >(result
));
26912 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26913 PyObject
*resultobj
= 0;
26914 wxListItem
*arg1
= (wxListItem
*) 0 ;
26915 wxListColumnFormat result
;
26918 PyObject
*swig_obj
[1] ;
26920 if (!args
) SWIG_fail
;
26921 swig_obj
[0] = args
;
26922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26923 if (!SWIG_IsOK(res1
)) {
26924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26926 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_From_int(static_cast< int >(result
));
26940 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26941 PyObject
*resultobj
= 0;
26942 wxListItem
*arg1
= (wxListItem
*) 0 ;
26943 wxListItemAttr
*result
= 0 ;
26946 PyObject
*swig_obj
[1] ;
26948 if (!args
) SWIG_fail
;
26949 swig_obj
[0] = args
;
26950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26954 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26968 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(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_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26982 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 result
= (bool)(arg1
)->HasAttributes();
26986 wxPyEndAllowThreads(__tstate
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26998 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26999 PyObject
*resultobj
= 0;
27000 wxListItem
*arg1
= (wxListItem
*) 0 ;
27004 PyObject
*swig_obj
[1] ;
27006 if (!args
) SWIG_fail
;
27007 swig_obj
[0] = args
;
27008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27009 if (!SWIG_IsOK(res1
)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27012 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27019 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27026 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27027 PyObject
*resultobj
= 0;
27028 wxListItem
*arg1
= (wxListItem
*) 0 ;
27032 PyObject
*swig_obj
[1] ;
27034 if (!args
) SWIG_fail
;
27035 swig_obj
[0] = args
;
27036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27037 if (!SWIG_IsOK(res1
)) {
27038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27040 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27054 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27055 PyObject
*resultobj
= 0;
27056 wxListItem
*arg1
= (wxListItem
*) 0 ;
27060 PyObject
*swig_obj
[1] ;
27062 if (!args
) SWIG_fail
;
27063 swig_obj
[0] = args
;
27064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27068 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= ((wxListItem
const *)arg1
)->GetFont();
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27082 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27083 PyObject
*resultobj
= 0;
27084 wxListItem
*arg1
= (wxListItem
*) 0 ;
27090 PyObject
*swig_obj
[2] ;
27092 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27094 if (!SWIG_IsOK(res1
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27097 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27098 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27099 if (!SWIG_IsOK(ecode2
)) {
27100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27102 arg2
= static_cast< long >(val2
);
27103 if (arg1
) (arg1
)->m_mask
= arg2
;
27105 resultobj
= SWIG_Py_Void();
27112 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27113 PyObject
*resultobj
= 0;
27114 wxListItem
*arg1
= (wxListItem
*) 0 ;
27118 PyObject
*swig_obj
[1] ;
27120 if (!args
) SWIG_fail
;
27121 swig_obj
[0] = args
;
27122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27123 if (!SWIG_IsOK(res1
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27126 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27127 result
= (long) ((arg1
)->m_mask
);
27128 resultobj
= SWIG_From_long(static_cast< long >(result
));
27135 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27136 PyObject
*resultobj
= 0;
27137 wxListItem
*arg1
= (wxListItem
*) 0 ;
27143 PyObject
*swig_obj
[2] ;
27145 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27147 if (!SWIG_IsOK(res1
)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27150 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27151 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27152 if (!SWIG_IsOK(ecode2
)) {
27153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27155 arg2
= static_cast< long >(val2
);
27156 if (arg1
) (arg1
)->m_itemId
= arg2
;
27158 resultobj
= SWIG_Py_Void();
27165 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27166 PyObject
*resultobj
= 0;
27167 wxListItem
*arg1
= (wxListItem
*) 0 ;
27171 PyObject
*swig_obj
[1] ;
27173 if (!args
) SWIG_fail
;
27174 swig_obj
[0] = args
;
27175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27179 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27180 result
= (long) ((arg1
)->m_itemId
);
27181 resultobj
= SWIG_From_long(static_cast< long >(result
));
27188 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27189 PyObject
*resultobj
= 0;
27190 wxListItem
*arg1
= (wxListItem
*) 0 ;
27196 PyObject
*swig_obj
[2] ;
27198 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27203 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27204 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27205 if (!SWIG_IsOK(ecode2
)) {
27206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27208 arg2
= static_cast< int >(val2
);
27209 if (arg1
) (arg1
)->m_col
= arg2
;
27211 resultobj
= SWIG_Py_Void();
27218 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27219 PyObject
*resultobj
= 0;
27220 wxListItem
*arg1
= (wxListItem
*) 0 ;
27224 PyObject
*swig_obj
[1] ;
27226 if (!args
) SWIG_fail
;
27227 swig_obj
[0] = args
;
27228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27229 if (!SWIG_IsOK(res1
)) {
27230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27232 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27233 result
= (int) ((arg1
)->m_col
);
27234 resultobj
= SWIG_From_int(static_cast< int >(result
));
27241 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27242 PyObject
*resultobj
= 0;
27243 wxListItem
*arg1
= (wxListItem
*) 0 ;
27249 PyObject
*swig_obj
[2] ;
27251 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27253 if (!SWIG_IsOK(res1
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27256 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27257 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27258 if (!SWIG_IsOK(ecode2
)) {
27259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27261 arg2
= static_cast< long >(val2
);
27262 if (arg1
) (arg1
)->m_state
= arg2
;
27264 resultobj
= SWIG_Py_Void();
27271 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27272 PyObject
*resultobj
= 0;
27273 wxListItem
*arg1
= (wxListItem
*) 0 ;
27277 PyObject
*swig_obj
[1] ;
27279 if (!args
) SWIG_fail
;
27280 swig_obj
[0] = args
;
27281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27285 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27286 result
= (long) ((arg1
)->m_state
);
27287 resultobj
= SWIG_From_long(static_cast< long >(result
));
27294 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27295 PyObject
*resultobj
= 0;
27296 wxListItem
*arg1
= (wxListItem
*) 0 ;
27302 PyObject
*swig_obj
[2] ;
27304 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27309 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27310 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27311 if (!SWIG_IsOK(ecode2
)) {
27312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27314 arg2
= static_cast< long >(val2
);
27315 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27317 resultobj
= SWIG_Py_Void();
27324 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxListItem
*arg1
= (wxListItem
*) 0 ;
27330 PyObject
*swig_obj
[1] ;
27332 if (!args
) SWIG_fail
;
27333 swig_obj
[0] = args
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27338 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27339 result
= (long) ((arg1
)->m_stateMask
);
27340 resultobj
= SWIG_From_long(static_cast< long >(result
));
27347 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27348 PyObject
*resultobj
= 0;
27349 wxListItem
*arg1
= (wxListItem
*) 0 ;
27350 wxString
*arg2
= (wxString
*) 0 ;
27353 bool temp2
= false ;
27354 PyObject
*swig_obj
[2] ;
27356 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27358 if (!SWIG_IsOK(res1
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27361 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27363 arg2
= wxString_in_helper(swig_obj
[1]);
27364 if (arg2
== NULL
) SWIG_fail
;
27367 if (arg1
) (arg1
)->m_text
= *arg2
;
27369 resultobj
= SWIG_Py_Void();
27384 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27385 PyObject
*resultobj
= 0;
27386 wxListItem
*arg1
= (wxListItem
*) 0 ;
27387 wxString
*result
= 0 ;
27390 PyObject
*swig_obj
[1] ;
27392 if (!args
) SWIG_fail
;
27393 swig_obj
[0] = args
;
27394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27398 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27399 result
= (wxString
*)& ((arg1
)->m_text
);
27402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27413 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27414 PyObject
*resultobj
= 0;
27415 wxListItem
*arg1
= (wxListItem
*) 0 ;
27421 PyObject
*swig_obj
[2] ;
27423 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27425 if (!SWIG_IsOK(res1
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27429 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27430 if (!SWIG_IsOK(ecode2
)) {
27431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27433 arg2
= static_cast< int >(val2
);
27434 if (arg1
) (arg1
)->m_image
= arg2
;
27436 resultobj
= SWIG_Py_Void();
27443 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27444 PyObject
*resultobj
= 0;
27445 wxListItem
*arg1
= (wxListItem
*) 0 ;
27449 PyObject
*swig_obj
[1] ;
27451 if (!args
) SWIG_fail
;
27452 swig_obj
[0] = args
;
27453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27454 if (!SWIG_IsOK(res1
)) {
27455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27457 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27458 result
= (int) ((arg1
)->m_image
);
27459 resultobj
= SWIG_From_int(static_cast< int >(result
));
27466 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27467 PyObject
*resultobj
= 0;
27468 wxListItem
*arg1
= (wxListItem
*) 0 ;
27474 PyObject
*swig_obj
[2] ;
27476 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27481 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27482 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27483 if (!SWIG_IsOK(ecode2
)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27486 arg2
= static_cast< long >(val2
);
27487 if (arg1
) (arg1
)->m_data
= arg2
;
27489 resultobj
= SWIG_Py_Void();
27496 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27497 PyObject
*resultobj
= 0;
27498 wxListItem
*arg1
= (wxListItem
*) 0 ;
27502 PyObject
*swig_obj
[1] ;
27504 if (!args
) SWIG_fail
;
27505 swig_obj
[0] = args
;
27506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27507 if (!SWIG_IsOK(res1
)) {
27508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27510 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27511 result
= (long) ((arg1
)->m_data
);
27512 resultobj
= SWIG_From_long(static_cast< long >(result
));
27519 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27520 PyObject
*resultobj
= 0;
27521 wxListItem
*arg1
= (wxListItem
*) 0 ;
27527 PyObject
*swig_obj
[2] ;
27529 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27531 if (!SWIG_IsOK(res1
)) {
27532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27534 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27535 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27536 if (!SWIG_IsOK(ecode2
)) {
27537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27539 arg2
= static_cast< int >(val2
);
27540 if (arg1
) (arg1
)->m_format
= arg2
;
27542 resultobj
= SWIG_Py_Void();
27549 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27550 PyObject
*resultobj
= 0;
27551 wxListItem
*arg1
= (wxListItem
*) 0 ;
27555 PyObject
*swig_obj
[1] ;
27557 if (!args
) SWIG_fail
;
27558 swig_obj
[0] = args
;
27559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27560 if (!SWIG_IsOK(res1
)) {
27561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27563 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27564 result
= (int) ((arg1
)->m_format
);
27565 resultobj
= SWIG_From_int(static_cast< int >(result
));
27572 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27573 PyObject
*resultobj
= 0;
27574 wxListItem
*arg1
= (wxListItem
*) 0 ;
27580 PyObject
*swig_obj
[2] ;
27582 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27587 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27588 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27589 if (!SWIG_IsOK(ecode2
)) {
27590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27592 arg2
= static_cast< int >(val2
);
27593 if (arg1
) (arg1
)->m_width
= arg2
;
27595 resultobj
= SWIG_Py_Void();
27602 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27603 PyObject
*resultobj
= 0;
27604 wxListItem
*arg1
= (wxListItem
*) 0 ;
27608 PyObject
*swig_obj
[1] ;
27610 if (!args
) SWIG_fail
;
27611 swig_obj
[0] = args
;
27612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27616 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27617 result
= (int) ((arg1
)->m_width
);
27618 resultobj
= SWIG_From_int(static_cast< int >(result
));
27625 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27628 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27629 return SWIG_Py_Void();
27632 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27633 return SWIG_Python_InitShadowInstance(args
);
27636 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
= 0;
27638 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27639 int arg2
= (int) 0 ;
27640 wxListEvent
*result
= 0 ;
27645 PyObject
* obj0
= 0 ;
27646 PyObject
* obj1
= 0 ;
27647 char * kwnames
[] = {
27648 (char *) "commandType",(char *) "id", NULL
27651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27653 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27654 if (!SWIG_IsOK(ecode1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27657 arg1
= static_cast< wxEventType
>(val1
);
27660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27661 if (!SWIG_IsOK(ecode2
)) {
27662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27664 arg2
= static_cast< int >(val2
);
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27679 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27680 PyObject
*resultobj
= 0;
27681 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27687 PyObject
*swig_obj
[2] ;
27689 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27691 if (!SWIG_IsOK(res1
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27694 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27695 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27696 if (!SWIG_IsOK(ecode2
)) {
27697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27699 arg2
= static_cast< int >(val2
);
27700 if (arg1
) (arg1
)->m_code
= arg2
;
27702 resultobj
= SWIG_Py_Void();
27709 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27710 PyObject
*resultobj
= 0;
27711 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27715 PyObject
*swig_obj
[1] ;
27717 if (!args
) SWIG_fail
;
27718 swig_obj
[0] = args
;
27719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27723 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27724 result
= (int) ((arg1
)->m_code
);
27725 resultobj
= SWIG_From_int(static_cast< int >(result
));
27732 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27733 PyObject
*resultobj
= 0;
27734 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27740 PyObject
*swig_obj
[2] ;
27742 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27744 if (!SWIG_IsOK(res1
)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27747 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27748 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27749 if (!SWIG_IsOK(ecode2
)) {
27750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27752 arg2
= static_cast< long >(val2
);
27753 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27755 resultobj
= SWIG_Py_Void();
27762 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27763 PyObject
*resultobj
= 0;
27764 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27768 PyObject
*swig_obj
[1] ;
27770 if (!args
) SWIG_fail
;
27771 swig_obj
[0] = args
;
27772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27773 if (!SWIG_IsOK(res1
)) {
27774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27776 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27777 result
= (long) ((arg1
)->m_oldItemIndex
);
27778 resultobj
= SWIG_From_long(static_cast< long >(result
));
27785 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 PyObject
*resultobj
= 0;
27787 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27793 PyObject
*swig_obj
[2] ;
27795 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27797 if (!SWIG_IsOK(res1
)) {
27798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27800 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27801 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27802 if (!SWIG_IsOK(ecode2
)) {
27803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27805 arg2
= static_cast< long >(val2
);
27806 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27808 resultobj
= SWIG_Py_Void();
27815 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27816 PyObject
*resultobj
= 0;
27817 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27821 PyObject
*swig_obj
[1] ;
27823 if (!args
) SWIG_fail
;
27824 swig_obj
[0] = args
;
27825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27826 if (!SWIG_IsOK(res1
)) {
27827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27829 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27830 result
= (long) ((arg1
)->m_itemIndex
);
27831 resultobj
= SWIG_From_long(static_cast< long >(result
));
27838 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27839 PyObject
*resultobj
= 0;
27840 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27846 PyObject
*swig_obj
[2] ;
27848 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27853 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27854 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27855 if (!SWIG_IsOK(ecode2
)) {
27856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27858 arg2
= static_cast< int >(val2
);
27859 if (arg1
) (arg1
)->m_col
= arg2
;
27861 resultobj
= SWIG_Py_Void();
27868 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27869 PyObject
*resultobj
= 0;
27870 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27874 PyObject
*swig_obj
[1] ;
27876 if (!args
) SWIG_fail
;
27877 swig_obj
[0] = args
;
27878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27879 if (!SWIG_IsOK(res1
)) {
27880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27882 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27883 result
= (int) ((arg1
)->m_col
);
27884 resultobj
= SWIG_From_int(static_cast< int >(result
));
27891 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27892 PyObject
*resultobj
= 0;
27893 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27894 wxPoint
*arg2
= (wxPoint
*) 0 ;
27899 PyObject
*swig_obj
[2] ;
27901 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27903 if (!SWIG_IsOK(res1
)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27906 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27907 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27908 if (!SWIG_IsOK(res2
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27911 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27912 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27914 resultobj
= SWIG_Py_Void();
27921 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27922 PyObject
*resultobj
= 0;
27923 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27924 wxPoint
*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_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27935 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27936 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27944 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27945 PyObject
*resultobj
= 0;
27946 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27947 wxListItem
*result
= 0 ;
27950 PyObject
*swig_obj
[1] ;
27952 if (!args
) SWIG_fail
;
27953 swig_obj
[0] = args
;
27954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27955 if (!SWIG_IsOK(res1
)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27958 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27959 result
= (wxListItem
*)& ((arg1
)->m_item
);
27961 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27969 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27970 PyObject
*resultobj
= 0;
27971 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27975 PyObject
*swig_obj
[1] ;
27977 if (!args
) SWIG_fail
;
27978 swig_obj
[0] = args
;
27979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27980 if (!SWIG_IsOK(res1
)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27983 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 result
= (int)(arg1
)->GetKeyCode();
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= SWIG_From_int(static_cast< int >(result
));
27997 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27998 PyObject
*resultobj
= 0;
27999 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28003 PyObject
*swig_obj
[1] ;
28005 if (!args
) SWIG_fail
;
28006 swig_obj
[0] = args
;
28007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28008 if (!SWIG_IsOK(res1
)) {
28009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28011 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 result
= (long)(arg1
)->GetIndex();
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= SWIG_From_long(static_cast< long >(result
));
28025 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28026 PyObject
*resultobj
= 0;
28027 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28031 PyObject
*swig_obj
[1] ;
28033 if (!args
) SWIG_fail
;
28034 swig_obj
[0] = args
;
28035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28036 if (!SWIG_IsOK(res1
)) {
28037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28039 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 result
= (int)(arg1
)->GetColumn();
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= SWIG_From_int(static_cast< int >(result
));
28053 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28054 PyObject
*resultobj
= 0;
28055 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28059 PyObject
*swig_obj
[1] ;
28061 if (!args
) SWIG_fail
;
28062 swig_obj
[0] = args
;
28063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28067 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= (arg1
)->GetPoint();
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28081 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28082 PyObject
*resultobj
= 0;
28083 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28084 wxString
*result
= 0 ;
28087 PyObject
*swig_obj
[1] ;
28089 if (!args
) SWIG_fail
;
28090 swig_obj
[0] = args
;
28091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28092 if (!SWIG_IsOK(res1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28095 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 wxString
const &_result_ref
= (arg1
)->GetLabel();
28100 result
= (wxString
*) &_result_ref
;
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28118 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28119 PyObject
*resultobj
= 0;
28120 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28121 wxString
*result
= 0 ;
28124 PyObject
*swig_obj
[1] ;
28126 if (!args
) SWIG_fail
;
28127 swig_obj
[0] = args
;
28128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28132 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28136 wxString
const &_result_ref
= (arg1
)->GetText();
28137 result
= (wxString
*) &_result_ref
;
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28146 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28155 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28156 PyObject
*resultobj
= 0;
28157 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28161 PyObject
*swig_obj
[1] ;
28163 if (!args
) SWIG_fail
;
28164 swig_obj
[0] = args
;
28165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28166 if (!SWIG_IsOK(res1
)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28169 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 result
= (int)(arg1
)->GetImage();
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= SWIG_From_int(static_cast< int >(result
));
28183 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28184 PyObject
*resultobj
= 0;
28185 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28189 PyObject
*swig_obj
[1] ;
28191 if (!args
) SWIG_fail
;
28192 swig_obj
[0] = args
;
28193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28194 if (!SWIG_IsOK(res1
)) {
28195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28197 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (long)(arg1
)->GetData();
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= SWIG_From_long(static_cast< long >(result
));
28211 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28212 PyObject
*resultobj
= 0;
28213 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28217 PyObject
*swig_obj
[1] ;
28219 if (!args
) SWIG_fail
;
28220 swig_obj
[0] = args
;
28221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28222 if (!SWIG_IsOK(res1
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28225 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 result
= (long)(arg1
)->GetMask();
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_From_long(static_cast< long >(result
));
28239 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28240 PyObject
*resultobj
= 0;
28241 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28242 wxListItem
*result
= 0 ;
28245 PyObject
*swig_obj
[1] ;
28247 if (!args
) SWIG_fail
;
28248 swig_obj
[0] = args
;
28249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28253 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28258 result
= (wxListItem
*) &_result_ref
;
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28270 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28271 PyObject
*resultobj
= 0;
28272 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28276 PyObject
*swig_obj
[1] ;
28278 if (!args
) SWIG_fail
;
28279 swig_obj
[0] = args
;
28280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28284 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 result
= (long)(arg1
)->GetCacheFrom();
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 resultobj
= SWIG_From_long(static_cast< long >(result
));
28298 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28299 PyObject
*resultobj
= 0;
28300 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28304 PyObject
*swig_obj
[1] ;
28306 if (!args
) SWIG_fail
;
28307 swig_obj
[0] = args
;
28308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28309 if (!SWIG_IsOK(res1
)) {
28310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28312 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= (long)(arg1
)->GetCacheTo();
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_From_long(static_cast< long >(result
));
28326 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28327 PyObject
*resultobj
= 0;
28328 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28332 PyObject
*swig_obj
[1] ;
28334 if (!args
) SWIG_fail
;
28335 swig_obj
[0] = args
;
28336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28337 if (!SWIG_IsOK(res1
)) {
28338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28340 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28343 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28356 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
= 0;
28358 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28364 PyObject
* obj0
= 0 ;
28365 PyObject
* obj1
= 0 ;
28366 char * kwnames
[] = {
28367 (char *) "self",(char *) "editCancelled", NULL
28370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28372 if (!SWIG_IsOK(res1
)) {
28373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28375 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28376 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28377 if (!SWIG_IsOK(ecode2
)) {
28378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28380 arg2
= static_cast< bool >(val2
);
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 (arg1
)->SetEditCanceled(arg2
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_Py_Void();
28394 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28397 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28398 return SWIG_Py_Void();
28401 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28402 return SWIG_Python_InitShadowInstance(args
);
28405 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
= 0;
28407 wxWindow
*arg1
= (wxWindow
*) 0 ;
28408 int arg2
= (int) -1 ;
28409 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28410 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28411 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28412 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28413 long arg5
= (long) wxLC_ICON
;
28414 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28415 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28416 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28418 wxPyListCtrl
*result
= 0 ;
28429 bool temp7
= false ;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 PyObject
* obj2
= 0 ;
28433 PyObject
* obj3
= 0 ;
28434 PyObject
* obj4
= 0 ;
28435 PyObject
* obj5
= 0 ;
28436 PyObject
* obj6
= 0 ;
28437 char * kwnames
[] = {
28438 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28443 if (!SWIG_IsOK(res1
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28449 if (!SWIG_IsOK(ecode2
)) {
28450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28452 arg2
= static_cast< int >(val2
);
28457 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28463 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28467 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28468 if (!SWIG_IsOK(ecode5
)) {
28469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28471 arg5
= static_cast< long >(val5
);
28474 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28475 if (!SWIG_IsOK(res6
)) {
28476 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28481 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28485 arg7
= wxString_in_helper(obj6
);
28486 if (arg7
== NULL
) SWIG_fail
;
28491 if (!wxPyCheckForApp()) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28512 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28513 PyObject
*resultobj
= 0;
28514 wxPyListCtrl
*result
= 0 ;
28516 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28518 if (!wxPyCheckForApp()) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28531 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
= 0;
28533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28534 wxWindow
*arg2
= (wxWindow
*) 0 ;
28535 int arg3
= (int) -1 ;
28536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28540 long arg6
= (long) wxLC_ICON
;
28541 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28542 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28543 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28544 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28558 bool temp8
= false ;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 PyObject
* obj2
= 0 ;
28562 PyObject
* obj3
= 0 ;
28563 PyObject
* obj4
= 0 ;
28564 PyObject
* obj5
= 0 ;
28565 PyObject
* obj6
= 0 ;
28566 PyObject
* obj7
= 0 ;
28567 char * kwnames
[] = {
28568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28573 if (!SWIG_IsOK(res1
)) {
28574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28576 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28578 if (!SWIG_IsOK(res2
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28581 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28584 if (!SWIG_IsOK(ecode3
)) {
28585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28587 arg3
= static_cast< int >(val3
);
28592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28602 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28603 if (!SWIG_IsOK(ecode6
)) {
28604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28606 arg6
= static_cast< long >(val6
);
28609 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28610 if (!SWIG_IsOK(res7
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28616 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28620 arg8
= wxString_in_helper(obj7
);
28621 if (arg8
== NULL
) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28648 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
= 0;
28650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28651 PyObject
*arg2
= (PyObject
*) 0 ;
28652 PyObject
*arg3
= (PyObject
*) 0 ;
28655 PyObject
* obj0
= 0 ;
28656 PyObject
* obj1
= 0 ;
28657 PyObject
* obj2
= 0 ;
28658 char * kwnames
[] = {
28659 (char *) "self",(char *) "self",(char *) "_class", NULL
28662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28673 wxPyEndAllowThreads(__tstate
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= SWIG_Py_Void();
28683 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28684 PyObject
*resultobj
= 0;
28685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28687 wxListItem
*result
= 0 ;
28692 PyObject
* obj0
= 0 ;
28693 PyObject
* obj1
= 0 ;
28694 char * kwnames
[] = {
28695 (char *) "self",(char *) "col", NULL
28698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28700 if (!SWIG_IsOK(res1
)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28703 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28705 if (!SWIG_IsOK(ecode2
)) {
28706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28708 arg2
= static_cast< int >(val2
);
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28724 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
= 0;
28726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28728 wxListItem
*arg3
= 0 ;
28736 PyObject
* obj0
= 0 ;
28737 PyObject
* obj1
= 0 ;
28738 PyObject
* obj2
= 0 ;
28739 char * kwnames
[] = {
28740 (char *) "self",(char *) "col",(char *) "item", NULL
28743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28745 if (!SWIG_IsOK(res1
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28748 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28750 if (!SWIG_IsOK(ecode2
)) {
28751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28753 arg2
= static_cast< int >(val2
);
28754 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28755 if (!SWIG_IsOK(res3
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28761 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28777 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
= 0;
28779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 char * kwnames
[] = {
28789 (char *) "self",(char *) "col", NULL
28792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28794 if (!SWIG_IsOK(res1
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28797 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28799 if (!SWIG_IsOK(ecode2
)) {
28800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28802 arg2
= static_cast< int >(val2
);
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_From_int(static_cast< int >(result
));
28816 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
= 0;
28818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28828 PyObject
* obj0
= 0 ;
28829 PyObject
* obj1
= 0 ;
28830 PyObject
* obj2
= 0 ;
28831 char * kwnames
[] = {
28832 (char *) "self",(char *) "col",(char *) "width", NULL
28835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28837 if (!SWIG_IsOK(res1
)) {
28838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28840 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28842 if (!SWIG_IsOK(ecode2
)) {
28843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28845 arg2
= static_cast< int >(val2
);
28846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28847 if (!SWIG_IsOK(ecode3
)) {
28848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28850 arg3
= static_cast< int >(val3
);
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28866 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28867 PyObject
*resultobj
= 0;
28868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28872 PyObject
*swig_obj
[1] ;
28874 if (!args
) SWIG_fail
;
28875 swig_obj
[0] = args
;
28876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28877 if (!SWIG_IsOK(res1
)) {
28878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28880 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 resultobj
= SWIG_From_int(static_cast< int >(result
));
28894 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28895 PyObject
*resultobj
= 0;
28896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28900 PyObject
*swig_obj
[1] ;
28902 if (!args
) SWIG_fail
;
28903 swig_obj
[0] = args
;
28904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28908 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28922 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28923 PyObject
*resultobj
= 0;
28924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28925 wxTextCtrl
*result
= 0 ;
28928 PyObject
*swig_obj
[1] ;
28930 if (!args
) SWIG_fail
;
28931 swig_obj
[0] = args
;
28932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28933 if (!SWIG_IsOK(res1
)) {
28934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28936 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28944 resultobj
= wxPyMake_wxObject(result
, 0);
28952 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
= 0;
28954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28956 int arg3
= (int) 0 ;
28957 wxListItem
*result
= 0 ;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 PyObject
* obj2
= 0 ;
28967 char * kwnames
[] = {
28968 (char *) "self",(char *) "itemId",(char *) "col", NULL
28971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28976 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28977 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28978 if (!SWIG_IsOK(ecode2
)) {
28979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28981 arg2
= static_cast< long >(val2
);
28983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28984 if (!SWIG_IsOK(ecode3
)) {
28985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28987 arg3
= static_cast< int >(val3
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29004 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
= 0;
29006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29007 wxListItem
*arg2
= 0 ;
29013 PyObject
* obj0
= 0 ;
29014 PyObject
* obj1
= 0 ;
29015 char * kwnames
[] = {
29016 (char *) "self",(char *) "info", NULL
29019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29021 if (!SWIG_IsOK(res1
)) {
29022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29024 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29026 if (!SWIG_IsOK(res2
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29032 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 result
= (bool)(arg1
)->SetItem(*arg2
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29048 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
= 0;
29050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29053 wxString
*arg4
= 0 ;
29054 int arg5
= (int) -1 ;
29062 bool temp4
= false ;
29065 PyObject
* obj0
= 0 ;
29066 PyObject
* obj1
= 0 ;
29067 PyObject
* obj2
= 0 ;
29068 PyObject
* obj3
= 0 ;
29069 PyObject
* obj4
= 0 ;
29070 char * kwnames
[] = {
29071 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29076 if (!SWIG_IsOK(res1
)) {
29077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29079 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29080 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29081 if (!SWIG_IsOK(ecode2
)) {
29082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29084 arg2
= static_cast< long >(val2
);
29085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29086 if (!SWIG_IsOK(ecode3
)) {
29087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29089 arg3
= static_cast< int >(val3
);
29091 arg4
= wxString_in_helper(obj3
);
29092 if (arg4
== NULL
) SWIG_fail
;
29096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29097 if (!SWIG_IsOK(ecode5
)) {
29098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29100 arg5
= static_cast< int >(val5
);
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= SWIG_From_long(static_cast< long >(result
));
29123 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
= 0;
29125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 PyObject
* obj2
= 0 ;
29138 char * kwnames
[] = {
29139 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29144 if (!SWIG_IsOK(res1
)) {
29145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29147 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29148 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29149 if (!SWIG_IsOK(ecode2
)) {
29150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29152 arg2
= static_cast< long >(val2
);
29153 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29154 if (!SWIG_IsOK(ecode3
)) {
29155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29157 arg3
= static_cast< long >(val3
);
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 resultobj
= SWIG_From_int(static_cast< int >(result
));
29171 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29172 PyObject
*resultobj
= 0;
29173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29186 PyObject
* obj0
= 0 ;
29187 PyObject
* obj1
= 0 ;
29188 PyObject
* obj2
= 0 ;
29189 PyObject
* obj3
= 0 ;
29190 char * kwnames
[] = {
29191 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29199 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29200 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29201 if (!SWIG_IsOK(ecode2
)) {
29202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29204 arg2
= static_cast< long >(val2
);
29205 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29206 if (!SWIG_IsOK(ecode3
)) {
29207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29209 arg3
= static_cast< long >(val3
);
29210 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29211 if (!SWIG_IsOK(ecode4
)) {
29212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29214 arg4
= static_cast< long >(val4
);
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29230 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
= 0;
29232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29235 int arg4
= (int) -1 ;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 PyObject
* obj2
= 0 ;
29248 PyObject
* obj3
= 0 ;
29249 char * kwnames
[] = {
29250 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29255 if (!SWIG_IsOK(res1
)) {
29256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29258 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29259 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29260 if (!SWIG_IsOK(ecode2
)) {
29261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29263 arg2
= static_cast< long >(val2
);
29264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29265 if (!SWIG_IsOK(ecode3
)) {
29266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29268 arg3
= static_cast< int >(val3
);
29270 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29271 if (!SWIG_IsOK(ecode4
)) {
29272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29274 arg4
= static_cast< int >(val4
);
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29291 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29292 PyObject
*resultobj
= 0;
29293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 PyObject
* obj2
= 0 ;
29309 PyObject
* obj3
= 0 ;
29310 char * kwnames
[] = {
29311 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29316 if (!SWIG_IsOK(res1
)) {
29317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29319 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29320 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29321 if (!SWIG_IsOK(ecode2
)) {
29322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29324 arg2
= static_cast< long >(val2
);
29325 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29326 if (!SWIG_IsOK(ecode3
)) {
29327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29329 arg3
= static_cast< long >(val3
);
29330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29331 if (!SWIG_IsOK(ecode4
)) {
29332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29334 arg4
= static_cast< int >(val4
);
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29350 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
= 0;
29352 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 char * kwnames
[] = {
29362 (char *) "self",(char *) "item", NULL
29365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29367 if (!SWIG_IsOK(res1
)) {
29368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29370 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29371 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29372 if (!SWIG_IsOK(ecode2
)) {
29373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29375 arg2
= static_cast< long >(val2
);
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29395 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29396 PyObject
*resultobj
= 0;
29397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29399 wxString
*arg3
= 0 ;
29404 bool temp3
= false ;
29405 PyObject
* obj0
= 0 ;
29406 PyObject
* obj1
= 0 ;
29407 PyObject
* obj2
= 0 ;
29408 char * kwnames
[] = {
29409 (char *) "self",(char *) "item",(char *) "str", NULL
29412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29414 if (!SWIG_IsOK(res1
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29417 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29418 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29419 if (!SWIG_IsOK(ecode2
)) {
29420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29422 arg2
= static_cast< long >(val2
);
29424 arg3
= wxString_in_helper(obj2
);
29425 if (arg3
== NULL
) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= SWIG_Py_Void();
29449 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29450 PyObject
*resultobj
= 0;
29451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29458 PyObject
* obj0
= 0 ;
29459 PyObject
* obj1
= 0 ;
29460 char * kwnames
[] = {
29461 (char *) "self",(char *) "item", NULL
29464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29466 if (!SWIG_IsOK(res1
)) {
29467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29469 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29470 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29471 if (!SWIG_IsOK(ecode2
)) {
29472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29474 arg2
= static_cast< long >(val2
);
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29478 wxPyEndAllowThreads(__tstate
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29481 resultobj
= SWIG_From_long(static_cast< long >(result
));
29488 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29489 PyObject
*resultobj
= 0;
29490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 PyObject
* obj2
= 0 ;
29503 char * kwnames
[] = {
29504 (char *) "self",(char *) "item",(char *) "data", NULL
29507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29509 if (!SWIG_IsOK(res1
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29512 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29513 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29514 if (!SWIG_IsOK(ecode2
)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29517 arg2
= static_cast< long >(val2
);
29518 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29519 if (!SWIG_IsOK(ecode3
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29522 arg3
= static_cast< long >(val3
);
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29538 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
= 0;
29540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 char * kwnames
[] = {
29550 (char *) "self",(char *) "item", NULL
29553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29555 if (!SWIG_IsOK(res1
)) {
29556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29558 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29559 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29560 if (!SWIG_IsOK(ecode2
)) {
29561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29563 arg2
= static_cast< long >(val2
);
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29577 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
= 0;
29579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29581 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 PyObject
* obj2
= 0 ;
29592 char * kwnames
[] = {
29593 (char *) "self",(char *) "item",(char *) "code", NULL
29596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29598 if (!SWIG_IsOK(res1
)) {
29599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29601 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29602 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29603 if (!SWIG_IsOK(ecode2
)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29606 arg2
= static_cast< long >(val2
);
29608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29609 if (!SWIG_IsOK(ecode3
)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29612 arg3
= static_cast< int >(val3
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29627 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
= 0;
29629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29631 wxPoint
*arg3
= 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 PyObject
* obj2
= 0 ;
29641 char * kwnames
[] = {
29642 (char *) "self",(char *) "item",(char *) "pos", NULL
29645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29647 if (!SWIG_IsOK(res1
)) {
29648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29650 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29651 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29652 if (!SWIG_IsOK(ecode2
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29655 arg2
= static_cast< long >(val2
);
29658 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29675 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29676 PyObject
*resultobj
= 0;
29677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29681 PyObject
*swig_obj
[1] ;
29683 if (!args
) SWIG_fail
;
29684 swig_obj
[0] = args
;
29685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29686 if (!SWIG_IsOK(res1
)) {
29687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29689 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= SWIG_From_int(static_cast< int >(result
));
29703 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(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_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29717 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= SWIG_From_int(static_cast< int >(result
));
29731 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29732 PyObject
*resultobj
= 0;
29733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29737 PyObject
*swig_obj
[1] ;
29739 if (!args
) SWIG_fail
;
29740 swig_obj
[0] = args
;
29741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29742 if (!SWIG_IsOK(res1
)) {
29743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29745 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29759 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
= 0;
29761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29763 bool arg3
= (bool) false ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 PyObject
* obj2
= 0 ;
29773 char * kwnames
[] = {
29774 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29779 if (!SWIG_IsOK(res1
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29782 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29784 if (!SWIG_IsOK(ecode2
)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29787 arg2
= static_cast< int >(val2
);
29789 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29790 if (!SWIG_IsOK(ecode3
)) {
29791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29793 arg3
= static_cast< bool >(val3
);
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 (arg1
)->SetItemSpacing(arg2
,arg3
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 resultobj
= SWIG_Py_Void();
29808 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29809 PyObject
*resultobj
= 0;
29810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29814 PyObject
*swig_obj
[1] ;
29816 if (!args
) SWIG_fail
;
29817 swig_obj
[0] = args
;
29818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29819 if (!SWIG_IsOK(res1
)) {
29820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29822 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29825 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= SWIG_From_int(static_cast< int >(result
));
29836 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29837 PyObject
*resultobj
= 0;
29838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29842 PyObject
*swig_obj
[1] ;
29844 if (!args
) SWIG_fail
;
29845 swig_obj
[0] = args
;
29846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29847 if (!SWIG_IsOK(res1
)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29864 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
= 0;
29866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29867 wxColour
*arg2
= 0 ;
29871 PyObject
* obj0
= 0 ;
29872 PyObject
* obj1
= 0 ;
29873 char * kwnames
[] = {
29874 (char *) "self",(char *) "col", NULL
29877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29879 if (!SWIG_IsOK(res1
)) {
29880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29882 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= SWIG_Py_Void();
29900 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29901 PyObject
*resultobj
= 0;
29902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29906 PyObject
*swig_obj
[1] ;
29908 if (!args
) SWIG_fail
;
29909 swig_obj
[0] = args
;
29910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29911 if (!SWIG_IsOK(res1
)) {
29912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29914 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= SWIG_From_long(static_cast< long >(result
));
29928 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
= 0;
29930 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29932 bool arg3
= (bool) true ;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 PyObject
* obj2
= 0 ;
29942 char * kwnames
[] = {
29943 (char *) "self",(char *) "style",(char *) "add", NULL
29946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",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_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29951 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29952 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29953 if (!SWIG_IsOK(ecode2
)) {
29954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29956 arg2
= static_cast< long >(val2
);
29958 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29959 if (!SWIG_IsOK(ecode3
)) {
29960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29962 arg3
= static_cast< bool >(val3
);
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 (arg1
)->SetSingleStyle(arg2
,arg3
);
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= SWIG_Py_Void();
29977 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29978 PyObject
*resultobj
= 0;
29979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29981 int arg3
= (int) wxLIST_NEXT_ALL
;
29982 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 PyObject
* obj2
= 0 ;
29995 PyObject
* obj3
= 0 ;
29996 char * kwnames
[] = {
29997 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30002 if (!SWIG_IsOK(res1
)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30005 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30006 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30007 if (!SWIG_IsOK(ecode2
)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30010 arg2
= static_cast< long >(val2
);
30012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30013 if (!SWIG_IsOK(ecode3
)) {
30014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30016 arg3
= static_cast< int >(val3
);
30019 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30020 if (!SWIG_IsOK(ecode4
)) {
30021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30023 arg4
= static_cast< int >(val4
);
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30028 wxPyEndAllowThreads(__tstate
);
30029 if (PyErr_Occurred()) SWIG_fail
;
30031 resultobj
= SWIG_From_long(static_cast< long >(result
));
30038 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30039 PyObject
*resultobj
= 0;
30040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30042 wxImageList
*result
= 0 ;
30047 PyObject
* obj0
= 0 ;
30048 PyObject
* obj1
= 0 ;
30049 char * kwnames
[] = {
30050 (char *) "self",(char *) "which", NULL
30053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30055 if (!SWIG_IsOK(res1
)) {
30056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30058 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30060 if (!SWIG_IsOK(ecode2
)) {
30061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30063 arg2
= static_cast< int >(val2
);
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30071 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30079 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
= 0;
30081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30082 wxImageList
*arg2
= (wxImageList
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 PyObject
* obj2
= 0 ;
30093 char * kwnames
[] = {
30094 (char *) "self",(char *) "imageList",(char *) "which", NULL
30097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30099 if (!SWIG_IsOK(res1
)) {
30100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30102 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30104 if (!SWIG_IsOK(res2
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30107 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30109 if (!SWIG_IsOK(ecode3
)) {
30110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30112 arg3
= static_cast< int >(val3
);
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 (arg1
)->SetImageList(arg2
,arg3
);
30116 wxPyEndAllowThreads(__tstate
);
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_Py_Void();
30126 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30127 PyObject
*resultobj
= 0;
30128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30129 wxImageList
*arg2
= (wxImageList
*) 0 ;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 PyObject
* obj2
= 0 ;
30139 char * kwnames
[] = {
30140 (char *) "self",(char *) "imageList",(char *) "which", NULL
30143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30145 if (!SWIG_IsOK(res1
)) {
30146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30148 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30149 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30150 if (!SWIG_IsOK(res2
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30154 if (!SWIG_IsOK(ecode3
)) {
30155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30157 arg3
= static_cast< int >(val3
);
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 (arg1
)->AssignImageList(arg2
,arg3
);
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= SWIG_Py_Void();
30171 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30177 PyObject
*swig_obj
[1] ;
30179 if (!args
) SWIG_fail
;
30180 swig_obj
[0] = args
;
30181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30182 if (!SWIG_IsOK(res1
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30185 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30201 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30202 PyObject
*resultobj
= 0;
30203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30207 PyObject
*swig_obj
[1] ;
30209 if (!args
) SWIG_fail
;
30210 swig_obj
[0] = args
;
30211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30212 if (!SWIG_IsOK(res1
)) {
30213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30218 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30231 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
= 0;
30233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 char * kwnames
[] = {
30242 (char *) "self",(char *) "item", NULL
30245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30247 if (!SWIG_IsOK(res1
)) {
30248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30250 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30251 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30252 if (!SWIG_IsOK(ecode2
)) {
30253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30255 arg2
= static_cast< long >(val2
);
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 (arg1
)->RefreshItem(arg2
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_Py_Void();
30269 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
= 0;
30271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30280 PyObject
* obj0
= 0 ;
30281 PyObject
* obj1
= 0 ;
30282 PyObject
* obj2
= 0 ;
30283 char * kwnames
[] = {
30284 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30289 if (!SWIG_IsOK(res1
)) {
30290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30292 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30293 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30294 if (!SWIG_IsOK(ecode2
)) {
30295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30297 arg2
= static_cast< long >(val2
);
30298 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30299 if (!SWIG_IsOK(ecode3
)) {
30300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30302 arg3
= static_cast< long >(val3
);
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 (arg1
)->RefreshItems(arg2
,arg3
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 resultobj
= SWIG_Py_Void();
30316 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
= 0;
30318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30319 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30325 PyObject
* obj0
= 0 ;
30326 PyObject
* obj1
= 0 ;
30327 char * kwnames
[] = {
30328 (char *) "self",(char *) "flag", NULL
30331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30333 if (!SWIG_IsOK(res1
)) {
30334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30336 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30339 if (!SWIG_IsOK(ecode2
)) {
30340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30342 arg2
= static_cast< int >(val2
);
30345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30346 result
= (bool)(arg1
)->Arrange(arg2
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30359 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30360 PyObject
*resultobj
= 0;
30361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 char * kwnames
[] = {
30371 (char *) "self",(char *) "item", NULL
30374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30376 if (!SWIG_IsOK(res1
)) {
30377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30379 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30380 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30381 if (!SWIG_IsOK(ecode2
)) {
30382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30384 arg2
= static_cast< long >(val2
);
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 result
= (bool)(arg1
)->DeleteItem(arg2
);
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30400 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30401 PyObject
*resultobj
= 0;
30402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30406 PyObject
*swig_obj
[1] ;
30408 if (!args
) SWIG_fail
;
30409 swig_obj
[0] = args
;
30410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30411 if (!SWIG_IsOK(res1
)) {
30412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30414 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 result
= (bool)(arg1
)->DeleteAllItems();
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30430 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
= 0;
30432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 char * kwnames
[] = {
30442 (char *) "self",(char *) "col", NULL
30445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30447 if (!SWIG_IsOK(res1
)) {
30448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30450 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30452 if (!SWIG_IsOK(ecode2
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30455 arg2
= static_cast< int >(val2
);
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30471 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30472 PyObject
*resultobj
= 0;
30473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30477 PyObject
*swig_obj
[1] ;
30479 if (!args
) SWIG_fail
;
30480 swig_obj
[0] = args
;
30481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30482 if (!SWIG_IsOK(res1
)) {
30483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30485 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 result
= (bool)(arg1
)->DeleteAllColumns();
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30501 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30502 PyObject
*resultobj
= 0;
30503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30506 PyObject
*swig_obj
[1] ;
30508 if (!args
) SWIG_fail
;
30509 swig_obj
[0] = args
;
30510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30514 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 (arg1
)->ClearAll();
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_Py_Void();
30528 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= 0;
30530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30536 PyObject
* obj0
= 0 ;
30537 PyObject
* obj1
= 0 ;
30538 char * kwnames
[] = {
30539 (char *) "self",(char *) "item", NULL
30542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30544 if (!SWIG_IsOK(res1
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30547 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30548 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30549 if (!SWIG_IsOK(ecode2
)) {
30550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30552 arg2
= static_cast< long >(val2
);
30554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30555 (arg1
)->EditLabel(arg2
);
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30559 resultobj
= SWIG_Py_Void();
30566 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30567 PyObject
*resultobj
= 0;
30568 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30575 PyObject
* obj0
= 0 ;
30576 PyObject
* obj1
= 0 ;
30577 char * kwnames
[] = {
30578 (char *) "self",(char *) "item", NULL
30581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30583 if (!SWIG_IsOK(res1
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30586 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30587 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30588 if (!SWIG_IsOK(ecode2
)) {
30589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30591 arg2
= static_cast< long >(val2
);
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30607 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
= 0;
30609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30611 wxString
*arg3
= 0 ;
30612 bool arg4
= (bool) false ;
30618 bool temp3
= false ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 PyObject
* obj2
= 0 ;
30624 PyObject
* obj3
= 0 ;
30625 char * kwnames
[] = {
30626 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30634 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30635 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30636 if (!SWIG_IsOK(ecode2
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30639 arg2
= static_cast< long >(val2
);
30641 arg3
= wxString_in_helper(obj2
);
30642 if (arg3
== NULL
) SWIG_fail
;
30646 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30647 if (!SWIG_IsOK(ecode4
)) {
30648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30650 arg4
= static_cast< bool >(val4
);
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30655 wxPyEndAllowThreads(__tstate
);
30656 if (PyErr_Occurred()) SWIG_fail
;
30658 resultobj
= SWIG_From_long(static_cast< long >(result
));
30673 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30674 PyObject
*resultobj
= 0;
30675 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 PyObject
* obj2
= 0 ;
30688 char * kwnames
[] = {
30689 (char *) "self",(char *) "start",(char *) "data", NULL
30692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30697 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30698 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30699 if (!SWIG_IsOK(ecode2
)) {
30700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30702 arg2
= static_cast< long >(val2
);
30703 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30704 if (!SWIG_IsOK(ecode3
)) {
30705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30707 arg3
= static_cast< long >(val3
);
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30711 wxPyEndAllowThreads(__tstate
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= SWIG_From_long(static_cast< long >(result
));
30721 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30722 PyObject
*resultobj
= 0;
30723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30725 wxPoint
*arg3
= 0 ;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 PyObject
* obj2
= 0 ;
30738 PyObject
* obj3
= 0 ;
30739 char * kwnames
[] = {
30740 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30745 if (!SWIG_IsOK(res1
)) {
30746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30748 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30749 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30750 if (!SWIG_IsOK(ecode2
)) {
30751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30753 arg2
= static_cast< long >(val2
);
30756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30758 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30759 if (!SWIG_IsOK(ecode4
)) {
30760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30762 arg4
= static_cast< int >(val4
);
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= SWIG_From_long(static_cast< long >(result
));
30776 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
= 0;
30778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30779 wxPoint
*arg2
= 0 ;
30786 int res3
= SWIG_TMPOBJ
;
30787 PyObject
* obj0
= 0 ;
30788 PyObject
* obj1
= 0 ;
30789 char * kwnames
[] = {
30790 (char *) "self",(char *) "point", NULL
30794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30796 if (!SWIG_IsOK(res1
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30799 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30806 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= SWIG_From_long(static_cast< long >(result
));
30811 if (SWIG_IsTmpObj(res3
)) {
30812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30814 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30823 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30824 PyObject
*resultobj
= 0;
30825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30826 wxPoint
*arg2
= 0 ;
30828 long *arg4
= (long *) 0 ;
30834 int res3
= SWIG_TMPOBJ
;
30836 int res4
= SWIG_TMPOBJ
;
30837 PyObject
* obj0
= 0 ;
30838 PyObject
* obj1
= 0 ;
30839 char * kwnames
[] = {
30840 (char *) "self",(char *) "point", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 resultobj
= SWIG_From_long(static_cast< long >(result
));
30862 if (SWIG_IsTmpObj(res3
)) {
30863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30865 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30868 if (SWIG_IsTmpObj(res4
)) {
30869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30871 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30880 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30881 PyObject
*resultobj
= 0;
30882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30883 wxListItem
*arg2
= 0 ;
30889 PyObject
* obj0
= 0 ;
30890 PyObject
* obj1
= 0 ;
30891 char * kwnames
[] = {
30892 (char *) "self",(char *) "info", NULL
30895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30897 if (!SWIG_IsOK(res1
)) {
30898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30900 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30902 if (!SWIG_IsOK(res2
)) {
30903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30908 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 result
= (long)(arg1
)->InsertItem(*arg2
);
30912 wxPyEndAllowThreads(__tstate
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30915 resultobj
= SWIG_From_long(static_cast< long >(result
));
30922 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
= 0;
30924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30926 wxString
*arg3
= 0 ;
30927 int arg4
= (int) -1 ;
30933 bool temp3
= false ;
30936 PyObject
* obj0
= 0 ;
30937 PyObject
* obj1
= 0 ;
30938 PyObject
* obj2
= 0 ;
30939 PyObject
* obj3
= 0 ;
30940 char * kwnames
[] = {
30941 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30946 if (!SWIG_IsOK(res1
)) {
30947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30949 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30950 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30951 if (!SWIG_IsOK(ecode2
)) {
30952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30954 arg2
= static_cast< long >(val2
);
30956 arg3
= wxString_in_helper(obj2
);
30957 if (arg3
== NULL
) SWIG_fail
;
30961 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30962 if (!SWIG_IsOK(ecode4
)) {
30963 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30965 arg4
= static_cast< int >(val4
);
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 resultobj
= SWIG_From_long(static_cast< long >(result
));
30988 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
= 0;
30990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31000 PyObject
* obj0
= 0 ;
31001 PyObject
* obj1
= 0 ;
31002 PyObject
* obj2
= 0 ;
31003 char * kwnames
[] = {
31004 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31009 if (!SWIG_IsOK(res1
)) {
31010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31012 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31013 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31014 if (!SWIG_IsOK(ecode2
)) {
31015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31017 arg2
= static_cast< long >(val2
);
31018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31019 if (!SWIG_IsOK(ecode3
)) {
31020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31022 arg3
= static_cast< int >(val3
);
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= SWIG_From_long(static_cast< long >(result
));
31036 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31040 wxString
*arg3
= 0 ;
31047 bool temp3
= false ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 PyObject
* obj2
= 0 ;
31053 PyObject
* obj3
= 0 ;
31054 char * kwnames
[] = {
31055 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31060 if (!SWIG_IsOK(res1
)) {
31061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31063 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31065 if (!SWIG_IsOK(ecode2
)) {
31066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31068 arg2
= static_cast< long >(val2
);
31070 arg3
= wxString_in_helper(obj2
);
31071 if (arg3
== NULL
) SWIG_fail
;
31074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31075 if (!SWIG_IsOK(ecode4
)) {
31076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31078 arg4
= static_cast< int >(val4
);
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31082 wxPyEndAllowThreads(__tstate
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 resultobj
= SWIG_From_long(static_cast< long >(result
));
31100 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
= 0;
31102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31104 wxListItem
*arg3
= 0 ;
31112 PyObject
* obj0
= 0 ;
31113 PyObject
* obj1
= 0 ;
31114 PyObject
* obj2
= 0 ;
31115 char * kwnames
[] = {
31116 (char *) "self",(char *) "col",(char *) "info", NULL
31119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31121 if (!SWIG_IsOK(res1
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31124 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31125 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31126 if (!SWIG_IsOK(ecode2
)) {
31127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31129 arg2
= static_cast< long >(val2
);
31130 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31131 if (!SWIG_IsOK(res3
)) {
31132 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31137 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= SWIG_From_long(static_cast< long >(result
));
31151 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
= 0;
31153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31155 wxString
*arg3
= 0 ;
31156 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31157 int arg5
= (int) -1 ;
31163 bool temp3
= false ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 PyObject
* obj2
= 0 ;
31171 PyObject
* obj3
= 0 ;
31172 PyObject
* obj4
= 0 ;
31173 char * kwnames
[] = {
31174 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31179 if (!SWIG_IsOK(res1
)) {
31180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31182 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31183 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31184 if (!SWIG_IsOK(ecode2
)) {
31185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31187 arg2
= static_cast< long >(val2
);
31189 arg3
= wxString_in_helper(obj2
);
31190 if (arg3
== NULL
) SWIG_fail
;
31194 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31195 if (!SWIG_IsOK(ecode4
)) {
31196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31198 arg4
= static_cast< int >(val4
);
31201 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31202 if (!SWIG_IsOK(ecode5
)) {
31203 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31205 arg5
= static_cast< int >(val5
);
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_From_long(static_cast< long >(result
));
31228 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
= 0;
31230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 char * kwnames
[] = {
31239 (char *) "self",(char *) "count", NULL
31242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31244 if (!SWIG_IsOK(res1
)) {
31245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31247 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31248 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31249 if (!SWIG_IsOK(ecode2
)) {
31250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31252 arg2
= static_cast< long >(val2
);
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 (arg1
)->SetItemCount(arg2
);
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_Py_Void();
31266 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31267 PyObject
*resultobj
= 0;
31268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 PyObject
* obj2
= 0 ;
31281 char * kwnames
[] = {
31282 (char *) "self",(char *) "dx",(char *) "dy", NULL
31285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31287 if (!SWIG_IsOK(res1
)) {
31288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31290 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31292 if (!SWIG_IsOK(ecode2
)) {
31293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31295 arg2
= static_cast< int >(val2
);
31296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31297 if (!SWIG_IsOK(ecode3
)) {
31298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31300 arg3
= static_cast< int >(val3
);
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31304 wxPyEndAllowThreads(__tstate
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31316 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
= 0;
31318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31320 wxColour
*arg3
= 0 ;
31326 PyObject
* obj0
= 0 ;
31327 PyObject
* obj1
= 0 ;
31328 PyObject
* obj2
= 0 ;
31329 char * kwnames
[] = {
31330 (char *) "self",(char *) "item",(char *) "col", NULL
31333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31335 if (!SWIG_IsOK(res1
)) {
31336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31339 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31340 if (!SWIG_IsOK(ecode2
)) {
31341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31343 arg2
= static_cast< long >(val2
);
31346 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31350 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31354 resultobj
= SWIG_Py_Void();
31361 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
= 0;
31363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31370 PyObject
* obj0
= 0 ;
31371 PyObject
* obj1
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "self",(char *) "item", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31378 if (!SWIG_IsOK(res1
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31381 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31383 if (!SWIG_IsOK(ecode2
)) {
31384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31386 arg2
= static_cast< long >(val2
);
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31400 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31404 wxColour
*arg3
= 0 ;
31410 PyObject
* obj0
= 0 ;
31411 PyObject
* obj1
= 0 ;
31412 PyObject
* obj2
= 0 ;
31413 char * kwnames
[] = {
31414 (char *) "self",(char *) "item",(char *) "col", NULL
31417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31419 if (!SWIG_IsOK(res1
)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31422 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31423 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31424 if (!SWIG_IsOK(ecode2
)) {
31425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31427 arg2
= static_cast< long >(val2
);
31430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= SWIG_Py_Void();
31445 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
= 0;
31447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31454 PyObject
* obj0
= 0 ;
31455 PyObject
* obj1
= 0 ;
31456 char * kwnames
[] = {
31457 (char *) "self",(char *) "item", NULL
31460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31462 if (!SWIG_IsOK(res1
)) {
31463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31465 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31467 if (!SWIG_IsOK(ecode2
)) {
31468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31470 arg2
= static_cast< long >(val2
);
31472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31474 wxPyEndAllowThreads(__tstate
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31477 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31484 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
= 0;
31486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31495 PyObject
* obj0
= 0 ;
31496 PyObject
* obj1
= 0 ;
31497 PyObject
* obj2
= 0 ;
31498 char * kwnames
[] = {
31499 (char *) "self",(char *) "item",(char *) "f", NULL
31502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31504 if (!SWIG_IsOK(res1
)) {
31505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31507 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31508 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31509 if (!SWIG_IsOK(ecode2
)) {
31510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31512 arg2
= static_cast< long >(val2
);
31513 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31514 if (!SWIG_IsOK(res3
)) {
31515 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31520 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31523 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31527 resultobj
= SWIG_Py_Void();
31534 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31535 PyObject
*resultobj
= 0;
31536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31543 PyObject
* obj0
= 0 ;
31544 PyObject
* obj1
= 0 ;
31545 char * kwnames
[] = {
31546 (char *) "self",(char *) "item", NULL
31549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31551 if (!SWIG_IsOK(res1
)) {
31552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31554 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31555 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31556 if (!SWIG_IsOK(ecode2
)) {
31557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31559 arg2
= static_cast< long >(val2
);
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31573 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
= 0;
31575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31576 PyObject
*arg2
= (PyObject
*) 0 ;
31580 PyObject
* obj0
= 0 ;
31581 PyObject
* obj1
= 0 ;
31582 char * kwnames
[] = {
31583 (char *) "self",(char *) "func", NULL
31586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31588 if (!SWIG_IsOK(res1
)) {
31589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31591 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31595 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31596 wxPyEndAllowThreads(__tstate
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31608 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31609 PyObject
*resultobj
= 0;
31610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31611 wxWindow
*result
= 0 ;
31614 PyObject
*swig_obj
[1] ;
31616 if (!args
) SWIG_fail
;
31617 swig_obj
[0] = args
;
31618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31619 if (!SWIG_IsOK(res1
)) {
31620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31622 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= wxPyMake_wxObject(result
, 0);
31638 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
= 0;
31640 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31641 SwigValueWrapper
<wxVisualAttributes
> result
;
31644 PyObject
* obj0
= 0 ;
31645 char * kwnames
[] = {
31646 (char *) "variant", NULL
31649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31651 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31652 if (!SWIG_IsOK(ecode1
)) {
31653 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31655 arg1
= static_cast< wxWindowVariant
>(val1
);
31658 if (!wxPyCheckForApp()) SWIG_fail
;
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31661 wxPyEndAllowThreads(__tstate
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31664 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31671 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31674 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31675 return SWIG_Py_Void();
31678 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31679 return SWIG_Python_InitShadowInstance(args
);
31682 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31683 PyObject
*resultobj
= 0;
31684 wxWindow
*arg1
= (wxWindow
*) 0 ;
31685 int arg2
= (int) -1 ;
31686 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31687 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31688 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31689 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31690 long arg5
= (long) wxLC_REPORT
;
31691 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31692 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31693 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31694 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31695 wxListView
*result
= 0 ;
31706 bool temp7
= false ;
31707 PyObject
* obj0
= 0 ;
31708 PyObject
* obj1
= 0 ;
31709 PyObject
* obj2
= 0 ;
31710 PyObject
* obj3
= 0 ;
31711 PyObject
* obj4
= 0 ;
31712 PyObject
* obj5
= 0 ;
31713 PyObject
* obj6
= 0 ;
31714 char * kwnames
[] = {
31715 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31720 if (!SWIG_IsOK(res1
)) {
31721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31723 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31726 if (!SWIG_IsOK(ecode2
)) {
31727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31729 arg2
= static_cast< int >(val2
);
31734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31740 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31744 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31745 if (!SWIG_IsOK(ecode5
)) {
31746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31748 arg5
= static_cast< long >(val5
);
31751 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31752 if (!SWIG_IsOK(res6
)) {
31753 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31758 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31762 arg7
= wxString_in_helper(obj6
);
31763 if (arg7
== NULL
) SWIG_fail
;
31768 if (!wxPyCheckForApp()) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31771 wxPyEndAllowThreads(__tstate
);
31772 if (PyErr_Occurred()) SWIG_fail
;
31774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31789 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31790 PyObject
*resultobj
= 0;
31791 wxListView
*result
= 0 ;
31793 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31795 if (!wxPyCheckForApp()) SWIG_fail
;
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 result
= (wxListView
*)new wxListView();
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31808 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
= 0;
31810 wxListView
*arg1
= (wxListView
*) 0 ;
31811 wxWindow
*arg2
= (wxWindow
*) 0 ;
31812 int arg3
= (int) -1 ;
31813 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31814 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31815 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31816 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31817 long arg6
= (long) wxLC_REPORT
;
31818 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31819 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31820 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31821 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31835 bool temp8
= false ;
31836 PyObject
* obj0
= 0 ;
31837 PyObject
* obj1
= 0 ;
31838 PyObject
* obj2
= 0 ;
31839 PyObject
* obj3
= 0 ;
31840 PyObject
* obj4
= 0 ;
31841 PyObject
* obj5
= 0 ;
31842 PyObject
* obj6
= 0 ;
31843 PyObject
* obj7
= 0 ;
31844 char * kwnames
[] = {
31845 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31850 if (!SWIG_IsOK(res1
)) {
31851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31853 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31855 if (!SWIG_IsOK(res2
)) {
31856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31858 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31861 if (!SWIG_IsOK(ecode3
)) {
31862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31864 arg3
= static_cast< int >(val3
);
31869 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31875 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31879 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31880 if (!SWIG_IsOK(ecode6
)) {
31881 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31883 arg6
= static_cast< long >(val6
);
31886 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31887 if (!SWIG_IsOK(res7
)) {
31888 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31893 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31897 arg8
= wxString_in_helper(obj7
);
31898 if (arg8
== NULL
) SWIG_fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31925 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
= 0;
31927 wxListView
*arg1
= (wxListView
*) 0 ;
31929 bool arg3
= (bool) true ;
31936 PyObject
* obj0
= 0 ;
31937 PyObject
* obj1
= 0 ;
31938 PyObject
* obj2
= 0 ;
31939 char * kwnames
[] = {
31940 (char *) "self",(char *) "n",(char *) "on", NULL
31943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31945 if (!SWIG_IsOK(res1
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31948 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31949 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31950 if (!SWIG_IsOK(ecode2
)) {
31951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31953 arg2
= static_cast< long >(val2
);
31955 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31956 if (!SWIG_IsOK(ecode3
)) {
31957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31959 arg3
= static_cast< bool >(val3
);
31962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31963 (arg1
)->Select(arg2
,arg3
);
31964 wxPyEndAllowThreads(__tstate
);
31965 if (PyErr_Occurred()) SWIG_fail
;
31967 resultobj
= SWIG_Py_Void();
31974 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
= 0;
31976 wxListView
*arg1
= (wxListView
*) 0 ;
31982 PyObject
* obj0
= 0 ;
31983 PyObject
* obj1
= 0 ;
31984 char * kwnames
[] = {
31985 (char *) "self",(char *) "index", NULL
31988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31990 if (!SWIG_IsOK(res1
)) {
31991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31993 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31994 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31995 if (!SWIG_IsOK(ecode2
)) {
31996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31998 arg2
= static_cast< long >(val2
);
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 (arg1
)->Focus(arg2
);
32002 wxPyEndAllowThreads(__tstate
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32005 resultobj
= SWIG_Py_Void();
32012 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32013 PyObject
*resultobj
= 0;
32014 wxListView
*arg1
= (wxListView
*) 0 ;
32018 PyObject
*swig_obj
[1] ;
32020 if (!args
) SWIG_fail
;
32021 swig_obj
[0] = args
;
32022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32023 if (!SWIG_IsOK(res1
)) {
32024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32026 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32029 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32030 wxPyEndAllowThreads(__tstate
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32033 resultobj
= SWIG_From_long(static_cast< long >(result
));
32040 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32041 PyObject
*resultobj
= 0;
32042 wxListView
*arg1
= (wxListView
*) 0 ;
32049 PyObject
* obj0
= 0 ;
32050 PyObject
* obj1
= 0 ;
32051 char * kwnames
[] = {
32052 (char *) "self",(char *) "item", NULL
32055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32057 if (!SWIG_IsOK(res1
)) {
32058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32060 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32062 if (!SWIG_IsOK(ecode2
)) {
32063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32065 arg2
= static_cast< long >(val2
);
32067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32068 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32069 wxPyEndAllowThreads(__tstate
);
32070 if (PyErr_Occurred()) SWIG_fail
;
32072 resultobj
= SWIG_From_long(static_cast< long >(result
));
32079 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32080 PyObject
*resultobj
= 0;
32081 wxListView
*arg1
= (wxListView
*) 0 ;
32085 PyObject
*swig_obj
[1] ;
32087 if (!args
) SWIG_fail
;
32088 swig_obj
[0] = args
;
32089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32090 if (!SWIG_IsOK(res1
)) {
32091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32093 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32096 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32097 wxPyEndAllowThreads(__tstate
);
32098 if (PyErr_Occurred()) SWIG_fail
;
32100 resultobj
= SWIG_From_long(static_cast< long >(result
));
32107 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32108 PyObject
*resultobj
= 0;
32109 wxListView
*arg1
= (wxListView
*) 0 ;
32116 PyObject
* obj0
= 0 ;
32117 PyObject
* obj1
= 0 ;
32118 char * kwnames
[] = {
32119 (char *) "self",(char *) "index", NULL
32122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32124 if (!SWIG_IsOK(res1
)) {
32125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32127 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32128 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32129 if (!SWIG_IsOK(ecode2
)) {
32130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32132 arg2
= static_cast< long >(val2
);
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (bool)(arg1
)->IsSelected(arg2
);
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32148 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
= 0;
32150 wxListView
*arg1
= (wxListView
*) 0 ;
32159 PyObject
* obj0
= 0 ;
32160 PyObject
* obj1
= 0 ;
32161 PyObject
* obj2
= 0 ;
32162 char * kwnames
[] = {
32163 (char *) "self",(char *) "col",(char *) "image", NULL
32166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32168 if (!SWIG_IsOK(res1
)) {
32169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32171 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32173 if (!SWIG_IsOK(ecode2
)) {
32174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32176 arg2
= static_cast< int >(val2
);
32177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32178 if (!SWIG_IsOK(ecode3
)) {
32179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32181 arg3
= static_cast< int >(val3
);
32183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32184 (arg1
)->SetColumnImage(arg2
,arg3
);
32185 wxPyEndAllowThreads(__tstate
);
32186 if (PyErr_Occurred()) SWIG_fail
;
32188 resultobj
= SWIG_Py_Void();
32195 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
= 0;
32197 wxListView
*arg1
= (wxListView
*) 0 ;
32203 PyObject
* obj0
= 0 ;
32204 PyObject
* obj1
= 0 ;
32205 char * kwnames
[] = {
32206 (char *) "self",(char *) "col", NULL
32209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32211 if (!SWIG_IsOK(res1
)) {
32212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32214 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32216 if (!SWIG_IsOK(ecode2
)) {
32217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32219 arg2
= static_cast< int >(val2
);
32221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32222 (arg1
)->ClearColumnImage(arg2
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 resultobj
= SWIG_Py_Void();
32233 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32236 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32237 return SWIG_Py_Void();
32240 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32241 return SWIG_Python_InitShadowInstance(args
);
32244 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32245 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32250 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32251 PyObject
*pyobj
= 0;
32255 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32257 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32264 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32265 PyObject
*resultobj
= 0;
32266 wxTreeItemId
*result
= 0 ;
32268 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 result
= (wxTreeItemId
*)new wxTreeItemId();
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32282 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32283 PyObject
*resultobj
= 0;
32284 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32287 PyObject
*swig_obj
[1] ;
32289 if (!args
) SWIG_fail
;
32290 swig_obj
[0] = args
;
32291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32292 if (!SWIG_IsOK(res1
)) {
32293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32295 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32303 resultobj
= SWIG_Py_Void();
32310 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32311 PyObject
*resultobj
= 0;
32312 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32316 PyObject
*swig_obj
[1] ;
32318 if (!args
) SWIG_fail
;
32319 swig_obj
[0] = args
;
32320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32321 if (!SWIG_IsOK(res1
)) {
32322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32324 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32327 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32328 wxPyEndAllowThreads(__tstate
);
32329 if (PyErr_Occurred()) SWIG_fail
;
32332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32340 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32341 PyObject
*resultobj
= 0;
32342 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32343 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32349 PyObject
* obj0
= 0 ;
32350 PyObject
* obj1
= 0 ;
32351 char * kwnames
[] = {
32352 (char *) "self",(char *) "other", NULL
32355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32357 if (!SWIG_IsOK(res1
)) {
32358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32360 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32362 if (!SWIG_IsOK(res2
)) {
32363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32365 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32369 wxPyEndAllowThreads(__tstate
);
32370 if (PyErr_Occurred()) SWIG_fail
;
32373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32381 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
= 0;
32383 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32384 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32390 PyObject
* obj0
= 0 ;
32391 PyObject
* obj1
= 0 ;
32392 char * kwnames
[] = {
32393 (char *) "self",(char *) "other", NULL
32396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32398 if (!SWIG_IsOK(res1
)) {
32399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32401 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32403 if (!SWIG_IsOK(res2
)) {
32404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32406 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32422 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32423 PyObject
*resultobj
= 0;
32424 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32425 void *arg2
= (void *) 0 ;
32429 PyObject
*swig_obj
[2] ;
32431 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32433 if (!SWIG_IsOK(res1
)) {
32434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32436 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32437 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32438 if (!SWIG_IsOK(res2
)) {
32439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32441 if (arg1
) (arg1
)->m_pItem
= arg2
;
32443 resultobj
= SWIG_Py_Void();
32450 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32451 PyObject
*resultobj
= 0;
32452 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32456 PyObject
*swig_obj
[1] ;
32458 if (!args
) SWIG_fail
;
32459 swig_obj
[0] = args
;
32460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32461 if (!SWIG_IsOK(res1
)) {
32462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32464 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32465 result
= (void *) ((arg1
)->m_pItem
);
32466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32473 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32476 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32477 return SWIG_Py_Void();
32480 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32481 return SWIG_Python_InitShadowInstance(args
);
32484 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32485 PyObject
*resultobj
= 0;
32486 PyObject
*arg1
= (PyObject
*) NULL
;
32487 wxPyTreeItemData
*result
= 0 ;
32488 PyObject
* obj0
= 0 ;
32489 char * kwnames
[] = {
32490 (char *) "obj", NULL
32493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32510 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32511 PyObject
*resultobj
= 0;
32512 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32515 PyObject
*swig_obj
[1] ;
32517 if (!args
) SWIG_fail
;
32518 swig_obj
[0] = args
;
32519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32520 if (!SWIG_IsOK(res1
)) {
32521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32523 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32531 resultobj
= SWIG_Py_Void();
32538 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32539 PyObject
*resultobj
= 0;
32540 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32541 PyObject
*result
= 0 ;
32544 PyObject
*swig_obj
[1] ;
32546 if (!args
) SWIG_fail
;
32547 swig_obj
[0] = args
;
32548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32549 if (!SWIG_IsOK(res1
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32552 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 result
= (PyObject
*)(arg1
)->GetData();
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= result
;
32566 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
= 0;
32568 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32569 PyObject
*arg2
= (PyObject
*) 0 ;
32572 PyObject
* obj0
= 0 ;
32573 PyObject
* obj1
= 0 ;
32574 char * kwnames
[] = {
32575 (char *) "self",(char *) "obj", NULL
32578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32580 if (!SWIG_IsOK(res1
)) {
32581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32583 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 (arg1
)->SetData(arg2
);
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= SWIG_Py_Void();
32598 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32599 PyObject
*resultobj
= 0;
32600 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32601 wxTreeItemId
*result
= 0 ;
32604 PyObject
*swig_obj
[1] ;
32606 if (!args
) SWIG_fail
;
32607 swig_obj
[0] = args
;
32608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32609 if (!SWIG_IsOK(res1
)) {
32610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32612 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32616 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32617 result
= (wxTreeItemId
*) &_result_ref
;
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32629 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32630 PyObject
*resultobj
= 0;
32631 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32632 wxTreeItemId
*arg2
= 0 ;
32637 PyObject
* obj0
= 0 ;
32638 PyObject
* obj1
= 0 ;
32639 char * kwnames
[] = {
32640 (char *) "self",(char *) "id", NULL
32643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32645 if (!SWIG_IsOK(res1
)) {
32646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32648 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32650 if (!SWIG_IsOK(res2
)) {
32651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32656 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32660 wxPyEndAllowThreads(__tstate
);
32661 if (PyErr_Occurred()) SWIG_fail
;
32663 resultobj
= SWIG_Py_Void();
32670 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32671 PyObject
*resultobj
= 0;
32672 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32675 PyObject
*swig_obj
[1] ;
32677 if (!args
) SWIG_fail
;
32678 swig_obj
[0] = args
;
32679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32680 if (!SWIG_IsOK(res1
)) {
32681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32683 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 wxPyTreeItemData_Destroy(arg1
);
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= SWIG_Py_Void();
32697 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32700 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32701 return SWIG_Py_Void();
32704 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32705 return SWIG_Python_InitShadowInstance(args
);
32708 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
= 0;
32710 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32711 int arg2
= (int) 0 ;
32712 wxTreeEvent
*result
= 0 ;
32717 PyObject
* obj0
= 0 ;
32718 PyObject
* obj1
= 0 ;
32719 char * kwnames
[] = {
32720 (char *) "commandType",(char *) "id", NULL
32723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32726 if (!SWIG_IsOK(ecode1
)) {
32727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32729 arg1
= static_cast< wxEventType
>(val1
);
32732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32733 if (!SWIG_IsOK(ecode2
)) {
32734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32736 arg2
= static_cast< int >(val2
);
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32751 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32752 PyObject
*resultobj
= 0;
32753 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32754 wxTreeItemId result
;
32757 PyObject
*swig_obj
[1] ;
32759 if (!args
) SWIG_fail
;
32760 swig_obj
[0] = args
;
32761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32765 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32772 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32779 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32780 PyObject
*resultobj
= 0;
32781 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32782 wxTreeItemId
*arg2
= 0 ;
32787 PyObject
* obj0
= 0 ;
32788 PyObject
* obj1
= 0 ;
32789 char * kwnames
[] = {
32790 (char *) "self",(char *) "item", NULL
32793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32798 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32800 if (!SWIG_IsOK(res2
)) {
32801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32806 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32809 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32813 resultobj
= SWIG_Py_Void();
32820 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32821 PyObject
*resultobj
= 0;
32822 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32823 wxTreeItemId result
;
32826 PyObject
*swig_obj
[1] ;
32828 if (!args
) SWIG_fail
;
32829 swig_obj
[0] = args
;
32830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32831 if (!SWIG_IsOK(res1
)) {
32832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32834 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32837 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32848 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32849 PyObject
*resultobj
= 0;
32850 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32851 wxTreeItemId
*arg2
= 0 ;
32856 PyObject
* obj0
= 0 ;
32857 PyObject
* obj1
= 0 ;
32858 char * kwnames
[] = {
32859 (char *) "self",(char *) "item", NULL
32862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32864 if (!SWIG_IsOK(res1
)) {
32865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32867 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32869 if (!SWIG_IsOK(res2
)) {
32870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32875 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32878 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32879 wxPyEndAllowThreads(__tstate
);
32880 if (PyErr_Occurred()) SWIG_fail
;
32882 resultobj
= SWIG_Py_Void();
32889 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32890 PyObject
*resultobj
= 0;
32891 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32895 PyObject
*swig_obj
[1] ;
32897 if (!args
) SWIG_fail
;
32898 swig_obj
[0] = args
;
32899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32900 if (!SWIG_IsOK(res1
)) {
32901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32903 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32906 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32907 wxPyEndAllowThreads(__tstate
);
32908 if (PyErr_Occurred()) SWIG_fail
;
32910 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32917 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32918 PyObject
*resultobj
= 0;
32919 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32920 wxPoint
*arg2
= 0 ;
32924 PyObject
* obj0
= 0 ;
32925 PyObject
* obj1
= 0 ;
32926 char * kwnames
[] = {
32927 (char *) "self",(char *) "pt", NULL
32930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32932 if (!SWIG_IsOK(res1
)) {
32933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32935 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32942 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32943 wxPyEndAllowThreads(__tstate
);
32944 if (PyErr_Occurred()) SWIG_fail
;
32946 resultobj
= SWIG_Py_Void();
32953 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32954 PyObject
*resultobj
= 0;
32955 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32956 wxKeyEvent
*result
= 0 ;
32959 PyObject
*swig_obj
[1] ;
32961 if (!args
) SWIG_fail
;
32962 swig_obj
[0] = args
;
32963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32964 if (!SWIG_IsOK(res1
)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32967 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32972 result
= (wxKeyEvent
*) &_result_ref
;
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32984 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 PyObject
*resultobj
= 0;
32986 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32990 PyObject
*swig_obj
[1] ;
32992 if (!args
) SWIG_fail
;
32993 swig_obj
[0] = args
;
32994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32995 if (!SWIG_IsOK(res1
)) {
32996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32998 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 resultobj
= SWIG_From_int(static_cast< int >(result
));
33012 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
= 0;
33014 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33015 wxKeyEvent
*arg2
= 0 ;
33020 PyObject
* obj0
= 0 ;
33021 PyObject
* obj1
= 0 ;
33022 char * kwnames
[] = {
33023 (char *) "self",(char *) "evt", NULL
33026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33028 if (!SWIG_IsOK(res1
)) {
33029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33031 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33033 if (!SWIG_IsOK(res2
)) {
33034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33039 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_Py_Void();
33053 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33054 PyObject
*resultobj
= 0;
33055 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33056 wxString
*result
= 0 ;
33059 PyObject
*swig_obj
[1] ;
33061 if (!args
) SWIG_fail
;
33062 swig_obj
[0] = args
;
33063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33064 if (!SWIG_IsOK(res1
)) {
33065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33067 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33071 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33072 result
= (wxString
*) &_result_ref
;
33074 wxPyEndAllowThreads(__tstate
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33081 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33090 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
= 0;
33092 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33093 wxString
*arg2
= 0 ;
33096 bool temp2
= false ;
33097 PyObject
* obj0
= 0 ;
33098 PyObject
* obj1
= 0 ;
33099 char * kwnames
[] = {
33100 (char *) "self",(char *) "label", NULL
33103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33105 if (!SWIG_IsOK(res1
)) {
33106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33108 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33110 arg2
= wxString_in_helper(obj1
);
33111 if (arg2
== NULL
) SWIG_fail
;
33115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33116 (arg1
)->SetLabel((wxString
const &)*arg2
);
33117 wxPyEndAllowThreads(__tstate
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33120 resultobj
= SWIG_Py_Void();
33135 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33136 PyObject
*resultobj
= 0;
33137 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33141 PyObject
*swig_obj
[1] ;
33143 if (!args
) SWIG_fail
;
33144 swig_obj
[0] = args
;
33145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33146 if (!SWIG_IsOK(res1
)) {
33147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33149 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33152 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33153 wxPyEndAllowThreads(__tstate
);
33154 if (PyErr_Occurred()) SWIG_fail
;
33157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33165 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33166 PyObject
*resultobj
= 0;
33167 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33173 PyObject
* obj0
= 0 ;
33174 PyObject
* obj1
= 0 ;
33175 char * kwnames
[] = {
33176 (char *) "self",(char *) "editCancelled", NULL
33179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33181 if (!SWIG_IsOK(res1
)) {
33182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33184 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33185 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33186 if (!SWIG_IsOK(ecode2
)) {
33187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33189 arg2
= static_cast< bool >(val2
);
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33192 (arg1
)->SetEditCanceled(arg2
);
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33196 resultobj
= SWIG_Py_Void();
33203 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33204 PyObject
*resultobj
= 0;
33205 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33206 wxString
*arg2
= 0 ;
33209 bool temp2
= false ;
33210 PyObject
* obj0
= 0 ;
33211 PyObject
* obj1
= 0 ;
33212 char * kwnames
[] = {
33213 (char *) "self",(char *) "toolTip", NULL
33216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33218 if (!SWIG_IsOK(res1
)) {
33219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33221 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33223 arg2
= wxString_in_helper(obj1
);
33224 if (arg2
== NULL
) SWIG_fail
;
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33229 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= SWIG_Py_Void();
33248 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33249 PyObject
*resultobj
= 0;
33250 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33254 PyObject
*swig_obj
[1] ;
33256 if (!args
) SWIG_fail
;
33257 swig_obj
[0] = args
;
33258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33259 if (!SWIG_IsOK(res1
)) {
33260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33262 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33265 result
= (arg1
)->GetToolTip();
33266 wxPyEndAllowThreads(__tstate
);
33267 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33282 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33285 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33286 return SWIG_Py_Void();
33289 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33290 return SWIG_Python_InitShadowInstance(args
);
33293 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33294 PyObject
*resultobj
= 0;
33295 wxWindow
*arg1
= (wxWindow
*) 0 ;
33296 int arg2
= (int) -1 ;
33297 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33298 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33299 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33300 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33301 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33302 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33303 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33304 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33305 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33306 wxPyTreeCtrl
*result
= 0 ;
33317 bool temp7
= false ;
33318 PyObject
* obj0
= 0 ;
33319 PyObject
* obj1
= 0 ;
33320 PyObject
* obj2
= 0 ;
33321 PyObject
* obj3
= 0 ;
33322 PyObject
* obj4
= 0 ;
33323 PyObject
* obj5
= 0 ;
33324 PyObject
* obj6
= 0 ;
33325 char * kwnames
[] = {
33326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33331 if (!SWIG_IsOK(res1
)) {
33332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33334 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33337 if (!SWIG_IsOK(ecode2
)) {
33338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33340 arg2
= static_cast< int >(val2
);
33345 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33351 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33355 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33356 if (!SWIG_IsOK(ecode5
)) {
33357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33359 arg5
= static_cast< long >(val5
);
33362 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33363 if (!SWIG_IsOK(res6
)) {
33364 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33369 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33373 arg7
= wxString_in_helper(obj6
);
33374 if (arg7
== NULL
) SWIG_fail
;
33379 if (!wxPyCheckForApp()) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33382 wxPyEndAllowThreads(__tstate
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33400 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33401 PyObject
*resultobj
= 0;
33402 wxPyTreeCtrl
*result
= 0 ;
33404 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33406 if (!wxPyCheckForApp()) SWIG_fail
;
33407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33408 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33419 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33420 PyObject
*resultobj
= 0;
33421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33422 wxWindow
*arg2
= (wxWindow
*) 0 ;
33423 int arg3
= (int) -1 ;
33424 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33425 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33426 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33427 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33428 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33429 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33430 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33431 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33432 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33446 bool temp8
= false ;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 PyObject
* obj2
= 0 ;
33450 PyObject
* obj3
= 0 ;
33451 PyObject
* obj4
= 0 ;
33452 PyObject
* obj5
= 0 ;
33453 PyObject
* obj6
= 0 ;
33454 PyObject
* obj7
= 0 ;
33455 char * kwnames
[] = {
33456 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33461 if (!SWIG_IsOK(res1
)) {
33462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33464 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33466 if (!SWIG_IsOK(res2
)) {
33467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33469 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33472 if (!SWIG_IsOK(ecode3
)) {
33473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33475 arg3
= static_cast< int >(val3
);
33480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33490 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33491 if (!SWIG_IsOK(ecode6
)) {
33492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33494 arg6
= static_cast< long >(val6
);
33497 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33498 if (!SWIG_IsOK(res7
)) {
33499 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33504 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33508 arg8
= wxString_in_helper(obj7
);
33509 if (arg8
== NULL
) SWIG_fail
;
33514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33516 wxPyEndAllowThreads(__tstate
);
33517 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33536 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33537 PyObject
*resultobj
= 0;
33538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33539 PyObject
*arg2
= (PyObject
*) 0 ;
33540 PyObject
*arg3
= (PyObject
*) 0 ;
33543 PyObject
* obj0
= 0 ;
33544 PyObject
* obj1
= 0 ;
33545 PyObject
* obj2
= 0 ;
33546 char * kwnames
[] = {
33547 (char *) "self",(char *) "self",(char *) "_class", NULL
33550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33552 if (!SWIG_IsOK(res1
)) {
33553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33555 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33560 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33561 wxPyEndAllowThreads(__tstate
);
33562 if (PyErr_Occurred()) SWIG_fail
;
33564 resultobj
= SWIG_Py_Void();
33571 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33572 PyObject
*resultobj
= 0;
33573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33574 unsigned int result
;
33577 PyObject
*swig_obj
[1] ;
33579 if (!args
) SWIG_fail
;
33580 swig_obj
[0] = args
;
33581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33582 if (!SWIG_IsOK(res1
)) {
33583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33585 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33589 wxPyEndAllowThreads(__tstate
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33592 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33599 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33600 PyObject
*resultobj
= 0;
33601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33602 unsigned int result
;
33605 PyObject
*swig_obj
[1] ;
33607 if (!args
) SWIG_fail
;
33608 swig_obj
[0] = args
;
33609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33610 if (!SWIG_IsOK(res1
)) {
33611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33613 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33617 wxPyEndAllowThreads(__tstate
);
33618 if (PyErr_Occurred()) SWIG_fail
;
33620 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33627 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33628 PyObject
*resultobj
= 0;
33629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33630 unsigned int arg2
;
33633 unsigned int val2
;
33635 PyObject
* obj0
= 0 ;
33636 PyObject
* obj1
= 0 ;
33637 char * kwnames
[] = {
33638 (char *) "self",(char *) "indent", NULL
33641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33643 if (!SWIG_IsOK(res1
)) {
33644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33646 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33647 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33648 if (!SWIG_IsOK(ecode2
)) {
33649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33651 arg2
= static_cast< unsigned int >(val2
);
33653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33654 (arg1
)->SetIndent(arg2
);
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= SWIG_Py_Void();
33665 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33666 PyObject
*resultobj
= 0;
33667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33668 unsigned int result
;
33671 PyObject
*swig_obj
[1] ;
33673 if (!args
) SWIG_fail
;
33674 swig_obj
[0] = args
;
33675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33676 if (!SWIG_IsOK(res1
)) {
33677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33679 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33682 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33686 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33693 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
= 0;
33695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33696 unsigned int arg2
;
33699 unsigned int val2
;
33701 PyObject
* obj0
= 0 ;
33702 PyObject
* obj1
= 0 ;
33703 char * kwnames
[] = {
33704 (char *) "self",(char *) "spacing", NULL
33707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33709 if (!SWIG_IsOK(res1
)) {
33710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33712 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33713 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33714 if (!SWIG_IsOK(ecode2
)) {
33715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33717 arg2
= static_cast< unsigned int >(val2
);
33719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 (arg1
)->SetSpacing(arg2
);
33721 wxPyEndAllowThreads(__tstate
);
33722 if (PyErr_Occurred()) SWIG_fail
;
33724 resultobj
= SWIG_Py_Void();
33731 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33732 PyObject
*resultobj
= 0;
33733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33734 wxImageList
*result
= 0 ;
33737 PyObject
*swig_obj
[1] ;
33739 if (!args
) SWIG_fail
;
33740 swig_obj
[0] = args
;
33741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33742 if (!SWIG_IsOK(res1
)) {
33743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33745 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33748 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33761 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33762 PyObject
*resultobj
= 0;
33763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33764 wxImageList
*result
= 0 ;
33767 PyObject
*swig_obj
[1] ;
33769 if (!args
) SWIG_fail
;
33770 swig_obj
[0] = args
;
33771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33772 if (!SWIG_IsOK(res1
)) {
33773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33775 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33778 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33791 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
= 0;
33793 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33794 wxImageList
*arg2
= (wxImageList
*) 0 ;
33799 PyObject
* obj0
= 0 ;
33800 PyObject
* obj1
= 0 ;
33801 char * kwnames
[] = {
33802 (char *) "self",(char *) "imageList", NULL
33805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33807 if (!SWIG_IsOK(res1
)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33812 if (!SWIG_IsOK(res2
)) {
33813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33815 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33818 (arg1
)->SetImageList(arg2
);
33819 wxPyEndAllowThreads(__tstate
);
33820 if (PyErr_Occurred()) SWIG_fail
;
33822 resultobj
= SWIG_Py_Void();
33829 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33830 PyObject
*resultobj
= 0;
33831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33832 wxImageList
*arg2
= (wxImageList
*) 0 ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 char * kwnames
[] = {
33840 (char *) "self",(char *) "imageList", NULL
33843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",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_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33848 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33850 if (!SWIG_IsOK(res2
)) {
33851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33853 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 (arg1
)->SetStateImageList(arg2
);
33857 wxPyEndAllowThreads(__tstate
);
33858 if (PyErr_Occurred()) SWIG_fail
;
33860 resultobj
= SWIG_Py_Void();
33867 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33868 PyObject
*resultobj
= 0;
33869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33870 wxImageList
*arg2
= (wxImageList
*) 0 ;
33874 PyObject
* obj0
= 0 ;
33875 PyObject
* obj1
= 0 ;
33876 char * kwnames
[] = {
33877 (char *) "self",(char *) "imageList", NULL
33880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33885 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33886 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33887 if (!SWIG_IsOK(res2
)) {
33888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33892 (arg1
)->AssignImageList(arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33896 resultobj
= SWIG_Py_Void();
33903 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
= 0;
33905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33906 wxImageList
*arg2
= (wxImageList
*) 0 ;
33910 PyObject
* obj0
= 0 ;
33911 PyObject
* obj1
= 0 ;
33912 char * kwnames
[] = {
33913 (char *) "self",(char *) "imageList", NULL
33916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33918 if (!SWIG_IsOK(res1
)) {
33919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33922 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33923 if (!SWIG_IsOK(res2
)) {
33924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 (arg1
)->AssignStateImageList(arg2
);
33929 wxPyEndAllowThreads(__tstate
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33932 resultobj
= SWIG_Py_Void();
33939 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33940 PyObject
*resultobj
= 0;
33941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33942 wxTreeItemId
*arg2
= 0 ;
33948 PyObject
* obj0
= 0 ;
33949 PyObject
* obj1
= 0 ;
33950 char * kwnames
[] = {
33951 (char *) "self",(char *) "item", NULL
33954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33956 if (!SWIG_IsOK(res1
)) {
33957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33959 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33961 if (!SWIG_IsOK(res2
)) {
33962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33967 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33970 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33987 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33988 PyObject
*resultobj
= 0;
33989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33990 wxTreeItemId
*arg2
= 0 ;
33991 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33999 PyObject
* obj0
= 0 ;
34000 PyObject
* obj1
= 0 ;
34001 PyObject
* obj2
= 0 ;
34002 char * kwnames
[] = {
34003 (char *) "self",(char *) "item",(char *) "which", NULL
34006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34008 if (!SWIG_IsOK(res1
)) {
34009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34011 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34013 if (!SWIG_IsOK(res2
)) {
34014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34019 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34022 if (!SWIG_IsOK(ecode3
)) {
34023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34025 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34033 resultobj
= SWIG_From_int(static_cast< int >(result
));
34040 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
= 0;
34042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34043 wxTreeItemId
*arg2
= 0 ;
34044 wxPyTreeItemData
*result
= 0 ;
34049 PyObject
* obj0
= 0 ;
34050 PyObject
* obj1
= 0 ;
34051 char * kwnames
[] = {
34052 (char *) "self",(char *) "item", NULL
34055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34057 if (!SWIG_IsOK(res1
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34060 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34062 if (!SWIG_IsOK(res2
)) {
34063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34068 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34072 wxPyEndAllowThreads(__tstate
);
34073 if (PyErr_Occurred()) SWIG_fail
;
34075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34082 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
= 0;
34084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34085 wxTreeItemId
*arg2
= 0 ;
34086 PyObject
*result
= 0 ;
34091 PyObject
* obj0
= 0 ;
34092 PyObject
* obj1
= 0 ;
34093 char * kwnames
[] = {
34094 (char *) "self",(char *) "item", NULL
34097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34099 if (!SWIG_IsOK(res1
)) {
34100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34102 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34104 if (!SWIG_IsOK(res2
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34110 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34117 resultobj
= result
;
34124 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
= 0;
34126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34127 wxTreeItemId
*arg2
= 0 ;
34133 PyObject
* obj0
= 0 ;
34134 PyObject
* obj1
= 0 ;
34135 char * kwnames
[] = {
34136 (char *) "self",(char *) "item", NULL
34139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34141 if (!SWIG_IsOK(res1
)) {
34142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34144 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34146 if (!SWIG_IsOK(res2
)) {
34147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34152 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34155 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34166 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
= 0;
34168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34169 wxTreeItemId
*arg2
= 0 ;
34175 PyObject
* obj0
= 0 ;
34176 PyObject
* obj1
= 0 ;
34177 char * kwnames
[] = {
34178 (char *) "self",(char *) "item", NULL
34181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34183 if (!SWIG_IsOK(res1
)) {
34184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34186 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34188 if (!SWIG_IsOK(res2
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34194 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34197 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34198 wxPyEndAllowThreads(__tstate
);
34199 if (PyErr_Occurred()) SWIG_fail
;
34201 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34208 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34209 PyObject
*resultobj
= 0;
34210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34211 wxTreeItemId
*arg2
= 0 ;
34217 PyObject
* obj0
= 0 ;
34218 PyObject
* obj1
= 0 ;
34219 char * kwnames
[] = {
34220 (char *) "self",(char *) "item", NULL
34223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34225 if (!SWIG_IsOK(res1
)) {
34226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34228 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34230 if (!SWIG_IsOK(res2
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34236 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34239 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34240 wxPyEndAllowThreads(__tstate
);
34241 if (PyErr_Occurred()) SWIG_fail
;
34243 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34250 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34251 PyObject
*resultobj
= 0;
34252 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34253 wxTreeItemId
*arg2
= 0 ;
34254 wxString
*arg3
= 0 ;
34259 bool temp3
= false ;
34260 PyObject
* obj0
= 0 ;
34261 PyObject
* obj1
= 0 ;
34262 PyObject
* obj2
= 0 ;
34263 char * kwnames
[] = {
34264 (char *) "self",(char *) "item",(char *) "text", NULL
34267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34269 if (!SWIG_IsOK(res1
)) {
34270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34272 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34274 if (!SWIG_IsOK(res2
)) {
34275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34280 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34282 arg3
= wxString_in_helper(obj2
);
34283 if (arg3
== NULL
) SWIG_fail
;
34287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34288 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34289 wxPyEndAllowThreads(__tstate
);
34290 if (PyErr_Occurred()) SWIG_fail
;
34292 resultobj
= SWIG_Py_Void();
34307 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34308 PyObject
*resultobj
= 0;
34309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34310 wxTreeItemId
*arg2
= 0 ;
34312 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 PyObject
* obj2
= 0 ;
34324 PyObject
* obj3
= 0 ;
34325 char * kwnames
[] = {
34326 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34331 if (!SWIG_IsOK(res1
)) {
34332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34334 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34336 if (!SWIG_IsOK(res2
)) {
34337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34342 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34344 if (!SWIG_IsOK(ecode3
)) {
34345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34347 arg3
= static_cast< int >(val3
);
34349 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34350 if (!SWIG_IsOK(ecode4
)) {
34351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34353 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34358 wxPyEndAllowThreads(__tstate
);
34359 if (PyErr_Occurred()) SWIG_fail
;
34361 resultobj
= SWIG_Py_Void();
34368 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34369 PyObject
*resultobj
= 0;
34370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34371 wxTreeItemId
*arg2
= 0 ;
34372 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34378 PyObject
* obj0
= 0 ;
34379 PyObject
* obj1
= 0 ;
34380 PyObject
* obj2
= 0 ;
34381 char * kwnames
[] = {
34382 (char *) "self",(char *) "item",(char *) "data", NULL
34385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34387 if (!SWIG_IsOK(res1
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34390 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34392 if (!SWIG_IsOK(res2
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34398 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34399 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34400 if (!SWIG_IsOK(res3
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34405 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34406 wxPyEndAllowThreads(__tstate
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 resultobj
= SWIG_Py_Void();
34416 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34417 PyObject
*resultobj
= 0;
34418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34419 wxTreeItemId
*arg2
= 0 ;
34420 PyObject
*arg3
= (PyObject
*) 0 ;
34425 PyObject
* obj0
= 0 ;
34426 PyObject
* obj1
= 0 ;
34427 PyObject
* obj2
= 0 ;
34428 char * kwnames
[] = {
34429 (char *) "self",(char *) "item",(char *) "obj", NULL
34432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34434 if (!SWIG_IsOK(res1
)) {
34435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34437 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34439 if (!SWIG_IsOK(res2
)) {
34440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34445 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34449 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34450 wxPyEndAllowThreads(__tstate
);
34451 if (PyErr_Occurred()) SWIG_fail
;
34453 resultobj
= SWIG_Py_Void();
34460 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34461 PyObject
*resultobj
= 0;
34462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34463 wxTreeItemId
*arg2
= 0 ;
34464 bool arg3
= (bool) true ;
34471 PyObject
* obj0
= 0 ;
34472 PyObject
* obj1
= 0 ;
34473 PyObject
* obj2
= 0 ;
34474 char * kwnames
[] = {
34475 (char *) "self",(char *) "item",(char *) "has", NULL
34478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34480 if (!SWIG_IsOK(res1
)) {
34481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34483 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34485 if (!SWIG_IsOK(res2
)) {
34486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34491 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34493 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34494 if (!SWIG_IsOK(ecode3
)) {
34495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34497 arg3
= static_cast< bool >(val3
);
34500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34501 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34502 wxPyEndAllowThreads(__tstate
);
34503 if (PyErr_Occurred()) SWIG_fail
;
34505 resultobj
= SWIG_Py_Void();
34512 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
= 0;
34514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34515 wxTreeItemId
*arg2
= 0 ;
34516 bool arg3
= (bool) true ;
34523 PyObject
* obj0
= 0 ;
34524 PyObject
* obj1
= 0 ;
34525 PyObject
* obj2
= 0 ;
34526 char * kwnames
[] = {
34527 (char *) "self",(char *) "item",(char *) "bold", NULL
34530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34532 if (!SWIG_IsOK(res1
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34535 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34537 if (!SWIG_IsOK(res2
)) {
34538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34543 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34545 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34546 if (!SWIG_IsOK(ecode3
)) {
34547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34549 arg3
= static_cast< bool >(val3
);
34552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34553 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34554 wxPyEndAllowThreads(__tstate
);
34555 if (PyErr_Occurred()) SWIG_fail
;
34557 resultobj
= SWIG_Py_Void();
34564 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34565 PyObject
*resultobj
= 0;
34566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34567 wxTreeItemId
*arg2
= 0 ;
34568 bool arg3
= (bool) true ;
34575 PyObject
* obj0
= 0 ;
34576 PyObject
* obj1
= 0 ;
34577 PyObject
* obj2
= 0 ;
34578 char * kwnames
[] = {
34579 (char *) "self",(char *) "item",(char *) "highlight", NULL
34582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34584 if (!SWIG_IsOK(res1
)) {
34585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34587 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34589 if (!SWIG_IsOK(res2
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34595 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34597 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34598 if (!SWIG_IsOK(ecode3
)) {
34599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34601 arg3
= static_cast< bool >(val3
);
34604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34605 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34609 resultobj
= SWIG_Py_Void();
34616 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34617 PyObject
*resultobj
= 0;
34618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34619 wxTreeItemId
*arg2
= 0 ;
34620 wxColour
*arg3
= 0 ;
34626 PyObject
* obj0
= 0 ;
34627 PyObject
* obj1
= 0 ;
34628 PyObject
* obj2
= 0 ;
34629 char * kwnames
[] = {
34630 (char *) "self",(char *) "item",(char *) "col", NULL
34633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34635 if (!SWIG_IsOK(res1
)) {
34636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34638 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34640 if (!SWIG_IsOK(res2
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34646 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34649 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34653 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 resultobj
= SWIG_Py_Void();
34664 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
= 0;
34666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34667 wxTreeItemId
*arg2
= 0 ;
34668 wxColour
*arg3
= 0 ;
34674 PyObject
* obj0
= 0 ;
34675 PyObject
* obj1
= 0 ;
34676 PyObject
* obj2
= 0 ;
34677 char * kwnames
[] = {
34678 (char *) "self",(char *) "item",(char *) "col", NULL
34681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34683 if (!SWIG_IsOK(res1
)) {
34684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34686 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34688 if (!SWIG_IsOK(res2
)) {
34689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34694 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34697 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34701 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34702 wxPyEndAllowThreads(__tstate
);
34703 if (PyErr_Occurred()) SWIG_fail
;
34705 resultobj
= SWIG_Py_Void();
34712 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34713 PyObject
*resultobj
= 0;
34714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34715 wxTreeItemId
*arg2
= 0 ;
34723 PyObject
* obj0
= 0 ;
34724 PyObject
* obj1
= 0 ;
34725 PyObject
* obj2
= 0 ;
34726 char * kwnames
[] = {
34727 (char *) "self",(char *) "item",(char *) "font", NULL
34730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34732 if (!SWIG_IsOK(res1
)) {
34733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34735 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34737 if (!SWIG_IsOK(res2
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34743 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34744 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34745 if (!SWIG_IsOK(res3
)) {
34746 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34751 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34754 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34755 wxPyEndAllowThreads(__tstate
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34758 resultobj
= SWIG_Py_Void();
34765 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34766 PyObject
*resultobj
= 0;
34767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34768 wxTreeItemId
*arg2
= 0 ;
34774 PyObject
* obj0
= 0 ;
34775 PyObject
* obj1
= 0 ;
34776 char * kwnames
[] = {
34777 (char *) "self",(char *) "item", NULL
34780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34782 if (!SWIG_IsOK(res1
)) {
34783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34785 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34787 if (!SWIG_IsOK(res2
)) {
34788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34793 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34796 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34797 wxPyEndAllowThreads(__tstate
);
34798 if (PyErr_Occurred()) SWIG_fail
;
34801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34809 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34810 PyObject
*resultobj
= 0;
34811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34812 wxTreeItemId
*arg2
= 0 ;
34818 PyObject
* obj0
= 0 ;
34819 PyObject
* obj1
= 0 ;
34820 char * kwnames
[] = {
34821 (char *) "self",(char *) "item", NULL
34824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34826 if (!SWIG_IsOK(res1
)) {
34827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34829 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34831 if (!SWIG_IsOK(res2
)) {
34832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34837 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34840 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34841 wxPyEndAllowThreads(__tstate
);
34842 if (PyErr_Occurred()) SWIG_fail
;
34845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34853 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34854 PyObject
*resultobj
= 0;
34855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34856 wxTreeItemId
*arg2
= 0 ;
34862 PyObject
* obj0
= 0 ;
34863 PyObject
* obj1
= 0 ;
34864 char * kwnames
[] = {
34865 (char *) "self",(char *) "item", NULL
34868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34870 if (!SWIG_IsOK(res1
)) {
34871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34873 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34875 if (!SWIG_IsOK(res2
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34881 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34897 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34898 PyObject
*resultobj
= 0;
34899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34900 wxTreeItemId
*arg2
= 0 ;
34906 PyObject
* obj0
= 0 ;
34907 PyObject
* obj1
= 0 ;
34908 char * kwnames
[] = {
34909 (char *) "self",(char *) "item", NULL
34912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34914 if (!SWIG_IsOK(res1
)) {
34915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34917 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34919 if (!SWIG_IsOK(res2
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34925 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34928 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34929 wxPyEndAllowThreads(__tstate
);
34930 if (PyErr_Occurred()) SWIG_fail
;
34933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34941 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
= 0;
34943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34944 wxTreeItemId
*arg2
= 0 ;
34950 PyObject
* obj0
= 0 ;
34951 PyObject
* obj1
= 0 ;
34952 char * kwnames
[] = {
34953 (char *) "self",(char *) "item", NULL
34956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34958 if (!SWIG_IsOK(res1
)) {
34959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34961 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34963 if (!SWIG_IsOK(res2
)) {
34964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34969 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34972 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34985 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34986 PyObject
*resultobj
= 0;
34987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34988 wxTreeItemId
*arg2
= 0 ;
34989 bool arg3
= (bool) true ;
34997 PyObject
* obj0
= 0 ;
34998 PyObject
* obj1
= 0 ;
34999 PyObject
* obj2
= 0 ;
35000 char * kwnames
[] = {
35001 (char *) "self",(char *) "item",(char *) "recursively", NULL
35004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35006 if (!SWIG_IsOK(res1
)) {
35007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35009 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35011 if (!SWIG_IsOK(res2
)) {
35012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35017 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35019 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35020 if (!SWIG_IsOK(ecode3
)) {
35021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35023 arg3
= static_cast< bool >(val3
);
35026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35031 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35038 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35039 PyObject
*resultobj
= 0;
35040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35041 wxTreeItemId result
;
35044 PyObject
*swig_obj
[1] ;
35046 if (!args
) SWIG_fail
;
35047 swig_obj
[0] = args
;
35048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35049 if (!SWIG_IsOK(res1
)) {
35050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35052 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35055 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35056 wxPyEndAllowThreads(__tstate
);
35057 if (PyErr_Occurred()) SWIG_fail
;
35059 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35066 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35067 PyObject
*resultobj
= 0;
35068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35069 wxTreeItemId result
;
35072 PyObject
*swig_obj
[1] ;
35074 if (!args
) SWIG_fail
;
35075 swig_obj
[0] = args
;
35076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35077 if (!SWIG_IsOK(res1
)) {
35078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35083 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35094 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35095 PyObject
*resultobj
= 0;
35096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35097 PyObject
*result
= 0 ;
35100 PyObject
*swig_obj
[1] ;
35102 if (!args
) SWIG_fail
;
35103 swig_obj
[0] = args
;
35104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35105 if (!SWIG_IsOK(res1
)) {
35106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35108 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35111 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 resultobj
= result
;
35122 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
= 0;
35124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35125 wxTreeItemId
*arg2
= 0 ;
35126 wxTreeItemId result
;
35131 PyObject
* obj0
= 0 ;
35132 PyObject
* obj1
= 0 ;
35133 char * kwnames
[] = {
35134 (char *) "self",(char *) "item", NULL
35137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35139 if (!SWIG_IsOK(res1
)) {
35140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35142 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35144 if (!SWIG_IsOK(res2
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35150 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35157 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35164 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35165 PyObject
*resultobj
= 0;
35166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35167 wxTreeItemId
*arg2
= 0 ;
35168 PyObject
*result
= 0 ;
35173 PyObject
* obj0
= 0 ;
35174 PyObject
* obj1
= 0 ;
35175 char * kwnames
[] = {
35176 (char *) "self",(char *) "item", NULL
35179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35181 if (!SWIG_IsOK(res1
)) {
35182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35184 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35186 if (!SWIG_IsOK(res2
)) {
35187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35192 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35195 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35196 wxPyEndAllowThreads(__tstate
);
35197 if (PyErr_Occurred()) SWIG_fail
;
35199 resultobj
= result
;
35206 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35207 PyObject
*resultobj
= 0;
35208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35209 wxTreeItemId
*arg2
= 0 ;
35210 void *arg3
= (void *) 0 ;
35211 PyObject
*result
= 0 ;
35217 PyObject
* obj0
= 0 ;
35218 PyObject
* obj1
= 0 ;
35219 PyObject
* obj2
= 0 ;
35220 char * kwnames
[] = {
35221 (char *) "self",(char *) "item",(char *) "cookie", NULL
35224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35226 if (!SWIG_IsOK(res1
)) {
35227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35229 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35231 if (!SWIG_IsOK(res2
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35237 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35238 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35239 if (!SWIG_IsOK(res3
)) {
35240 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35244 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35245 wxPyEndAllowThreads(__tstate
);
35246 if (PyErr_Occurred()) SWIG_fail
;
35248 resultobj
= result
;
35255 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35256 PyObject
*resultobj
= 0;
35257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35258 wxTreeItemId
*arg2
= 0 ;
35259 wxTreeItemId result
;
35264 PyObject
* obj0
= 0 ;
35265 PyObject
* obj1
= 0 ;
35266 char * kwnames
[] = {
35267 (char *) "self",(char *) "item", NULL
35270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35272 if (!SWIG_IsOK(res1
)) {
35273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35275 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35277 if (!SWIG_IsOK(res2
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35283 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35297 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
= 0;
35299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35300 wxTreeItemId
*arg2
= 0 ;
35301 wxTreeItemId result
;
35306 PyObject
* obj0
= 0 ;
35307 PyObject
* obj1
= 0 ;
35308 char * kwnames
[] = {
35309 (char *) "self",(char *) "item", NULL
35312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35314 if (!SWIG_IsOK(res1
)) {
35315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35317 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35319 if (!SWIG_IsOK(res2
)) {
35320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35325 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35328 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35329 wxPyEndAllowThreads(__tstate
);
35330 if (PyErr_Occurred()) SWIG_fail
;
35332 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35339 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35340 PyObject
*resultobj
= 0;
35341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35342 wxTreeItemId
*arg2
= 0 ;
35343 wxTreeItemId result
;
35348 PyObject
* obj0
= 0 ;
35349 PyObject
* obj1
= 0 ;
35350 char * kwnames
[] = {
35351 (char *) "self",(char *) "item", NULL
35354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35356 if (!SWIG_IsOK(res1
)) {
35357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35361 if (!SWIG_IsOK(res2
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35370 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35371 wxPyEndAllowThreads(__tstate
);
35372 if (PyErr_Occurred()) SWIG_fail
;
35374 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35381 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35382 PyObject
*resultobj
= 0;
35383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35384 wxTreeItemId result
;
35387 PyObject
*swig_obj
[1] ;
35389 if (!args
) SWIG_fail
;
35390 swig_obj
[0] = args
;
35391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35392 if (!SWIG_IsOK(res1
)) {
35393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35395 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35398 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35399 wxPyEndAllowThreads(__tstate
);
35400 if (PyErr_Occurred()) SWIG_fail
;
35402 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35409 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35410 PyObject
*resultobj
= 0;
35411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35412 wxTreeItemId
*arg2
= 0 ;
35413 wxTreeItemId result
;
35418 PyObject
* obj0
= 0 ;
35419 PyObject
* obj1
= 0 ;
35420 char * kwnames
[] = {
35421 (char *) "self",(char *) "item", NULL
35424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35426 if (!SWIG_IsOK(res1
)) {
35427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35429 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35431 if (!SWIG_IsOK(res2
)) {
35432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35437 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35440 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35451 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
= 0;
35453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35454 wxTreeItemId
*arg2
= 0 ;
35455 wxTreeItemId result
;
35460 PyObject
* obj0
= 0 ;
35461 PyObject
* obj1
= 0 ;
35462 char * kwnames
[] = {
35463 (char *) "self",(char *) "item", NULL
35466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35468 if (!SWIG_IsOK(res1
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35471 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35473 if (!SWIG_IsOK(res2
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35479 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35482 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35493 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
= 0;
35495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35496 wxString
*arg2
= 0 ;
35497 int arg3
= (int) -1 ;
35498 int arg4
= (int) -1 ;
35499 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35500 wxTreeItemId result
;
35503 bool temp2
= false ;
35509 PyObject
* obj0
= 0 ;
35510 PyObject
* obj1
= 0 ;
35511 PyObject
* obj2
= 0 ;
35512 PyObject
* obj3
= 0 ;
35513 PyObject
* obj4
= 0 ;
35514 char * kwnames
[] = {
35515 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35520 if (!SWIG_IsOK(res1
)) {
35521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35523 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35525 arg2
= wxString_in_helper(obj1
);
35526 if (arg2
== NULL
) SWIG_fail
;
35530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35531 if (!SWIG_IsOK(ecode3
)) {
35532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35534 arg3
= static_cast< int >(val3
);
35537 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35538 if (!SWIG_IsOK(ecode4
)) {
35539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35541 arg4
= static_cast< int >(val4
);
35544 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35545 if (!SWIG_IsOK(res5
)) {
35546 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35551 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35552 wxPyEndAllowThreads(__tstate
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35555 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35570 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35571 PyObject
*resultobj
= 0;
35572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35573 wxTreeItemId
*arg2
= 0 ;
35574 wxString
*arg3
= 0 ;
35575 int arg4
= (int) -1 ;
35576 int arg5
= (int) -1 ;
35577 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35578 wxTreeItemId result
;
35583 bool temp3
= false ;
35589 PyObject
* obj0
= 0 ;
35590 PyObject
* obj1
= 0 ;
35591 PyObject
* obj2
= 0 ;
35592 PyObject
* obj3
= 0 ;
35593 PyObject
* obj4
= 0 ;
35594 PyObject
* obj5
= 0 ;
35595 char * kwnames
[] = {
35596 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35601 if (!SWIG_IsOK(res1
)) {
35602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35604 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35606 if (!SWIG_IsOK(res2
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35612 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35614 arg3
= wxString_in_helper(obj2
);
35615 if (arg3
== NULL
) SWIG_fail
;
35619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35620 if (!SWIG_IsOK(ecode4
)) {
35621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35623 arg4
= static_cast< int >(val4
);
35626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35627 if (!SWIG_IsOK(ecode5
)) {
35628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35630 arg5
= static_cast< int >(val5
);
35633 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35634 if (!SWIG_IsOK(res6
)) {
35635 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35644 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35659 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35660 PyObject
*resultobj
= 0;
35661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35662 wxTreeItemId
*arg2
= 0 ;
35663 wxTreeItemId
*arg3
= 0 ;
35664 wxString
*arg4
= 0 ;
35665 int arg5
= (int) -1 ;
35666 int arg6
= (int) -1 ;
35667 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35668 wxTreeItemId result
;
35675 bool temp4
= false ;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 PyObject
* obj2
= 0 ;
35684 PyObject
* obj3
= 0 ;
35685 PyObject
* obj4
= 0 ;
35686 PyObject
* obj5
= 0 ;
35687 PyObject
* obj6
= 0 ;
35688 char * kwnames
[] = {
35689 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35694 if (!SWIG_IsOK(res1
)) {
35695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35697 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35699 if (!SWIG_IsOK(res2
)) {
35700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35705 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35706 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35707 if (!SWIG_IsOK(res3
)) {
35708 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35713 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35715 arg4
= wxString_in_helper(obj3
);
35716 if (arg4
== NULL
) SWIG_fail
;
35720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35721 if (!SWIG_IsOK(ecode5
)) {
35722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35724 arg5
= static_cast< int >(val5
);
35727 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35728 if (!SWIG_IsOK(ecode6
)) {
35729 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35731 arg6
= static_cast< int >(val6
);
35734 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35735 if (!SWIG_IsOK(res7
)) {
35736 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35742 wxPyEndAllowThreads(__tstate
);
35743 if (PyErr_Occurred()) SWIG_fail
;
35745 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35760 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35761 PyObject
*resultobj
= 0;
35762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35763 wxTreeItemId
*arg2
= 0 ;
35765 wxString
*arg4
= 0 ;
35766 int arg5
= (int) -1 ;
35767 int arg6
= (int) -1 ;
35768 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35769 wxTreeItemId result
;
35776 bool temp4
= false ;
35782 PyObject
* obj0
= 0 ;
35783 PyObject
* obj1
= 0 ;
35784 PyObject
* obj2
= 0 ;
35785 PyObject
* obj3
= 0 ;
35786 PyObject
* obj4
= 0 ;
35787 PyObject
* obj5
= 0 ;
35788 PyObject
* obj6
= 0 ;
35789 char * kwnames
[] = {
35790 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35795 if (!SWIG_IsOK(res1
)) {
35796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35798 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35800 if (!SWIG_IsOK(res2
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35806 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35807 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35808 if (!SWIG_IsOK(ecode3
)) {
35809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35811 arg3
= static_cast< size_t >(val3
);
35813 arg4
= wxString_in_helper(obj3
);
35814 if (arg4
== NULL
) SWIG_fail
;
35818 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35819 if (!SWIG_IsOK(ecode5
)) {
35820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35822 arg5
= static_cast< int >(val5
);
35825 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35826 if (!SWIG_IsOK(ecode6
)) {
35827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35829 arg6
= static_cast< int >(val6
);
35832 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35833 if (!SWIG_IsOK(res7
)) {
35834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35839 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35858 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35859 PyObject
*resultobj
= 0;
35860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35861 wxTreeItemId
*arg2
= 0 ;
35862 wxString
*arg3
= 0 ;
35863 int arg4
= (int) -1 ;
35864 int arg5
= (int) -1 ;
35865 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35866 wxTreeItemId result
;
35871 bool temp3
= false ;
35877 PyObject
* obj0
= 0 ;
35878 PyObject
* obj1
= 0 ;
35879 PyObject
* obj2
= 0 ;
35880 PyObject
* obj3
= 0 ;
35881 PyObject
* obj4
= 0 ;
35882 PyObject
* obj5
= 0 ;
35883 char * kwnames
[] = {
35884 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35889 if (!SWIG_IsOK(res1
)) {
35890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35892 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35894 if (!SWIG_IsOK(res2
)) {
35895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35900 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35902 arg3
= wxString_in_helper(obj2
);
35903 if (arg3
== NULL
) SWIG_fail
;
35907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35908 if (!SWIG_IsOK(ecode4
)) {
35909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35911 arg4
= static_cast< int >(val4
);
35914 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35915 if (!SWIG_IsOK(ecode5
)) {
35916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35918 arg5
= static_cast< int >(val5
);
35921 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35922 if (!SWIG_IsOK(res6
)) {
35923 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35928 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35929 wxPyEndAllowThreads(__tstate
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35932 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35947 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
= 0;
35949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35950 wxTreeItemId
*arg2
= 0 ;
35955 PyObject
* obj0
= 0 ;
35956 PyObject
* obj1
= 0 ;
35957 char * kwnames
[] = {
35958 (char *) "self",(char *) "item", NULL
35961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35963 if (!SWIG_IsOK(res1
)) {
35964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35966 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35968 if (!SWIG_IsOK(res2
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35974 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35977 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35978 wxPyEndAllowThreads(__tstate
);
35979 if (PyErr_Occurred()) SWIG_fail
;
35981 resultobj
= SWIG_Py_Void();
35988 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35989 PyObject
*resultobj
= 0;
35990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35991 wxTreeItemId
*arg2
= 0 ;
35996 PyObject
* obj0
= 0 ;
35997 PyObject
* obj1
= 0 ;
35998 char * kwnames
[] = {
35999 (char *) "self",(char *) "item", NULL
36002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36004 if (!SWIG_IsOK(res1
)) {
36005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36007 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36009 if (!SWIG_IsOK(res2
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36015 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36018 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36019 wxPyEndAllowThreads(__tstate
);
36020 if (PyErr_Occurred()) SWIG_fail
;
36022 resultobj
= SWIG_Py_Void();
36029 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36030 PyObject
*resultobj
= 0;
36031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36034 PyObject
*swig_obj
[1] ;
36036 if (!args
) SWIG_fail
;
36037 swig_obj
[0] = args
;
36038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36039 if (!SWIG_IsOK(res1
)) {
36040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36042 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36045 (arg1
)->DeleteAllItems();
36046 wxPyEndAllowThreads(__tstate
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36049 resultobj
= SWIG_Py_Void();
36056 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36057 PyObject
*resultobj
= 0;
36058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36059 wxTreeItemId
*arg2
= 0 ;
36064 PyObject
* obj0
= 0 ;
36065 PyObject
* obj1
= 0 ;
36066 char * kwnames
[] = {
36067 (char *) "self",(char *) "item", NULL
36070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36072 if (!SWIG_IsOK(res1
)) {
36073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36077 if (!SWIG_IsOK(res2
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36083 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36086 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36087 wxPyEndAllowThreads(__tstate
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36090 resultobj
= SWIG_Py_Void();
36097 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36098 PyObject
*resultobj
= 0;
36099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36100 wxTreeItemId
*arg2
= 0 ;
36105 PyObject
* obj0
= 0 ;
36106 PyObject
* obj1
= 0 ;
36107 char * kwnames
[] = {
36108 (char *) "self",(char *) "item", NULL
36111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36113 if (!SWIG_IsOK(res1
)) {
36114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36116 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36118 if (!SWIG_IsOK(res2
)) {
36119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36124 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36127 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36128 wxPyEndAllowThreads(__tstate
);
36129 if (PyErr_Occurred()) SWIG_fail
;
36131 resultobj
= SWIG_Py_Void();
36138 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36139 PyObject
*resultobj
= 0;
36140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36141 wxTreeItemId
*arg2
= 0 ;
36146 PyObject
* obj0
= 0 ;
36147 PyObject
* obj1
= 0 ;
36148 char * kwnames
[] = {
36149 (char *) "self",(char *) "item", NULL
36152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36154 if (!SWIG_IsOK(res1
)) {
36155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36157 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36159 if (!SWIG_IsOK(res2
)) {
36160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36165 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36168 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36169 wxPyEndAllowThreads(__tstate
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36172 resultobj
= SWIG_Py_Void();
36179 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36180 PyObject
*resultobj
= 0;
36181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36182 wxTreeItemId
*arg2
= 0 ;
36187 PyObject
* obj0
= 0 ;
36188 PyObject
* obj1
= 0 ;
36189 char * kwnames
[] = {
36190 (char *) "self",(char *) "item", NULL
36193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36195 if (!SWIG_IsOK(res1
)) {
36196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36200 if (!SWIG_IsOK(res2
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36206 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36209 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36210 wxPyEndAllowThreads(__tstate
);
36211 if (PyErr_Occurred()) SWIG_fail
;
36213 resultobj
= SWIG_Py_Void();
36220 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36221 PyObject
*resultobj
= 0;
36222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36225 PyObject
*swig_obj
[1] ;
36227 if (!args
) SWIG_fail
;
36228 swig_obj
[0] = args
;
36229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36230 if (!SWIG_IsOK(res1
)) {
36231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36233 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36236 (arg1
)->Unselect();
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36240 resultobj
= SWIG_Py_Void();
36247 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36248 PyObject
*resultobj
= 0;
36249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36250 wxTreeItemId
*arg2
= 0 ;
36255 PyObject
* obj0
= 0 ;
36256 PyObject
* obj1
= 0 ;
36257 char * kwnames
[] = {
36258 (char *) "self",(char *) "item", NULL
36261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36263 if (!SWIG_IsOK(res1
)) {
36264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36266 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36268 if (!SWIG_IsOK(res2
)) {
36269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36274 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36277 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36278 wxPyEndAllowThreads(__tstate
);
36279 if (PyErr_Occurred()) SWIG_fail
;
36281 resultobj
= SWIG_Py_Void();
36288 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36289 PyObject
*resultobj
= 0;
36290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36293 PyObject
*swig_obj
[1] ;
36295 if (!args
) SWIG_fail
;
36296 swig_obj
[0] = args
;
36297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36298 if (!SWIG_IsOK(res1
)) {
36299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36301 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36304 (arg1
)->UnselectAll();
36305 wxPyEndAllowThreads(__tstate
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36308 resultobj
= SWIG_Py_Void();
36315 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36316 PyObject
*resultobj
= 0;
36317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36318 wxTreeItemId
*arg2
= 0 ;
36319 bool arg3
= (bool) true ;
36326 PyObject
* obj0
= 0 ;
36327 PyObject
* obj1
= 0 ;
36328 PyObject
* obj2
= 0 ;
36329 char * kwnames
[] = {
36330 (char *) "self",(char *) "item",(char *) "select", NULL
36333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36335 if (!SWIG_IsOK(res1
)) {
36336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36340 if (!SWIG_IsOK(res2
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36346 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36348 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36349 if (!SWIG_IsOK(ecode3
)) {
36350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36352 arg3
= static_cast< bool >(val3
);
36355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36356 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36357 wxPyEndAllowThreads(__tstate
);
36358 if (PyErr_Occurred()) SWIG_fail
;
36360 resultobj
= SWIG_Py_Void();
36367 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
= 0;
36369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36370 wxTreeItemId
*arg2
= 0 ;
36375 PyObject
* obj0
= 0 ;
36376 PyObject
* obj1
= 0 ;
36377 char * kwnames
[] = {
36378 (char *) "self",(char *) "item", NULL
36381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36383 if (!SWIG_IsOK(res1
)) {
36384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36386 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36388 if (!SWIG_IsOK(res2
)) {
36389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36394 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36398 wxPyEndAllowThreads(__tstate
);
36399 if (PyErr_Occurred()) SWIG_fail
;
36401 resultobj
= SWIG_Py_Void();
36408 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36409 PyObject
*resultobj
= 0;
36410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36411 wxTreeItemId
*arg2
= 0 ;
36416 PyObject
* obj0
= 0 ;
36417 PyObject
* obj1
= 0 ;
36418 char * kwnames
[] = {
36419 (char *) "self",(char *) "item", NULL
36422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36424 if (!SWIG_IsOK(res1
)) {
36425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36427 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36429 if (!SWIG_IsOK(res2
)) {
36430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36435 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36438 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36439 wxPyEndAllowThreads(__tstate
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36442 resultobj
= SWIG_Py_Void();
36449 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36450 PyObject
*resultobj
= 0;
36451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36452 wxTreeItemId
*arg2
= 0 ;
36457 PyObject
* obj0
= 0 ;
36458 PyObject
* obj1
= 0 ;
36459 char * kwnames
[] = {
36460 (char *) "self",(char *) "item", NULL
36463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36465 if (!SWIG_IsOK(res1
)) {
36466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36468 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36470 if (!SWIG_IsOK(res2
)) {
36471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36476 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36483 resultobj
= SWIG_Py_Void();
36490 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36491 PyObject
*resultobj
= 0;
36492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36493 wxTreeItemId
*arg2
= 0 ;
36498 PyObject
* obj0
= 0 ;
36499 PyObject
* obj1
= 0 ;
36500 char * kwnames
[] = {
36501 (char *) "self",(char *) "item", NULL
36504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36506 if (!SWIG_IsOK(res1
)) {
36507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36511 if (!SWIG_IsOK(res2
)) {
36512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36517 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36520 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36521 wxPyEndAllowThreads(__tstate
);
36522 if (PyErr_Occurred()) SWIG_fail
;
36524 resultobj
= SWIG_Py_Void();
36531 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36532 PyObject
*resultobj
= 0;
36533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36534 wxTextCtrl
*result
= 0 ;
36537 PyObject
*swig_obj
[1] ;
36539 if (!args
) SWIG_fail
;
36540 swig_obj
[0] = args
;
36541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36542 if (!SWIG_IsOK(res1
)) {
36543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36545 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36548 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36549 wxPyEndAllowThreads(__tstate
);
36550 if (PyErr_Occurred()) SWIG_fail
;
36553 resultobj
= wxPyMake_wxObject(result
, 0);
36561 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36562 PyObject
*resultobj
= 0;
36563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36564 wxTreeItemId
*arg2
= 0 ;
36569 PyObject
* obj0
= 0 ;
36570 PyObject
* obj1
= 0 ;
36571 char * kwnames
[] = {
36572 (char *) "self",(char *) "item", NULL
36575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36577 if (!SWIG_IsOK(res1
)) {
36578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36580 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36582 if (!SWIG_IsOK(res2
)) {
36583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36588 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36592 wxPyEndAllowThreads(__tstate
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36595 resultobj
= SWIG_Py_Void();
36602 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36603 PyObject
*resultobj
= 0;
36604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36605 wxPoint
*arg2
= 0 ;
36607 wxTreeItemId result
;
36612 int res3
= SWIG_TMPOBJ
;
36613 PyObject
* obj0
= 0 ;
36614 PyObject
* obj1
= 0 ;
36615 char * kwnames
[] = {
36616 (char *) "self",(char *) "point", NULL
36620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36622 if (!SWIG_IsOK(res1
)) {
36623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36632 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36633 wxPyEndAllowThreads(__tstate
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36636 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36637 if (SWIG_IsTmpObj(res3
)) {
36638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36640 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36649 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36650 PyObject
*resultobj
= 0;
36651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36652 wxTreeItemId
*arg2
= 0 ;
36653 bool arg3
= (bool) false ;
36654 PyObject
*result
= 0 ;
36661 PyObject
* obj0
= 0 ;
36662 PyObject
* obj1
= 0 ;
36663 PyObject
* obj2
= 0 ;
36664 char * kwnames
[] = {
36665 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36670 if (!SWIG_IsOK(res1
)) {
36671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36673 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36675 if (!SWIG_IsOK(res2
)) {
36676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36681 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36683 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36684 if (!SWIG_IsOK(ecode3
)) {
36685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36687 arg3
= static_cast< bool >(val3
);
36690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36691 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 resultobj
= result
;
36702 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
= 0;
36704 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36705 SwigValueWrapper
<wxVisualAttributes
> result
;
36708 PyObject
* obj0
= 0 ;
36709 char * kwnames
[] = {
36710 (char *) "variant", NULL
36713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36715 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36716 if (!SWIG_IsOK(ecode1
)) {
36717 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36719 arg1
= static_cast< wxWindowVariant
>(val1
);
36722 if (!wxPyCheckForApp()) SWIG_fail
;
36723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36724 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36725 wxPyEndAllowThreads(__tstate
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36728 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36735 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36736 PyObject
*resultobj
= 0;
36737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36743 PyObject
* obj0
= 0 ;
36744 PyObject
* obj1
= 0 ;
36745 char * kwnames
[] = {
36746 (char *) "self",(char *) "q", NULL
36749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36751 if (!SWIG_IsOK(res1
)) {
36752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36754 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36755 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36756 if (!SWIG_IsOK(ecode2
)) {
36757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36759 arg2
= static_cast< bool >(val2
);
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 (arg1
)->SetQuickBestSize(arg2
);
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 resultobj
= SWIG_Py_Void();
36773 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36774 PyObject
*resultobj
= 0;
36775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36779 PyObject
*swig_obj
[1] ;
36781 if (!args
) SWIG_fail
;
36782 swig_obj
[0] = args
;
36783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36784 if (!SWIG_IsOK(res1
)) {
36785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36787 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36790 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
36791 wxPyEndAllowThreads(__tstate
);
36792 if (PyErr_Occurred()) SWIG_fail
;
36795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36803 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36806 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36807 return SWIG_Py_Void();
36810 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36811 return SWIG_Python_InitShadowInstance(args
);
36814 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36815 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36820 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36821 PyObject
*pyobj
= 0;
36825 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36827 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36834 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36835 PyObject
*resultobj
= 0;
36836 wxWindow
*arg1
= (wxWindow
*) 0 ;
36837 int arg2
= (int) (int)-1 ;
36838 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36839 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36844 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36845 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36846 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36847 int arg8
= (int) 0 ;
36848 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36849 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36850 wxGenericDirCtrl
*result
= 0 ;
36855 bool temp3
= false ;
36860 bool temp7
= false ;
36863 bool temp9
= false ;
36864 PyObject
* obj0
= 0 ;
36865 PyObject
* obj1
= 0 ;
36866 PyObject
* obj2
= 0 ;
36867 PyObject
* obj3
= 0 ;
36868 PyObject
* obj4
= 0 ;
36869 PyObject
* obj5
= 0 ;
36870 PyObject
* obj6
= 0 ;
36871 PyObject
* obj7
= 0 ;
36872 PyObject
* obj8
= 0 ;
36873 char * kwnames
[] = {
36874 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36879 if (!SWIG_IsOK(res1
)) {
36880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36885 if (!SWIG_IsOK(ecode2
)) {
36886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36888 arg2
= static_cast< int >(val2
);
36892 arg3
= wxString_in_helper(obj2
);
36893 if (arg3
== NULL
) SWIG_fail
;
36900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36910 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36911 if (!SWIG_IsOK(ecode6
)) {
36912 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36914 arg6
= static_cast< long >(val6
);
36918 arg7
= wxString_in_helper(obj6
);
36919 if (arg7
== NULL
) SWIG_fail
;
36924 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36925 if (!SWIG_IsOK(ecode8
)) {
36926 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36928 arg8
= static_cast< int >(val8
);
36932 arg9
= wxString_in_helper(obj8
);
36933 if (arg9
== NULL
) SWIG_fail
;
36938 if (!wxPyCheckForApp()) SWIG_fail
;
36939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36940 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36941 wxPyEndAllowThreads(__tstate
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36975 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36976 PyObject
*resultobj
= 0;
36977 wxGenericDirCtrl
*result
= 0 ;
36979 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36981 if (!wxPyCheckForApp()) SWIG_fail
;
36982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36983 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36984 wxPyEndAllowThreads(__tstate
);
36985 if (PyErr_Occurred()) SWIG_fail
;
36987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36994 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36995 PyObject
*resultobj
= 0;
36996 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36997 wxWindow
*arg2
= (wxWindow
*) 0 ;
36998 int arg3
= (int) (int)-1 ;
36999 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37000 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37001 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37002 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37003 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37004 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37005 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37006 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37007 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37008 int arg9
= (int) 0 ;
37009 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37010 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37018 bool temp4
= false ;
37023 bool temp8
= false ;
37026 bool temp10
= false ;
37027 PyObject
* obj0
= 0 ;
37028 PyObject
* obj1
= 0 ;
37029 PyObject
* obj2
= 0 ;
37030 PyObject
* obj3
= 0 ;
37031 PyObject
* obj4
= 0 ;
37032 PyObject
* obj5
= 0 ;
37033 PyObject
* obj6
= 0 ;
37034 PyObject
* obj7
= 0 ;
37035 PyObject
* obj8
= 0 ;
37036 PyObject
* obj9
= 0 ;
37037 char * kwnames
[] = {
37038 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37043 if (!SWIG_IsOK(res1
)) {
37044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37046 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37048 if (!SWIG_IsOK(res2
)) {
37049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37051 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37054 if (!SWIG_IsOK(ecode3
)) {
37055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37057 arg3
= static_cast< int >(val3
);
37061 arg4
= wxString_in_helper(obj3
);
37062 if (arg4
== NULL
) SWIG_fail
;
37069 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37075 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37079 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37080 if (!SWIG_IsOK(ecode7
)) {
37081 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37083 arg7
= static_cast< long >(val7
);
37087 arg8
= wxString_in_helper(obj7
);
37088 if (arg8
== NULL
) SWIG_fail
;
37093 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37094 if (!SWIG_IsOK(ecode9
)) {
37095 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37097 arg9
= static_cast< int >(val9
);
37101 arg10
= wxString_in_helper(obj9
);
37102 if (arg10
== NULL
) SWIG_fail
;
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37145 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37146 PyObject
*resultobj
= 0;
37147 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37148 wxString
*arg2
= 0 ;
37152 bool temp2
= false ;
37153 PyObject
* obj0
= 0 ;
37154 PyObject
* obj1
= 0 ;
37155 char * kwnames
[] = {
37156 (char *) "self",(char *) "path", NULL
37159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37161 if (!SWIG_IsOK(res1
)) {
37162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37164 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37166 arg2
= wxString_in_helper(obj1
);
37167 if (arg2
== NULL
) SWIG_fail
;
37171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37172 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37173 wxPyEndAllowThreads(__tstate
);
37174 if (PyErr_Occurred()) SWIG_fail
;
37177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37193 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37194 PyObject
*resultobj
= 0;
37195 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37196 wxString
*arg2
= 0 ;
37200 bool temp2
= false ;
37201 PyObject
* obj0
= 0 ;
37202 PyObject
* obj1
= 0 ;
37203 char * kwnames
[] = {
37204 (char *) "self",(char *) "path", NULL
37207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37209 if (!SWIG_IsOK(res1
)) {
37210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37212 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37214 arg2
= wxString_in_helper(obj1
);
37215 if (arg2
== NULL
) SWIG_fail
;
37219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37220 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37221 wxPyEndAllowThreads(__tstate
);
37222 if (PyErr_Occurred()) SWIG_fail
;
37225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37241 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37242 PyObject
*resultobj
= 0;
37243 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37247 PyObject
*swig_obj
[1] ;
37249 if (!args
) SWIG_fail
;
37250 swig_obj
[0] = args
;
37251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37252 if (!SWIG_IsOK(res1
)) {
37253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37255 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37258 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37259 wxPyEndAllowThreads(__tstate
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37275 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37276 PyObject
*resultobj
= 0;
37277 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37278 wxString
*arg2
= 0 ;
37281 bool temp2
= false ;
37282 PyObject
* obj0
= 0 ;
37283 PyObject
* obj1
= 0 ;
37284 char * kwnames
[] = {
37285 (char *) "self",(char *) "path", NULL
37288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37290 if (!SWIG_IsOK(res1
)) {
37291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37293 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37295 arg2
= wxString_in_helper(obj1
);
37296 if (arg2
== NULL
) SWIG_fail
;
37300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37301 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37302 wxPyEndAllowThreads(__tstate
);
37303 if (PyErr_Occurred()) SWIG_fail
;
37305 resultobj
= SWIG_Py_Void();
37320 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37321 PyObject
*resultobj
= 0;
37322 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37326 PyObject
*swig_obj
[1] ;
37328 if (!args
) SWIG_fail
;
37329 swig_obj
[0] = args
;
37330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37331 if (!SWIG_IsOK(res1
)) {
37332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37334 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37337 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37338 wxPyEndAllowThreads(__tstate
);
37339 if (PyErr_Occurred()) SWIG_fail
;
37343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37354 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37355 PyObject
*resultobj
= 0;
37356 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37360 PyObject
*swig_obj
[1] ;
37362 if (!args
) SWIG_fail
;
37363 swig_obj
[0] = args
;
37364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37365 if (!SWIG_IsOK(res1
)) {
37366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37368 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37371 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37388 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37389 PyObject
*resultobj
= 0;
37390 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37391 wxString
*arg2
= 0 ;
37394 bool temp2
= false ;
37395 PyObject
* obj0
= 0 ;
37396 PyObject
* obj1
= 0 ;
37397 char * kwnames
[] = {
37398 (char *) "self",(char *) "path", NULL
37401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37403 if (!SWIG_IsOK(res1
)) {
37404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37406 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37408 arg2
= wxString_in_helper(obj1
);
37409 if (arg2
== NULL
) SWIG_fail
;
37413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37414 (arg1
)->SetPath((wxString
const &)*arg2
);
37415 wxPyEndAllowThreads(__tstate
);
37416 if (PyErr_Occurred()) SWIG_fail
;
37418 resultobj
= SWIG_Py_Void();
37433 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37434 PyObject
*resultobj
= 0;
37435 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37441 PyObject
* obj0
= 0 ;
37442 PyObject
* obj1
= 0 ;
37443 char * kwnames
[] = {
37444 (char *) "self",(char *) "show", NULL
37447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37449 if (!SWIG_IsOK(res1
)) {
37450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37452 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37453 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37454 if (!SWIG_IsOK(ecode2
)) {
37455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37457 arg2
= static_cast< bool >(val2
);
37459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37460 (arg1
)->ShowHidden(arg2
);
37461 wxPyEndAllowThreads(__tstate
);
37462 if (PyErr_Occurred()) SWIG_fail
;
37464 resultobj
= SWIG_Py_Void();
37471 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37472 PyObject
*resultobj
= 0;
37473 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37477 PyObject
*swig_obj
[1] ;
37479 if (!args
) SWIG_fail
;
37480 swig_obj
[0] = args
;
37481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37482 if (!SWIG_IsOK(res1
)) {
37483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37485 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37488 result
= (bool)(arg1
)->GetShowHidden();
37489 wxPyEndAllowThreads(__tstate
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37501 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37502 PyObject
*resultobj
= 0;
37503 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37507 PyObject
*swig_obj
[1] ;
37509 if (!args
) SWIG_fail
;
37510 swig_obj
[0] = args
;
37511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37512 if (!SWIG_IsOK(res1
)) {
37513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37515 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37518 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37519 wxPyEndAllowThreads(__tstate
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37535 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37536 PyObject
*resultobj
= 0;
37537 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37538 wxString
*arg2
= 0 ;
37541 bool temp2
= false ;
37542 PyObject
* obj0
= 0 ;
37543 PyObject
* obj1
= 0 ;
37544 char * kwnames
[] = {
37545 (char *) "self",(char *) "filter", NULL
37548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37550 if (!SWIG_IsOK(res1
)) {
37551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37553 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37555 arg2
= wxString_in_helper(obj1
);
37556 if (arg2
== NULL
) SWIG_fail
;
37560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37561 (arg1
)->SetFilter((wxString
const &)*arg2
);
37562 wxPyEndAllowThreads(__tstate
);
37563 if (PyErr_Occurred()) SWIG_fail
;
37565 resultobj
= SWIG_Py_Void();
37580 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37581 PyObject
*resultobj
= 0;
37582 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37586 PyObject
*swig_obj
[1] ;
37588 if (!args
) SWIG_fail
;
37589 swig_obj
[0] = args
;
37590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37591 if (!SWIG_IsOK(res1
)) {
37592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37594 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37597 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37598 wxPyEndAllowThreads(__tstate
);
37599 if (PyErr_Occurred()) SWIG_fail
;
37601 resultobj
= SWIG_From_int(static_cast< int >(result
));
37608 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37609 PyObject
*resultobj
= 0;
37610 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37616 PyObject
* obj0
= 0 ;
37617 PyObject
* obj1
= 0 ;
37618 char * kwnames
[] = {
37619 (char *) "self",(char *) "n", NULL
37622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37624 if (!SWIG_IsOK(res1
)) {
37625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37627 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37629 if (!SWIG_IsOK(ecode2
)) {
37630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37632 arg2
= static_cast< int >(val2
);
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 (arg1
)->SetFilterIndex(arg2
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 resultobj
= SWIG_Py_Void();
37646 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37647 PyObject
*resultobj
= 0;
37648 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37649 wxTreeItemId result
;
37652 PyObject
*swig_obj
[1] ;
37654 if (!args
) SWIG_fail
;
37655 swig_obj
[0] = args
;
37656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37657 if (!SWIG_IsOK(res1
)) {
37658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37660 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37663 result
= (arg1
)->GetRootId();
37664 wxPyEndAllowThreads(__tstate
);
37665 if (PyErr_Occurred()) SWIG_fail
;
37667 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37674 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37675 PyObject
*resultobj
= 0;
37676 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37677 wxPyTreeCtrl
*result
= 0 ;
37680 PyObject
*swig_obj
[1] ;
37682 if (!args
) SWIG_fail
;
37683 swig_obj
[0] = args
;
37684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37685 if (!SWIG_IsOK(res1
)) {
37686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37688 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37691 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37696 resultobj
= wxPyMake_wxObject(result
, 0);
37704 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37705 PyObject
*resultobj
= 0;
37706 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37707 wxDirFilterListCtrl
*result
= 0 ;
37710 PyObject
*swig_obj
[1] ;
37712 if (!args
) SWIG_fail
;
37713 swig_obj
[0] = args
;
37714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37715 if (!SWIG_IsOK(res1
)) {
37716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37718 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37721 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37722 wxPyEndAllowThreads(__tstate
);
37723 if (PyErr_Occurred()) SWIG_fail
;
37725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37732 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37733 PyObject
*resultobj
= 0;
37734 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37735 wxTreeItemId arg2
;
37736 wxString
*arg3
= 0 ;
37738 wxTreeItemId result
;
37743 bool temp3
= false ;
37745 int res4
= SWIG_TMPOBJ
;
37746 PyObject
* obj0
= 0 ;
37747 PyObject
* obj1
= 0 ;
37748 PyObject
* obj2
= 0 ;
37749 char * kwnames
[] = {
37750 (char *) "self",(char *) "parentId",(char *) "path", NULL
37754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37756 if (!SWIG_IsOK(res1
)) {
37757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37759 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37762 if (!SWIG_IsOK(res2
)) {
37763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37768 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37770 if (SWIG_IsNewObj(res2
)) delete temp
;
37774 arg3
= wxString_in_helper(obj2
);
37775 if (arg3
== NULL
) SWIG_fail
;
37779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37780 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37781 wxPyEndAllowThreads(__tstate
);
37782 if (PyErr_Occurred()) SWIG_fail
;
37784 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37785 if (SWIG_IsTmpObj(res4
)) {
37786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37788 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37805 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37806 PyObject
*resultobj
= 0;
37807 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37810 PyObject
*swig_obj
[1] ;
37812 if (!args
) SWIG_fail
;
37813 swig_obj
[0] = args
;
37814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37815 if (!SWIG_IsOK(res1
)) {
37816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37818 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37821 (arg1
)->DoResize();
37822 wxPyEndAllowThreads(__tstate
);
37823 if (PyErr_Occurred()) SWIG_fail
;
37825 resultobj
= SWIG_Py_Void();
37832 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37833 PyObject
*resultobj
= 0;
37834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37837 PyObject
*swig_obj
[1] ;
37839 if (!args
) SWIG_fail
;
37840 swig_obj
[0] = args
;
37841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37842 if (!SWIG_IsOK(res1
)) {
37843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37845 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37848 (arg1
)->ReCreateTree();
37849 wxPyEndAllowThreads(__tstate
);
37850 if (PyErr_Occurred()) SWIG_fail
;
37852 resultobj
= SWIG_Py_Void();
37859 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37862 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37863 return SWIG_Py_Void();
37866 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37867 return SWIG_Python_InitShadowInstance(args
);
37870 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37871 PyObject
*resultobj
= 0;
37872 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37873 int arg2
= (int) (int)-1 ;
37874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37878 long arg5
= (long) 0 ;
37879 wxDirFilterListCtrl
*result
= 0 ;
37888 PyObject
* obj0
= 0 ;
37889 PyObject
* obj1
= 0 ;
37890 PyObject
* obj2
= 0 ;
37891 PyObject
* obj3
= 0 ;
37892 PyObject
* obj4
= 0 ;
37893 char * kwnames
[] = {
37894 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37899 if (!SWIG_IsOK(res1
)) {
37900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37902 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37905 if (!SWIG_IsOK(ecode2
)) {
37906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37908 arg2
= static_cast< int >(val2
);
37913 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37919 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37923 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37924 if (!SWIG_IsOK(ecode5
)) {
37925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37927 arg5
= static_cast< long >(val5
);
37930 if (!wxPyCheckForApp()) SWIG_fail
;
37931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37932 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37933 wxPyEndAllowThreads(__tstate
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37943 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37944 PyObject
*resultobj
= 0;
37945 wxDirFilterListCtrl
*result
= 0 ;
37947 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37949 if (!wxPyCheckForApp()) SWIG_fail
;
37950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37951 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37952 wxPyEndAllowThreads(__tstate
);
37953 if (PyErr_Occurred()) SWIG_fail
;
37955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37962 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37963 PyObject
*resultobj
= 0;
37964 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37965 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37966 int arg3
= (int) (int)-1 ;
37967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37971 long arg6
= (long) 0 ;
37983 PyObject
* obj0
= 0 ;
37984 PyObject
* obj1
= 0 ;
37985 PyObject
* obj2
= 0 ;
37986 PyObject
* obj3
= 0 ;
37987 PyObject
* obj4
= 0 ;
37988 PyObject
* obj5
= 0 ;
37989 char * kwnames
[] = {
37990 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37995 if (!SWIG_IsOK(res1
)) {
37996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37998 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38000 if (!SWIG_IsOK(res2
)) {
38001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38003 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38006 if (!SWIG_IsOK(ecode3
)) {
38007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38009 arg3
= static_cast< int >(val3
);
38014 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38020 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38024 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38025 if (!SWIG_IsOK(ecode6
)) {
38026 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38028 arg6
= static_cast< long >(val6
);
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38045 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38046 PyObject
*resultobj
= 0;
38047 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38048 wxString
*arg2
= 0 ;
38052 bool temp2
= false ;
38055 PyObject
* obj0
= 0 ;
38056 PyObject
* obj1
= 0 ;
38057 PyObject
* obj2
= 0 ;
38058 char * kwnames
[] = {
38059 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38064 if (!SWIG_IsOK(res1
)) {
38065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38067 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38069 arg2
= wxString_in_helper(obj1
);
38070 if (arg2
== NULL
) SWIG_fail
;
38073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38074 if (!SWIG_IsOK(ecode3
)) {
38075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38077 arg3
= static_cast< int >(val3
);
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38084 resultobj
= SWIG_Py_Void();
38099 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38102 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38103 return SWIG_Py_Void();
38106 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38107 return SWIG_Python_InitShadowInstance(args
);
38110 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38111 PyObject
*resultobj
= 0;
38112 wxWindow
*arg1
= (wxWindow
*) 0 ;
38113 int arg2
= (int) (int)-1 ;
38114 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38115 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38116 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38117 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38118 long arg5
= (long) 0 ;
38119 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38120 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38121 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38122 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38123 wxPyControl
*result
= 0 ;
38134 bool temp7
= false ;
38135 PyObject
* obj0
= 0 ;
38136 PyObject
* obj1
= 0 ;
38137 PyObject
* obj2
= 0 ;
38138 PyObject
* obj3
= 0 ;
38139 PyObject
* obj4
= 0 ;
38140 PyObject
* obj5
= 0 ;
38141 PyObject
* obj6
= 0 ;
38142 char * kwnames
[] = {
38143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38148 if (!SWIG_IsOK(res1
)) {
38149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38151 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38154 if (!SWIG_IsOK(ecode2
)) {
38155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38157 arg2
= static_cast< int >(val2
);
38162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38168 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38172 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38173 if (!SWIG_IsOK(ecode5
)) {
38174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38176 arg5
= static_cast< long >(val5
);
38179 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38180 if (!SWIG_IsOK(res6
)) {
38181 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38186 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38190 arg7
= wxString_in_helper(obj6
);
38191 if (arg7
== NULL
) SWIG_fail
;
38196 if (!wxPyCheckForApp()) SWIG_fail
;
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38199 wxPyEndAllowThreads(__tstate
);
38200 if (PyErr_Occurred()) SWIG_fail
;
38202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38217 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38218 PyObject
*resultobj
= 0;
38219 wxPyControl
*result
= 0 ;
38221 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38223 if (!wxPyCheckForApp()) SWIG_fail
;
38224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38225 result
= (wxPyControl
*)new wxPyControl();
38226 wxPyEndAllowThreads(__tstate
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38236 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38237 PyObject
*resultobj
= 0;
38238 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38239 PyObject
*arg2
= (PyObject
*) 0 ;
38240 PyObject
*arg3
= (PyObject
*) 0 ;
38243 PyObject
* obj0
= 0 ;
38244 PyObject
* obj1
= 0 ;
38245 PyObject
* obj2
= 0 ;
38246 char * kwnames
[] = {
38247 (char *) "self",(char *) "self",(char *) "_class", NULL
38250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38252 if (!SWIG_IsOK(res1
)) {
38253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38255 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38260 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38264 resultobj
= SWIG_Py_Void();
38271 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38272 PyObject
*resultobj
= 0;
38273 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38278 PyObject
* obj0
= 0 ;
38279 PyObject
* obj1
= 0 ;
38280 char * kwnames
[] = {
38281 (char *) "self",(char *) "size", NULL
38284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38286 if (!SWIG_IsOK(res1
)) {
38287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38289 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38292 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38296 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38297 wxPyEndAllowThreads(__tstate
);
38298 if (PyErr_Occurred()) SWIG_fail
;
38300 resultobj
= SWIG_Py_Void();
38307 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38308 PyObject
*resultobj
= 0;
38309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38310 wxDC
*arg2
= (wxDC
*) 0 ;
38316 PyObject
* obj0
= 0 ;
38317 PyObject
* obj1
= 0 ;
38318 char * kwnames
[] = {
38319 (char *) "self",(char *) "dc", NULL
38322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38324 if (!SWIG_IsOK(res1
)) {
38325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38327 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38329 if (!SWIG_IsOK(res2
)) {
38330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38332 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38335 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38336 wxPyEndAllowThreads(__tstate
);
38337 if (PyErr_Occurred()) SWIG_fail
;
38340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38348 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38349 PyObject
*resultobj
= 0;
38350 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38365 PyObject
* obj0
= 0 ;
38366 PyObject
* obj1
= 0 ;
38367 PyObject
* obj2
= 0 ;
38368 PyObject
* obj3
= 0 ;
38369 PyObject
* obj4
= 0 ;
38370 char * kwnames
[] = {
38371 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38376 if (!SWIG_IsOK(res1
)) {
38377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38379 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38381 if (!SWIG_IsOK(ecode2
)) {
38382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38384 arg2
= static_cast< int >(val2
);
38385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38386 if (!SWIG_IsOK(ecode3
)) {
38387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38389 arg3
= static_cast< int >(val3
);
38390 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38391 if (!SWIG_IsOK(ecode4
)) {
38392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38394 arg4
= static_cast< int >(val4
);
38395 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38396 if (!SWIG_IsOK(ecode5
)) {
38397 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38399 arg5
= static_cast< int >(val5
);
38401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38402 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38403 wxPyEndAllowThreads(__tstate
);
38404 if (PyErr_Occurred()) SWIG_fail
;
38406 resultobj
= SWIG_Py_Void();
38413 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38414 PyObject
*resultobj
= 0;
38415 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38420 int arg6
= (int) wxSIZE_AUTO
;
38433 PyObject
* obj0
= 0 ;
38434 PyObject
* obj1
= 0 ;
38435 PyObject
* obj2
= 0 ;
38436 PyObject
* obj3
= 0 ;
38437 PyObject
* obj4
= 0 ;
38438 PyObject
* obj5
= 0 ;
38439 char * kwnames
[] = {
38440 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38445 if (!SWIG_IsOK(res1
)) {
38446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38448 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38450 if (!SWIG_IsOK(ecode2
)) {
38451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38453 arg2
= static_cast< int >(val2
);
38454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38455 if (!SWIG_IsOK(ecode3
)) {
38456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38458 arg3
= static_cast< int >(val3
);
38459 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38460 if (!SWIG_IsOK(ecode4
)) {
38461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38463 arg4
= static_cast< int >(val4
);
38464 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38465 if (!SWIG_IsOK(ecode5
)) {
38466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38468 arg5
= static_cast< int >(val5
);
38470 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38471 if (!SWIG_IsOK(ecode6
)) {
38472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38474 arg6
= static_cast< int >(val6
);
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38479 wxPyEndAllowThreads(__tstate
);
38480 if (PyErr_Occurred()) SWIG_fail
;
38482 resultobj
= SWIG_Py_Void();
38489 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38490 PyObject
*resultobj
= 0;
38491 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38500 PyObject
* obj0
= 0 ;
38501 PyObject
* obj1
= 0 ;
38502 PyObject
* obj2
= 0 ;
38503 char * kwnames
[] = {
38504 (char *) "self",(char *) "width",(char *) "height", NULL
38507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38509 if (!SWIG_IsOK(res1
)) {
38510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38512 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38514 if (!SWIG_IsOK(ecode2
)) {
38515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38517 arg2
= static_cast< int >(val2
);
38518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38519 if (!SWIG_IsOK(ecode3
)) {
38520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38522 arg3
= static_cast< int >(val3
);
38524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38525 (arg1
)->DoSetClientSize(arg2
,arg3
);
38526 wxPyEndAllowThreads(__tstate
);
38527 if (PyErr_Occurred()) SWIG_fail
;
38529 resultobj
= SWIG_Py_Void();
38536 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38537 PyObject
*resultobj
= 0;
38538 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38547 PyObject
* obj0
= 0 ;
38548 PyObject
* obj1
= 0 ;
38549 PyObject
* obj2
= 0 ;
38550 char * kwnames
[] = {
38551 (char *) "self",(char *) "x",(char *) "y", NULL
38554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38556 if (!SWIG_IsOK(res1
)) {
38557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38559 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38561 if (!SWIG_IsOK(ecode2
)) {
38562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38564 arg2
= static_cast< int >(val2
);
38565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38566 if (!SWIG_IsOK(ecode3
)) {
38567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38569 arg3
= static_cast< int >(val3
);
38571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38572 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38573 wxPyEndAllowThreads(__tstate
);
38574 if (PyErr_Occurred()) SWIG_fail
;
38576 resultobj
= SWIG_Py_Void();
38583 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38584 PyObject
*resultobj
= 0;
38585 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38586 int *arg2
= (int *) 0 ;
38587 int *arg3
= (int *) 0 ;
38591 int res2
= SWIG_TMPOBJ
;
38593 int res3
= SWIG_TMPOBJ
;
38594 PyObject
*swig_obj
[1] ;
38598 if (!args
) SWIG_fail
;
38599 swig_obj
[0] = args
;
38600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38601 if (!SWIG_IsOK(res1
)) {
38602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38604 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38607 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38608 wxPyEndAllowThreads(__tstate
);
38609 if (PyErr_Occurred()) SWIG_fail
;
38611 resultobj
= SWIG_Py_Void();
38612 if (SWIG_IsTmpObj(res2
)) {
38613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38615 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38618 if (SWIG_IsTmpObj(res3
)) {
38619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38621 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38630 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38631 PyObject
*resultobj
= 0;
38632 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38633 int *arg2
= (int *) 0 ;
38634 int *arg3
= (int *) 0 ;
38638 int res2
= SWIG_TMPOBJ
;
38640 int res3
= SWIG_TMPOBJ
;
38641 PyObject
*swig_obj
[1] ;
38645 if (!args
) SWIG_fail
;
38646 swig_obj
[0] = args
;
38647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38648 if (!SWIG_IsOK(res1
)) {
38649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38651 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38654 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38655 wxPyEndAllowThreads(__tstate
);
38656 if (PyErr_Occurred()) SWIG_fail
;
38658 resultobj
= SWIG_Py_Void();
38659 if (SWIG_IsTmpObj(res2
)) {
38660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38662 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38665 if (SWIG_IsTmpObj(res3
)) {
38666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38668 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38677 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38678 PyObject
*resultobj
= 0;
38679 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38680 int *arg2
= (int *) 0 ;
38681 int *arg3
= (int *) 0 ;
38685 int res2
= SWIG_TMPOBJ
;
38687 int res3
= SWIG_TMPOBJ
;
38688 PyObject
*swig_obj
[1] ;
38692 if (!args
) SWIG_fail
;
38693 swig_obj
[0] = args
;
38694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38695 if (!SWIG_IsOK(res1
)) {
38696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38698 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38701 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38702 wxPyEndAllowThreads(__tstate
);
38703 if (PyErr_Occurred()) SWIG_fail
;
38705 resultobj
= SWIG_Py_Void();
38706 if (SWIG_IsTmpObj(res2
)) {
38707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38709 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38712 if (SWIG_IsTmpObj(res3
)) {
38713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38715 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38724 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38725 PyObject
*resultobj
= 0;
38726 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38730 PyObject
*swig_obj
[1] ;
38732 if (!args
) SWIG_fail
;
38733 swig_obj
[0] = args
;
38734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38735 if (!SWIG_IsOK(res1
)) {
38736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38738 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38741 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38742 wxPyEndAllowThreads(__tstate
);
38743 if (PyErr_Occurred()) SWIG_fail
;
38745 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38752 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38753 PyObject
*resultobj
= 0;
38754 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38758 PyObject
*swig_obj
[1] ;
38760 if (!args
) SWIG_fail
;
38761 swig_obj
[0] = args
;
38762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38763 if (!SWIG_IsOK(res1
)) {
38764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38766 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38769 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38773 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38780 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38781 PyObject
*resultobj
= 0;
38782 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38783 SwigValueWrapper
<wxVisualAttributes
> result
;
38786 PyObject
*swig_obj
[1] ;
38788 if (!args
) SWIG_fail
;
38789 swig_obj
[0] = args
;
38790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38791 if (!SWIG_IsOK(res1
)) {
38792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38794 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38797 result
= (arg1
)->GetDefaultAttributes();
38798 wxPyEndAllowThreads(__tstate
);
38799 if (PyErr_Occurred()) SWIG_fail
;
38801 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38808 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38809 PyObject
*resultobj
= 0;
38810 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38813 PyObject
*swig_obj
[1] ;
38815 if (!args
) SWIG_fail
;
38816 swig_obj
[0] = args
;
38817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38818 if (!SWIG_IsOK(res1
)) {
38819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38821 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38824 (arg1
)->OnInternalIdle();
38825 wxPyEndAllowThreads(__tstate
);
38826 if (PyErr_Occurred()) SWIG_fail
;
38828 resultobj
= SWIG_Py_Void();
38835 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38838 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38839 return SWIG_Py_Void();
38842 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38843 return SWIG_Python_InitShadowInstance(args
);
38846 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38847 PyObject
*resultobj
= 0;
38848 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38849 int arg2
= (int) 0 ;
38850 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38851 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38852 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
38853 wxHelpEvent
*result
= 0 ;
38861 PyObject
* obj0
= 0 ;
38862 PyObject
* obj1
= 0 ;
38863 PyObject
* obj2
= 0 ;
38864 PyObject
* obj3
= 0 ;
38865 char * kwnames
[] = {
38866 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
38869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38871 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38872 if (!SWIG_IsOK(ecode1
)) {
38873 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38875 arg1
= static_cast< wxEventType
>(val1
);
38878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38879 if (!SWIG_IsOK(ecode2
)) {
38880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38882 arg2
= static_cast< int >(val2
);
38887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38892 if (!SWIG_IsOK(ecode4
)) {
38893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
38895 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
38898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38899 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
38900 wxPyEndAllowThreads(__tstate
);
38901 if (PyErr_Occurred()) SWIG_fail
;
38903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38910 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38911 PyObject
*resultobj
= 0;
38912 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38916 PyObject
*swig_obj
[1] ;
38918 if (!args
) SWIG_fail
;
38919 swig_obj
[0] = args
;
38920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38921 if (!SWIG_IsOK(res1
)) {
38922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38924 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38927 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38928 wxPyEndAllowThreads(__tstate
);
38929 if (PyErr_Occurred()) SWIG_fail
;
38931 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38938 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38939 PyObject
*resultobj
= 0;
38940 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38941 wxPoint
*arg2
= 0 ;
38945 PyObject
* obj0
= 0 ;
38946 PyObject
* obj1
= 0 ;
38947 char * kwnames
[] = {
38948 (char *) "self",(char *) "pos", NULL
38951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38953 if (!SWIG_IsOK(res1
)) {
38954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38956 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38963 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38964 wxPyEndAllowThreads(__tstate
);
38965 if (PyErr_Occurred()) SWIG_fail
;
38967 resultobj
= SWIG_Py_Void();
38974 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38975 PyObject
*resultobj
= 0;
38976 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38977 wxString
*result
= 0 ;
38980 PyObject
*swig_obj
[1] ;
38982 if (!args
) SWIG_fail
;
38983 swig_obj
[0] = args
;
38984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38985 if (!SWIG_IsOK(res1
)) {
38986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38988 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38992 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38993 result
= (wxString
*) &_result_ref
;
38995 wxPyEndAllowThreads(__tstate
);
38996 if (PyErr_Occurred()) SWIG_fail
;
39000 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39002 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39011 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39012 PyObject
*resultobj
= 0;
39013 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39014 wxString
*arg2
= 0 ;
39017 bool temp2
= false ;
39018 PyObject
* obj0
= 0 ;
39019 PyObject
* obj1
= 0 ;
39020 char * kwnames
[] = {
39021 (char *) "self",(char *) "link", NULL
39024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39026 if (!SWIG_IsOK(res1
)) {
39027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39029 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39031 arg2
= wxString_in_helper(obj1
);
39032 if (arg2
== NULL
) SWIG_fail
;
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 (arg1
)->SetLink((wxString
const &)*arg2
);
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39041 resultobj
= SWIG_Py_Void();
39056 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39057 PyObject
*resultobj
= 0;
39058 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39059 wxString
*result
= 0 ;
39062 PyObject
*swig_obj
[1] ;
39064 if (!args
) SWIG_fail
;
39065 swig_obj
[0] = args
;
39066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39067 if (!SWIG_IsOK(res1
)) {
39068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39070 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39074 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39075 result
= (wxString
*) &_result_ref
;
39077 wxPyEndAllowThreads(__tstate
);
39078 if (PyErr_Occurred()) SWIG_fail
;
39082 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39084 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39093 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39094 PyObject
*resultobj
= 0;
39095 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39096 wxString
*arg2
= 0 ;
39099 bool temp2
= false ;
39100 PyObject
* obj0
= 0 ;
39101 PyObject
* obj1
= 0 ;
39102 char * kwnames
[] = {
39103 (char *) "self",(char *) "target", NULL
39106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39108 if (!SWIG_IsOK(res1
)) {
39109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39111 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39113 arg2
= wxString_in_helper(obj1
);
39114 if (arg2
== NULL
) SWIG_fail
;
39118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39119 (arg1
)->SetTarget((wxString
const &)*arg2
);
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39123 resultobj
= SWIG_Py_Void();
39138 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39139 PyObject
*resultobj
= 0;
39140 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39141 wxHelpEvent::Origin result
;
39144 PyObject
*swig_obj
[1] ;
39146 if (!args
) SWIG_fail
;
39147 swig_obj
[0] = args
;
39148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39149 if (!SWIG_IsOK(res1
)) {
39150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39152 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39155 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39156 wxPyEndAllowThreads(__tstate
);
39157 if (PyErr_Occurred()) SWIG_fail
;
39159 resultobj
= SWIG_From_int(static_cast< int >(result
));
39166 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39167 PyObject
*resultobj
= 0;
39168 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39169 wxHelpEvent::Origin arg2
;
39174 PyObject
* obj0
= 0 ;
39175 PyObject
* obj1
= 0 ;
39176 char * kwnames
[] = {
39177 (char *) "self",(char *) "origin", NULL
39180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39182 if (!SWIG_IsOK(res1
)) {
39183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39185 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39187 if (!SWIG_IsOK(ecode2
)) {
39188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39190 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39193 (arg1
)->SetOrigin(arg2
);
39194 wxPyEndAllowThreads(__tstate
);
39195 if (PyErr_Occurred()) SWIG_fail
;
39197 resultobj
= SWIG_Py_Void();
39204 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39207 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39208 return SWIG_Py_Void();
39211 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39212 return SWIG_Python_InitShadowInstance(args
);
39215 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39216 PyObject
*resultobj
= 0;
39217 wxWindow
*arg1
= (wxWindow
*) NULL
;
39218 bool arg2
= (bool) true ;
39219 wxContextHelp
*result
= 0 ;
39224 PyObject
* obj0
= 0 ;
39225 PyObject
* obj1
= 0 ;
39226 char * kwnames
[] = {
39227 (char *) "window",(char *) "doNow", NULL
39230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39233 if (!SWIG_IsOK(res1
)) {
39234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39236 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39239 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39240 if (!SWIG_IsOK(ecode2
)) {
39241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39243 arg2
= static_cast< bool >(val2
);
39246 if (!wxPyCheckForApp()) SWIG_fail
;
39247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39248 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39249 wxPyEndAllowThreads(__tstate
);
39250 if (PyErr_Occurred()) SWIG_fail
;
39252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39259 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39260 PyObject
*resultobj
= 0;
39261 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39264 PyObject
*swig_obj
[1] ;
39266 if (!args
) SWIG_fail
;
39267 swig_obj
[0] = args
;
39268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39269 if (!SWIG_IsOK(res1
)) {
39270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39272 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39277 wxPyEndAllowThreads(__tstate
);
39278 if (PyErr_Occurred()) SWIG_fail
;
39280 resultobj
= SWIG_Py_Void();
39287 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39288 PyObject
*resultobj
= 0;
39289 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39290 wxWindow
*arg2
= (wxWindow
*) NULL
;
39296 PyObject
* obj0
= 0 ;
39297 PyObject
* obj1
= 0 ;
39298 char * kwnames
[] = {
39299 (char *) "self",(char *) "window", NULL
39302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39304 if (!SWIG_IsOK(res1
)) {
39305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39307 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39310 if (!SWIG_IsOK(res2
)) {
39311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39317 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39318 wxPyEndAllowThreads(__tstate
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39330 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39331 PyObject
*resultobj
= 0;
39332 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39336 PyObject
*swig_obj
[1] ;
39338 if (!args
) SWIG_fail
;
39339 swig_obj
[0] = args
;
39340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39341 if (!SWIG_IsOK(res1
)) {
39342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39344 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39347 result
= (bool)(arg1
)->EndContextHelp();
39348 wxPyEndAllowThreads(__tstate
);
39349 if (PyErr_Occurred()) SWIG_fail
;
39352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39360 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39363 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39364 return SWIG_Py_Void();
39367 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39368 return SWIG_Python_InitShadowInstance(args
);
39371 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39372 PyObject
*resultobj
= 0;
39373 wxWindow
*arg1
= (wxWindow
*) 0 ;
39374 int arg2
= (int) wxID_CONTEXT_HELP
;
39375 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39376 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39377 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39378 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39379 long arg5
= (long) wxBU_AUTODRAW
;
39380 wxContextHelpButton
*result
= 0 ;
39389 PyObject
* obj0
= 0 ;
39390 PyObject
* obj1
= 0 ;
39391 PyObject
* obj2
= 0 ;
39392 PyObject
* obj3
= 0 ;
39393 PyObject
* obj4
= 0 ;
39394 char * kwnames
[] = {
39395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39400 if (!SWIG_IsOK(res1
)) {
39401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39406 if (!SWIG_IsOK(ecode2
)) {
39407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39409 arg2
= static_cast< int >(val2
);
39414 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39420 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39424 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39425 if (!SWIG_IsOK(ecode5
)) {
39426 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39428 arg5
= static_cast< long >(val5
);
39431 if (!wxPyCheckForApp()) SWIG_fail
;
39432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39433 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39434 wxPyEndAllowThreads(__tstate
);
39435 if (PyErr_Occurred()) SWIG_fail
;
39437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39444 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39447 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39448 return SWIG_Py_Void();
39451 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39452 return SWIG_Python_InitShadowInstance(args
);
39455 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39456 PyObject
*resultobj
= 0;
39457 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39460 PyObject
*swig_obj
[1] ;
39462 if (!args
) SWIG_fail
;
39463 swig_obj
[0] = args
;
39464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39465 if (!SWIG_IsOK(res1
)) {
39466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39468 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39473 wxPyEndAllowThreads(__tstate
);
39474 if (PyErr_Occurred()) SWIG_fail
;
39476 resultobj
= SWIG_Py_Void();
39483 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39484 PyObject
*resultobj
= 0;
39485 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39486 wxHelpProvider
*result
= 0 ;
39488 PyObject
* obj0
= 0 ;
39489 char * kwnames
[] = {
39490 (char *) "helpProvider", NULL
39493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39494 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39495 if (!SWIG_IsOK(res1
)) {
39496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39500 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39501 wxPyEndAllowThreads(__tstate
);
39502 if (PyErr_Occurred()) SWIG_fail
;
39504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39511 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39512 PyObject
*resultobj
= 0;
39513 wxHelpProvider
*result
= 0 ;
39515 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39518 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39519 wxPyEndAllowThreads(__tstate
);
39520 if (PyErr_Occurred()) SWIG_fail
;
39522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39529 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39530 PyObject
*resultobj
= 0;
39531 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39532 wxWindow
*arg2
= (wxWindow
*) 0 ;
39538 PyObject
* obj0
= 0 ;
39539 PyObject
* obj1
= 0 ;
39540 char * kwnames
[] = {
39541 (char *) "self",(char *) "window", NULL
39544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39546 if (!SWIG_IsOK(res1
)) {
39547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39549 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39551 if (!SWIG_IsOK(res2
)) {
39552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39554 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39557 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39558 wxPyEndAllowThreads(__tstate
);
39559 if (PyErr_Occurred()) SWIG_fail
;
39563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39574 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39575 PyObject
*resultobj
= 0;
39576 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39577 wxWindow
*arg2
= (wxWindow
*) 0 ;
39583 PyObject
* obj0
= 0 ;
39584 PyObject
* obj1
= 0 ;
39585 char * kwnames
[] = {
39586 (char *) "self",(char *) "window", NULL
39589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39591 if (!SWIG_IsOK(res1
)) {
39592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39594 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39596 if (!SWIG_IsOK(res2
)) {
39597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39599 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39602 result
= (bool)(arg1
)->ShowHelp(arg2
);
39603 wxPyEndAllowThreads(__tstate
);
39604 if (PyErr_Occurred()) SWIG_fail
;
39607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39615 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39616 PyObject
*resultobj
= 0;
39617 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39618 wxWindow
*arg2
= (wxWindow
*) 0 ;
39619 wxString
*arg3
= 0 ;
39624 bool temp3
= false ;
39625 PyObject
* obj0
= 0 ;
39626 PyObject
* obj1
= 0 ;
39627 PyObject
* obj2
= 0 ;
39628 char * kwnames
[] = {
39629 (char *) "self",(char *) "window",(char *) "text", NULL
39632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39634 if (!SWIG_IsOK(res1
)) {
39635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39637 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39639 if (!SWIG_IsOK(res2
)) {
39640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39642 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39644 arg3
= wxString_in_helper(obj2
);
39645 if (arg3
== NULL
) SWIG_fail
;
39649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39650 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39651 wxPyEndAllowThreads(__tstate
);
39652 if (PyErr_Occurred()) SWIG_fail
;
39654 resultobj
= SWIG_Py_Void();
39669 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39670 PyObject
*resultobj
= 0;
39671 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39673 wxString
*arg3
= 0 ;
39678 bool temp3
= false ;
39679 PyObject
* obj0
= 0 ;
39680 PyObject
* obj1
= 0 ;
39681 PyObject
* obj2
= 0 ;
39682 char * kwnames
[] = {
39683 (char *) "self",(char *) "id",(char *) "text", NULL
39686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39688 if (!SWIG_IsOK(res1
)) {
39689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39691 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39693 if (!SWIG_IsOK(ecode2
)) {
39694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39696 arg2
= static_cast< int >(val2
);
39698 arg3
= wxString_in_helper(obj2
);
39699 if (arg3
== NULL
) SWIG_fail
;
39703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39704 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39705 wxPyEndAllowThreads(__tstate
);
39706 if (PyErr_Occurred()) SWIG_fail
;
39708 resultobj
= SWIG_Py_Void();
39723 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39724 PyObject
*resultobj
= 0;
39725 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39726 wxWindow
*arg2
= (wxWindow
*) 0 ;
39731 PyObject
* obj0
= 0 ;
39732 PyObject
* obj1
= 0 ;
39733 char * kwnames
[] = {
39734 (char *) "self",(char *) "window", NULL
39737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39739 if (!SWIG_IsOK(res1
)) {
39740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39742 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39743 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39744 if (!SWIG_IsOK(res2
)) {
39745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39747 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39750 (arg1
)->RemoveHelp(arg2
);
39751 wxPyEndAllowThreads(__tstate
);
39752 if (PyErr_Occurred()) SWIG_fail
;
39754 resultobj
= SWIG_Py_Void();
39761 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39762 PyObject
*resultobj
= 0;
39763 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39766 PyObject
*swig_obj
[1] ;
39768 if (!args
) SWIG_fail
;
39769 swig_obj
[0] = args
;
39770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39771 if (!SWIG_IsOK(res1
)) {
39772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39774 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39777 wxHelpProvider_Destroy(arg1
);
39778 wxPyEndAllowThreads(__tstate
);
39779 if (PyErr_Occurred()) SWIG_fail
;
39781 resultobj
= SWIG_Py_Void();
39788 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39791 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39792 return SWIG_Py_Void();
39795 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39796 PyObject
*resultobj
= 0;
39797 wxSimpleHelpProvider
*result
= 0 ;
39799 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39802 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39803 wxPyEndAllowThreads(__tstate
);
39804 if (PyErr_Occurred()) SWIG_fail
;
39806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39813 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39817 return SWIG_Py_Void();
39820 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39821 return SWIG_Python_InitShadowInstance(args
);
39824 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39825 PyObject
*resultobj
= 0;
39826 wxBitmap
*arg1
= 0 ;
39827 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39828 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39829 wxGenericDragImage
*result
= 0 ;
39834 PyObject
* obj0
= 0 ;
39835 PyObject
* obj1
= 0 ;
39836 char * kwnames
[] = {
39837 (char *) "image",(char *) "cursor", NULL
39840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39841 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39842 if (!SWIG_IsOK(res1
)) {
39843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39848 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39851 if (!SWIG_IsOK(res2
)) {
39852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39857 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39860 if (!wxPyCheckForApp()) SWIG_fail
;
39861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39862 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39873 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39874 PyObject
*resultobj
= 0;
39876 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39877 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39878 wxGenericDragImage
*result
= 0 ;
39883 PyObject
* obj0
= 0 ;
39884 PyObject
* obj1
= 0 ;
39885 char * kwnames
[] = {
39886 (char *) "image",(char *) "cursor", NULL
39889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39890 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39891 if (!SWIG_IsOK(res1
)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39897 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39900 if (!SWIG_IsOK(res2
)) {
39901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39906 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39909 if (!wxPyCheckForApp()) SWIG_fail
;
39910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39912 wxPyEndAllowThreads(__tstate
);
39913 if (PyErr_Occurred()) SWIG_fail
;
39915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39922 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
= 0;
39924 wxString
*arg1
= 0 ;
39925 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39926 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39927 wxGenericDragImage
*result
= 0 ;
39928 bool temp1
= false ;
39931 PyObject
* obj0
= 0 ;
39932 PyObject
* obj1
= 0 ;
39933 char * kwnames
[] = {
39934 (char *) "str",(char *) "cursor", NULL
39937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39939 arg1
= wxString_in_helper(obj0
);
39940 if (arg1
== NULL
) SWIG_fail
;
39944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39945 if (!SWIG_IsOK(res2
)) {
39946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39951 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39954 if (!wxPyCheckForApp()) SWIG_fail
;
39955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39956 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39957 wxPyEndAllowThreads(__tstate
);
39958 if (PyErr_Occurred()) SWIG_fail
;
39960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39975 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39976 PyObject
*resultobj
= 0;
39977 wxPyTreeCtrl
*arg1
= 0 ;
39978 wxTreeItemId
*arg2
= 0 ;
39979 wxGenericDragImage
*result
= 0 ;
39984 PyObject
* obj0
= 0 ;
39985 PyObject
* obj1
= 0 ;
39986 char * kwnames
[] = {
39987 (char *) "treeCtrl",(char *) "id", NULL
39990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39991 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39992 if (!SWIG_IsOK(res1
)) {
39993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40000 if (!SWIG_IsOK(res2
)) {
40001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40006 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40008 if (!wxPyCheckForApp()) SWIG_fail
;
40009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40010 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40011 wxPyEndAllowThreads(__tstate
);
40012 if (PyErr_Occurred()) SWIG_fail
;
40014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40021 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40022 PyObject
*resultobj
= 0;
40023 wxPyListCtrl
*arg1
= 0 ;
40025 wxGenericDragImage
*result
= 0 ;
40030 PyObject
* obj0
= 0 ;
40031 PyObject
* obj1
= 0 ;
40032 char * kwnames
[] = {
40033 (char *) "listCtrl",(char *) "id", NULL
40036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40037 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40038 if (!SWIG_IsOK(res1
)) {
40039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40044 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40045 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40046 if (!SWIG_IsOK(ecode2
)) {
40047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40049 arg2
= static_cast< long >(val2
);
40051 if (!wxPyCheckForApp()) SWIG_fail
;
40052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40053 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40054 wxPyEndAllowThreads(__tstate
);
40055 if (PyErr_Occurred()) SWIG_fail
;
40057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40064 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40065 PyObject
*resultobj
= 0;
40066 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40069 PyObject
*swig_obj
[1] ;
40071 if (!args
) SWIG_fail
;
40072 swig_obj
[0] = args
;
40073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40074 if (!SWIG_IsOK(res1
)) {
40075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40077 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40082 wxPyEndAllowThreads(__tstate
);
40083 if (PyErr_Occurred()) SWIG_fail
;
40085 resultobj
= SWIG_Py_Void();
40092 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40093 PyObject
*resultobj
= 0;
40094 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40095 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40100 PyObject
* obj0
= 0 ;
40101 PyObject
* obj1
= 0 ;
40102 char * kwnames
[] = {
40103 (char *) "self",(char *) "bitmap", NULL
40106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40108 if (!SWIG_IsOK(res1
)) {
40109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40111 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40113 if (!SWIG_IsOK(res2
)) {
40114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40116 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40119 (arg1
)->SetBackingBitmap(arg2
);
40120 wxPyEndAllowThreads(__tstate
);
40121 if (PyErr_Occurred()) SWIG_fail
;
40123 resultobj
= SWIG_Py_Void();
40130 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40131 PyObject
*resultobj
= 0;
40132 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40133 wxPoint
*arg2
= 0 ;
40134 wxWindow
*arg3
= (wxWindow
*) 0 ;
40135 bool arg4
= (bool) false ;
40136 wxRect
*arg5
= (wxRect
*) NULL
;
40147 PyObject
* obj0
= 0 ;
40148 PyObject
* obj1
= 0 ;
40149 PyObject
* obj2
= 0 ;
40150 PyObject
* obj3
= 0 ;
40151 PyObject
* obj4
= 0 ;
40152 char * kwnames
[] = {
40153 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40158 if (!SWIG_IsOK(res1
)) {
40159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40161 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40164 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40166 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40167 if (!SWIG_IsOK(res3
)) {
40168 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40170 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40172 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40173 if (!SWIG_IsOK(ecode4
)) {
40174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40176 arg4
= static_cast< bool >(val4
);
40179 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40180 if (!SWIG_IsOK(res5
)) {
40181 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40183 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40187 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40188 wxPyEndAllowThreads(__tstate
);
40189 if (PyErr_Occurred()) SWIG_fail
;
40192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40200 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40201 PyObject
*resultobj
= 0;
40202 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40203 wxPoint
*arg2
= 0 ;
40204 wxWindow
*arg3
= (wxWindow
*) 0 ;
40205 wxWindow
*arg4
= (wxWindow
*) 0 ;
40214 PyObject
* obj0
= 0 ;
40215 PyObject
* obj1
= 0 ;
40216 PyObject
* obj2
= 0 ;
40217 PyObject
* obj3
= 0 ;
40218 char * kwnames
[] = {
40219 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40224 if (!SWIG_IsOK(res1
)) {
40225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40227 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40230 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40232 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40233 if (!SWIG_IsOK(res3
)) {
40234 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40236 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40237 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40238 if (!SWIG_IsOK(res4
)) {
40239 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40241 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40244 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40245 wxPyEndAllowThreads(__tstate
);
40246 if (PyErr_Occurred()) SWIG_fail
;
40249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40257 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40258 PyObject
*resultobj
= 0;
40259 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40263 PyObject
*swig_obj
[1] ;
40265 if (!args
) SWIG_fail
;
40266 swig_obj
[0] = args
;
40267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40268 if (!SWIG_IsOK(res1
)) {
40269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40271 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40274 result
= (bool)(arg1
)->EndDrag();
40275 wxPyEndAllowThreads(__tstate
);
40276 if (PyErr_Occurred()) SWIG_fail
;
40279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40287 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40288 PyObject
*resultobj
= 0;
40289 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40290 wxPoint
*arg2
= 0 ;
40295 PyObject
* obj0
= 0 ;
40296 PyObject
* obj1
= 0 ;
40297 char * kwnames
[] = {
40298 (char *) "self",(char *) "pt", NULL
40301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40303 if (!SWIG_IsOK(res1
)) {
40304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40306 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40313 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40314 wxPyEndAllowThreads(__tstate
);
40315 if (PyErr_Occurred()) SWIG_fail
;
40318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40326 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40327 PyObject
*resultobj
= 0;
40328 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40332 PyObject
*swig_obj
[1] ;
40334 if (!args
) SWIG_fail
;
40335 swig_obj
[0] = args
;
40336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40337 if (!SWIG_IsOK(res1
)) {
40338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40340 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40343 result
= (bool)(arg1
)->Show();
40344 wxPyEndAllowThreads(__tstate
);
40345 if (PyErr_Occurred()) SWIG_fail
;
40348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40356 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40357 PyObject
*resultobj
= 0;
40358 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40362 PyObject
*swig_obj
[1] ;
40364 if (!args
) SWIG_fail
;
40365 swig_obj
[0] = args
;
40366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40367 if (!SWIG_IsOK(res1
)) {
40368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40370 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40373 result
= (bool)(arg1
)->Hide();
40374 wxPyEndAllowThreads(__tstate
);
40375 if (PyErr_Occurred()) SWIG_fail
;
40378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40386 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40387 PyObject
*resultobj
= 0;
40388 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40389 wxPoint
*arg2
= 0 ;
40394 PyObject
* obj0
= 0 ;
40395 PyObject
* obj1
= 0 ;
40396 char * kwnames
[] = {
40397 (char *) "self",(char *) "pos", NULL
40400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40402 if (!SWIG_IsOK(res1
)) {
40403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40405 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40412 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40413 wxPyEndAllowThreads(__tstate
);
40414 if (PyErr_Occurred()) SWIG_fail
;
40416 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40423 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40424 PyObject
*resultobj
= 0;
40425 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40427 wxPoint
*arg3
= 0 ;
40434 PyObject
* obj0
= 0 ;
40435 PyObject
* obj1
= 0 ;
40436 PyObject
* obj2
= 0 ;
40437 char * kwnames
[] = {
40438 (char *) "self",(char *) "dc",(char *) "pos", NULL
40441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40443 if (!SWIG_IsOK(res1
)) {
40444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40446 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40448 if (!SWIG_IsOK(res2
)) {
40449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40454 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40457 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40461 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40462 wxPyEndAllowThreads(__tstate
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40474 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40475 PyObject
*resultobj
= 0;
40476 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40478 wxMemoryDC
*arg3
= 0 ;
40490 PyObject
* obj0
= 0 ;
40491 PyObject
* obj1
= 0 ;
40492 PyObject
* obj2
= 0 ;
40493 PyObject
* obj3
= 0 ;
40494 PyObject
* obj4
= 0 ;
40495 char * kwnames
[] = {
40496 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40501 if (!SWIG_IsOK(res1
)) {
40502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40504 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40506 if (!SWIG_IsOK(res2
)) {
40507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40512 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40513 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40514 if (!SWIG_IsOK(res3
)) {
40515 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40520 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40523 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40527 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40531 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40532 wxPyEndAllowThreads(__tstate
);
40533 if (PyErr_Occurred()) SWIG_fail
;
40536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40544 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40545 PyObject
*resultobj
= 0;
40546 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40547 wxPoint
*arg2
= 0 ;
40548 wxPoint
*arg3
= 0 ;
40560 PyObject
* obj0
= 0 ;
40561 PyObject
* obj1
= 0 ;
40562 PyObject
* obj2
= 0 ;
40563 PyObject
* obj3
= 0 ;
40564 PyObject
* obj4
= 0 ;
40565 char * kwnames
[] = {
40566 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40571 if (!SWIG_IsOK(res1
)) {
40572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40574 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40583 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40584 if (!SWIG_IsOK(ecode4
)) {
40585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40587 arg4
= static_cast< bool >(val4
);
40588 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40589 if (!SWIG_IsOK(ecode5
)) {
40590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40592 arg5
= static_cast< bool >(val5
);
40594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40595 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40596 wxPyEndAllowThreads(__tstate
);
40597 if (PyErr_Occurred()) SWIG_fail
;
40600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40608 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40611 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40612 return SWIG_Py_Void();
40615 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40616 return SWIG_Python_InitShadowInstance(args
);
40619 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40620 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40625 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40626 PyObject
*pyobj
= 0;
40630 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40632 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40639 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40640 PyObject
*resultobj
= 0;
40641 wxWindow
*arg1
= (wxWindow
*) 0 ;
40642 int arg2
= (int) -1 ;
40643 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40644 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40645 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40646 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40647 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40648 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40649 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40650 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40651 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40652 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40653 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40654 wxDatePickerCtrl
*result
= 0 ;
40667 bool temp8
= false ;
40668 PyObject
* obj0
= 0 ;
40669 PyObject
* obj1
= 0 ;
40670 PyObject
* obj2
= 0 ;
40671 PyObject
* obj3
= 0 ;
40672 PyObject
* obj4
= 0 ;
40673 PyObject
* obj5
= 0 ;
40674 PyObject
* obj6
= 0 ;
40675 PyObject
* obj7
= 0 ;
40676 char * kwnames
[] = {
40677 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40682 if (!SWIG_IsOK(res1
)) {
40683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40688 if (!SWIG_IsOK(ecode2
)) {
40689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40691 arg2
= static_cast< int >(val2
);
40694 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40695 if (!SWIG_IsOK(res3
)) {
40696 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40701 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40706 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40712 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40716 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40717 if (!SWIG_IsOK(ecode6
)) {
40718 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40720 arg6
= static_cast< long >(val6
);
40723 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40724 if (!SWIG_IsOK(res7
)) {
40725 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40730 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40734 arg8
= wxString_in_helper(obj7
);
40735 if (arg8
== NULL
) SWIG_fail
;
40740 if (!wxPyCheckForApp()) SWIG_fail
;
40741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40742 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40743 wxPyEndAllowThreads(__tstate
);
40744 if (PyErr_Occurred()) SWIG_fail
;
40746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40761 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40762 PyObject
*resultobj
= 0;
40763 wxDatePickerCtrl
*result
= 0 ;
40765 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40767 if (!wxPyCheckForApp()) SWIG_fail
;
40768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40769 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40770 wxPyEndAllowThreads(__tstate
);
40771 if (PyErr_Occurred()) SWIG_fail
;
40773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40780 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40781 PyObject
*resultobj
= 0;
40782 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40783 wxWindow
*arg2
= (wxWindow
*) 0 ;
40784 int arg3
= (int) -1 ;
40785 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40786 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40787 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40788 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40789 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40790 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40791 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40792 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40793 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40794 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40795 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40811 bool temp9
= false ;
40812 PyObject
* obj0
= 0 ;
40813 PyObject
* obj1
= 0 ;
40814 PyObject
* obj2
= 0 ;
40815 PyObject
* obj3
= 0 ;
40816 PyObject
* obj4
= 0 ;
40817 PyObject
* obj5
= 0 ;
40818 PyObject
* obj6
= 0 ;
40819 PyObject
* obj7
= 0 ;
40820 PyObject
* obj8
= 0 ;
40821 char * kwnames
[] = {
40822 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40827 if (!SWIG_IsOK(res1
)) {
40828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40830 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40832 if (!SWIG_IsOK(res2
)) {
40833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40835 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40838 if (!SWIG_IsOK(ecode3
)) {
40839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40841 arg3
= static_cast< int >(val3
);
40844 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40845 if (!SWIG_IsOK(res4
)) {
40846 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40851 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40856 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40862 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40866 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40867 if (!SWIG_IsOK(ecode7
)) {
40868 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40870 arg7
= static_cast< long >(val7
);
40873 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40874 if (!SWIG_IsOK(res8
)) {
40875 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40880 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40884 arg9
= wxString_in_helper(obj8
);
40885 if (arg9
== NULL
) SWIG_fail
;
40890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40892 wxPyEndAllowThreads(__tstate
);
40893 if (PyErr_Occurred()) SWIG_fail
;
40896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40912 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40913 PyObject
*resultobj
= 0;
40914 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40915 wxDateTime
*arg2
= 0 ;
40920 PyObject
* obj0
= 0 ;
40921 PyObject
* obj1
= 0 ;
40922 char * kwnames
[] = {
40923 (char *) "self",(char *) "dt", NULL
40926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40928 if (!SWIG_IsOK(res1
)) {
40929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40931 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40933 if (!SWIG_IsOK(res2
)) {
40934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40939 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40942 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40943 wxPyEndAllowThreads(__tstate
);
40944 if (PyErr_Occurred()) SWIG_fail
;
40946 resultobj
= SWIG_Py_Void();
40953 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40954 PyObject
*resultobj
= 0;
40955 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40959 PyObject
*swig_obj
[1] ;
40961 if (!args
) SWIG_fail
;
40962 swig_obj
[0] = args
;
40963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40964 if (!SWIG_IsOK(res1
)) {
40965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40967 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40970 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40971 wxPyEndAllowThreads(__tstate
);
40972 if (PyErr_Occurred()) SWIG_fail
;
40974 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40981 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40982 PyObject
*resultobj
= 0;
40983 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40984 wxDateTime
*arg2
= 0 ;
40985 wxDateTime
*arg3
= 0 ;
40992 PyObject
* obj0
= 0 ;
40993 PyObject
* obj1
= 0 ;
40994 PyObject
* obj2
= 0 ;
40995 char * kwnames
[] = {
40996 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41001 if (!SWIG_IsOK(res1
)) {
41002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41004 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41006 if (!SWIG_IsOK(res2
)) {
41007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41012 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41013 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41014 if (!SWIG_IsOK(res3
)) {
41015 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41020 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41023 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41024 wxPyEndAllowThreads(__tstate
);
41025 if (PyErr_Occurred()) SWIG_fail
;
41027 resultobj
= SWIG_Py_Void();
41034 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41035 PyObject
*resultobj
= 0;
41036 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41040 PyObject
*swig_obj
[1] ;
41042 if (!args
) SWIG_fail
;
41043 swig_obj
[0] = args
;
41044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41045 if (!SWIG_IsOK(res1
)) {
41046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41048 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41051 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41052 wxPyEndAllowThreads(__tstate
);
41053 if (PyErr_Occurred()) SWIG_fail
;
41055 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41062 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41063 PyObject
*resultobj
= 0;
41064 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41068 PyObject
*swig_obj
[1] ;
41070 if (!args
) SWIG_fail
;
41071 swig_obj
[0] = args
;
41072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41073 if (!SWIG_IsOK(res1
)) {
41074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41076 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41079 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41080 wxPyEndAllowThreads(__tstate
);
41081 if (PyErr_Occurred()) SWIG_fail
;
41083 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41090 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41093 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41094 return SWIG_Py_Void();
41097 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41098 return SWIG_Python_InitShadowInstance(args
);
41101 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41102 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41107 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41108 PyObject
*pyobj
= 0;
41112 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41114 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41121 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41122 PyObject
*resultobj
= 0;
41123 wxWindow
*arg1
= (wxWindow
*) 0 ;
41125 wxString
*arg3
= 0 ;
41126 wxString
*arg4
= 0 ;
41127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41131 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41132 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41134 wxHyperlinkCtrl
*result
= 0 ;
41139 bool temp3
= false ;
41140 bool temp4
= false ;
41145 bool temp8
= false ;
41146 PyObject
* obj0
= 0 ;
41147 PyObject
* obj1
= 0 ;
41148 PyObject
* obj2
= 0 ;
41149 PyObject
* obj3
= 0 ;
41150 PyObject
* obj4
= 0 ;
41151 PyObject
* obj5
= 0 ;
41152 PyObject
* obj6
= 0 ;
41153 PyObject
* obj7
= 0 ;
41154 char * kwnames
[] = {
41155 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41160 if (!SWIG_IsOK(res1
)) {
41161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41165 if (!SWIG_IsOK(ecode2
)) {
41166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41168 arg2
= static_cast< int >(val2
);
41170 arg3
= wxString_in_helper(obj2
);
41171 if (arg3
== NULL
) SWIG_fail
;
41175 arg4
= wxString_in_helper(obj3
);
41176 if (arg4
== NULL
) SWIG_fail
;
41182 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41188 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41192 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41193 if (!SWIG_IsOK(ecode7
)) {
41194 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41196 arg7
= static_cast< long >(val7
);
41200 arg8
= wxString_in_helper(obj7
);
41201 if (arg8
== NULL
) SWIG_fail
;
41206 if (!wxPyCheckForApp()) SWIG_fail
;
41207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41208 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41209 wxPyEndAllowThreads(__tstate
);
41210 if (PyErr_Occurred()) SWIG_fail
;
41212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41243 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41244 PyObject
*resultobj
= 0;
41245 wxHyperlinkCtrl
*result
= 0 ;
41247 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41249 if (!wxPyCheckForApp()) SWIG_fail
;
41250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41251 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41252 wxPyEndAllowThreads(__tstate
);
41253 if (PyErr_Occurred()) SWIG_fail
;
41255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41262 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41263 PyObject
*resultobj
= 0;
41264 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41265 wxWindow
*arg2
= (wxWindow
*) 0 ;
41267 wxString
*arg4
= 0 ;
41268 wxString
*arg5
= 0 ;
41269 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41270 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41271 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41272 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41273 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41274 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41275 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41283 bool temp4
= false ;
41284 bool temp5
= false ;
41289 bool temp9
= false ;
41290 PyObject
* obj0
= 0 ;
41291 PyObject
* obj1
= 0 ;
41292 PyObject
* obj2
= 0 ;
41293 PyObject
* obj3
= 0 ;
41294 PyObject
* obj4
= 0 ;
41295 PyObject
* obj5
= 0 ;
41296 PyObject
* obj6
= 0 ;
41297 PyObject
* obj7
= 0 ;
41298 PyObject
* obj8
= 0 ;
41299 char * kwnames
[] = {
41300 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41305 if (!SWIG_IsOK(res1
)) {
41306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41308 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41310 if (!SWIG_IsOK(res2
)) {
41311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41315 if (!SWIG_IsOK(ecode3
)) {
41316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41318 arg3
= static_cast< int >(val3
);
41320 arg4
= wxString_in_helper(obj3
);
41321 if (arg4
== NULL
) SWIG_fail
;
41325 arg5
= wxString_in_helper(obj4
);
41326 if (arg5
== NULL
) SWIG_fail
;
41332 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41338 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41342 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41343 if (!SWIG_IsOK(ecode8
)) {
41344 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41346 arg8
= static_cast< long >(val8
);
41350 arg9
= wxString_in_helper(obj8
);
41351 if (arg9
== NULL
) SWIG_fail
;
41356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41357 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41358 wxPyEndAllowThreads(__tstate
);
41359 if (PyErr_Occurred()) SWIG_fail
;
41362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41394 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41395 PyObject
*resultobj
= 0;
41396 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41400 PyObject
*swig_obj
[1] ;
41402 if (!args
) SWIG_fail
;
41403 swig_obj
[0] = args
;
41404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41405 if (!SWIG_IsOK(res1
)) {
41406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41408 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41411 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41412 wxPyEndAllowThreads(__tstate
);
41413 if (PyErr_Occurred()) SWIG_fail
;
41415 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41422 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41423 PyObject
*resultobj
= 0;
41424 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41425 wxColour
*arg2
= 0 ;
41429 PyObject
* obj0
= 0 ;
41430 PyObject
* obj1
= 0 ;
41431 char * kwnames
[] = {
41432 (char *) "self",(char *) "colour", NULL
41435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41437 if (!SWIG_IsOK(res1
)) {
41438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41440 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41443 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41447 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41448 wxPyEndAllowThreads(__tstate
);
41449 if (PyErr_Occurred()) SWIG_fail
;
41451 resultobj
= SWIG_Py_Void();
41458 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41459 PyObject
*resultobj
= 0;
41460 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41464 PyObject
*swig_obj
[1] ;
41466 if (!args
) SWIG_fail
;
41467 swig_obj
[0] = args
;
41468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41469 if (!SWIG_IsOK(res1
)) {
41470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41472 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41475 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41476 wxPyEndAllowThreads(__tstate
);
41477 if (PyErr_Occurred()) SWIG_fail
;
41479 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41486 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41487 PyObject
*resultobj
= 0;
41488 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41489 wxColour
*arg2
= 0 ;
41493 PyObject
* obj0
= 0 ;
41494 PyObject
* obj1
= 0 ;
41495 char * kwnames
[] = {
41496 (char *) "self",(char *) "colour", NULL
41499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41501 if (!SWIG_IsOK(res1
)) {
41502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41504 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41507 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41511 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41512 wxPyEndAllowThreads(__tstate
);
41513 if (PyErr_Occurred()) SWIG_fail
;
41515 resultobj
= SWIG_Py_Void();
41522 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41523 PyObject
*resultobj
= 0;
41524 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41528 PyObject
*swig_obj
[1] ;
41530 if (!args
) SWIG_fail
;
41531 swig_obj
[0] = args
;
41532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41533 if (!SWIG_IsOK(res1
)) {
41534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41536 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41539 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41540 wxPyEndAllowThreads(__tstate
);
41541 if (PyErr_Occurred()) SWIG_fail
;
41543 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41550 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41551 PyObject
*resultobj
= 0;
41552 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41553 wxColour
*arg2
= 0 ;
41557 PyObject
* obj0
= 0 ;
41558 PyObject
* obj1
= 0 ;
41559 char * kwnames
[] = {
41560 (char *) "self",(char *) "colour", NULL
41563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41565 if (!SWIG_IsOK(res1
)) {
41566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41568 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41571 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41575 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41576 wxPyEndAllowThreads(__tstate
);
41577 if (PyErr_Occurred()) SWIG_fail
;
41579 resultobj
= SWIG_Py_Void();
41586 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41587 PyObject
*resultobj
= 0;
41588 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41592 PyObject
*swig_obj
[1] ;
41594 if (!args
) SWIG_fail
;
41595 swig_obj
[0] = args
;
41596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41597 if (!SWIG_IsOK(res1
)) {
41598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41600 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41603 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41604 wxPyEndAllowThreads(__tstate
);
41605 if (PyErr_Occurred()) SWIG_fail
;
41609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41620 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41621 PyObject
*resultobj
= 0;
41622 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41623 wxString
*arg2
= 0 ;
41626 bool temp2
= false ;
41627 PyObject
* obj0
= 0 ;
41628 PyObject
* obj1
= 0 ;
41629 char * kwnames
[] = {
41630 (char *) "self",(char *) "url", NULL
41633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41635 if (!SWIG_IsOK(res1
)) {
41636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41638 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41640 arg2
= wxString_in_helper(obj1
);
41641 if (arg2
== NULL
) SWIG_fail
;
41645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41646 (arg1
)->SetURL((wxString
const &)*arg2
);
41647 wxPyEndAllowThreads(__tstate
);
41648 if (PyErr_Occurred()) SWIG_fail
;
41650 resultobj
= SWIG_Py_Void();
41665 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41666 PyObject
*resultobj
= 0;
41667 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41668 bool arg2
= (bool) true ;
41673 PyObject
* obj0
= 0 ;
41674 PyObject
* obj1
= 0 ;
41675 char * kwnames
[] = {
41676 (char *) "self",(char *) "visited", NULL
41679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41681 if (!SWIG_IsOK(res1
)) {
41682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41684 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41686 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41687 if (!SWIG_IsOK(ecode2
)) {
41688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41690 arg2
= static_cast< bool >(val2
);
41693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41694 (arg1
)->SetVisited(arg2
);
41695 wxPyEndAllowThreads(__tstate
);
41696 if (PyErr_Occurred()) SWIG_fail
;
41698 resultobj
= SWIG_Py_Void();
41705 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41706 PyObject
*resultobj
= 0;
41707 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41711 PyObject
*swig_obj
[1] ;
41713 if (!args
) SWIG_fail
;
41714 swig_obj
[0] = args
;
41715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41716 if (!SWIG_IsOK(res1
)) {
41717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41719 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41722 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
41723 wxPyEndAllowThreads(__tstate
);
41724 if (PyErr_Occurred()) SWIG_fail
;
41727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41735 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41738 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
41739 return SWIG_Py_Void();
41742 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41743 return SWIG_Python_InitShadowInstance(args
);
41746 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41747 PyObject
*resultobj
= 0;
41748 wxObject
*arg1
= (wxObject
*) 0 ;
41750 wxString
*arg3
= 0 ;
41751 wxHyperlinkEvent
*result
= 0 ;
41756 bool temp3
= false ;
41757 PyObject
* obj0
= 0 ;
41758 PyObject
* obj1
= 0 ;
41759 PyObject
* obj2
= 0 ;
41760 char * kwnames
[] = {
41761 (char *) "generator",(char *) "id",(char *) "url", NULL
41764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
41766 if (!SWIG_IsOK(res1
)) {
41767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41769 arg1
= reinterpret_cast< wxObject
* >(argp1
);
41770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41771 if (!SWIG_IsOK(ecode2
)) {
41772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41774 arg2
= static_cast< int >(val2
);
41776 arg3
= wxString_in_helper(obj2
);
41777 if (arg3
== NULL
) SWIG_fail
;
41781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41782 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
41783 wxPyEndAllowThreads(__tstate
);
41784 if (PyErr_Occurred()) SWIG_fail
;
41786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
41801 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41802 PyObject
*resultobj
= 0;
41803 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41807 PyObject
*swig_obj
[1] ;
41809 if (!args
) SWIG_fail
;
41810 swig_obj
[0] = args
;
41811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41812 if (!SWIG_IsOK(res1
)) {
41813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
41815 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41818 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
41819 wxPyEndAllowThreads(__tstate
);
41820 if (PyErr_Occurred()) SWIG_fail
;
41824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41835 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41836 PyObject
*resultobj
= 0;
41837 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41838 wxString
*arg2
= 0 ;
41841 bool temp2
= false ;
41842 PyObject
* obj0
= 0 ;
41843 PyObject
* obj1
= 0 ;
41844 char * kwnames
[] = {
41845 (char *) "self",(char *) "url", NULL
41848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41850 if (!SWIG_IsOK(res1
)) {
41851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
41853 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41855 arg2
= wxString_in_helper(obj1
);
41856 if (arg2
== NULL
) SWIG_fail
;
41860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41861 (arg1
)->SetURL((wxString
const &)*arg2
);
41862 wxPyEndAllowThreads(__tstate
);
41863 if (PyErr_Occurred()) SWIG_fail
;
41865 resultobj
= SWIG_Py_Void();
41880 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41883 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
41884 return SWIG_Py_Void();
41887 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41888 return SWIG_Python_InitShadowInstance(args
);
41891 static PyMethodDef SwigMethods
[] = {
41892 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
41894 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
41896 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
41897 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
41899 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
41900 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
41902 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
41904 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
41905 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
41906 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
41907 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
41908 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
41915 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
41916 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
41917 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
41918 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
41920 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
41922 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
41923 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
41925 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
41927 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
41928 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
41930 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
41931 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
41933 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
41935 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
41937 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
41938 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
41940 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
41942 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
41944 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
41945 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
41946 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
41948 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
41949 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
41952 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
41953 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
41957 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
41959 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
41960 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
41961 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
41962 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
41963 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
41964 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
41965 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
41966 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
41967 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
41969 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
41970 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
41972 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
41975 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
41977 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
41978 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
41980 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
41982 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
41984 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
41985 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
41987 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
41990 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
41991 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
41993 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
41995 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
41996 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
41998 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
41999 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
42001 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
42005 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
42006 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
42008 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
42010 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
42014 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
42015 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
42017 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
42028 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
42033 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
42039 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
42040 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
42042 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
42046 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
42047 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
42048 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
42050 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
42051 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
42061 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
42062 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
42063 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
42064 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
42065 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
42066 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
42067 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
42069 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
42070 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
42071 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
42072 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
42073 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
42074 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
42075 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
42076 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
42077 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
42078 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
42080 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
42081 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
42083 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
42085 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
42090 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
42091 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
42092 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
42093 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
42094 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
42095 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
42096 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
42097 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
42102 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
42103 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
42111 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
42117 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
42118 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
42119 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
42120 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
42121 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
42122 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
42123 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
42124 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
42125 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
42126 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
42128 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
42129 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
42130 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
42132 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
42137 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
42138 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
42140 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
42141 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
42142 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
42143 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
42144 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
42146 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
42148 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
42149 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
42150 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
42151 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
42152 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
42155 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
42156 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
42158 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
42160 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
42161 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
42162 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
42167 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
42169 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
42170 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
42172 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
42174 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
42178 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
42179 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
42182 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
42183 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
42185 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
42187 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
42188 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
42190 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
42193 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
42194 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
42196 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
42204 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
42205 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
42210 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
42211 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
42213 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
42215 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
42218 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
42219 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
42221 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
42223 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
42226 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
42227 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
42232 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
42233 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
42235 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
42237 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
42238 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
42240 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
42241 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
42242 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
42245 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
42246 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
42248 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
42251 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
42253 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
42254 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
42255 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
42257 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
42258 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
42263 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
42268 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
42270 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
42272 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
42274 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
42275 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
42278 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42279 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
42285 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
42287 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
42289 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
42291 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
42292 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
42294 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
42296 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
42299 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
42301 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
42302 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
42304 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
42305 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
42307 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
42309 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
42310 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
42311 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
42313 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
42314 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
42316 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
42318 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
42319 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
42320 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
42322 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
42323 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
42325 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42329 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42331 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42332 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
42333 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
42334 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
42335 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
42337 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
42338 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
42340 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42341 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
42342 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
42343 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
42344 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
42345 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
42347 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
42348 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
42349 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
42350 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
42351 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
42352 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
42353 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
42354 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
42355 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
42356 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
42357 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
42358 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
42359 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
42360 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
42361 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
42362 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
42363 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
42364 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
42365 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42366 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
42367 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42369 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
42374 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
42376 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
42378 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42383 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
42386 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42388 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42389 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42390 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
42391 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
42392 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42393 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42394 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42395 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42396 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42397 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42398 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42399 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42401 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42402 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42404 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42405 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42407 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42408 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
42409 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
42410 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
42411 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
42412 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
42415 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
42416 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
42418 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
42419 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42420 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42421 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
42422 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
42423 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
42424 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42425 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
42426 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42427 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
42429 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
42430 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42431 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
42432 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42433 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42434 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42435 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
42436 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
42437 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
42438 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
42439 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
42440 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
42441 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
42443 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
42444 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
42445 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
42446 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
42447 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
42448 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
42449 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42451 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42452 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42454 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42455 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42456 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42457 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42458 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42459 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42460 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42462 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
42463 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
42464 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
42465 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
42466 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
42467 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
42468 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
42469 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
42470 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
42471 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
42472 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
42473 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
42474 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
42475 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
42476 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
42477 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
42478 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
42479 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
42480 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
42481 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
42482 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
42483 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
42484 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
42485 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
42486 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
42487 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
42488 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
42489 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
42490 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
42491 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
42492 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
42493 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
42494 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
42495 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
42496 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
42497 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
42498 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
42500 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
42501 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
42502 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
42503 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
42504 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
42505 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
42506 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
42507 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
42508 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
42509 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
42510 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
42511 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
42512 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
42513 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
42514 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
42515 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
42516 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
42517 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
42518 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
42519 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
42520 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
42521 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
42522 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
42523 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42524 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
42525 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
42526 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42527 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
42528 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42529 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42530 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42531 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42532 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42533 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42534 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
42535 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
42536 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
42537 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42539 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42542 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42543 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42544 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42545 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42547 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42548 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42549 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42550 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42551 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
42552 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
42553 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
42554 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42555 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
42556 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
42557 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42558 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
42559 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42560 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42561 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42562 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42563 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42564 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
42565 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
42566 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42567 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42568 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42569 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42570 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
42571 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42572 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
42573 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
42574 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42575 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42576 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42577 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42578 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42579 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42580 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42581 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42582 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42583 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42585 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42587 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42588 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42589 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42590 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42592 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42595 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42596 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
42597 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
42599 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
42600 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
42602 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42603 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42605 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
42606 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
42608 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42609 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42610 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42611 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
42612 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
42613 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
42614 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
42615 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
42616 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42617 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
42619 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
42620 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
42621 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
42622 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42623 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
42624 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
42625 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42626 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
42627 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42628 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
42629 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
42630 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
42631 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42632 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
42633 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42634 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
42635 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42636 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
42637 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42638 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
42639 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
42640 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42641 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
42642 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42643 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
42644 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42645 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42646 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
42647 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
42648 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
42649 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42650 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
42651 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42652 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42653 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
42654 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
42655 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42656 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
42657 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42658 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
42659 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
42660 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42661 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42662 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42663 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42664 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42665 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42666 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42667 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42668 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42669 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42670 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42671 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42672 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42673 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42674 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42675 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42676 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42677 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42678 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42679 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42680 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42681 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42682 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42683 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42684 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42685 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42686 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42687 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
42688 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
42689 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
42690 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42691 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42692 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42693 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42694 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42695 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42696 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
42697 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42698 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42699 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42700 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42701 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42702 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42703 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42704 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42705 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42706 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
42707 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42708 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42709 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42710 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42711 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
42712 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42713 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
42714 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42715 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42716 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42717 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42718 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42719 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
42720 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42721 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42722 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42723 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42724 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42725 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
42726 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
42727 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
42728 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42729 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
42730 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42731 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42732 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42733 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
42734 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42735 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
42736 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
42737 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42738 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42739 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
42740 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
42741 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42742 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
42743 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42744 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
42745 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
42746 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
42747 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42748 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
42749 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
42750 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
42751 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
42752 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42753 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
42754 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42755 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42756 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
42757 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
42758 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42759 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
42760 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42761 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42762 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42763 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42764 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42765 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42766 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42767 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
42768 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
42769 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
42770 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
42771 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
42772 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
42773 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
42774 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
42775 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
42776 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42777 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
42778 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42779 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
42780 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42781 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
42782 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42783 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
42784 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42785 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
42786 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
42787 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42788 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
42789 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42790 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
42791 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
42792 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
42793 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42794 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
42795 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
42796 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
42797 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42798 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
42799 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42800 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42801 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42802 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42803 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42804 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
42805 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
42806 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
42807 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
42808 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
42809 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42810 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42811 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42812 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42813 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42814 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
42815 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42816 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42817 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42818 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
42819 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42820 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
42821 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
42822 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42823 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42824 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42825 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42826 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
42827 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
42828 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42829 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
42830 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42831 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42832 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
42833 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42834 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
42835 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
42836 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
42837 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
42838 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42839 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
42840 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42841 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
42842 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42843 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
42844 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42845 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
42846 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42847 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
42848 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42849 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42850 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
42851 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
42852 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
42853 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42854 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
42855 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42856 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
42857 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
42858 { NULL
, NULL
, 0, NULL
}
42862 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42864 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42865 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42867 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42868 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42870 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42871 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42873 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42874 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42876 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42877 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42879 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
42880 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42882 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
42883 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42885 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42886 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42888 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42889 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42891 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42892 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42894 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
42895 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42897 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42898 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42900 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42901 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42903 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
42904 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42906 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
42907 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42909 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
42910 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42912 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
42913 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42915 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
42916 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42918 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
42919 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42921 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
42922 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
42924 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42925 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42927 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42928 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42930 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42931 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42933 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42934 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42936 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42937 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42939 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42940 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42942 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42943 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42945 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42946 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42948 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
42949 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
42951 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
42952 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42954 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42955 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42957 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42958 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42960 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42961 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42963 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42964 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42966 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42967 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42969 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42970 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42972 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42973 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42975 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
42976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
42978 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42979 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42981 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42982 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42984 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42987 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42988 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42990 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42991 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42993 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42994 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42996 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42997 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42999 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
43000 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43002 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
43003 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
43005 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
43006 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
43008 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
43009 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43011 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
43012 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
43014 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
43015 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43017 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
43018 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
43020 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
43021 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
43023 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
43024 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
43026 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
43027 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43029 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
43030 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
43032 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
43033 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
43035 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
43036 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
43038 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
43039 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
43041 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
43042 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
43044 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
43045 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
43047 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
43048 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
43050 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
43051 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43053 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
43054 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
43056 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
43057 return (void *)((wxControl
*) ((wxComboBox
*) x
));
43059 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
43060 return (void *)((wxControl
*) ((wxPyControl
*) x
));
43062 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
43063 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
43065 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
43066 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
43068 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
43069 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
43071 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
43072 return (void *)((wxControl
*) ((wxGauge
*) x
));
43074 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
43075 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
43077 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
43078 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43080 static void *_p_wxListbookTo_p_wxControl(void *x
) {
43081 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
43083 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
43084 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
43086 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
43087 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
43089 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
43090 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
43092 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
43093 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
43095 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
43096 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
43098 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
43099 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
43101 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
43102 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43104 static void *_p_wxListViewTo_p_wxControl(void *x
) {
43105 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
43107 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
43108 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
43110 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
43111 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
43113 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
43114 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
43116 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
43117 return (void *)((wxControl
*) ((wxStaticText
*) x
));
43119 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
43120 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
43122 static void *_p_wxSliderTo_p_wxControl(void *x
) {
43123 return (void *)((wxControl
*) ((wxSlider
*) x
));
43125 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
43126 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
43128 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
43129 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
43131 static void *_p_wxButtonTo_p_wxControl(void *x
) {
43132 return (void *)((wxControl
*) ((wxButton
*) x
));
43134 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
43135 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
43137 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
43138 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43140 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
43141 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
43143 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
43144 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
43146 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
43147 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
43149 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
43150 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43152 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
43153 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43155 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
43156 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43158 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
43159 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
43161 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
43162 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43164 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
43165 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43167 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
43168 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43170 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
43171 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43173 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
43174 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43176 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
43177 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43179 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
43180 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43182 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
43183 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
43185 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
43186 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
43188 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
43189 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
43191 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
43192 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
43194 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
43195 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
43197 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
43198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43200 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
43201 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
43203 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
43204 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
43206 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
43207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43209 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
43210 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
43212 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
43213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43215 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
43216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43218 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
43219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43221 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
43222 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
43224 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
43225 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
43227 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
43228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
43230 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
43231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43233 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
43234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43236 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
43237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43239 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
43240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43242 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
43243 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
43245 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
43246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43248 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
43249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43251 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
43252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43254 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
43255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43257 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
43258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43260 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
43261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43263 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
43264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43266 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
43267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43269 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
43270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43272 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
43273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43275 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
43276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43278 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
43279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43281 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
43282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43284 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
43285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43287 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
43288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43290 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
43291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43293 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
43294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43296 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
43297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43299 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
43300 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43302 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
43303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43305 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
43306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43308 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
43309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43311 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
43312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43314 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
43315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43317 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
43318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43320 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
43321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43323 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
43324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43326 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
43327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43329 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
43330 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
43332 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
43333 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
43335 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
43336 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43338 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
43339 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43341 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
43342 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
43344 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43345 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43347 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
43348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43350 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43351 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43353 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43354 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43356 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
43357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
43359 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
43360 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
43362 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
43363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43365 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
43366 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
43368 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
43369 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
43371 static void *_p_wxSizerTo_p_wxObject(void *x
) {
43372 return (void *)((wxObject
*) ((wxSizer
*) x
));
43374 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43375 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43377 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
43378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43380 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
43381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43383 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43386 static void *_p_wxEventTo_p_wxObject(void *x
) {
43387 return (void *)((wxObject
*) ((wxEvent
*) x
));
43389 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
43390 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
43392 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
43393 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
43395 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
43396 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
43398 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
43399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43401 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
43402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43404 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
43405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43407 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
43408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43410 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43411 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43413 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43414 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43416 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43417 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43419 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43420 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43422 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43423 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43425 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43426 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43428 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
43429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43431 static void *_p_wxControlTo_p_wxObject(void *x
) {
43432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
43434 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
43435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43437 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
43438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43440 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
43441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43443 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
43444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43446 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
43447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43449 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
43450 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
43452 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
43453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43455 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43456 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43458 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43459 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43461 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
43462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43464 static void *_p_wxListViewTo_p_wxObject(void *x
) {
43465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43467 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
43468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43470 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
43471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43473 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
43474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43476 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
43477 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
43479 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
43480 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43482 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
43483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43485 static void *_p_wxListbookTo_p_wxObject(void *x
) {
43486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43488 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43489 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43491 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
43492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43494 static void *_p_wxSliderTo_p_wxObject(void *x
) {
43495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43497 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43498 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43500 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
43501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
43503 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
43504 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
43506 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
43507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43509 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
43510 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43512 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
43513 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
43515 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
43516 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
43518 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
43519 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
43521 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
43522 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
43524 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
43525 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
43527 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
43528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43530 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
43531 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
43533 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
43534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43536 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
43537 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43539 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
43540 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
43542 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
43543 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
43545 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
43546 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
43548 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
43549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
43551 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
43552 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43554 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
43555 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43557 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
43558 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
43560 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
43561 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
43563 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
43564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
43566 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
43567 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
43569 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43572 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
43573 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
43575 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
43576 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
43578 static void *_p_wxListEventTo_p_wxObject(void *x
) {
43579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
43581 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
43582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43584 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
43585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43587 static void *_p_wxButtonTo_p_wxObject(void *x
) {
43588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43590 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
43591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43593 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
43594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43596 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
43597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43599 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
43600 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
43602 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
43603 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
43605 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
43606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43608 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
43609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43611 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
43612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
43614 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
43615 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
43617 static void *_p_wxListItemTo_p_wxObject(void *x
) {
43618 return (void *)((wxObject
*) ((wxListItem
*) x
));
43620 static void *_p_wxImageTo_p_wxObject(void *x
) {
43621 return (void *)((wxObject
*) ((wxImage
*) x
));
43623 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43624 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43626 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
43627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43629 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
43630 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
43632 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
43633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43635 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
43636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43638 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
43639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43641 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
43642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43644 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
43645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43647 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
43648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43650 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43653 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43654 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43656 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43657 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43659 static void *_p_wxWindowTo_p_wxObject(void *x
) {
43660 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
43662 static void *_p_wxMenuTo_p_wxObject(void *x
) {
43663 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
43665 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
43666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
43668 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43669 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43671 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
43672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43674 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
43675 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
43677 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
43678 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
43680 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
43681 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
43683 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
43684 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
43686 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
43687 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
43689 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
43690 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43692 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
43693 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43695 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43698 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43699 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43701 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
43702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43704 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43705 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43707 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43708 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43710 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43713 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
43714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43716 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
43717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43719 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
43720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43722 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
43723 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
43725 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
43726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43728 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
43729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
43731 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
43732 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
43734 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43735 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43737 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
43738 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
43740 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
43741 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43743 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
43744 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
43746 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
43747 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
43749 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
43750 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43752 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43753 return (void *)((wxWindow
*) ((wxControl
*) x
));
43755 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
43756 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
43758 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
43759 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
43761 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
43762 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
43764 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
43765 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43767 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
43768 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
43770 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
43771 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
43773 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
43774 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
43776 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43777 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43779 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
43780 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
43782 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
43783 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
43785 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
43786 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43788 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
43789 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43791 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
43792 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
43794 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
43795 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
43797 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
43798 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
43800 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
43801 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
43803 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
43804 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43806 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
43807 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43809 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
43810 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43812 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
43813 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43815 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
43816 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43818 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
43819 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
43821 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
43822 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
43824 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
43825 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
43827 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
43828 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
43830 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
43831 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
43833 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
43834 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43836 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
43837 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
43839 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
43840 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
43842 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
43843 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43845 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
43846 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43848 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
43849 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
43851 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
43852 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
43854 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43855 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43857 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43858 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43860 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43861 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43863 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43864 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43866 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43867 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43869 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43870 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43872 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
43873 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43875 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
43876 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43878 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
43879 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43881 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43882 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43884 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43885 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43887 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43888 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43890 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43891 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43893 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
43894 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43896 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
43897 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43899 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
43900 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43902 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
43903 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43905 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
43906 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43908 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
43909 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
43911 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43912 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43914 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
43915 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
43917 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
43918 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43920 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
43921 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43923 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
43924 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43926 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
43927 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
43929 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43930 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43932 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43933 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43935 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
43936 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43938 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
43939 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
43941 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
43942 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
43944 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
43945 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
43947 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43948 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43950 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
43951 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
43952 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};
43953 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
43954 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
43955 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
43956 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
43957 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
43958 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
43959 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
43960 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
43961 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
43962 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
43963 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
43964 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
43965 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
43966 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
43967 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
43968 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
43969 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
43970 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
43971 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
43972 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
43973 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
43974 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
43975 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
43976 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
43977 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
43978 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
43979 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
43980 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
43981 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
43982 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
43983 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
43984 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
43985 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
43986 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
43987 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
43988 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
43989 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
43990 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
43991 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
43992 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
43993 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
43994 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
43995 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
43996 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
43997 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
43998 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
43999 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
44000 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
44001 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
44002 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
44003 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
44004 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
44005 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
44006 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
44007 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
44008 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
44009 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
44010 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
44011 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
44012 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
44013 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
44014 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
44015 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
44016 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
44017 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
44018 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
44019 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
44020 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
44021 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
44022 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
44023 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
44024 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
44025 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
44026 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
44027 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
44028 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
44029 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
44030 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
44031 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
44032 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
44033 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
44034 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
44035 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
44036 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
44037 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
44038 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
44039 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
44040 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
44041 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
44042 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
44043 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
44044 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
44045 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
44046 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
44047 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
44048 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
44049 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
44050 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
44051 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
44052 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
44053 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
44054 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
44055 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
44056 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
44057 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
44058 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
44059 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
44060 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
44061 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
44062 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
44063 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
44064 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
44065 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
44066 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
44067 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
44068 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
44069 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
44070 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
44071 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
44072 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
44073 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
44074 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
44075 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
44076 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
44077 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
44078 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
44079 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
44080 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
44081 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
44082 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
44083 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
44084 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
44085 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
44086 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
44087 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
44088 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
44089 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
44090 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
44091 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
44092 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
44093 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
44094 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
44095 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
44096 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
44097 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
44098 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
44099 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
44100 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
44101 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
44102 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
44103 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
44104 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
44105 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
44106 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
44107 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
44108 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
44109 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
44110 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
44111 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
44112 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
44113 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
44114 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
44115 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
44117 static swig_type_info
*swig_type_initial
[] = {
44120 &_swigt__p_form_ops_t
,
44123 &_swigt__p_unsigned_char
,
44124 &_swigt__p_unsigned_int
,
44125 &_swigt__p_unsigned_long
,
44127 &_swigt__p_wxANIHandler
,
44128 &_swigt__p_wxAcceleratorTable
,
44129 &_swigt__p_wxActivateEvent
,
44130 &_swigt__p_wxArrayInt
,
44131 &_swigt__p_wxArrayString
,
44132 &_swigt__p_wxBMPHandler
,
44133 &_swigt__p_wxBitmap
,
44134 &_swigt__p_wxBitmapButton
,
44135 &_swigt__p_wxBookCtrlBase
,
44136 &_swigt__p_wxBookCtrlBaseEvent
,
44137 &_swigt__p_wxBoxSizer
,
44138 &_swigt__p_wxButton
,
44139 &_swigt__p_wxCURHandler
,
44140 &_swigt__p_wxCheckBox
,
44141 &_swigt__p_wxCheckListBox
,
44142 &_swigt__p_wxChildFocusEvent
,
44143 &_swigt__p_wxChoice
,
44144 &_swigt__p_wxChoicebook
,
44145 &_swigt__p_wxChoicebookEvent
,
44146 &_swigt__p_wxClipboardTextEvent
,
44147 &_swigt__p_wxCloseEvent
,
44148 &_swigt__p_wxColour
,
44149 &_swigt__p_wxComboBox
,
44150 &_swigt__p_wxCommandEvent
,
44151 &_swigt__p_wxContextHelp
,
44152 &_swigt__p_wxContextHelpButton
,
44153 &_swigt__p_wxContextMenuEvent
,
44154 &_swigt__p_wxControl
,
44155 &_swigt__p_wxControlWithItems
,
44156 &_swigt__p_wxCursor
,
44158 &_swigt__p_wxDateEvent
,
44159 &_swigt__p_wxDatePickerCtrl
,
44160 &_swigt__p_wxDateTime
,
44161 &_swigt__p_wxDirFilterListCtrl
,
44162 &_swigt__p_wxDisplayChangedEvent
,
44163 &_swigt__p_wxDropFilesEvent
,
44164 &_swigt__p_wxDuplexMode
,
44165 &_swigt__p_wxEraseEvent
,
44166 &_swigt__p_wxEvent
,
44167 &_swigt__p_wxEvtHandler
,
44168 &_swigt__p_wxFSFile
,
44169 &_swigt__p_wxFileSystem
,
44170 &_swigt__p_wxFlexGridSizer
,
44171 &_swigt__p_wxFocusEvent
,
44173 &_swigt__p_wxGBSizerItem
,
44174 &_swigt__p_wxGIFHandler
,
44175 &_swigt__p_wxGauge
,
44176 &_swigt__p_wxGenericDirCtrl
,
44177 &_swigt__p_wxGenericDragImage
,
44178 &_swigt__p_wxGridBagSizer
,
44179 &_swigt__p_wxGridSizer
,
44180 &_swigt__p_wxHelpEvent
,
44181 &_swigt__p_wxHelpProvider
,
44182 &_swigt__p_wxHyperlinkCtrl
,
44183 &_swigt__p_wxHyperlinkEvent
,
44184 &_swigt__p_wxICOHandler
,
44186 &_swigt__p_wxIconizeEvent
,
44187 &_swigt__p_wxIdleEvent
,
44188 &_swigt__p_wxImage
,
44189 &_swigt__p_wxImageHandler
,
44190 &_swigt__p_wxImageList
,
44191 &_swigt__p_wxIndividualLayoutConstraint
,
44192 &_swigt__p_wxInitDialogEvent
,
44193 &_swigt__p_wxItemContainer
,
44194 &_swigt__p_wxJPEGHandler
,
44195 &_swigt__p_wxKeyEvent
,
44196 &_swigt__p_wxLayoutConstraints
,
44197 &_swigt__p_wxListBox
,
44198 &_swigt__p_wxListEvent
,
44199 &_swigt__p_wxListItem
,
44200 &_swigt__p_wxListItemAttr
,
44201 &_swigt__p_wxListView
,
44202 &_swigt__p_wxListbook
,
44203 &_swigt__p_wxListbookEvent
,
44204 &_swigt__p_wxMaximizeEvent
,
44205 &_swigt__p_wxMemoryDC
,
44207 &_swigt__p_wxMenuBar
,
44208 &_swigt__p_wxMenuEvent
,
44209 &_swigt__p_wxMenuItem
,
44210 &_swigt__p_wxMouseCaptureChangedEvent
,
44211 &_swigt__p_wxMouseEvent
,
44212 &_swigt__p_wxMoveEvent
,
44213 &_swigt__p_wxNavigationKeyEvent
,
44214 &_swigt__p_wxNcPaintEvent
,
44215 &_swigt__p_wxNotebook
,
44216 &_swigt__p_wxNotebookEvent
,
44217 &_swigt__p_wxNotifyEvent
,
44218 &_swigt__p_wxObject
,
44219 &_swigt__p_wxPCXHandler
,
44220 &_swigt__p_wxPNGHandler
,
44221 &_swigt__p_wxPNMHandler
,
44222 &_swigt__p_wxPaintEvent
,
44223 &_swigt__p_wxPaletteChangedEvent
,
44224 &_swigt__p_wxPaperSize
,
44225 &_swigt__p_wxPoint
,
44226 &_swigt__p_wxPyApp
,
44227 &_swigt__p_wxPyCommandEvent
,
44228 &_swigt__p_wxPyControl
,
44229 &_swigt__p_wxPyEvent
,
44230 &_swigt__p_wxPyImageHandler
,
44231 &_swigt__p_wxPyListCtrl
,
44232 &_swigt__p_wxPySizer
,
44233 &_swigt__p_wxPyTreeCtrl
,
44234 &_swigt__p_wxPyTreeItemData
,
44235 &_swigt__p_wxPyValidator
,
44236 &_swigt__p_wxQueryNewPaletteEvent
,
44237 &_swigt__p_wxRadioBox
,
44238 &_swigt__p_wxRadioButton
,
44240 &_swigt__p_wxScrollBar
,
44241 &_swigt__p_wxScrollEvent
,
44242 &_swigt__p_wxScrollWinEvent
,
44243 &_swigt__p_wxSetCursorEvent
,
44244 &_swigt__p_wxShowEvent
,
44245 &_swigt__p_wxSimpleHelpProvider
,
44247 &_swigt__p_wxSizeEvent
,
44248 &_swigt__p_wxSizer
,
44249 &_swigt__p_wxSizerItem
,
44250 &_swigt__p_wxSlider
,
44251 &_swigt__p_wxSpinButton
,
44252 &_swigt__p_wxSpinCtrl
,
44253 &_swigt__p_wxSpinEvent
,
44254 &_swigt__p_wxStaticBitmap
,
44255 &_swigt__p_wxStaticBox
,
44256 &_swigt__p_wxStaticBoxSizer
,
44257 &_swigt__p_wxStaticLine
,
44258 &_swigt__p_wxStaticText
,
44259 &_swigt__p_wxStdDialogButtonSizer
,
44260 &_swigt__p_wxString
,
44261 &_swigt__p_wxSysColourChangedEvent
,
44262 &_swigt__p_wxTIFFHandler
,
44263 &_swigt__p_wxTextAttr
,
44264 &_swigt__p_wxTextCtrl
,
44265 &_swigt__p_wxTextUrlEvent
,
44266 &_swigt__p_wxToggleButton
,
44267 &_swigt__p_wxToolBar
,
44268 &_swigt__p_wxToolBarBase
,
44269 &_swigt__p_wxToolBarToolBase
,
44270 &_swigt__p_wxToolbook
,
44271 &_swigt__p_wxToolbookEvent
,
44272 &_swigt__p_wxTreeCtrl
,
44273 &_swigt__p_wxTreeEvent
,
44274 &_swigt__p_wxTreeItemId
,
44275 &_swigt__p_wxTreebook
,
44276 &_swigt__p_wxTreebookEvent
,
44277 &_swigt__p_wxUpdateUIEvent
,
44278 &_swigt__p_wxValidator
,
44279 &_swigt__p_wxVisualAttributes
,
44280 &_swigt__p_wxWindow
,
44281 &_swigt__p_wxWindowCreateEvent
,
44282 &_swigt__p_wxWindowDestroyEvent
,
44283 &_swigt__p_wxXPMHandler
,
44286 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
44287 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
44288 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
44289 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
44290 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
44291 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
44292 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
44293 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
44294 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
44295 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
44296 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
44297 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44298 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}};
44299 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}};
44300 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}};
44301 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}};
44302 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
44303 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
44304 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}};
44305 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
44306 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44307 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
44308 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
44309 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44310 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
44311 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
44312 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
44313 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44314 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44315 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44316 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44317 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
44318 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
44319 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
44320 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
44321 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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
44322 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}};
44323 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
44324 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
44325 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44326 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
44327 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44328 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
44329 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44330 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44331 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44332 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
44333 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
44334 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44335 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
44336 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
44337 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44338 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44339 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44340 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44341 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
44342 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44343 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44344 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44345 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44346 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44347 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44348 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
44349 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44350 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
44351 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44352 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44353 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_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
44354 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
44355 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
44356 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
44357 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
44358 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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
44359 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
44360 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
44361 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44362 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
44363 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
44364 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}};
44365 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44366 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
44367 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
44368 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
44369 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}};
44370 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44371 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}};
44372 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
44373 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
44374 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
44375 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
44376 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
44377 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44378 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
44379 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44380 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
44381 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44382 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}};
44383 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
44384 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44385 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44386 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
44387 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44388 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44389 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44390 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
44391 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44392 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44393 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
44394 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
44395 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
44396 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
44397 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
44398 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
44399 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
44400 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44401 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44402 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
44403 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44404 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44405 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44406 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44407 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44408 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44409 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
44410 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
44411 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
44412 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
44413 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_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_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_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
44414 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
44415 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
44416 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
44417 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}};
44418 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44419 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
44420 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
44421 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
44422 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
44423 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
44424 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
44425 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
44426 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
44427 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
44428 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44429 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44430 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44431 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
44432 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
44433 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
44434 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
44435 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
44436 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44437 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
44438 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
44439 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
44440 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}};
44441 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
44442 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
44443 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44444 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44445 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44446 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
44447 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
44448 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44449 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}};
44450 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
44451 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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
44453 static swig_cast_info
*swig_cast_initial
[] = {
44456 _swigc__p_form_ops_t
,
44459 _swigc__p_unsigned_char
,
44460 _swigc__p_unsigned_int
,
44461 _swigc__p_unsigned_long
,
44463 _swigc__p_wxANIHandler
,
44464 _swigc__p_wxAcceleratorTable
,
44465 _swigc__p_wxActivateEvent
,
44466 _swigc__p_wxArrayInt
,
44467 _swigc__p_wxArrayString
,
44468 _swigc__p_wxBMPHandler
,
44469 _swigc__p_wxBitmap
,
44470 _swigc__p_wxBitmapButton
,
44471 _swigc__p_wxBookCtrlBase
,
44472 _swigc__p_wxBookCtrlBaseEvent
,
44473 _swigc__p_wxBoxSizer
,
44474 _swigc__p_wxButton
,
44475 _swigc__p_wxCURHandler
,
44476 _swigc__p_wxCheckBox
,
44477 _swigc__p_wxCheckListBox
,
44478 _swigc__p_wxChildFocusEvent
,
44479 _swigc__p_wxChoice
,
44480 _swigc__p_wxChoicebook
,
44481 _swigc__p_wxChoicebookEvent
,
44482 _swigc__p_wxClipboardTextEvent
,
44483 _swigc__p_wxCloseEvent
,
44484 _swigc__p_wxColour
,
44485 _swigc__p_wxComboBox
,
44486 _swigc__p_wxCommandEvent
,
44487 _swigc__p_wxContextHelp
,
44488 _swigc__p_wxContextHelpButton
,
44489 _swigc__p_wxContextMenuEvent
,
44490 _swigc__p_wxControl
,
44491 _swigc__p_wxControlWithItems
,
44492 _swigc__p_wxCursor
,
44494 _swigc__p_wxDateEvent
,
44495 _swigc__p_wxDatePickerCtrl
,
44496 _swigc__p_wxDateTime
,
44497 _swigc__p_wxDirFilterListCtrl
,
44498 _swigc__p_wxDisplayChangedEvent
,
44499 _swigc__p_wxDropFilesEvent
,
44500 _swigc__p_wxDuplexMode
,
44501 _swigc__p_wxEraseEvent
,
44503 _swigc__p_wxEvtHandler
,
44504 _swigc__p_wxFSFile
,
44505 _swigc__p_wxFileSystem
,
44506 _swigc__p_wxFlexGridSizer
,
44507 _swigc__p_wxFocusEvent
,
44509 _swigc__p_wxGBSizerItem
,
44510 _swigc__p_wxGIFHandler
,
44512 _swigc__p_wxGenericDirCtrl
,
44513 _swigc__p_wxGenericDragImage
,
44514 _swigc__p_wxGridBagSizer
,
44515 _swigc__p_wxGridSizer
,
44516 _swigc__p_wxHelpEvent
,
44517 _swigc__p_wxHelpProvider
,
44518 _swigc__p_wxHyperlinkCtrl
,
44519 _swigc__p_wxHyperlinkEvent
,
44520 _swigc__p_wxICOHandler
,
44522 _swigc__p_wxIconizeEvent
,
44523 _swigc__p_wxIdleEvent
,
44525 _swigc__p_wxImageHandler
,
44526 _swigc__p_wxImageList
,
44527 _swigc__p_wxIndividualLayoutConstraint
,
44528 _swigc__p_wxInitDialogEvent
,
44529 _swigc__p_wxItemContainer
,
44530 _swigc__p_wxJPEGHandler
,
44531 _swigc__p_wxKeyEvent
,
44532 _swigc__p_wxLayoutConstraints
,
44533 _swigc__p_wxListBox
,
44534 _swigc__p_wxListEvent
,
44535 _swigc__p_wxListItem
,
44536 _swigc__p_wxListItemAttr
,
44537 _swigc__p_wxListView
,
44538 _swigc__p_wxListbook
,
44539 _swigc__p_wxListbookEvent
,
44540 _swigc__p_wxMaximizeEvent
,
44541 _swigc__p_wxMemoryDC
,
44543 _swigc__p_wxMenuBar
,
44544 _swigc__p_wxMenuEvent
,
44545 _swigc__p_wxMenuItem
,
44546 _swigc__p_wxMouseCaptureChangedEvent
,
44547 _swigc__p_wxMouseEvent
,
44548 _swigc__p_wxMoveEvent
,
44549 _swigc__p_wxNavigationKeyEvent
,
44550 _swigc__p_wxNcPaintEvent
,
44551 _swigc__p_wxNotebook
,
44552 _swigc__p_wxNotebookEvent
,
44553 _swigc__p_wxNotifyEvent
,
44554 _swigc__p_wxObject
,
44555 _swigc__p_wxPCXHandler
,
44556 _swigc__p_wxPNGHandler
,
44557 _swigc__p_wxPNMHandler
,
44558 _swigc__p_wxPaintEvent
,
44559 _swigc__p_wxPaletteChangedEvent
,
44560 _swigc__p_wxPaperSize
,
44563 _swigc__p_wxPyCommandEvent
,
44564 _swigc__p_wxPyControl
,
44565 _swigc__p_wxPyEvent
,
44566 _swigc__p_wxPyImageHandler
,
44567 _swigc__p_wxPyListCtrl
,
44568 _swigc__p_wxPySizer
,
44569 _swigc__p_wxPyTreeCtrl
,
44570 _swigc__p_wxPyTreeItemData
,
44571 _swigc__p_wxPyValidator
,
44572 _swigc__p_wxQueryNewPaletteEvent
,
44573 _swigc__p_wxRadioBox
,
44574 _swigc__p_wxRadioButton
,
44576 _swigc__p_wxScrollBar
,
44577 _swigc__p_wxScrollEvent
,
44578 _swigc__p_wxScrollWinEvent
,
44579 _swigc__p_wxSetCursorEvent
,
44580 _swigc__p_wxShowEvent
,
44581 _swigc__p_wxSimpleHelpProvider
,
44583 _swigc__p_wxSizeEvent
,
44585 _swigc__p_wxSizerItem
,
44586 _swigc__p_wxSlider
,
44587 _swigc__p_wxSpinButton
,
44588 _swigc__p_wxSpinCtrl
,
44589 _swigc__p_wxSpinEvent
,
44590 _swigc__p_wxStaticBitmap
,
44591 _swigc__p_wxStaticBox
,
44592 _swigc__p_wxStaticBoxSizer
,
44593 _swigc__p_wxStaticLine
,
44594 _swigc__p_wxStaticText
,
44595 _swigc__p_wxStdDialogButtonSizer
,
44596 _swigc__p_wxString
,
44597 _swigc__p_wxSysColourChangedEvent
,
44598 _swigc__p_wxTIFFHandler
,
44599 _swigc__p_wxTextAttr
,
44600 _swigc__p_wxTextCtrl
,
44601 _swigc__p_wxTextUrlEvent
,
44602 _swigc__p_wxToggleButton
,
44603 _swigc__p_wxToolBar
,
44604 _swigc__p_wxToolBarBase
,
44605 _swigc__p_wxToolBarToolBase
,
44606 _swigc__p_wxToolbook
,
44607 _swigc__p_wxToolbookEvent
,
44608 _swigc__p_wxTreeCtrl
,
44609 _swigc__p_wxTreeEvent
,
44610 _swigc__p_wxTreeItemId
,
44611 _swigc__p_wxTreebook
,
44612 _swigc__p_wxTreebookEvent
,
44613 _swigc__p_wxUpdateUIEvent
,
44614 _swigc__p_wxValidator
,
44615 _swigc__p_wxVisualAttributes
,
44616 _swigc__p_wxWindow
,
44617 _swigc__p_wxWindowCreateEvent
,
44618 _swigc__p_wxWindowDestroyEvent
,
44619 _swigc__p_wxXPMHandler
,
44623 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
44625 static swig_const_info swig_const_table
[] = {
44626 {0, 0, 0, 0.0, 0, 0}};
44631 /* -----------------------------------------------------------------------------
44632 * Type initialization:
44633 * This problem is tough by the requirement that no dynamic
44634 * memory is used. Also, since swig_type_info structures store pointers to
44635 * swig_cast_info structures and swig_cast_info structures store pointers back
44636 * to swig_type_info structures, we need some lookup code at initialization.
44637 * The idea is that swig generates all the structures that are needed.
44638 * The runtime then collects these partially filled structures.
44639 * The SWIG_InitializeModule function takes these initial arrays out of
44640 * swig_module, and does all the lookup, filling in the swig_module.types
44641 * array with the correct data and linking the correct swig_cast_info
44642 * structures together.
44644 * The generated swig_type_info structures are assigned staticly to an initial
44645 * array. We just loop though that array, and handle each type individually.
44646 * First we lookup if this type has been already loaded, and if so, use the
44647 * loaded structure instead of the generated one. Then we have to fill in the
44648 * cast linked list. The cast data is initially stored in something like a
44649 * two-dimensional array. Each row corresponds to a type (there are the same
44650 * number of rows as there are in the swig_type_initial array). Each entry in
44651 * a column is one of the swig_cast_info structures for that type.
44652 * The cast_initial array is actually an array of arrays, because each row has
44653 * a variable number of columns. So to actually build the cast linked list,
44654 * we find the array of casts associated with the type, and loop through it
44655 * adding the casts to the list. The one last trick we need to do is making
44656 * sure the type pointer in the swig_cast_info struct is correct.
44658 * First off, we lookup the cast->type name to see if it is already loaded.
44659 * There are three cases to handle:
44660 * 1) If the cast->type has already been loaded AND the type we are adding
44661 * casting info to has not been loaded (it is in this module), THEN we
44662 * replace the cast->type pointer with the type pointer that has already
44664 * 2) If BOTH types (the one we are adding casting info to, and the
44665 * cast->type) are loaded, THEN the cast info has already been loaded by
44666 * the previous module so we just ignore it.
44667 * 3) Finally, if cast->type has not already been loaded, then we add that
44668 * swig_cast_info to the linked list (because the cast->type) pointer will
44670 * ----------------------------------------------------------------------------- */
44680 #define SWIGRUNTIME_DEBUG
44684 SWIG_InitializeModule(void *clientdata
) {
44686 swig_module_info
*module_head
;
44687 static int init_run
= 0;
44689 clientdata
= clientdata
;
44691 if (init_run
) return;
44694 /* Initialize the swig_module */
44695 swig_module
.type_initial
= swig_type_initial
;
44696 swig_module
.cast_initial
= swig_cast_initial
;
44698 /* Try and load any already created modules */
44699 module_head
= SWIG_GetModule(clientdata
);
44701 swig_module
.next
= module_head
->next
;
44702 module_head
->next
= &swig_module
;
44704 /* This is the first module loaded */
44705 swig_module
.next
= &swig_module
;
44706 SWIG_SetModule(clientdata
, &swig_module
);
44709 /* Now work on filling in swig_module.types */
44710 #ifdef SWIGRUNTIME_DEBUG
44711 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
44713 for (i
= 0; i
< swig_module
.size
; ++i
) {
44714 swig_type_info
*type
= 0;
44715 swig_type_info
*ret
;
44716 swig_cast_info
*cast
;
44718 #ifdef SWIGRUNTIME_DEBUG
44719 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
44722 /* if there is another module already loaded */
44723 if (swig_module
.next
!= &swig_module
) {
44724 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
44727 /* Overwrite clientdata field */
44728 #ifdef SWIGRUNTIME_DEBUG
44729 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
44731 if (swig_module
.type_initial
[i
]->clientdata
) {
44732 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
44733 #ifdef SWIGRUNTIME_DEBUG
44734 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
44738 type
= swig_module
.type_initial
[i
];
44741 /* Insert casting types */
44742 cast
= swig_module
.cast_initial
[i
];
44743 while (cast
->type
) {
44744 /* Don't need to add information already in the list */
44746 #ifdef SWIGRUNTIME_DEBUG
44747 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
44749 if (swig_module
.next
!= &swig_module
) {
44750 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
44751 #ifdef SWIGRUNTIME_DEBUG
44752 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
44756 if (type
== swig_module
.type_initial
[i
]) {
44757 #ifdef SWIGRUNTIME_DEBUG
44758 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
44763 /* Check for casting already in the list */
44764 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
44765 #ifdef SWIGRUNTIME_DEBUG
44766 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
44768 if (!ocast
) ret
= 0;
44773 #ifdef SWIGRUNTIME_DEBUG
44774 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
44777 type
->cast
->prev
= cast
;
44778 cast
->next
= type
->cast
;
44784 /* Set entry in modules->types array equal to the type */
44785 swig_module
.types
[i
] = type
;
44787 swig_module
.types
[i
] = 0;
44789 #ifdef SWIGRUNTIME_DEBUG
44790 printf("**** SWIG_InitializeModule: Cast List ******\n");
44791 for (i
= 0; i
< swig_module
.size
; ++i
) {
44793 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
44794 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
44795 while (cast
->type
) {
44796 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
44800 printf("---- Total casts: %d\n",j
);
44802 printf("**** SWIG_InitializeModule: Cast List ******\n");
44806 /* This function will propagate the clientdata field of type to
44807 * any new swig_type_info structures that have been added into the list
44808 * of equivalent types. It is like calling
44809 * SWIG_TypeClientData(type, clientdata) a second time.
44812 SWIG_PropagateClientData(void) {
44814 swig_cast_info
*equiv
;
44815 static int init_run
= 0;
44817 if (init_run
) return;
44820 for (i
= 0; i
< swig_module
.size
; i
++) {
44821 if (swig_module
.types
[i
]->clientdata
) {
44822 equiv
= swig_module
.types
[i
]->cast
;
44824 if (!equiv
->converter
) {
44825 if (equiv
->type
&& !equiv
->type
->clientdata
)
44826 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
44828 equiv
= equiv
->next
;
44848 /* Python-specific SWIG API */
44849 #define SWIG_newvarlink() SWIG_Python_newvarlink()
44850 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
44851 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
44853 /* -----------------------------------------------------------------------------
44854 * global variable support code.
44855 * ----------------------------------------------------------------------------- */
44857 typedef struct swig_globalvar
{
44858 char *name
; /* Name of global variable */
44859 PyObject
*(*get_attr
)(void); /* Return the current value */
44860 int (*set_attr
)(PyObject
*); /* Set the value */
44861 struct swig_globalvar
*next
;
44864 typedef struct swig_varlinkobject
{
44866 swig_globalvar
*vars
;
44867 } swig_varlinkobject
;
44869 SWIGINTERN PyObject
*
44870 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
44871 return PyString_FromString("<Swig global variables>");
44874 SWIGINTERN PyObject
*
44875 swig_varlink_str(swig_varlinkobject
*v
) {
44876 PyObject
*str
= PyString_FromString("(");
44877 swig_globalvar
*var
;
44878 for (var
= v
->vars
; var
; var
=var
->next
) {
44879 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
44880 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
44882 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
44887 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
44888 PyObject
*str
= swig_varlink_str(v
);
44889 fprintf(fp
,"Swig global variables ");
44890 fprintf(fp
,"%s\n", PyString_AsString(str
));
44896 swig_varlink_dealloc(swig_varlinkobject
*v
) {
44897 swig_globalvar
*var
= v
->vars
;
44899 swig_globalvar
*n
= var
->next
;
44906 SWIGINTERN PyObject
*
44907 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
44908 PyObject
*res
= NULL
;
44909 swig_globalvar
*var
= v
->vars
;
44911 if (strcmp(var
->name
,n
) == 0) {
44912 res
= (*var
->get_attr
)();
44917 if (res
== NULL
&& !PyErr_Occurred()) {
44918 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44924 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
44926 swig_globalvar
*var
= v
->vars
;
44928 if (strcmp(var
->name
,n
) == 0) {
44929 res
= (*var
->set_attr
)(p
);
44934 if (res
== 1 && !PyErr_Occurred()) {
44935 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44940 SWIGINTERN PyTypeObject
*
44941 swig_varlink_type(void) {
44942 static char varlink__doc__
[] = "Swig var link object";
44943 static PyTypeObject varlink_type
;
44944 static int type_init
= 0;
44946 const PyTypeObject tmp
44948 PyObject_HEAD_INIT(NULL
)
44949 0, /* Number of items in variable part (ob_size) */
44950 (char *)"swigvarlink", /* Type name (tp_name) */
44951 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
44952 0, /* Itemsize (tp_itemsize) */
44953 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
44954 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
44955 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
44956 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
44957 0, /* tp_compare */
44958 (reprfunc
) swig_varlink_repr
, /* tp_repr */
44959 0, /* tp_as_number */
44960 0, /* tp_as_sequence */
44961 0, /* tp_as_mapping */
44964 (reprfunc
)swig_varlink_str
, /* tp_str */
44965 0, /* tp_getattro */
44966 0, /* tp_setattro */
44967 0, /* tp_as_buffer */
44969 varlink__doc__
, /* tp_doc */
44970 0, /* tp_traverse */
44972 0, /* tp_richcompare */
44973 0, /* tp_weaklistoffset */
44974 #if PY_VERSION_HEX >= 0x02020000
44975 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
44977 #if PY_VERSION_HEX >= 0x02030000
44980 #ifdef COUNT_ALLOCS
44981 0,0,0,0 /* tp_alloc -> tp_next */
44984 varlink_type
= tmp
;
44985 varlink_type
.ob_type
= &PyType_Type
;
44988 return &varlink_type
;
44991 /* Create a variable linking object for use later */
44992 SWIGINTERN PyObject
*
44993 SWIG_Python_newvarlink(void) {
44994 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
44998 return ((PyObject
*) result
);
45002 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
45003 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
45004 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
45006 size_t size
= strlen(name
)+1;
45007 gv
->name
= (char *)malloc(size
);
45009 strncpy(gv
->name
,name
,size
);
45010 gv
->get_attr
= get_attr
;
45011 gv
->set_attr
= set_attr
;
45012 gv
->next
= v
->vars
;
45018 SWIGINTERN PyObject
*
45020 static PyObject
*_SWIG_globals
= 0;
45021 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
45022 return _SWIG_globals
;
45025 /* -----------------------------------------------------------------------------
45026 * constants/methods manipulation
45027 * ----------------------------------------------------------------------------- */
45029 /* Install Constants */
45031 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
45034 for (i
= 0; constants
[i
].type
; ++i
) {
45035 switch(constants
[i
].type
) {
45036 case SWIG_PY_POINTER
:
45037 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
45039 case SWIG_PY_BINARY
:
45040 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
45047 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
45053 /* -----------------------------------------------------------------------------*/
45054 /* Fix SwigMethods to carry the callback ptrs when needed */
45055 /* -----------------------------------------------------------------------------*/
45058 SWIG_Python_FixMethods(PyMethodDef
*methods
,
45059 swig_const_info
*const_table
,
45060 swig_type_info
**types
,
45061 swig_type_info
**types_initial
) {
45063 for (i
= 0; methods
[i
].ml_name
; ++i
) {
45064 char *c
= methods
[i
].ml_doc
;
45065 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
45067 swig_const_info
*ci
= 0;
45068 char *name
= c
+ 10;
45069 for (j
= 0; const_table
[j
].type
; ++j
) {
45070 if (strncmp(const_table
[j
].name
, name
,
45071 strlen(const_table
[j
].name
)) == 0) {
45072 ci
= &(const_table
[j
]);
45077 size_t shift
= (ci
->ptype
) - types
;
45078 swig_type_info
*ty
= types_initial
[shift
];
45079 size_t ldoc
= (c
- methods
[i
].ml_doc
);
45080 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
45081 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
45084 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
45086 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
45088 strncpy(buff
, "swig_ptr: ", 10);
45090 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
45091 methods
[i
].ml_doc
= ndoc
;
45103 /* -----------------------------------------------------------------------------*
45104 * Partial Init method
45105 * -----------------------------------------------------------------------------*/
45110 SWIGEXPORT
void SWIG_init(void) {
45113 /* Fix SwigMethods to carry the callback ptrs when needed */
45114 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
45116 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
45117 d
= PyModule_GetDict(m
);
45119 SWIG_InitializeModule(0);
45120 SWIG_InstallConstants(d
,swig_const_table
);
45123 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
45124 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
45125 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
45126 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
45127 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
45128 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
45129 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
45130 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
45131 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
45132 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
45133 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
45134 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
45135 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
45136 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
45137 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
45138 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
45139 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
45140 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
45141 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
45142 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
45143 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
45144 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
45145 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
45146 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
45147 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
45148 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
45149 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
45150 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
45151 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
45152 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
45153 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
45154 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
45155 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
45156 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
45157 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
45158 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
45159 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
45160 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
45161 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
45162 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
45163 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
45164 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
45165 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
45166 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
45167 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
45168 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
45169 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
45170 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
45171 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
45172 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
45173 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
45174 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
45175 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
45176 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
45177 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
45178 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
45179 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
45180 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
45181 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
45182 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
45183 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
45184 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
45185 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
45186 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
45187 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
45188 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
45189 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
45190 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
45191 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
45192 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
45193 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
45194 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
45195 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
45196 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
45197 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
45198 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
45199 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
45200 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
45201 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
45202 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
45203 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
45204 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
45205 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
45206 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
45207 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
45208 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
45209 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
45210 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
45211 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
45212 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
45213 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
45214 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
45215 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
45216 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
45217 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
45218 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
45219 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
45220 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
45221 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
45222 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
45223 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
45224 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
45225 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
45226 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
45227 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
45228 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
45229 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
45230 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
45231 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
45232 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
45233 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
45234 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
45235 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
45236 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
45237 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
45238 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
45239 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
45240 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
45241 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
45242 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
45243 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
45244 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
45245 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
45246 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
45247 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
45248 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
45249 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
45250 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
45251 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
45252 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
45253 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
45254 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
45255 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
45256 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
45257 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
45258 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
45259 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
45260 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
45261 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
45262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
45263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
45264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
45265 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
45266 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
45267 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
45268 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
45269 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
45270 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
45271 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
45272 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
45273 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
45274 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
45275 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
45276 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
45277 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
45278 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
45279 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
45280 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
45281 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
45282 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
45283 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
45284 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
45285 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
45286 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
45287 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
45288 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
45289 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
45290 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
45291 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
45292 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
45293 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
45294 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
45295 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
45296 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
45297 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
45298 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
45299 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
45300 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
45301 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
45302 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
45303 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
45304 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
45305 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
45306 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
45307 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
45308 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
45309 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
45310 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
45311 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
45312 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
45313 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
45314 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
45315 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
45316 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
45317 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
45318 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
45319 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
45320 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
45321 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
45322 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
45323 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
45324 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
45325 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
45326 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
45327 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
45328 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
45329 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
45330 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
45331 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
45332 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
45333 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
45334 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
45335 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
45336 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
45337 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
45338 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
45339 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
45340 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
45341 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
45342 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
45343 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
45344 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
45345 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
45346 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
45347 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
45348 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
45349 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
45350 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
45351 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
45352 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
45353 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
45354 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
45355 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
45356 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
45357 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
45358 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
45359 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
45360 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
45361 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
45362 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
45363 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
45364 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
45365 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
45366 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
45367 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
45368 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
45369 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
45370 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
45371 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
45373 // Map renamed classes back to their common name for OOR
45374 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
45376 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
45377 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
45378 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
45379 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
45380 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
45381 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
45382 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
45383 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
45384 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
45385 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
45386 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
45387 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
45388 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
45389 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
45390 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
45391 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
45392 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
45393 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
45394 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
45395 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
45396 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
45397 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
45398 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
45399 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
45400 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
45401 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
45402 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
45403 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
45404 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
45405 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
45406 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
45407 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
45408 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
45409 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
45410 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
45411 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
45412 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
45413 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
45414 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
45415 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
45416 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
45417 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
45418 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
45419 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
45420 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
45421 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
45422 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
45423 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
45424 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
45425 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
45426 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
45427 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
45428 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
45429 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
45430 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
45432 // Map renamed classes back to their common name for OOR
45433 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
45434 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
45436 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
45437 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
45438 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
45439 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
45440 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
45441 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
45442 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
45443 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
45444 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
45445 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
45446 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
45447 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
45448 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
45450 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
45452 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
45453 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
45454 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
45455 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
45456 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
45457 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
45458 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
45459 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
45460 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
45461 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));