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_wxICOHandler swig_types[64]
2527 #define SWIGTYPE_p_wxIcon swig_types[65]
2528 #define SWIGTYPE_p_wxIconizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxIdleEvent swig_types[67]
2530 #define SWIGTYPE_p_wxImage swig_types[68]
2531 #define SWIGTYPE_p_wxImageHandler swig_types[69]
2532 #define SWIGTYPE_p_wxImageList swig_types[70]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
2535 #define SWIGTYPE_p_wxItemContainer swig_types[73]
2536 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2537 #define SWIGTYPE_p_wxKeyEvent swig_types[75]
2538 #define SWIGTYPE_p_wxLayoutConstraints swig_types[76]
2539 #define SWIGTYPE_p_wxListBox swig_types[77]
2540 #define SWIGTYPE_p_wxListEvent swig_types[78]
2541 #define SWIGTYPE_p_wxListItem swig_types[79]
2542 #define SWIGTYPE_p_wxListItemAttr swig_types[80]
2543 #define SWIGTYPE_p_wxListView swig_types[81]
2544 #define SWIGTYPE_p_wxListbook swig_types[82]
2545 #define SWIGTYPE_p_wxListbookEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMaximizeEvent swig_types[84]
2547 #define SWIGTYPE_p_wxMemoryDC swig_types[85]
2548 #define SWIGTYPE_p_wxMenu swig_types[86]
2549 #define SWIGTYPE_p_wxMenuBar swig_types[87]
2550 #define SWIGTYPE_p_wxMenuEvent swig_types[88]
2551 #define SWIGTYPE_p_wxMenuItem swig_types[89]
2552 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMouseEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMoveEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNcPaintEvent swig_types[94]
2557 #define SWIGTYPE_p_wxNotebook swig_types[95]
2558 #define SWIGTYPE_p_wxNotebookEvent swig_types[96]
2559 #define SWIGTYPE_p_wxNotifyEvent swig_types[97]
2560 #define SWIGTYPE_p_wxObject swig_types[98]
2561 #define SWIGTYPE_p_wxPCXHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNGHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPNMHandler swig_types[101]
2564 #define SWIGTYPE_p_wxPaintEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPaperSize swig_types[104]
2567 #define SWIGTYPE_p_wxPoint swig_types[105]
2568 #define SWIGTYPE_p_wxPyApp swig_types[106]
2569 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyControl swig_types[108]
2571 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPyListCtrl swig_types[111]
2574 #define SWIGTYPE_p_wxPySizer swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[113]
2576 #define SWIGTYPE_p_wxPyTreeItemData swig_types[114]
2577 #define SWIGTYPE_p_wxPyValidator swig_types[115]
2578 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[116]
2579 #define SWIGTYPE_p_wxRadioBox swig_types[117]
2580 #define SWIGTYPE_p_wxRadioButton swig_types[118]
2581 #define SWIGTYPE_p_wxRect swig_types[119]
2582 #define SWIGTYPE_p_wxScrollBar swig_types[120]
2583 #define SWIGTYPE_p_wxScrollEvent swig_types[121]
2584 #define SWIGTYPE_p_wxScrollWinEvent swig_types[122]
2585 #define SWIGTYPE_p_wxSetCursorEvent swig_types[123]
2586 #define SWIGTYPE_p_wxShowEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[125]
2588 #define SWIGTYPE_p_wxSize swig_types[126]
2589 #define SWIGTYPE_p_wxSizeEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSizer swig_types[128]
2591 #define SWIGTYPE_p_wxSizerItem swig_types[129]
2592 #define SWIGTYPE_p_wxSlider swig_types[130]
2593 #define SWIGTYPE_p_wxSpinButton swig_types[131]
2594 #define SWIGTYPE_p_wxSpinCtrl swig_types[132]
2595 #define SWIGTYPE_p_wxSpinEvent swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBitmap swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBox swig_types[135]
2598 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[136]
2599 #define SWIGTYPE_p_wxStaticLine swig_types[137]
2600 #define SWIGTYPE_p_wxStaticText swig_types[138]
2601 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[139]
2602 #define SWIGTYPE_p_wxString swig_types[140]
2603 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[141]
2604 #define SWIGTYPE_p_wxTIFFHandler swig_types[142]
2605 #define SWIGTYPE_p_wxTextAttr swig_types[143]
2606 #define SWIGTYPE_p_wxTextCtrl swig_types[144]
2607 #define SWIGTYPE_p_wxTextUrlEvent swig_types[145]
2608 #define SWIGTYPE_p_wxToggleButton swig_types[146]
2609 #define SWIGTYPE_p_wxToolBar swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolBarToolBase swig_types[149]
2612 #define SWIGTYPE_p_wxToolbook swig_types[150]
2613 #define SWIGTYPE_p_wxToolbookEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTreeCtrl swig_types[152]
2615 #define SWIGTYPE_p_wxTreeEvent swig_types[153]
2616 #define SWIGTYPE_p_wxTreeItemId swig_types[154]
2617 #define SWIGTYPE_p_wxTreebook swig_types[155]
2618 #define SWIGTYPE_p_wxTreebookEvent swig_types[156]
2619 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2620 #define SWIGTYPE_p_wxValidator swig_types[158]
2621 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2622 #define SWIGTYPE_p_wxWindow swig_types[160]
2623 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2624 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2625 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2626 static swig_type_info
*swig_types
[165];
2627 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2628 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2629 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2631 /* -------- TYPES TABLE (END) -------- */
2633 #if (PY_VERSION_HEX <= 0x02000000)
2634 # if !defined(SWIG_PYTHON_CLASSIC)
2635 # error "This python version requires to use swig with the '-classic' option"
2638 #if (PY_VERSION_HEX <= 0x02020000)
2639 # error "This python version requires to use swig with the '-nomodern' option"
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodernargs' option"
2645 # error "This python version requires to use swig with the '-nofastunpack' option"
2648 /*-----------------------------------------------
2649 @(target):= _controls_.so
2650 ------------------------------------------------*/
2651 #define SWIG_init init_controls_
2653 #define SWIG_name "_controls_"
2655 #define SWIGVERSION 0x010329
2658 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2659 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2662 #include <stdexcept>
2666 class PyObject_ptr
{
2671 PyObject_ptr() :_obj(0)
2675 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2680 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2682 if (initial_ref
) Py_XINCREF(_obj
);
2685 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2687 Py_XINCREF(item
._obj
);
2698 operator PyObject
*() const
2703 PyObject
*operator->() const
2712 struct PyObject_var
: PyObject_ptr
{
2713 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2715 PyObject_var
& operator = (PyObject
* obj
)
2725 #include "wx/wxPython/wxPython.h"
2726 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2729 static const wxString
wxPyEmptyString(wxEmptyString
);
2730 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2732 const wxArrayString wxPyEmptyStringArray
;
2734 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2736 #define SWIG_From_long PyInt_FromLong
2739 SWIGINTERNINLINE PyObject
*
2740 SWIG_From_int (int value
)
2742 return SWIG_From_long (value
);
2748 # define LLONG_MIN LONG_LONG_MIN
2751 # define LLONG_MAX LONG_LONG_MAX
2754 # define ULLONG_MAX ULONG_LONG_MAX
2759 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2761 if (PyNumber_Check(obj
)) {
2762 if (val
) *val
= PyInt_AsLong(obj
);
2765 return SWIG_TypeError
;
2770 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2773 int res
= SWIG_AsVal_long (obj
, &v
);
2774 if (SWIG_IsOK(res
)) {
2775 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2776 return SWIG_OverflowError
;
2778 if (val
) *val
= static_cast< int >(v
);
2784 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2787 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2789 if (obj
== Py_True
) {
2790 if (val
) *val
= true;
2792 } else if (obj
== Py_False
) {
2793 if (val
) *val
= false;
2797 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2798 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2803 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2804 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2805 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2806 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2807 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2808 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2810 #include <wx/checklst.h>
2812 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2813 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2816 wxPyClientData
* data
= new wxPyClientData(clientData
);
2817 self
->Insert(item
, pos
, data
);
2820 self
->Insert(item
, pos
);
2824 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2827 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2828 return SWIG_TypeError
;
2831 *val
= (unsigned long)v
;
2837 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2840 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2841 if (SWIG_IsOK(res
)) {
2842 if ((v
> UINT_MAX
)) {
2843 return SWIG_OverflowError
;
2845 if (val
) *val
= static_cast< unsigned int >(v
);
2851 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2854 self
->GetSelections(lst
);
2855 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2856 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2858 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2860 wxPyEndBlockThreads(blocked
);
2863 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2865 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2866 self
->GetItem(item
)->SetTextColour(c
);
2869 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2871 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2872 self
->GetItem(item
)->SetBackgroundColour(c
);
2875 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2877 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2878 self
->GetItem(item
)->SetFont(f
);
2881 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2882 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2883 self
->AppendText(text
);
2885 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2886 return self
->GetValue().Mid(from
, to
- from
);
2888 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2889 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2890 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2891 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2892 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2894 SWIGINTERNINLINE PyObject
*
2895 SWIG_From_unsigned_SS_long (unsigned long value
)
2897 return (value
> LONG_MAX
) ?
2898 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2902 SWIGINTERNINLINE PyObject
*
2903 SWIG_From_size_t (size_t value
)
2905 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_int (unsigned int value
)
2912 return SWIG_From_unsigned_SS_long (value
);
2916 #include <wx/slider.h>
2919 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2920 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2922 #if !wxUSE_TOGGLEBTN
2923 // implement dummy items for platforms that don't have this class
2925 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2927 class wxToggleButton
: public wxControl
2930 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2931 const wxPoint
&, const wxSize
&, long,
2932 const wxValidator
&, const wxString
&)
2933 { wxPyRaiseNotImplemented(); }
2936 { wxPyRaiseNotImplemented(); }
2940 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2942 SWIGINTERNINLINE
int
2943 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2946 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2947 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2951 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2952 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2953 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2955 Py_INCREF(udata
->m_obj
);
2956 return udata
->m_obj
;
2962 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2963 self
->SetClientData(new wxPyUserData(clientData
));
2965 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
){
2966 wxPyUserData
* udata
= NULL
;
2967 if (clientData
&& clientData
!= Py_None
)
2968 udata
= new wxPyUserData(clientData
);
2969 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2970 shortHelp
, longHelp
, udata
);
2972 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
){
2973 wxPyUserData
* udata
= NULL
;
2974 if (clientData
&& clientData
!= Py_None
)
2975 udata
= new wxPyUserData(clientData
);
2976 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2977 shortHelp
, longHelp
, udata
);
2979 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2980 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2982 Py_INCREF(udata
->m_obj
);
2983 return udata
->m_obj
;
2989 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2990 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2993 #include <wx/listctrl.h>
2995 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2996 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2997 // Python aware sorting function for wxPyListCtrl
2998 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3000 PyObject
* func
= (PyObject
*)funcPtr
;
3001 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3003 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3004 PyObject
* result
= PyEval_CallObject(func
, args
);
3007 retval
= PyInt_AsLong(result
);
3011 wxPyEndBlockThreads(blocked
);
3015 // C++ Version of a Python aware class
3016 class wxPyListCtrl
: public wxListCtrl
{
3017 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3019 wxPyListCtrl() : wxListCtrl() {}
3020 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3024 const wxValidator
& validator
,
3025 const wxString
& name
) :
3026 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3028 bool Create(wxWindow
* parent
, wxWindowID id
,
3032 const wxValidator
& validator
,
3033 const wxString
& name
) {
3034 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3037 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3038 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3040 // use the virtual version to avoid a confusing assert in the base class
3041 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3042 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3047 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3049 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3050 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3051 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3052 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3055 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3057 item
.SetMask( wxLIST_MASK_STATE
|
3065 if (self
->GetColumn(col
, item
))
3066 return new wxListItem(item
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3071 wxListItem
* info
= new wxListItem
;
3072 info
->m_itemId
= itemId
;
3074 info
->m_mask
= 0xFFFF;
3075 self
->GetItem(*info
);
3078 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3080 self
->GetItemPosition(item
, pos
);
3083 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3085 self
->GetItemRect(item
, rect
, code
);
3088 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3089 if (!PyCallable_Check(func
))
3091 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3093 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3101 #include <wx/treectrl.h>
3102 #include "wx/wxPython/pytree.h"
3104 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3105 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3106 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3107 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3108 // C++ version of Python aware wxTreeCtrl
3109 class wxPyTreeCtrl
: public wxTreeCtrl
{
3110 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3112 wxPyTreeCtrl() : wxTreeCtrl() {}
3113 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3117 const wxValidator
& validator
,
3118 const wxString
& name
) :
3119 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3121 bool Create(wxWindow
*parent
, wxWindowID id
,
3125 const wxValidator
& validator
,
3126 const wxString
& name
) {
3127 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3131 int OnCompareItems(const wxTreeItemId
& item1
,
3132 const wxTreeItemId
& item2
) {
3135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3136 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3137 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3138 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3139 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3143 wxPyEndBlockThreads(blocked
);
3145 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3151 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3154 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3155 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3157 data
= new wxPyTreeItemData();
3158 data
->SetId(item
); // set the id
3159 self
->SetItemData(item
, data
);
3163 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3164 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3166 data
= new wxPyTreeItemData();
3167 data
->SetId(item
); // set the id
3168 self
->SetItemData(item
, data
);
3170 return data
->GetData();
3172 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3173 data
->SetId(item
); // set the id
3174 self
->SetItemData(item
, data
);
3176 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3177 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3179 data
= new wxPyTreeItemData(obj
);
3180 data
->SetId(item
); // set the id
3181 self
->SetItemData(item
, data
);
3185 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3186 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3187 PyObject
* rval
= PyList_New(0);
3188 wxArrayTreeItemIds array
;
3190 num
= self
->GetSelections(array
);
3191 for (x
=0; x
< num
; x
++) {
3192 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3193 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3194 PyList_Append(rval
, item
);
3197 wxPyEndBlockThreads(blocked
);
3200 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3202 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3203 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3204 PyObject
* tup
= PyTuple_New(2);
3205 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3206 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3207 wxPyEndBlockThreads(blocked
);
3210 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3211 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3213 PyObject
* tup
= PyTuple_New(2);
3214 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3215 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3216 wxPyEndBlockThreads(blocked
);
3219 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3221 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3223 wxRect
* r
= new wxRect(rect
);
3224 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3225 wxPyEndBlockThreads(blocked
);
3231 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3233 SWIGINTERNINLINE PyObject
*
3234 SWIG_From_bool (bool value
)
3236 return PyBool_FromLong(value
? 1 : 0);
3239 // C++ version of Python aware wxControl
3240 class wxPyControl
: public wxControl
3242 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3244 wxPyControl() : wxControl() {}
3245 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3246 const wxPoint
& pos
= wxDefaultPosition
,
3247 const wxSize
& size
= wxDefaultSize
,
3249 const wxValidator
& validator
=wxDefaultValidator
,
3250 const wxString
& name
= wxPyControlNameStr
)
3251 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3253 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3255 bool DoEraseBackground(wxDC
* dc
) {
3257 return wxWindow::DoEraseBackground(dc
->GetHDC());
3259 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3265 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3266 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3268 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3274 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3275 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3277 DEC_PYCALLBACK__(InitDialog
);
3278 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3279 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3280 DEC_PYCALLBACK_BOOL_(Validate
);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3283 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3284 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3287 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3289 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3290 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3292 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3294 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3299 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3301 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3302 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3304 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3308 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3310 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3311 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3313 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3314 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3315 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3316 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3318 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3319 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3320 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3323 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3325 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3326 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3328 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3330 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3334 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3336 #include <wx/generic/dragimgg.h>
3338 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3339 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3341 self
->GetRange(&rv
, NULL
);
3344 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3346 self
->GetRange(NULL
, &rv
);
3352 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3353 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3358 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3359 PyObject
*pyobj
= 0;
3363 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3365 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3372 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
= 0;
3374 wxWindow
*arg1
= (wxWindow
*) 0 ;
3375 int arg2
= (int) -1 ;
3376 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3377 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3382 long arg6
= (long) 0 ;
3383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3385 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3387 wxButton
*result
= 0 ;
3392 bool temp3
= false ;
3399 bool temp8
= false ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3402 PyObject
* obj2
= 0 ;
3403 PyObject
* obj3
= 0 ;
3404 PyObject
* obj4
= 0 ;
3405 PyObject
* obj5
= 0 ;
3406 PyObject
* obj6
= 0 ;
3407 PyObject
* obj7
= 0 ;
3408 char * kwnames
[] = {
3409 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3414 if (!SWIG_IsOK(res1
)) {
3415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3420 if (!SWIG_IsOK(ecode2
)) {
3421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3423 arg2
= static_cast< int >(val2
);
3427 arg3
= wxString_in_helper(obj2
);
3428 if (arg3
== NULL
) SWIG_fail
;
3435 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3441 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3445 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3446 if (!SWIG_IsOK(ecode6
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3449 arg6
= static_cast< long >(val6
);
3452 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3453 if (!SWIG_IsOK(res7
)) {
3454 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3459 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3463 arg8
= wxString_in_helper(obj7
);
3464 if (arg8
== NULL
) SWIG_fail
;
3469 if (!wxPyCheckForApp()) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3498 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3499 PyObject
*resultobj
= 0;
3500 wxButton
*result
= 0 ;
3502 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3504 if (!wxPyCheckForApp()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (wxButton
*)new wxButton();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3517 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
= 0;
3519 wxButton
*arg1
= (wxButton
*) 0 ;
3520 wxWindow
*arg2
= (wxWindow
*) 0 ;
3521 int arg3
= (int) -1 ;
3522 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3523 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3528 long arg7
= (long) 0 ;
3529 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3530 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3531 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3532 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3540 bool temp4
= false ;
3547 bool temp9
= false ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3550 PyObject
* obj2
= 0 ;
3551 PyObject
* obj3
= 0 ;
3552 PyObject
* obj4
= 0 ;
3553 PyObject
* obj5
= 0 ;
3554 PyObject
* obj6
= 0 ;
3555 PyObject
* obj7
= 0 ;
3556 PyObject
* obj8
= 0 ;
3557 char * kwnames
[] = {
3558 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3563 if (!SWIG_IsOK(res1
)) {
3564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3566 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3568 if (!SWIG_IsOK(res2
)) {
3569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3574 if (!SWIG_IsOK(ecode3
)) {
3575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3577 arg3
= static_cast< int >(val3
);
3581 arg4
= wxString_in_helper(obj3
);
3582 if (arg4
== NULL
) SWIG_fail
;
3589 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3595 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3599 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3600 if (!SWIG_IsOK(ecode7
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3603 arg7
= static_cast< long >(val7
);
3606 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3607 if (!SWIG_IsOK(res8
)) {
3608 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3613 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3617 arg9
= wxString_in_helper(obj8
);
3618 if (arg9
== NULL
) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3653 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3654 PyObject
*resultobj
= 0;
3655 wxButton
*arg1
= (wxButton
*) 0 ;
3658 PyObject
*swig_obj
[1] ;
3660 if (!args
) SWIG_fail
;
3662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3663 if (!SWIG_IsOK(res1
)) {
3664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3666 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 (arg1
)->SetDefault();
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= SWIG_Py_Void();
3680 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3681 PyObject
*resultobj
= 0;
3684 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= wxButton::GetDefaultSize();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3691 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3698 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
= 0;
3700 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3701 SwigValueWrapper
<wxVisualAttributes
> result
;
3704 PyObject
* obj0
= 0 ;
3705 char * kwnames
[] = {
3706 (char *) "variant", NULL
3709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3712 if (!SWIG_IsOK(ecode1
)) {
3713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3715 arg1
= static_cast< wxWindowVariant
>(val1
);
3718 if (!wxPyCheckForApp()) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= wxButton::GetClassDefaultAttributes(arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3731 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3734 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3735 return SWIG_Py_Void();
3738 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3739 return SWIG_Python_InitShadowInstance(args
);
3742 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
= 0;
3744 wxWindow
*arg1
= (wxWindow
*) 0 ;
3745 int arg2
= (int) -1 ;
3746 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3747 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3752 long arg6
= (long) wxBU_AUTODRAW
;
3753 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3754 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3755 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3756 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3757 wxBitmapButton
*result
= 0 ;
3770 bool temp8
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3776 PyObject
* obj5
= 0 ;
3777 PyObject
* obj6
= 0 ;
3778 PyObject
* obj7
= 0 ;
3779 char * kwnames
[] = {
3780 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3785 if (!SWIG_IsOK(res1
)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3791 if (!SWIG_IsOK(ecode2
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3794 arg2
= static_cast< int >(val2
);
3797 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3798 if (!SWIG_IsOK(res3
)) {
3799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3804 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3819 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3820 if (!SWIG_IsOK(ecode6
)) {
3821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3823 arg6
= static_cast< long >(val6
);
3826 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3827 if (!SWIG_IsOK(res7
)) {
3828 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3833 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3837 arg8
= wxString_in_helper(obj7
);
3838 if (arg8
== NULL
) SWIG_fail
;
3843 if (!wxPyCheckForApp()) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3864 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3865 PyObject
*resultobj
= 0;
3866 wxBitmapButton
*result
= 0 ;
3868 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3870 if (!wxPyCheckForApp()) SWIG_fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 result
= (wxBitmapButton
*)new wxBitmapButton();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3883 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
= 0;
3885 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3886 wxWindow
*arg2
= (wxWindow
*) 0 ;
3887 int arg3
= (int) -1 ;
3888 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3889 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3894 long arg7
= (long) wxBU_AUTODRAW
;
3895 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3896 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3897 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3898 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3914 bool temp9
= false ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3917 PyObject
* obj2
= 0 ;
3918 PyObject
* obj3
= 0 ;
3919 PyObject
* obj4
= 0 ;
3920 PyObject
* obj5
= 0 ;
3921 PyObject
* obj6
= 0 ;
3922 PyObject
* obj7
= 0 ;
3923 PyObject
* obj8
= 0 ;
3924 char * kwnames
[] = {
3925 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3930 if (!SWIG_IsOK(res1
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3933 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3935 if (!SWIG_IsOK(res2
)) {
3936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3941 if (!SWIG_IsOK(ecode3
)) {
3942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3944 arg3
= static_cast< int >(val3
);
3947 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3948 if (!SWIG_IsOK(res4
)) {
3949 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3954 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3969 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3970 if (!SWIG_IsOK(ecode7
)) {
3971 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3973 arg7
= static_cast< long >(val7
);
3976 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3977 if (!SWIG_IsOK(res8
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3983 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3987 arg9
= wxString_in_helper(obj8
);
3988 if (arg9
== NULL
) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4015 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4016 PyObject
*resultobj
= 0;
4017 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4021 PyObject
*swig_obj
[1] ;
4023 if (!args
) SWIG_fail
;
4025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4026 if (!SWIG_IsOK(res1
)) {
4027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4029 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (arg1
)->GetBitmapLabel();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4043 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4044 PyObject
*resultobj
= 0;
4045 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4049 PyObject
*swig_obj
[1] ;
4051 if (!args
) SWIG_fail
;
4053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4054 if (!SWIG_IsOK(res1
)) {
4055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4057 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (arg1
)->GetBitmapDisabled();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4071 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4072 PyObject
*resultobj
= 0;
4073 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4077 PyObject
*swig_obj
[1] ;
4079 if (!args
) SWIG_fail
;
4081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4082 if (!SWIG_IsOK(res1
)) {
4083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4085 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (arg1
)->GetBitmapFocus();
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4099 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4100 PyObject
*resultobj
= 0;
4101 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4105 PyObject
*swig_obj
[1] ;
4107 if (!args
) SWIG_fail
;
4109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4110 if (!SWIG_IsOK(res1
)) {
4111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4113 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 result
= (arg1
)->GetBitmapSelected();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4127 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4133 PyObject
*swig_obj
[1] ;
4135 if (!args
) SWIG_fail
;
4137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4138 if (!SWIG_IsOK(res1
)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4141 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (arg1
)->GetBitmapHover();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4155 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4158 wxBitmap
*arg2
= 0 ;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4165 char * kwnames
[] = {
4166 (char *) "self",(char *) "bitmap", NULL
4169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4174 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4176 if (!SWIG_IsOK(res2
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4182 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_Py_Void();
4196 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
= 0;
4198 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4199 wxBitmap
*arg2
= 0 ;
4204 PyObject
* obj0
= 0 ;
4205 PyObject
* obj1
= 0 ;
4206 char * kwnames
[] = {
4207 (char *) "self",(char *) "bitmap", NULL
4210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4212 if (!SWIG_IsOK(res1
)) {
4213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4215 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4217 if (!SWIG_IsOK(res2
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4223 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_Py_Void();
4237 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4240 wxBitmap
*arg2
= 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "self",(char *) "bitmap", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4253 if (!SWIG_IsOK(res1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4256 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4258 if (!SWIG_IsOK(res2
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4278 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
= 0;
4280 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4281 wxBitmap
*arg2
= 0 ;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 char * kwnames
[] = {
4289 (char *) "self",(char *) "bitmap", NULL
4292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4294 if (!SWIG_IsOK(res1
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4297 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4299 if (!SWIG_IsOK(res2
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_Py_Void();
4319 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
= 0;
4321 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4322 wxBitmap
*arg2
= 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4329 char * kwnames
[] = {
4330 (char *) "self",(char *) "hover", NULL
4333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4338 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4340 if (!SWIG_IsOK(res2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4373 PyObject
* obj2
= 0 ;
4374 char * kwnames
[] = {
4375 (char *) "self",(char *) "x",(char *) "y", NULL
4378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4380 if (!SWIG_IsOK(res1
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4383 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4385 if (!SWIG_IsOK(ecode2
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4388 arg2
= static_cast< int >(val2
);
4389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4390 if (!SWIG_IsOK(ecode3
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4393 arg3
= static_cast< int >(val3
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 (arg1
)->SetMargins(arg2
,arg3
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_Py_Void();
4407 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4408 PyObject
*resultobj
= 0;
4409 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4413 PyObject
*swig_obj
[1] ;
4415 if (!args
) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4421 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 resultobj
= SWIG_From_int(static_cast< int >(result
));
4435 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4436 PyObject
*resultobj
= 0;
4437 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4441 PyObject
*swig_obj
[1] ;
4443 if (!args
) SWIG_fail
;
4445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4446 if (!SWIG_IsOK(res1
)) {
4447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4449 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_From_int(static_cast< int >(result
));
4463 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4466 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4467 return SWIG_Py_Void();
4470 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4471 return SWIG_Python_InitShadowInstance(args
);
4474 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4475 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4480 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4481 PyObject
*pyobj
= 0;
4485 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4487 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4494 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4496 wxWindow
*arg1
= (wxWindow
*) 0 ;
4497 int arg2
= (int) -1 ;
4498 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4499 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4500 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4501 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4502 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4503 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4504 long arg6
= (long) 0 ;
4505 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4506 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4507 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4508 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4509 wxCheckBox
*result
= 0 ;
4514 bool temp3
= false ;
4521 bool temp8
= false ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4524 PyObject
* obj2
= 0 ;
4525 PyObject
* obj3
= 0 ;
4526 PyObject
* obj4
= 0 ;
4527 PyObject
* obj5
= 0 ;
4528 PyObject
* obj6
= 0 ;
4529 PyObject
* obj7
= 0 ;
4530 char * kwnames
[] = {
4531 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4536 if (!SWIG_IsOK(res1
)) {
4537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4542 if (!SWIG_IsOK(ecode2
)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4545 arg2
= static_cast< int >(val2
);
4549 arg3
= wxString_in_helper(obj2
);
4550 if (arg3
== NULL
) SWIG_fail
;
4557 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4563 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4567 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4568 if (!SWIG_IsOK(ecode6
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4571 arg6
= static_cast< long >(val6
);
4574 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4575 if (!SWIG_IsOK(res7
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4581 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4585 arg8
= wxString_in_helper(obj7
);
4586 if (arg8
== NULL
) SWIG_fail
;
4591 if (!wxPyCheckForApp()) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4620 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxCheckBox
*result
= 0 ;
4624 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4626 if (!wxPyCheckForApp()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (wxCheckBox
*)new wxCheckBox();
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4639 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
= 0;
4641 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4642 wxWindow
*arg2
= (wxWindow
*) 0 ;
4643 int arg3
= (int) -1 ;
4644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4646 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4647 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4648 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4649 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4650 long arg7
= (long) 0 ;
4651 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4652 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4653 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4654 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4662 bool temp4
= false ;
4669 bool temp9
= false ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4674 PyObject
* obj4
= 0 ;
4675 PyObject
* obj5
= 0 ;
4676 PyObject
* obj6
= 0 ;
4677 PyObject
* obj7
= 0 ;
4678 PyObject
* obj8
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4688 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4690 if (!SWIG_IsOK(res2
)) {
4691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4693 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4699 arg3
= static_cast< int >(val3
);
4703 arg4
= wxString_in_helper(obj3
);
4704 if (arg4
== NULL
) SWIG_fail
;
4711 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4717 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4721 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4722 if (!SWIG_IsOK(ecode7
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4725 arg7
= static_cast< long >(val7
);
4728 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4729 if (!SWIG_IsOK(res8
)) {
4730 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4735 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4739 arg9
= wxString_in_helper(obj8
);
4740 if (arg9
== NULL
) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4775 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4776 PyObject
*resultobj
= 0;
4777 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4781 PyObject
*swig_obj
[1] ;
4783 if (!args
) SWIG_fail
;
4785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4786 if (!SWIG_IsOK(res1
)) {
4787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4789 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (bool)(arg1
)->GetValue();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4805 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4806 PyObject
*resultobj
= 0;
4807 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4811 PyObject
*swig_obj
[1] ;
4813 if (!args
) SWIG_fail
;
4815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4816 if (!SWIG_IsOK(res1
)) {
4817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4819 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)(arg1
)->IsChecked();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4835 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
= 0;
4837 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4845 char * kwnames
[] = {
4846 (char *) "self",(char *) "state", NULL
4849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4851 if (!SWIG_IsOK(res1
)) {
4852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4854 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4856 if (!SWIG_IsOK(ecode2
)) {
4857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4859 arg2
= static_cast< bool >(val2
);
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 (arg1
)->SetValue(arg2
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= SWIG_Py_Void();
4873 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4874 PyObject
*resultobj
= 0;
4875 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4876 wxCheckBoxState result
;
4879 PyObject
*swig_obj
[1] ;
4881 if (!args
) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4887 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_From_int(static_cast< int >(result
));
4901 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
= 0;
4903 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4904 wxCheckBoxState arg2
;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4911 char * kwnames
[] = {
4912 (char *) "self",(char *) "state", NULL
4915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4917 if (!SWIG_IsOK(res1
)) {
4918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4920 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4922 if (!SWIG_IsOK(ecode2
)) {
4923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4925 arg2
= static_cast< wxCheckBoxState
>(val2
);
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 (arg1
)->Set3StateValue(arg2
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_Py_Void();
4939 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4940 PyObject
*resultobj
= 0;
4941 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4945 PyObject
*swig_obj
[1] ;
4947 if (!args
) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4953 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4969 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4983 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
= 0;
5001 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5002 SwigValueWrapper
<wxVisualAttributes
> result
;
5005 PyObject
* obj0
= 0 ;
5006 char * kwnames
[] = {
5007 (char *) "variant", NULL
5010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5013 if (!SWIG_IsOK(ecode1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5016 arg1
= static_cast< wxWindowVariant
>(val1
);
5019 if (!wxPyCheckForApp()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5032 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5035 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5036 return SWIG_Py_Void();
5039 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5040 return SWIG_Python_InitShadowInstance(args
);
5043 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5044 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5049 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5050 PyObject
*pyobj
= 0;
5054 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5056 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5063 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxWindow
*arg1
= (wxWindow
*) 0 ;
5066 int arg2
= (int) -1 ;
5067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5071 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5072 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5073 long arg6
= (long) 0 ;
5074 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5075 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5076 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5078 wxChoice
*result
= 0 ;
5085 bool temp5
= false ;
5090 bool temp8
= false ;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5093 PyObject
* obj2
= 0 ;
5094 PyObject
* obj3
= 0 ;
5095 PyObject
* obj4
= 0 ;
5096 PyObject
* obj5
= 0 ;
5097 PyObject
* obj6
= 0 ;
5098 PyObject
* obj7
= 0 ;
5099 char * kwnames
[] = {
5100 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5111 if (!SWIG_IsOK(ecode2
)) {
5112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5114 arg2
= static_cast< int >(val2
);
5119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5125 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5130 if (! PySequence_Check(obj4
)) {
5131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5134 arg5
= new wxArrayString
;
5136 int i
, len
=PySequence_Length(obj4
);
5137 for (i
=0; i
<len
; i
++) {
5138 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5139 wxString
* s
= wxString_in_helper(item
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5148 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5149 if (!SWIG_IsOK(ecode6
)) {
5150 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5152 arg6
= static_cast< long >(val6
);
5155 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5156 if (!SWIG_IsOK(res7
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5162 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5166 arg8
= wxString_in_helper(obj7
);
5167 if (arg8
== NULL
) SWIG_fail
;
5172 if (!wxPyCheckForApp()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5180 if (temp5
) delete arg5
;
5189 if (temp5
) delete arg5
;
5199 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5200 PyObject
*resultobj
= 0;
5201 wxChoice
*result
= 0 ;
5203 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5205 if (!wxPyCheckForApp()) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (wxChoice
*)new wxChoice();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5218 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
= 0;
5220 wxChoice
*arg1
= (wxChoice
*) 0 ;
5221 wxWindow
*arg2
= (wxWindow
*) 0 ;
5222 int arg3
= (int) -1 ;
5223 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5224 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5225 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5226 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5227 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5228 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5229 long arg7
= (long) 0 ;
5230 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5231 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5232 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5233 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5243 bool temp6
= false ;
5248 bool temp9
= false ;
5249 PyObject
* obj0
= 0 ;
5250 PyObject
* obj1
= 0 ;
5251 PyObject
* obj2
= 0 ;
5252 PyObject
* obj3
= 0 ;
5253 PyObject
* obj4
= 0 ;
5254 PyObject
* obj5
= 0 ;
5255 PyObject
* obj6
= 0 ;
5256 PyObject
* obj7
= 0 ;
5257 PyObject
* obj8
= 0 ;
5258 char * kwnames
[] = {
5259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5267 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5269 if (!SWIG_IsOK(res2
)) {
5270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5275 if (!SWIG_IsOK(ecode3
)) {
5276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5278 arg3
= static_cast< int >(val3
);
5283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5294 if (! PySequence_Check(obj5
)) {
5295 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5298 arg6
= new wxArrayString
;
5300 int i
, len
=PySequence_Length(obj5
);
5301 for (i
=0; i
<len
; i
++) {
5302 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5303 wxString
* s
= wxString_in_helper(item
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5312 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5313 if (!SWIG_IsOK(ecode7
)) {
5314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5316 arg7
= static_cast< long >(val7
);
5319 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5320 if (!SWIG_IsOK(res8
)) {
5321 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5326 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5330 arg9
= wxString_in_helper(obj8
);
5331 if (arg9
== NULL
) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5345 if (temp6
) delete arg6
;
5354 if (temp6
) delete arg6
;
5364 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5365 PyObject
*resultobj
= 0;
5366 wxChoice
*arg1
= (wxChoice
*) 0 ;
5370 PyObject
*swig_obj
[1] ;
5372 if (!args
) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5378 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_From_int(static_cast< int >(result
));
5392 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
= 0;
5394 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5395 SwigValueWrapper
<wxVisualAttributes
> result
;
5398 PyObject
* obj0
= 0 ;
5399 char * kwnames
[] = {
5400 (char *) "variant", NULL
5403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5406 if (!SWIG_IsOK(ecode1
)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5409 arg1
= static_cast< wxWindowVariant
>(val1
);
5412 if (!wxPyCheckForApp()) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5425 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5428 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5429 return SWIG_Py_Void();
5432 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5433 return SWIG_Python_InitShadowInstance(args
);
5436 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5437 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5442 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5443 PyObject
*pyobj
= 0;
5447 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5449 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5456 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
= 0;
5458 wxWindow
*arg1
= (wxWindow
*) 0 ;
5459 int arg2
= (int) -1 ;
5460 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5461 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5462 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5463 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5464 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5465 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5466 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5467 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5468 long arg7
= (long) 0 ;
5469 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5470 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5471 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5472 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5473 wxComboBox
*result
= 0 ;
5478 bool temp3
= false ;
5481 bool temp6
= false ;
5486 bool temp9
= false ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5489 PyObject
* obj2
= 0 ;
5490 PyObject
* obj3
= 0 ;
5491 PyObject
* obj4
= 0 ;
5492 PyObject
* obj5
= 0 ;
5493 PyObject
* obj6
= 0 ;
5494 PyObject
* obj7
= 0 ;
5495 PyObject
* obj8
= 0 ;
5496 char * kwnames
[] = {
5497 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5502 if (!SWIG_IsOK(res1
)) {
5503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5505 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5508 if (!SWIG_IsOK(ecode2
)) {
5509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5511 arg2
= static_cast< int >(val2
);
5515 arg3
= wxString_in_helper(obj2
);
5516 if (arg3
== NULL
) SWIG_fail
;
5523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5534 if (! PySequence_Check(obj5
)) {
5535 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5538 arg6
= new wxArrayString
;
5540 int i
, len
=PySequence_Length(obj5
);
5541 for (i
=0; i
<len
; i
++) {
5542 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5543 wxString
* s
= wxString_in_helper(item
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5552 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5553 if (!SWIG_IsOK(ecode7
)) {
5554 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5556 arg7
= static_cast< long >(val7
);
5559 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5560 if (!SWIG_IsOK(res8
)) {
5561 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5566 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5570 arg9
= wxString_in_helper(obj8
);
5571 if (arg9
== NULL
) SWIG_fail
;
5576 if (!wxPyCheckForApp()) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 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
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5588 if (temp6
) delete arg6
;
5601 if (temp6
) delete arg6
;
5611 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxComboBox
*result
= 0 ;
5615 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5617 if (!wxPyCheckForApp()) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= (wxComboBox
*)new wxComboBox();
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5630 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
= 0;
5632 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5633 wxWindow
*arg2
= (wxWindow
*) 0 ;
5634 int arg3
= (int) -1 ;
5635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5637 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5638 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5639 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5640 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5641 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5642 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5643 long arg8
= (long) 0 ;
5644 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5645 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5646 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5647 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5655 bool temp4
= false ;
5658 bool temp7
= false ;
5663 bool temp10
= false ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5668 PyObject
* obj4
= 0 ;
5669 PyObject
* obj5
= 0 ;
5670 PyObject
* obj6
= 0 ;
5671 PyObject
* obj7
= 0 ;
5672 PyObject
* obj8
= 0 ;
5673 PyObject
* obj9
= 0 ;
5674 char * kwnames
[] = {
5675 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5680 if (!SWIG_IsOK(res1
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5683 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5685 if (!SWIG_IsOK(res2
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5691 if (!SWIG_IsOK(ecode3
)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5694 arg3
= static_cast< int >(val3
);
5698 arg4
= wxString_in_helper(obj3
);
5699 if (arg4
== NULL
) SWIG_fail
;
5706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5717 if (! PySequence_Check(obj6
)) {
5718 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5721 arg7
= new wxArrayString
;
5723 int i
, len
=PySequence_Length(obj6
);
5724 for (i
=0; i
<len
; i
++) {
5725 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5726 wxString
* s
= wxString_in_helper(item
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5735 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5736 if (!SWIG_IsOK(ecode8
)) {
5737 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5739 arg8
= static_cast< long >(val8
);
5742 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5743 if (!SWIG_IsOK(res9
)) {
5744 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5749 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5753 arg10
= wxString_in_helper(obj9
);
5754 if (arg10
== NULL
) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 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
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5772 if (temp7
) delete arg7
;
5785 if (temp7
) delete arg7
;
5795 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5809 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= ((wxComboBox
const *)arg1
)->GetValue();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5829 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
= 0;
5831 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5832 wxString
*arg2
= 0 ;
5835 bool temp2
= false ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5838 char * kwnames
[] = {
5839 (char *) "self",(char *) "value", NULL
5842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5847 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5849 arg2
= wxString_in_helper(obj1
);
5850 if (arg2
== NULL
) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->SetValue((wxString
const &)*arg2
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5875 PyObject
*resultobj
= 0;
5876 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5879 PyObject
*swig_obj
[1] ;
5881 if (!args
) SWIG_fail
;
5883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5884 if (!SWIG_IsOK(res1
)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5887 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_Py_Void();
5901 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5902 PyObject
*resultobj
= 0;
5903 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5906 PyObject
*swig_obj
[1] ;
5908 if (!args
) SWIG_fail
;
5910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5911 if (!SWIG_IsOK(res1
)) {
5912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5914 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_Py_Void();
5928 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5929 PyObject
*resultobj
= 0;
5930 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5933 PyObject
*swig_obj
[1] ;
5935 if (!args
) SWIG_fail
;
5937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5938 if (!SWIG_IsOK(res1
)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5941 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_Py_Void();
5955 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
= 0;
5957 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5965 char * kwnames
[] = {
5966 (char *) "self",(char *) "pos", NULL
5969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5974 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5976 if (!SWIG_IsOK(ecode2
)) {
5977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5979 arg2
= static_cast< long >(val2
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 (arg1
)->SetInsertionPoint(arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_Py_Void();
5993 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5994 PyObject
*resultobj
= 0;
5995 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5999 PyObject
*swig_obj
[1] ;
6001 if (!args
) SWIG_fail
;
6003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6004 if (!SWIG_IsOK(res1
)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6007 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_From_long(static_cast< long >(result
));
6021 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6022 PyObject
*resultobj
= 0;
6023 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6027 PyObject
*swig_obj
[1] ;
6029 if (!args
) SWIG_fail
;
6031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6032 if (!SWIG_IsOK(res1
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6035 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_From_long(static_cast< long >(result
));
6049 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
= 0;
6051 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6054 wxString
*arg4
= 0 ;
6061 bool temp4
= false ;
6062 PyObject
* obj0
= 0 ;
6063 PyObject
* obj1
= 0 ;
6064 PyObject
* obj2
= 0 ;
6065 PyObject
* obj3
= 0 ;
6066 char * kwnames
[] = {
6067 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6072 if (!SWIG_IsOK(res1
)) {
6073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6075 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6076 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6077 if (!SWIG_IsOK(ecode2
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6080 arg2
= static_cast< long >(val2
);
6081 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6082 if (!SWIG_IsOK(ecode3
)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6085 arg3
= static_cast< long >(val3
);
6087 arg4
= wxString_in_helper(obj3
);
6088 if (arg4
== NULL
) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_Py_Void();
6112 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
= 0;
6114 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 PyObject
* obj2
= 0 ;
6126 char * kwnames
[] = {
6127 (char *) "self",(char *) "from",(char *) "to", NULL
6130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6132 if (!SWIG_IsOK(res1
)) {
6133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6135 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6136 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6137 if (!SWIG_IsOK(ecode2
)) {
6138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6140 arg2
= static_cast< long >(val2
);
6141 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6142 if (!SWIG_IsOK(ecode3
)) {
6143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6145 arg3
= static_cast< long >(val3
);
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->SetSelection(arg2
,arg3
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= SWIG_Py_Void();
6159 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6160 PyObject
*resultobj
= 0;
6161 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6162 long *arg2
= (long *) 0 ;
6163 long *arg3
= (long *) 0 ;
6167 int res2
= SWIG_TMPOBJ
;
6169 int res3
= SWIG_TMPOBJ
;
6170 PyObject
*swig_obj
[1] ;
6174 if (!args
) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6180 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 (arg1
)->GetSelection(arg2
,arg3
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_Py_Void();
6188 if (SWIG_IsTmpObj(res2
)) {
6189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6191 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6194 if (SWIG_IsTmpObj(res3
)) {
6195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6197 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6206 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6207 PyObject
*resultobj
= 0;
6208 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6212 PyObject
*swig_obj
[1] ;
6214 if (!args
) SWIG_fail
;
6216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6217 if (!SWIG_IsOK(res1
)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6220 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= SWIG_From_int(static_cast< int >(result
));
6234 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
= 0;
6236 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6237 wxString
*arg2
= 0 ;
6241 bool temp2
= false ;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6244 char * kwnames
[] = {
6245 (char *) "self",(char *) "string", NULL
6248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6250 if (!SWIG_IsOK(res1
)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6253 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6255 arg2
= wxString_in_helper(obj1
);
6256 if (arg2
== NULL
) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6282 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
= 0;
6284 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6286 wxString
*arg3
= 0 ;
6291 bool temp3
= false ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6294 PyObject
* obj2
= 0 ;
6295 char * kwnames
[] = {
6296 (char *) "self",(char *) "n",(char *) "string", NULL
6299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6301 if (!SWIG_IsOK(res1
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6304 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6306 if (!SWIG_IsOK(ecode2
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6309 arg2
= static_cast< int >(val2
);
6311 arg3
= wxString_in_helper(obj2
);
6312 if (arg3
== NULL
) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_Py_Void();
6336 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
= 0;
6338 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6346 char * kwnames
[] = {
6347 (char *) "self",(char *) "editable", NULL
6350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6352 if (!SWIG_IsOK(res1
)) {
6353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6355 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6356 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6357 if (!SWIG_IsOK(ecode2
)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6360 arg2
= static_cast< bool >(val2
);
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 (arg1
)->SetEditable(arg2
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_Py_Void();
6374 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6375 PyObject
*resultobj
= 0;
6376 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6379 PyObject
*swig_obj
[1] ;
6381 if (!args
) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6387 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->SetInsertionPointEnd();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_Py_Void();
6401 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= 0;
6403 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6413 PyObject
* obj1
= 0 ;
6414 PyObject
* obj2
= 0 ;
6415 char * kwnames
[] = {
6416 (char *) "self",(char *) "from",(char *) "to", NULL
6419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6421 if (!SWIG_IsOK(res1
)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6424 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6425 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6426 if (!SWIG_IsOK(ecode2
)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6429 arg2
= static_cast< long >(val2
);
6430 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6431 if (!SWIG_IsOK(ecode3
)) {
6432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6434 arg3
= static_cast< long >(val3
);
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 (arg1
)->Remove(arg2
,arg3
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= SWIG_Py_Void();
6448 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6449 PyObject
*resultobj
= 0;
6450 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6454 PyObject
*swig_obj
[1] ;
6456 if (!args
) SWIG_fail
;
6458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6459 if (!SWIG_IsOK(res1
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6462 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6478 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6479 PyObject
*resultobj
= 0;
6480 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6491 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= SWIG_Py_Void();
6505 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6506 PyObject
*resultobj
= 0;
6507 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6510 PyObject
*swig_obj
[1] ;
6512 if (!args
) SWIG_fail
;
6514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6515 if (!SWIG_IsOK(res1
)) {
6516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6518 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_Py_Void();
6532 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6533 PyObject
*resultobj
= 0;
6534 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6537 PyObject
*swig_obj
[1] ;
6539 if (!args
) SWIG_fail
;
6541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6542 if (!SWIG_IsOK(res1
)) {
6543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6545 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 (arg1
)->SelectAll();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_Py_Void();
6559 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6560 PyObject
*resultobj
= 0;
6561 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6565 PyObject
*swig_obj
[1] ;
6567 if (!args
) SWIG_fail
;
6569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6570 if (!SWIG_IsOK(res1
)) {
6571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6573 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6589 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6590 PyObject
*resultobj
= 0;
6591 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6595 PyObject
*swig_obj
[1] ;
6597 if (!args
) SWIG_fail
;
6599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6600 if (!SWIG_IsOK(res1
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6603 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6619 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6620 PyObject
*resultobj
= 0;
6621 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6625 PyObject
*swig_obj
[1] ;
6627 if (!args
) SWIG_fail
;
6629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6630 if (!SWIG_IsOK(res1
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6633 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6649 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6650 PyObject
*resultobj
= 0;
6651 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6655 PyObject
*swig_obj
[1] ;
6657 if (!args
) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6663 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6679 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6680 PyObject
*resultobj
= 0;
6681 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6685 PyObject
*swig_obj
[1] ;
6687 if (!args
) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6693 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6709 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= 0;
6711 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6712 SwigValueWrapper
<wxVisualAttributes
> result
;
6715 PyObject
* obj0
= 0 ;
6716 char * kwnames
[] = {
6717 (char *) "variant", NULL
6720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6723 if (!SWIG_IsOK(ecode1
)) {
6724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6726 arg1
= static_cast< wxWindowVariant
>(val1
);
6729 if (!wxPyCheckForApp()) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6742 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6745 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6746 return SWIG_Py_Void();
6749 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6750 return SWIG_Python_InitShadowInstance(args
);
6753 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6754 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6759 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6760 PyObject
*pyobj
= 0;
6764 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6766 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6773 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
= 0;
6775 wxWindow
*arg1
= (wxWindow
*) 0 ;
6776 int arg2
= (int) -1 ;
6777 int arg3
= (int) 100 ;
6778 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6779 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6780 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6781 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6782 long arg6
= (long) wxGA_HORIZONTAL
;
6783 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6784 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6785 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6786 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6787 wxGauge
*result
= 0 ;
6800 bool temp8
= false ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6804 PyObject
* obj3
= 0 ;
6805 PyObject
* obj4
= 0 ;
6806 PyObject
* obj5
= 0 ;
6807 PyObject
* obj6
= 0 ;
6808 PyObject
* obj7
= 0 ;
6809 char * kwnames
[] = {
6810 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6815 if (!SWIG_IsOK(res1
)) {
6816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6818 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6821 if (!SWIG_IsOK(ecode2
)) {
6822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6824 arg2
= static_cast< int >(val2
);
6827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6828 if (!SWIG_IsOK(ecode3
)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6831 arg3
= static_cast< int >(val3
);
6836 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6842 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6846 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6847 if (!SWIG_IsOK(ecode6
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6850 arg6
= static_cast< long >(val6
);
6853 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6854 if (!SWIG_IsOK(res7
)) {
6855 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6860 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6864 arg8
= wxString_in_helper(obj7
);
6865 if (arg8
== NULL
) SWIG_fail
;
6870 if (!wxPyCheckForApp()) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6891 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6892 PyObject
*resultobj
= 0;
6893 wxGauge
*result
= 0 ;
6895 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6897 if (!wxPyCheckForApp()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxGauge
*)new wxGauge();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6910 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
= 0;
6912 wxGauge
*arg1
= (wxGauge
*) 0 ;
6913 wxWindow
*arg2
= (wxWindow
*) 0 ;
6914 int arg3
= (int) -1 ;
6915 int arg4
= (int) 100 ;
6916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6920 long arg7
= (long) wxGA_HORIZONTAL
;
6921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6923 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6940 bool temp9
= false ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6943 PyObject
* obj2
= 0 ;
6944 PyObject
* obj3
= 0 ;
6945 PyObject
* obj4
= 0 ;
6946 PyObject
* obj5
= 0 ;
6947 PyObject
* obj6
= 0 ;
6948 PyObject
* obj7
= 0 ;
6949 PyObject
* obj8
= 0 ;
6950 char * kwnames
[] = {
6951 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6959 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6961 if (!SWIG_IsOK(res2
)) {
6962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6967 if (!SWIG_IsOK(ecode3
)) {
6968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6970 arg3
= static_cast< int >(val3
);
6973 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6974 if (!SWIG_IsOK(ecode4
)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6977 arg4
= static_cast< int >(val4
);
6982 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6988 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6992 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6993 if (!SWIG_IsOK(ecode7
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6996 arg7
= static_cast< long >(val7
);
6999 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7000 if (!SWIG_IsOK(res8
)) {
7001 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7006 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7010 arg9
= wxString_in_helper(obj8
);
7011 if (arg9
== NULL
) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7038 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxGauge
*arg1
= (wxGauge
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7048 char * kwnames
[] = {
7049 (char *) "self",(char *) "range", NULL
7052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7054 if (!SWIG_IsOK(res1
)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7057 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7059 if (!SWIG_IsOK(ecode2
)) {
7060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7062 arg2
= static_cast< int >(val2
);
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 (arg1
)->SetRange(arg2
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= SWIG_Py_Void();
7076 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7077 PyObject
*resultobj
= 0;
7078 wxGauge
*arg1
= (wxGauge
*) 0 ;
7082 PyObject
*swig_obj
[1] ;
7084 if (!args
) SWIG_fail
;
7086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7087 if (!SWIG_IsOK(res1
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7090 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_From_int(static_cast< int >(result
));
7104 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= 0;
7106 wxGauge
*arg1
= (wxGauge
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7114 char * kwnames
[] = {
7115 (char *) "self",(char *) "pos", NULL
7118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7120 if (!SWIG_IsOK(res1
)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7123 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7125 if (!SWIG_IsOK(ecode2
)) {
7126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7128 arg2
= static_cast< int >(val2
);
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 (arg1
)->SetValue(arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= SWIG_Py_Void();
7142 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7143 PyObject
*resultobj
= 0;
7144 wxGauge
*arg1
= (wxGauge
*) 0 ;
7148 PyObject
*swig_obj
[1] ;
7150 if (!args
) SWIG_fail
;
7152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7153 if (!SWIG_IsOK(res1
)) {
7154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7156 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_From_int(static_cast< int >(result
));
7170 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7171 PyObject
*resultobj
= 0;
7172 wxGauge
*arg1
= (wxGauge
*) 0 ;
7176 PyObject
*swig_obj
[1] ;
7178 if (!args
) SWIG_fail
;
7180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7181 if (!SWIG_IsOK(res1
)) {
7182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7184 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7200 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
= 0;
7202 wxGauge
*arg1
= (wxGauge
*) 0 ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7210 char * kwnames
[] = {
7211 (char *) "self",(char *) "w", NULL
7214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7216 if (!SWIG_IsOK(res1
)) {
7217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7219 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7221 if (!SWIG_IsOK(ecode2
)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7224 arg2
= static_cast< int >(val2
);
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 (arg1
)->SetShadowWidth(arg2
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_Py_Void();
7238 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7239 PyObject
*resultobj
= 0;
7240 wxGauge
*arg1
= (wxGauge
*) 0 ;
7244 PyObject
*swig_obj
[1] ;
7246 if (!args
) SWIG_fail
;
7248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7249 if (!SWIG_IsOK(res1
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7252 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_From_int(static_cast< int >(result
));
7266 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
= 0;
7268 wxGauge
*arg1
= (wxGauge
*) 0 ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7276 char * kwnames
[] = {
7277 (char *) "self",(char *) "w", NULL
7280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7282 if (!SWIG_IsOK(res1
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7285 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7287 if (!SWIG_IsOK(ecode2
)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7290 arg2
= static_cast< int >(val2
);
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 (arg1
)->SetBezelFace(arg2
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_Py_Void();
7304 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7305 PyObject
*resultobj
= 0;
7306 wxGauge
*arg1
= (wxGauge
*) 0 ;
7310 PyObject
*swig_obj
[1] ;
7312 if (!args
) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7318 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_From_int(static_cast< int >(result
));
7332 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
= 0;
7334 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7335 SwigValueWrapper
<wxVisualAttributes
> result
;
7338 PyObject
* obj0
= 0 ;
7339 char * kwnames
[] = {
7340 (char *) "variant", NULL
7343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7346 if (!SWIG_IsOK(ecode1
)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7349 arg1
= static_cast< wxWindowVariant
>(val1
);
7352 if (!wxPyCheckForApp()) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7365 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7368 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7369 return SWIG_Py_Void();
7372 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 return SWIG_Python_InitShadowInstance(args
);
7376 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7377 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7382 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7383 PyObject
*pyobj
= 0;
7387 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7389 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7396 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7397 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7402 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7403 PyObject
*pyobj
= 0;
7407 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7409 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7416 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7417 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7422 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7423 PyObject
*pyobj
= 0;
7427 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7429 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7436 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
= 0;
7438 wxWindow
*arg1
= (wxWindow
*) 0 ;
7439 int arg2
= (int) -1 ;
7440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7442 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7443 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7444 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7445 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7446 long arg6
= (long) 0 ;
7447 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7448 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7449 wxStaticBox
*result
= 0 ;
7454 bool temp3
= false ;
7459 bool temp7
= false ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7463 PyObject
* obj3
= 0 ;
7464 PyObject
* obj4
= 0 ;
7465 PyObject
* obj5
= 0 ;
7466 PyObject
* obj6
= 0 ;
7467 char * kwnames
[] = {
7468 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7473 if (!SWIG_IsOK(res1
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7479 if (!SWIG_IsOK(ecode2
)) {
7480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7482 arg2
= static_cast< int >(val2
);
7486 arg3
= wxString_in_helper(obj2
);
7487 if (arg3
== NULL
) SWIG_fail
;
7494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7504 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7505 if (!SWIG_IsOK(ecode6
)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7508 arg6
= static_cast< long >(val6
);
7512 arg7
= wxString_in_helper(obj6
);
7513 if (arg7
== NULL
) SWIG_fail
;
7518 if (!wxPyCheckForApp()) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7547 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7548 PyObject
*resultobj
= 0;
7549 wxStaticBox
*result
= 0 ;
7551 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7553 if (!wxPyCheckForApp()) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (wxStaticBox
*)new wxStaticBox();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7566 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
= 0;
7568 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7569 wxWindow
*arg2
= (wxWindow
*) 0 ;
7570 int arg3
= (int) -1 ;
7571 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7572 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7573 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7574 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7575 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7576 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7577 long arg7
= (long) 0 ;
7578 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7579 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7587 bool temp4
= false ;
7592 bool temp8
= false ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7595 PyObject
* obj2
= 0 ;
7596 PyObject
* obj3
= 0 ;
7597 PyObject
* obj4
= 0 ;
7598 PyObject
* obj5
= 0 ;
7599 PyObject
* obj6
= 0 ;
7600 PyObject
* obj7
= 0 ;
7601 char * kwnames
[] = {
7602 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7610 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7612 if (!SWIG_IsOK(res2
)) {
7613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7615 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7618 if (!SWIG_IsOK(ecode3
)) {
7619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7621 arg3
= static_cast< int >(val3
);
7625 arg4
= wxString_in_helper(obj3
);
7626 if (arg4
== NULL
) SWIG_fail
;
7633 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7639 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7643 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7644 if (!SWIG_IsOK(ecode7
)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7647 arg7
= static_cast< long >(val7
);
7651 arg8
= wxString_in_helper(obj7
);
7652 if (arg8
== NULL
) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7687 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
= 0;
7689 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7690 SwigValueWrapper
<wxVisualAttributes
> result
;
7693 PyObject
* obj0
= 0 ;
7694 char * kwnames
[] = {
7695 (char *) "variant", NULL
7698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7700 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7701 if (!SWIG_IsOK(ecode1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7704 arg1
= static_cast< wxWindowVariant
>(val1
);
7707 if (!wxPyCheckForApp()) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7720 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7723 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7724 return SWIG_Py_Void();
7727 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 return SWIG_Python_InitShadowInstance(args
);
7731 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
= 0;
7733 wxWindow
*arg1
= (wxWindow
*) 0 ;
7734 int arg2
= (int) -1 ;
7735 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7736 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7737 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7738 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7739 long arg5
= (long) wxLI_HORIZONTAL
;
7740 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7741 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7742 wxStaticLine
*result
= 0 ;
7751 bool temp6
= false ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 PyObject
* obj2
= 0 ;
7755 PyObject
* obj3
= 0 ;
7756 PyObject
* obj4
= 0 ;
7757 PyObject
* obj5
= 0 ;
7758 char * kwnames
[] = {
7759 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7764 if (!SWIG_IsOK(res1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7767 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7770 if (!SWIG_IsOK(ecode2
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7773 arg2
= static_cast< int >(val2
);
7778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7784 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7788 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7789 if (!SWIG_IsOK(ecode5
)) {
7790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7792 arg5
= static_cast< long >(val5
);
7796 arg6
= wxString_in_helper(obj5
);
7797 if (arg6
== NULL
) SWIG_fail
;
7802 if (!wxPyCheckForApp()) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7823 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 PyObject
*resultobj
= 0;
7825 wxStaticLine
*result
= 0 ;
7827 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7829 if (!wxPyCheckForApp()) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (wxStaticLine
*)new wxStaticLine();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7842 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
= 0;
7844 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7845 wxWindow
*arg2
= (wxWindow
*) 0 ;
7846 int arg3
= (int) -1 ;
7847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7851 long arg6
= (long) wxLI_HORIZONTAL
;
7852 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7865 bool temp7
= false ;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7868 PyObject
* obj2
= 0 ;
7869 PyObject
* obj3
= 0 ;
7870 PyObject
* obj4
= 0 ;
7871 PyObject
* obj5
= 0 ;
7872 PyObject
* obj6
= 0 ;
7873 char * kwnames
[] = {
7874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7882 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7884 if (!SWIG_IsOK(res2
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7890 if (!SWIG_IsOK(ecode3
)) {
7891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7893 arg3
= static_cast< int >(val3
);
7898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7908 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7909 if (!SWIG_IsOK(ecode6
)) {
7910 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7912 arg6
= static_cast< long >(val6
);
7916 arg7
= wxString_in_helper(obj6
);
7917 if (arg7
== NULL
) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7944 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7945 PyObject
*resultobj
= 0;
7946 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7950 PyObject
*swig_obj
[1] ;
7952 if (!args
) SWIG_fail
;
7954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7955 if (!SWIG_IsOK(res1
)) {
7956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7958 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7974 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7975 PyObject
*resultobj
= 0;
7978 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (int)wxStaticLine::GetDefaultSize();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_From_int(static_cast< int >(result
));
7992 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
= 0;
7994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7995 SwigValueWrapper
<wxVisualAttributes
> result
;
7998 PyObject
* obj0
= 0 ;
7999 char * kwnames
[] = {
8000 (char *) "variant", NULL
8003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8006 if (!SWIG_IsOK(ecode1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8009 arg1
= static_cast< wxWindowVariant
>(val1
);
8012 if (!wxPyCheckForApp()) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8025 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8028 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8029 return SWIG_Py_Void();
8032 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 return SWIG_Python_InitShadowInstance(args
);
8036 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
= 0;
8038 wxWindow
*arg1
= (wxWindow
*) 0 ;
8039 int arg2
= (int) -1 ;
8040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8046 long arg6
= (long) 0 ;
8047 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8049 wxStaticText
*result
= 0 ;
8054 bool temp3
= false ;
8059 bool temp7
= false ;
8060 PyObject
* obj0
= 0 ;
8061 PyObject
* obj1
= 0 ;
8062 PyObject
* obj2
= 0 ;
8063 PyObject
* obj3
= 0 ;
8064 PyObject
* obj4
= 0 ;
8065 PyObject
* obj5
= 0 ;
8066 PyObject
* obj6
= 0 ;
8067 char * kwnames
[] = {
8068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8076 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8079 if (!SWIG_IsOK(ecode2
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8082 arg2
= static_cast< int >(val2
);
8086 arg3
= wxString_in_helper(obj2
);
8087 if (arg3
== NULL
) SWIG_fail
;
8094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8104 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8105 if (!SWIG_IsOK(ecode6
)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8108 arg6
= static_cast< long >(val6
);
8112 arg7
= wxString_in_helper(obj6
);
8113 if (arg7
== NULL
) SWIG_fail
;
8118 if (!wxPyCheckForApp()) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8147 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8148 PyObject
*resultobj
= 0;
8149 wxStaticText
*result
= 0 ;
8151 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8153 if (!wxPyCheckForApp()) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (wxStaticText
*)new wxStaticText();
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8166 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
= 0;
8168 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8169 wxWindow
*arg2
= (wxWindow
*) 0 ;
8170 int arg3
= (int) -1 ;
8171 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8172 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8173 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8174 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8175 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8176 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8177 long arg7
= (long) 0 ;
8178 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8179 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8187 bool temp4
= false ;
8192 bool temp8
= false ;
8193 PyObject
* obj0
= 0 ;
8194 PyObject
* obj1
= 0 ;
8195 PyObject
* obj2
= 0 ;
8196 PyObject
* obj3
= 0 ;
8197 PyObject
* obj4
= 0 ;
8198 PyObject
* obj5
= 0 ;
8199 PyObject
* obj6
= 0 ;
8200 PyObject
* obj7
= 0 ;
8201 char * kwnames
[] = {
8202 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8207 if (!SWIG_IsOK(res1
)) {
8208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8210 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8212 if (!SWIG_IsOK(res2
)) {
8213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8218 if (!SWIG_IsOK(ecode3
)) {
8219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8221 arg3
= static_cast< int >(val3
);
8225 arg4
= wxString_in_helper(obj3
);
8226 if (arg4
== NULL
) SWIG_fail
;
8233 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8239 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8243 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8244 if (!SWIG_IsOK(ecode7
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8247 arg7
= static_cast< long >(val7
);
8251 arg8
= wxString_in_helper(obj7
);
8252 if (arg8
== NULL
) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8287 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
= 0;
8289 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 char * kwnames
[] = {
8298 (char *) "self",(char *) "width", NULL
8301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8303 if (!SWIG_IsOK(res1
)) {
8304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8306 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8308 if (!SWIG_IsOK(ecode2
)) {
8309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8311 arg2
= static_cast< int >(val2
);
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= SWIG_Py_Void();
8325 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
= 0;
8327 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8328 SwigValueWrapper
<wxVisualAttributes
> result
;
8331 PyObject
* obj0
= 0 ;
8332 char * kwnames
[] = {
8333 (char *) "variant", NULL
8336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8339 if (!SWIG_IsOK(ecode1
)) {
8340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8342 arg1
= static_cast< wxWindowVariant
>(val1
);
8345 if (!wxPyCheckForApp()) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8358 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8361 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8362 return SWIG_Py_Void();
8365 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 return SWIG_Python_InitShadowInstance(args
);
8369 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
= 0;
8371 wxWindow
*arg1
= (wxWindow
*) 0 ;
8372 int arg2
= (int) -1 ;
8373 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8374 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8375 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8376 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8377 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8378 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8379 long arg6
= (long) 0 ;
8380 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8381 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8382 wxStaticBitmap
*result
= 0 ;
8393 bool temp7
= false ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8397 PyObject
* obj3
= 0 ;
8398 PyObject
* obj4
= 0 ;
8399 PyObject
* obj5
= 0 ;
8400 PyObject
* obj6
= 0 ;
8401 char * kwnames
[] = {
8402 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8407 if (!SWIG_IsOK(res1
)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8413 if (!SWIG_IsOK(ecode2
)) {
8414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8416 arg2
= static_cast< int >(val2
);
8419 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8420 if (!SWIG_IsOK(res3
)) {
8421 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8426 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8441 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8442 if (!SWIG_IsOK(ecode6
)) {
8443 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8445 arg6
= static_cast< long >(val6
);
8449 arg7
= wxString_in_helper(obj6
);
8450 if (arg7
== NULL
) SWIG_fail
;
8455 if (!wxPyCheckForApp()) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8476 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8477 PyObject
*resultobj
= 0;
8478 wxStaticBitmap
*result
= 0 ;
8480 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8482 if (!wxPyCheckForApp()) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8495 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
= 0;
8497 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8498 wxWindow
*arg2
= (wxWindow
*) 0 ;
8499 int arg3
= (int) -1 ;
8500 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8501 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8502 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8503 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8504 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8505 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8506 long arg7
= (long) 0 ;
8507 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8508 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8522 bool temp8
= false ;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8526 PyObject
* obj3
= 0 ;
8527 PyObject
* obj4
= 0 ;
8528 PyObject
* obj5
= 0 ;
8529 PyObject
* obj6
= 0 ;
8530 PyObject
* obj7
= 0 ;
8531 char * kwnames
[] = {
8532 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8540 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8542 if (!SWIG_IsOK(res2
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8545 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8548 if (!SWIG_IsOK(ecode3
)) {
8549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8551 arg3
= static_cast< int >(val3
);
8554 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8555 if (!SWIG_IsOK(res4
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8561 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8566 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8572 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8576 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8577 if (!SWIG_IsOK(ecode7
)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8580 arg7
= static_cast< long >(val7
);
8584 arg8
= wxString_in_helper(obj7
);
8585 if (arg8
== NULL
) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8612 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8613 PyObject
*resultobj
= 0;
8614 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8618 PyObject
*swig_obj
[1] ;
8620 if (!args
) SWIG_fail
;
8622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8623 if (!SWIG_IsOK(res1
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8626 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (arg1
)->GetBitmap();
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8640 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
= 0;
8642 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8643 wxBitmap
*arg2
= 0 ;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8650 char * kwnames
[] = {
8651 (char *) "self",(char *) "bitmap", NULL
8654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8659 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8661 if (!SWIG_IsOK(res2
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8667 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= SWIG_Py_Void();
8681 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
= 0;
8683 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8691 char * kwnames
[] = {
8692 (char *) "self",(char *) "icon", NULL
8695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8700 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8702 if (!SWIG_IsOK(res2
)) {
8703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8708 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= SWIG_Py_Void();
8722 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
= 0;
8724 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8725 SwigValueWrapper
<wxVisualAttributes
> result
;
8728 PyObject
* obj0
= 0 ;
8729 char * kwnames
[] = {
8730 (char *) "variant", NULL
8733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8736 if (!SWIG_IsOK(ecode1
)) {
8737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8739 arg1
= static_cast< wxWindowVariant
>(val1
);
8742 if (!wxPyCheckForApp()) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8755 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8758 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8759 return SWIG_Py_Void();
8762 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 return SWIG_Python_InitShadowInstance(args
);
8766 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8767 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8772 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8773 PyObject
*pyobj
= 0;
8777 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8779 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8786 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
= 0;
8788 wxWindow
*arg1
= (wxWindow
*) 0 ;
8789 int arg2
= (int) -1 ;
8790 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8791 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8792 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8793 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8794 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8795 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8796 long arg6
= (long) 0 ;
8797 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8798 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8799 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8800 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8801 wxListBox
*result
= 0 ;
8808 bool temp5
= false ;
8813 bool temp8
= false ;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8816 PyObject
* obj2
= 0 ;
8817 PyObject
* obj3
= 0 ;
8818 PyObject
* obj4
= 0 ;
8819 PyObject
* obj5
= 0 ;
8820 PyObject
* obj6
= 0 ;
8821 PyObject
* obj7
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8831 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8834 if (!SWIG_IsOK(ecode2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8837 arg2
= static_cast< int >(val2
);
8842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8848 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8853 if (! PySequence_Check(obj4
)) {
8854 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8857 arg5
= new wxArrayString
;
8859 int i
, len
=PySequence_Length(obj4
);
8860 for (i
=0; i
<len
; i
++) {
8861 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8862 wxString
* s
= wxString_in_helper(item
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8871 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8872 if (!SWIG_IsOK(ecode6
)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8875 arg6
= static_cast< long >(val6
);
8878 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8879 if (!SWIG_IsOK(res7
)) {
8880 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8885 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8889 arg8
= wxString_in_helper(obj7
);
8890 if (arg8
== NULL
) SWIG_fail
;
8895 if (!wxPyCheckForApp()) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8903 if (temp5
) delete arg5
;
8912 if (temp5
) delete arg5
;
8922 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8923 PyObject
*resultobj
= 0;
8924 wxListBox
*result
= 0 ;
8926 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8928 if (!wxPyCheckForApp()) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (wxListBox
*)new wxListBox();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8941 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
= 0;
8943 wxListBox
*arg1
= (wxListBox
*) 0 ;
8944 wxWindow
*arg2
= (wxWindow
*) 0 ;
8945 int arg3
= (int) -1 ;
8946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8950 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8951 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8952 long arg7
= (long) 0 ;
8953 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8954 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8955 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8956 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8966 bool temp6
= false ;
8971 bool temp9
= false ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8974 PyObject
* obj2
= 0 ;
8975 PyObject
* obj3
= 0 ;
8976 PyObject
* obj4
= 0 ;
8977 PyObject
* obj5
= 0 ;
8978 PyObject
* obj6
= 0 ;
8979 PyObject
* obj7
= 0 ;
8980 PyObject
* obj8
= 0 ;
8981 char * kwnames
[] = {
8982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8987 if (!SWIG_IsOK(res1
)) {
8988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8990 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8992 if (!SWIG_IsOK(res2
)) {
8993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8995 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8998 if (!SWIG_IsOK(ecode3
)) {
8999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9001 arg3
= static_cast< int >(val3
);
9006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9017 if (! PySequence_Check(obj5
)) {
9018 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9021 arg6
= new wxArrayString
;
9023 int i
, len
=PySequence_Length(obj5
);
9024 for (i
=0; i
<len
; i
++) {
9025 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9026 wxString
* s
= wxString_in_helper(item
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9035 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9036 if (!SWIG_IsOK(ecode7
)) {
9037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9039 arg7
= static_cast< long >(val7
);
9042 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9043 if (!SWIG_IsOK(res8
)) {
9044 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9049 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9053 arg9
= wxString_in_helper(obj8
);
9054 if (arg9
== NULL
) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9068 if (temp6
) delete arg6
;
9077 if (temp6
) delete arg6
;
9087 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxListBox
*arg1
= (wxListBox
*) 0 ;
9090 wxString
*arg2
= 0 ;
9092 PyObject
*arg4
= (PyObject
*) NULL
;
9095 bool temp2
= false ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9101 PyObject
* obj3
= 0 ;
9102 char * kwnames
[] = {
9103 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9108 if (!SWIG_IsOK(res1
)) {
9109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9111 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9113 arg2
= wxString_in_helper(obj1
);
9114 if (arg2
== NULL
) SWIG_fail
;
9117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9118 if (!SWIG_IsOK(ecode3
)) {
9119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9121 arg3
= static_cast< int >(val3
);
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_Py_Void();
9146 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
= 0;
9148 wxListBox
*arg1
= (wxListBox
*) 0 ;
9149 wxArrayString
*arg2
= 0 ;
9153 bool temp2
= false ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9158 PyObject
* obj2
= 0 ;
9159 char * kwnames
[] = {
9160 (char *) "self",(char *) "items",(char *) "pos", NULL
9163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9165 if (!SWIG_IsOK(res1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9168 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9170 if (! PySequence_Check(obj1
)) {
9171 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9174 arg2
= new wxArrayString
;
9176 int i
, len
=PySequence_Length(obj1
);
9177 for (i
=0; i
<len
; i
++) {
9178 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9179 wxString
* s
= wxString_in_helper(item
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9186 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9187 if (!SWIG_IsOK(ecode3
)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9190 arg3
= static_cast< unsigned int >(val3
);
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_Py_Void();
9199 if (temp2
) delete arg2
;
9204 if (temp2
) delete arg2
;
9210 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
= 0;
9212 wxListBox
*arg1
= (wxListBox
*) 0 ;
9213 wxArrayString
*arg2
= 0 ;
9216 bool temp2
= false ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9219 char * kwnames
[] = {
9220 (char *) "self",(char *) "items", NULL
9223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9225 if (!SWIG_IsOK(res1
)) {
9226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9228 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9230 if (! PySequence_Check(obj1
)) {
9231 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9234 arg2
= new wxArrayString
;
9236 int i
, len
=PySequence_Length(obj1
);
9237 for (i
=0; i
<len
; i
++) {
9238 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9239 wxString
* s
= wxString_in_helper(item
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 (arg1
)->Set((wxArrayString
const &)*arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= SWIG_Py_Void();
9254 if (temp2
) delete arg2
;
9259 if (temp2
) delete arg2
;
9265 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= 0;
9267 wxListBox
*arg1
= (wxListBox
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9275 PyObject
* obj1
= 0 ;
9276 char * kwnames
[] = {
9277 (char *) "self",(char *) "n", NULL
9280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9282 if (!SWIG_IsOK(res1
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9285 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9287 if (!SWIG_IsOK(ecode2
)) {
9288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9290 arg2
= static_cast< int >(val2
);
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9306 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
= 0;
9308 wxListBox
*arg1
= (wxListBox
*) 0 ;
9310 bool arg3
= (bool) true ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9319 PyObject
* obj2
= 0 ;
9320 char * kwnames
[] = {
9321 (char *) "self",(char *) "n",(char *) "select", NULL
9324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9329 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9331 if (!SWIG_IsOK(ecode2
)) {
9332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9334 arg2
= static_cast< int >(val2
);
9336 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9337 if (!SWIG_IsOK(ecode3
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9340 arg3
= static_cast< bool >(val3
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 (arg1
)->SetSelection(arg2
,arg3
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_Py_Void();
9355 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= 0;
9357 wxListBox
*arg1
= (wxListBox
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9365 char * kwnames
[] = {
9366 (char *) "self",(char *) "n", NULL
9369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9371 if (!SWIG_IsOK(res1
)) {
9372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9374 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9376 if (!SWIG_IsOK(ecode2
)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9379 arg2
= static_cast< int >(val2
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 (arg1
)->Select(arg2
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_Py_Void();
9393 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
= 0;
9395 wxListBox
*arg1
= (wxListBox
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 char * kwnames
[] = {
9404 (char *) "self",(char *) "n", NULL
9407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9409 if (!SWIG_IsOK(res1
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9412 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9414 if (!SWIG_IsOK(ecode2
)) {
9415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9417 arg2
= static_cast< int >(val2
);
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 (arg1
)->Deselect(arg2
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_Py_Void();
9431 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
= 0;
9433 wxListBox
*arg1
= (wxListBox
*) 0 ;
9434 int arg2
= (int) -1 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 char * kwnames
[] = {
9442 (char *) "self",(char *) "itemToLeaveSelected", NULL
9445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9447 if (!SWIG_IsOK(res1
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9450 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9453 if (!SWIG_IsOK(ecode2
)) {
9454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9456 arg2
= static_cast< int >(val2
);
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 (arg1
)->DeselectAll(arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_Py_Void();
9471 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
= 0;
9473 wxListBox
*arg1
= (wxListBox
*) 0 ;
9474 wxString
*arg2
= 0 ;
9475 bool arg3
= (bool) true ;
9479 bool temp2
= false ;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9484 PyObject
* obj2
= 0 ;
9485 char * kwnames
[] = {
9486 (char *) "self",(char *) "s",(char *) "select", NULL
9489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9494 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9496 arg2
= wxString_in_helper(obj1
);
9497 if (arg2
== NULL
) SWIG_fail
;
9501 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9502 if (!SWIG_IsOK(ecode3
)) {
9503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9505 arg3
= static_cast< bool >(val3
);
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9530 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9531 PyObject
*resultobj
= 0;
9532 wxListBox
*arg1
= (wxListBox
*) 0 ;
9533 PyObject
*result
= 0 ;
9536 PyObject
*swig_obj
[1] ;
9538 if (!args
) SWIG_fail
;
9540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9541 if (!SWIG_IsOK(res1
)) {
9542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9544 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9558 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
= 0;
9560 wxListBox
*arg1
= (wxListBox
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9568 char * kwnames
[] = {
9569 (char *) "self",(char *) "n", NULL
9572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9574 if (!SWIG_IsOK(res1
)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9577 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9579 if (!SWIG_IsOK(ecode2
)) {
9580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9582 arg2
= static_cast< int >(val2
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 (arg1
)->SetFirstItem(arg2
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_Py_Void();
9596 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
= 0;
9598 wxListBox
*arg1
= (wxListBox
*) 0 ;
9599 wxString
*arg2
= 0 ;
9602 bool temp2
= false ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 char * kwnames
[] = {
9606 (char *) "self",(char *) "s", NULL
9609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9614 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9616 arg2
= wxString_in_helper(obj1
);
9617 if (arg2
== NULL
) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_Py_Void();
9641 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
= 0;
9643 wxListBox
*arg1
= (wxListBox
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9651 char * kwnames
[] = {
9652 (char *) "self",(char *) "n", NULL
9655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9657 if (!SWIG_IsOK(res1
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9660 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9662 if (!SWIG_IsOK(ecode2
)) {
9663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9665 arg2
= static_cast< int >(val2
);
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 (arg1
)->EnsureVisible(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= SWIG_Py_Void();
9679 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
= 0;
9681 wxListBox
*arg1
= (wxListBox
*) 0 ;
9682 wxString
*arg2
= 0 ;
9685 bool temp2
= false ;
9686 PyObject
* obj0
= 0 ;
9687 PyObject
* obj1
= 0 ;
9688 char * kwnames
[] = {
9689 (char *) "self",(char *) "s", NULL
9692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9694 if (!SWIG_IsOK(res1
)) {
9695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9697 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9699 arg2
= wxString_in_helper(obj1
);
9700 if (arg2
== NULL
) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= SWIG_Py_Void();
9724 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9725 PyObject
*resultobj
= 0;
9726 wxListBox
*arg1
= (wxListBox
*) 0 ;
9730 PyObject
*swig_obj
[1] ;
9732 if (!args
) SWIG_fail
;
9734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9735 if (!SWIG_IsOK(res1
)) {
9736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9738 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9754 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
= 0;
9756 wxListBox
*arg1
= (wxListBox
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 char * kwnames
[] = {
9765 (char *) "self",(char *) "pt", NULL
9768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9770 if (!SWIG_IsOK(res1
)) {
9771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9773 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= SWIG_From_int(static_cast< int >(result
));
9791 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
= 0;
9793 wxListBox
*arg1
= (wxListBox
*) 0 ;
9795 wxColour
*arg3
= 0 ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "item",(char *) "c", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9813 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9815 if (!SWIG_IsOK(ecode2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9818 arg2
= static_cast< int >(val2
);
9821 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_Py_Void();
9836 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= 0;
9838 wxListBox
*arg1
= (wxListBox
*) 0 ;
9840 wxColour
*arg3
= 0 ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9848 PyObject
* obj2
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "self",(char *) "item",(char *) "c", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9858 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9860 if (!SWIG_IsOK(ecode2
)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9863 arg2
= static_cast< int >(val2
);
9866 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_Py_Void();
9881 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
= 0;
9883 wxListBox
*arg1
= (wxListBox
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9893 PyObject
* obj1
= 0 ;
9894 PyObject
* obj2
= 0 ;
9895 char * kwnames
[] = {
9896 (char *) "self",(char *) "item",(char *) "f", NULL
9899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9901 if (!SWIG_IsOK(res1
)) {
9902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9904 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9906 if (!SWIG_IsOK(ecode2
)) {
9907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9909 arg2
= static_cast< int >(val2
);
9910 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9911 if (!SWIG_IsOK(res3
)) {
9912 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9917 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_Py_Void();
9931 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
= 0;
9933 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9934 SwigValueWrapper
<wxVisualAttributes
> result
;
9937 PyObject
* obj0
= 0 ;
9938 char * kwnames
[] = {
9939 (char *) "variant", NULL
9942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9944 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9945 if (!SWIG_IsOK(ecode1
)) {
9946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9948 arg1
= static_cast< wxWindowVariant
>(val1
);
9951 if (!wxPyCheckForApp()) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9964 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9967 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9968 return SWIG_Py_Void();
9971 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 return SWIG_Python_InitShadowInstance(args
);
9975 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
= 0;
9977 wxWindow
*arg1
= (wxWindow
*) 0 ;
9978 int arg2
= (int) -1 ;
9979 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9980 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9983 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9984 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9985 long arg6
= (long) 0 ;
9986 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9987 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9988 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9989 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9990 wxCheckListBox
*result
= 0 ;
9997 bool temp5
= false ;
10002 bool temp8
= false ;
10003 PyObject
* obj0
= 0 ;
10004 PyObject
* obj1
= 0 ;
10005 PyObject
* obj2
= 0 ;
10006 PyObject
* obj3
= 0 ;
10007 PyObject
* obj4
= 0 ;
10008 PyObject
* obj5
= 0 ;
10009 PyObject
* obj6
= 0 ;
10010 PyObject
* obj7
= 0 ;
10011 char * kwnames
[] = {
10012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10017 if (!SWIG_IsOK(res1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10020 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10023 if (!SWIG_IsOK(ecode2
)) {
10024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10026 arg2
= static_cast< int >(val2
);
10031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10042 if (! PySequence_Check(obj4
)) {
10043 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10046 arg5
= new wxArrayString
;
10048 int i
, len
=PySequence_Length(obj4
);
10049 for (i
=0; i
<len
; i
++) {
10050 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10051 wxString
* s
= wxString_in_helper(item
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10060 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10061 if (!SWIG_IsOK(ecode6
)) {
10062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10064 arg6
= static_cast< long >(val6
);
10067 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10068 if (!SWIG_IsOK(res7
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10074 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10078 arg8
= wxString_in_helper(obj7
);
10079 if (arg8
== NULL
) SWIG_fail
;
10084 if (!wxPyCheckForApp()) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10092 if (temp5
) delete arg5
;
10101 if (temp5
) delete arg5
;
10111 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10112 PyObject
*resultobj
= 0;
10113 wxCheckListBox
*result
= 0 ;
10115 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10117 if (!wxPyCheckForApp()) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (wxCheckListBox
*)new wxCheckListBox();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10130 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
= 0;
10132 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10133 wxWindow
*arg2
= (wxWindow
*) 0 ;
10134 int arg3
= (int) -1 ;
10135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10139 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10140 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10141 long arg7
= (long) 0 ;
10142 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10143 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10144 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10145 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10155 bool temp6
= false ;
10160 bool temp9
= false ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 PyObject
* obj3
= 0 ;
10165 PyObject
* obj4
= 0 ;
10166 PyObject
* obj5
= 0 ;
10167 PyObject
* obj6
= 0 ;
10168 PyObject
* obj7
= 0 ;
10169 PyObject
* obj8
= 0 ;
10170 char * kwnames
[] = {
10171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10176 if (!SWIG_IsOK(res1
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10179 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10181 if (!SWIG_IsOK(res2
)) {
10182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10187 if (!SWIG_IsOK(ecode3
)) {
10188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10190 arg3
= static_cast< int >(val3
);
10195 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10201 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10206 if (! PySequence_Check(obj5
)) {
10207 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10210 arg6
= new wxArrayString
;
10212 int i
, len
=PySequence_Length(obj5
);
10213 for (i
=0; i
<len
; i
++) {
10214 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10215 wxString
* s
= wxString_in_helper(item
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10225 if (!SWIG_IsOK(ecode7
)) {
10226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10228 arg7
= static_cast< long >(val7
);
10231 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10232 if (!SWIG_IsOK(res8
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10238 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10242 arg9
= wxString_in_helper(obj8
);
10243 if (arg9
== NULL
) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10257 if (temp6
) delete arg6
;
10266 if (temp6
) delete arg6
;
10276 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10279 unsigned int arg2
;
10283 unsigned int val2
;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char * kwnames
[] = {
10288 (char *) "self",(char *) "index", NULL
10291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10293 if (!SWIG_IsOK(res1
)) {
10294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10296 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10297 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10298 if (!SWIG_IsOK(ecode2
)) {
10299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10301 arg2
= static_cast< unsigned int >(val2
);
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (bool)(arg1
)->IsChecked(arg2
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10317 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= 0;
10319 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10320 unsigned int arg2
;
10321 int arg3
= (int) true ;
10324 unsigned int val2
;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 PyObject
* obj2
= 0 ;
10331 char * kwnames
[] = {
10332 (char *) "self",(char *) "index",(char *) "check", NULL
10335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10337 if (!SWIG_IsOK(res1
)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10340 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10341 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10342 if (!SWIG_IsOK(ecode2
)) {
10343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10345 arg2
= static_cast< unsigned int >(val2
);
10347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10348 if (!SWIG_IsOK(ecode3
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10351 arg3
= static_cast< int >(val3
);
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 (arg1
)->Check(arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_Py_Void();
10366 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10367 PyObject
*resultobj
= 0;
10368 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10372 PyObject
*swig_obj
[1] ;
10374 if (!args
) SWIG_fail
;
10375 swig_obj
[0] = args
;
10376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10377 if (!SWIG_IsOK(res1
)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10380 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (int)(arg1
)->GetItemHeight();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_From_int(static_cast< int >(result
));
10394 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10397 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10398 return SWIG_Py_Void();
10401 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 return SWIG_Python_InitShadowInstance(args
);
10405 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10406 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10411 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10412 PyObject
*pyobj
= 0;
10416 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10418 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10425 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
= 0;
10427 wxColour
const &arg1_defvalue
= wxNullColour
;
10428 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10429 wxColour
const &arg2_defvalue
= wxNullColour
;
10430 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10431 wxFont
const &arg3_defvalue
= wxNullFont
;
10432 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10433 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10434 wxTextAttr
*result
= 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 PyObject
* obj3
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10453 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10464 if (!SWIG_IsOK(res3
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10470 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10474 if (!SWIG_IsOK(ecode4
)) {
10475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10477 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10492 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10505 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_Py_Void();
10520 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10521 PyObject
*resultobj
= 0;
10522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10533 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_Py_Void();
10547 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= 0;
10549 wxTextAttr
*arg1
= 0 ;
10550 wxTextAttr
*arg2
= 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char * kwnames
[] = {
10559 (char *) "base",(char *) "overlay", NULL
10562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10564 if (!SWIG_IsOK(res1
)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10570 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10572 if (!SWIG_IsOK(res2
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10578 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10592 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10595 wxColour
*arg2
= 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 char * kwnames
[] = {
10602 (char *) "self",(char *) "colText", NULL
10605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10610 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_Py_Void();
10628 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
= 0;
10630 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10631 wxColour
*arg2
= 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "self",(char *) "colBack", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10646 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10649 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_Py_Void();
10664 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10668 long arg3
= (long) wxTEXT_ATTR_FONT
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 PyObject
* obj2
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "self",(char *) "font",(char *) "flags", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10687 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10689 if (!SWIG_IsOK(res2
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10695 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10698 if (!SWIG_IsOK(ecode3
)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10701 arg3
= static_cast< long >(val3
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_Py_Void();
10716 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
= 0;
10718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10719 wxTextAttrAlignment arg2
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char * kwnames
[] = {
10727 (char *) "self",(char *) "alignment", NULL
10730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10732 if (!SWIG_IsOK(res1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10735 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10737 if (!SWIG_IsOK(ecode2
)) {
10738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10740 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->SetAlignment(arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_Py_Void();
10754 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
= 0;
10756 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10757 wxArrayInt
*arg2
= 0 ;
10760 bool temp2
= false ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char * kwnames
[] = {
10764 (char *) "self",(char *) "tabs", NULL
10767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10769 if (!SWIG_IsOK(res1
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10772 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10774 if (! PySequence_Check(obj1
)) {
10775 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10778 arg2
= new wxArrayInt
;
10780 int i
, len
=PySequence_Length(obj1
);
10781 for (i
=0; i
<len
; i
++) {
10782 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10783 PyObject
* number
= PyNumber_Int(item
);
10784 arg2
->Add(PyInt_AS_LONG(number
));
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_Py_Void();
10797 if (temp2
) delete arg2
;
10802 if (temp2
) delete arg2
;
10808 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10812 int arg3
= (int) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 char * kwnames
[] = {
10823 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10828 if (!SWIG_IsOK(res1
)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10831 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10833 if (!SWIG_IsOK(ecode2
)) {
10834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10836 arg2
= static_cast< int >(val2
);
10838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10839 if (!SWIG_IsOK(ecode3
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10842 arg3
= static_cast< int >(val3
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetLeftIndent(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_Py_Void();
10857 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char * kwnames
[] = {
10868 (char *) "self",(char *) "indent", NULL
10871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10876 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10878 if (!SWIG_IsOK(ecode2
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10881 arg2
= static_cast< int >(val2
);
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->SetRightIndent(arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_Py_Void();
10895 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= 0;
10897 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char * kwnames
[] = {
10906 (char *) "self",(char *) "flags", NULL
10909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10914 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10916 if (!SWIG_IsOK(ecode2
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10919 arg2
= static_cast< long >(val2
);
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetFlags(arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_Py_Void();
10933 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10934 PyObject
*resultobj
= 0;
10935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10939 PyObject
*swig_obj
[1] ;
10941 if (!args
) SWIG_fail
;
10942 swig_obj
[0] = args
;
10943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10944 if (!SWIG_IsOK(res1
)) {
10945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10947 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10963 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10969 PyObject
*swig_obj
[1] ;
10971 if (!args
) SWIG_fail
;
10972 swig_obj
[0] = args
;
10973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10977 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11007 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11029 PyObject
*swig_obj
[1] ;
11031 if (!args
) SWIG_fail
;
11032 swig_obj
[0] = args
;
11033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11089 PyObject
*swig_obj
[1] ;
11091 if (!args
) SWIG_fail
;
11092 swig_obj
[0] = args
;
11093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 char * kwnames
[] = {
11155 (char *) "self",(char *) "flag", NULL
11158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11160 if (!SWIG_IsOK(res1
)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11163 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11165 if (!SWIG_IsOK(ecode2
)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11168 arg2
= static_cast< long >(val2
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11185 PyObject
*resultobj
= 0;
11186 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11187 wxColour
*result
= 0 ;
11190 PyObject
*swig_obj
[1] ;
11192 if (!args
) SWIG_fail
;
11193 swig_obj
[0] = args
;
11194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11198 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11203 result
= (wxColour
*) &_result_ref
;
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11215 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11216 PyObject
*resultobj
= 0;
11217 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11218 wxColour
*result
= 0 ;
11221 PyObject
*swig_obj
[1] ;
11223 if (!args
) SWIG_fail
;
11224 swig_obj
[0] = args
;
11225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11226 if (!SWIG_IsOK(res1
)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11229 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11234 result
= (wxColour
*) &_result_ref
;
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11246 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11247 PyObject
*resultobj
= 0;
11248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11249 wxFont
*result
= 0 ;
11252 PyObject
*swig_obj
[1] ;
11254 if (!args
) SWIG_fail
;
11255 swig_obj
[0] = args
;
11256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11260 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11265 result
= (wxFont
*) &_result_ref
;
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 wxFont
* resultptr
= new wxFont(*result
);
11272 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11280 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11281 PyObject
*resultobj
= 0;
11282 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11283 wxTextAttrAlignment result
;
11286 PyObject
*swig_obj
[1] ;
11288 if (!args
) SWIG_fail
;
11289 swig_obj
[0] = args
;
11290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11291 if (!SWIG_IsOK(res1
)) {
11292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11294 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_int(static_cast< int >(result
));
11308 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11309 PyObject
*resultobj
= 0;
11310 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11311 wxArrayInt
*result
= 0 ;
11314 PyObject
*swig_obj
[1] ;
11316 if (!args
) SWIG_fail
;
11317 swig_obj
[0] = args
;
11318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11319 if (!SWIG_IsOK(res1
)) {
11320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11322 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11327 result
= (wxArrayInt
*) &_result_ref
;
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= PyList_New(0);
11335 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11336 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11337 PyList_Append(resultobj
, val
);
11347 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 PyObject
*resultobj
= 0;
11349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11353 PyObject
*swig_obj
[1] ;
11355 if (!args
) SWIG_fail
;
11356 swig_obj
[0] = args
;
11357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11361 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= SWIG_From_long(static_cast< long >(result
));
11375 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11376 PyObject
*resultobj
= 0;
11377 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11381 PyObject
*swig_obj
[1] ;
11383 if (!args
) SWIG_fail
;
11384 swig_obj
[0] = args
;
11385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11386 if (!SWIG_IsOK(res1
)) {
11387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11389 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_From_long(static_cast< long >(result
));
11403 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11404 PyObject
*resultobj
= 0;
11405 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11409 PyObject
*swig_obj
[1] ;
11411 if (!args
) SWIG_fail
;
11412 swig_obj
[0] = args
;
11413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11417 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_From_long(static_cast< long >(result
));
11431 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11432 PyObject
*resultobj
= 0;
11433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11437 PyObject
*swig_obj
[1] ;
11439 if (!args
) SWIG_fail
;
11440 swig_obj
[0] = args
;
11441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11445 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_From_long(static_cast< long >(result
));
11459 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11460 PyObject
*resultobj
= 0;
11461 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11465 PyObject
*swig_obj
[1] ;
11467 if (!args
) SWIG_fail
;
11468 swig_obj
[0] = args
;
11469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11470 if (!SWIG_IsOK(res1
)) {
11471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11473 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
= 0;
11491 wxTextAttr
*arg1
= 0 ;
11492 wxTextAttr
*arg2
= 0 ;
11493 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 char * kwnames
[] = {
11505 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11509 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11510 if (!SWIG_IsOK(res1
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11516 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11518 if (!SWIG_IsOK(res2
)) {
11519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11524 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11525 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11526 if (!SWIG_IsOK(res3
)) {
11527 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11529 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11543 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11546 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11547 return SWIG_Py_Void();
11550 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11551 return SWIG_Python_InitShadowInstance(args
);
11554 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
= 0;
11556 wxWindow
*arg1
= (wxWindow
*) 0 ;
11557 int arg2
= (int) -1 ;
11558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11564 long arg6
= (long) 0 ;
11565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11567 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11569 wxTextCtrl
*result
= 0 ;
11574 bool temp3
= false ;
11581 bool temp8
= false ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 PyObject
* obj2
= 0 ;
11585 PyObject
* obj3
= 0 ;
11586 PyObject
* obj4
= 0 ;
11587 PyObject
* obj5
= 0 ;
11588 PyObject
* obj6
= 0 ;
11589 PyObject
* obj7
= 0 ;
11590 char * kwnames
[] = {
11591 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11596 if (!SWIG_IsOK(res1
)) {
11597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11602 if (!SWIG_IsOK(ecode2
)) {
11603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11605 arg2
= static_cast< int >(val2
);
11609 arg3
= wxString_in_helper(obj2
);
11610 if (arg3
== NULL
) SWIG_fail
;
11617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11627 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11628 if (!SWIG_IsOK(ecode6
)) {
11629 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11631 arg6
= static_cast< long >(val6
);
11634 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11635 if (!SWIG_IsOK(res7
)) {
11636 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11641 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11645 arg8
= wxString_in_helper(obj7
);
11646 if (arg8
== NULL
) SWIG_fail
;
11651 if (!wxPyCheckForApp()) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11680 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11681 PyObject
*resultobj
= 0;
11682 wxTextCtrl
*result
= 0 ;
11684 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11686 if (!wxPyCheckForApp()) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (wxTextCtrl
*)new wxTextCtrl();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11699 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
= 0;
11701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11702 wxWindow
*arg2
= (wxWindow
*) 0 ;
11703 int arg3
= (int) -1 ;
11704 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11705 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11706 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11707 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11708 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11709 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11710 long arg7
= (long) 0 ;
11711 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11712 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11713 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11714 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11722 bool temp4
= false ;
11729 bool temp9
= false ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 PyObject
* obj2
= 0 ;
11733 PyObject
* obj3
= 0 ;
11734 PyObject
* obj4
= 0 ;
11735 PyObject
* obj5
= 0 ;
11736 PyObject
* obj6
= 0 ;
11737 PyObject
* obj7
= 0 ;
11738 PyObject
* obj8
= 0 ;
11739 char * kwnames
[] = {
11740 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11745 if (!SWIG_IsOK(res1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11748 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11750 if (!SWIG_IsOK(res2
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11756 if (!SWIG_IsOK(ecode3
)) {
11757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11759 arg3
= static_cast< int >(val3
);
11763 arg4
= wxString_in_helper(obj3
);
11764 if (arg4
== NULL
) SWIG_fail
;
11771 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11777 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11781 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11782 if (!SWIG_IsOK(ecode7
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11785 arg7
= static_cast< long >(val7
);
11788 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11789 if (!SWIG_IsOK(res8
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11795 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11799 arg9
= wxString_in_helper(obj8
);
11800 if (arg9
== NULL
) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11835 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 PyObject
*resultobj
= 0;
11837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11841 PyObject
*swig_obj
[1] ;
11843 if (!args
) SWIG_fail
;
11844 swig_obj
[0] = args
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11849 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11869 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
= 0;
11871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11872 wxString
*arg2
= 0 ;
11875 bool temp2
= false ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 char * kwnames
[] = {
11879 (char *) "self",(char *) "value", NULL
11882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11884 if (!SWIG_IsOK(res1
)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11887 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11889 arg2
= wxString_in_helper(obj1
);
11890 if (arg2
== NULL
) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetValue((wxString
const &)*arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_Py_Void();
11914 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
= 0;
11916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 PyObject
* obj2
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "from",(char *) "to", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11940 if (!SWIG_IsOK(ecode2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11943 arg2
= static_cast< long >(val2
);
11944 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11945 if (!SWIG_IsOK(ecode3
)) {
11946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11948 arg3
= static_cast< long >(val3
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11968 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
= 0;
11970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 char * kwnames
[] = {
11980 (char *) "self",(char *) "lineNo", NULL
11983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11985 if (!SWIG_IsOK(res1
)) {
11986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11988 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11990 if (!SWIG_IsOK(ecode2
)) {
11991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11993 arg2
= static_cast< long >(val2
);
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_From_int(static_cast< int >(result
));
12007 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
= 0;
12009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char * kwnames
[] = {
12019 (char *) "self",(char *) "lineNo", NULL
12022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12024 if (!SWIG_IsOK(res1
)) {
12025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12027 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12028 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12029 if (!SWIG_IsOK(ecode2
)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12032 arg2
= static_cast< long >(val2
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12052 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12053 PyObject
*resultobj
= 0;
12054 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12058 PyObject
*swig_obj
[1] ;
12060 if (!args
) SWIG_fail
;
12061 swig_obj
[0] = args
;
12062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12063 if (!SWIG_IsOK(res1
)) {
12064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12066 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_From_int(static_cast< int >(result
));
12080 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12081 PyObject
*resultobj
= 0;
12082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12086 PyObject
*swig_obj
[1] ;
12088 if (!args
) SWIG_fail
;
12089 swig_obj
[0] = args
;
12090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12091 if (!SWIG_IsOK(res1
)) {
12092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12094 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12110 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12111 PyObject
*resultobj
= 0;
12112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12116 PyObject
*swig_obj
[1] ;
12118 if (!args
) SWIG_fail
;
12119 swig_obj
[0] = args
;
12120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12121 if (!SWIG_IsOK(res1
)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12124 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12140 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12141 PyObject
*resultobj
= 0;
12142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12146 PyObject
*swig_obj
[1] ;
12148 if (!args
) SWIG_fail
;
12149 swig_obj
[0] = args
;
12150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12151 if (!SWIG_IsOK(res1
)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12154 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12170 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12176 PyObject
*swig_obj
[1] ;
12178 if (!args
) SWIG_fail
;
12179 swig_obj
[0] = args
;
12180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12181 if (!SWIG_IsOK(res1
)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12184 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12200 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 PyObject
*resultobj
= 0;
12202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 long *arg2
= (long *) 0 ;
12204 long *arg3
= (long *) 0 ;
12208 int res2
= SWIG_TMPOBJ
;
12210 int res3
= SWIG_TMPOBJ
;
12211 PyObject
*swig_obj
[1] ;
12215 if (!args
) SWIG_fail
;
12216 swig_obj
[0] = args
;
12217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12218 if (!SWIG_IsOK(res1
)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12221 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_Py_Void();
12229 if (SWIG_IsTmpObj(res2
)) {
12230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12232 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12235 if (SWIG_IsTmpObj(res3
)) {
12236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12238 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12247 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12253 PyObject
*swig_obj
[1] ;
12255 if (!args
) SWIG_fail
;
12256 swig_obj
[0] = args
;
12257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12261 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12281 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12282 PyObject
*resultobj
= 0;
12283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12286 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12294 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12308 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
= 0;
12310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12313 wxString
*arg4
= 0 ;
12320 bool temp4
= false ;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 PyObject
* obj2
= 0 ;
12324 PyObject
* obj3
= 0 ;
12325 char * kwnames
[] = {
12326 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12331 if (!SWIG_IsOK(res1
)) {
12332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12334 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12335 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12336 if (!SWIG_IsOK(ecode2
)) {
12337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12339 arg2
= static_cast< long >(val2
);
12340 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12341 if (!SWIG_IsOK(ecode3
)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12344 arg3
= static_cast< long >(val3
);
12346 arg4
= wxString_in_helper(obj3
);
12347 if (arg4
== NULL
) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_Py_Void();
12371 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 PyObject
* obj2
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "self",(char *) "from",(char *) "to", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12394 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12395 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12396 if (!SWIG_IsOK(ecode2
)) {
12397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12399 arg2
= static_cast< long >(val2
);
12400 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12401 if (!SWIG_IsOK(ecode3
)) {
12402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12404 arg3
= static_cast< long >(val3
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->Remove(arg2
,arg3
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_Py_Void();
12418 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
= 0;
12420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12421 wxString
*arg2
= 0 ;
12425 bool temp2
= false ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char * kwnames
[] = {
12429 (char *) "self",(char *) "file", NULL
12432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12434 if (!SWIG_IsOK(res1
)) {
12435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12437 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12439 arg2
= wxString_in_helper(obj1
);
12440 if (arg2
== NULL
) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12466 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
= 0;
12468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12469 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12470 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12474 bool temp2
= false ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 char * kwnames
[] = {
12478 (char *) "self",(char *) "file", NULL
12481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12486 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12489 arg2
= wxString_in_helper(obj1
);
12490 if (arg2
== NULL
) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12517 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12518 PyObject
*resultobj
= 0;
12519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12522 PyObject
*swig_obj
[1] ;
12524 if (!args
) SWIG_fail
;
12525 swig_obj
[0] = args
;
12526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12530 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->MarkDirty();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_Py_Void();
12544 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12549 PyObject
*swig_obj
[1] ;
12551 if (!args
) SWIG_fail
;
12552 swig_obj
[0] = args
;
12553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12557 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 (arg1
)->DiscardEdits();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_Py_Void();
12571 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= 0;
12573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12574 unsigned long arg2
;
12577 unsigned long val2
;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char * kwnames
[] = {
12582 (char *) "self",(char *) "len", NULL
12585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12587 if (!SWIG_IsOK(res1
)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12590 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12591 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12592 if (!SWIG_IsOK(ecode2
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12595 arg2
= static_cast< unsigned long >(val2
);
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetMaxLength(arg2
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_Py_Void();
12609 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
= 0;
12611 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12612 wxString
*arg2
= 0 ;
12615 bool temp2
= false ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char * kwnames
[] = {
12619 (char *) "self",(char *) "text", NULL
12622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12627 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12629 arg2
= wxString_in_helper(obj1
);
12630 if (arg2
== NULL
) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->WriteText((wxString
const &)*arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_Py_Void();
12654 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
= 0;
12656 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12657 wxString
*arg2
= 0 ;
12660 bool temp2
= false ;
12661 PyObject
* obj0
= 0 ;
12662 PyObject
* obj1
= 0 ;
12663 char * kwnames
[] = {
12664 (char *) "self",(char *) "text", NULL
12667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12669 if (!SWIG_IsOK(res1
)) {
12670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12672 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12674 arg2
= wxString_in_helper(obj1
);
12675 if (arg2
== NULL
) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 (arg1
)->AppendText((wxString
const &)*arg2
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_Py_Void();
12699 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
= 0;
12701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12702 wxKeyEvent
*arg2
= 0 ;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 char * kwnames
[] = {
12711 (char *) "self",(char *) "event", NULL
12714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12716 if (!SWIG_IsOK(res1
)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12719 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12721 if (!SWIG_IsOK(res2
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12727 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12743 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
= 0;
12745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12748 wxTextAttr
*arg4
= 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 PyObject
* obj2
= 0 ;
12761 PyObject
* obj3
= 0 ;
12762 char * kwnames
[] = {
12763 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12768 if (!SWIG_IsOK(res1
)) {
12769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12771 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12772 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12773 if (!SWIG_IsOK(ecode2
)) {
12774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12776 arg2
= static_cast< long >(val2
);
12777 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12778 if (!SWIG_IsOK(ecode3
)) {
12779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12781 arg3
= static_cast< long >(val3
);
12782 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12783 if (!SWIG_IsOK(res4
)) {
12784 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12789 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12805 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
= 0;
12807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12809 wxTextAttr
*arg3
= 0 ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 PyObject
* obj2
= 0 ;
12820 char * kwnames
[] = {
12821 (char *) "self",(char *) "position",(char *) "style", NULL
12824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12829 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12831 if (!SWIG_IsOK(ecode2
)) {
12832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12834 arg2
= static_cast< long >(val2
);
12835 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12836 if (!SWIG_IsOK(res3
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12842 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12861 wxTextAttr
*arg2
= 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "style", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12878 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12880 if (!SWIG_IsOK(res2
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12886 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12902 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 PyObject
*resultobj
= 0;
12904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12905 wxTextAttr
*result
= 0 ;
12908 PyObject
*swig_obj
[1] ;
12910 if (!args
) SWIG_fail
;
12911 swig_obj
[0] = args
;
12912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12913 if (!SWIG_IsOK(res1
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12921 result
= (wxTextAttr
*) &_result_ref
;
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12933 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
= 0;
12935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 PyObject
* obj2
= 0 ;
12948 char * kwnames
[] = {
12949 (char *) "self",(char *) "x",(char *) "y", NULL
12952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12954 if (!SWIG_IsOK(res1
)) {
12955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12957 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12959 if (!SWIG_IsOK(ecode2
)) {
12960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12962 arg2
= static_cast< long >(val2
);
12963 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12964 if (!SWIG_IsOK(ecode3
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12967 arg3
= static_cast< long >(val3
);
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_From_long(static_cast< long >(result
));
12981 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
= 0;
12983 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12985 long *arg3
= (long *) 0 ;
12986 long *arg4
= (long *) 0 ;
12992 int res3
= SWIG_TMPOBJ
;
12994 int res4
= SWIG_TMPOBJ
;
12995 PyObject
* obj0
= 0 ;
12996 PyObject
* obj1
= 0 ;
12997 char * kwnames
[] = {
12998 (char *) "self",(char *) "pos", NULL
13003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13005 if (!SWIG_IsOK(res1
)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13008 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13009 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13010 if (!SWIG_IsOK(ecode2
)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13013 arg2
= static_cast< long >(val2
);
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_Py_Void();
13021 if (SWIG_IsTmpObj(res3
)) {
13022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13024 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13027 if (SWIG_IsTmpObj(res4
)) {
13028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13030 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13039 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
= 0;
13041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char * kwnames
[] = {
13050 (char *) "self",(char *) "pos", NULL
13053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13055 if (!SWIG_IsOK(res1
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13058 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13059 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13060 if (!SWIG_IsOK(ecode2
)) {
13061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13063 arg2
= static_cast< long >(val2
);
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 (arg1
)->ShowPosition(arg2
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_Py_Void();
13077 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
= 0;
13079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13080 wxPoint
*arg2
= 0 ;
13081 long *arg3
= (long *) 0 ;
13082 long *arg4
= (long *) 0 ;
13083 wxTextCtrlHitTestResult result
;
13088 int res3
= SWIG_TMPOBJ
;
13090 int res4
= SWIG_TMPOBJ
;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char * kwnames
[] = {
13094 (char *) "self",(char *) "pt", NULL
13099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13101 if (!SWIG_IsOK(res1
)) {
13102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13104 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_From_int(static_cast< int >(result
));
13116 if (SWIG_IsTmpObj(res3
)) {
13117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13119 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13122 if (SWIG_IsTmpObj(res4
)) {
13123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13125 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13134 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
= 0;
13136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13137 wxPoint
*arg2
= 0 ;
13138 long *arg3
= (long *) 0 ;
13139 wxTextCtrlHitTestResult result
;
13144 int res3
= SWIG_TMPOBJ
;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 char * kwnames
[] = {
13148 (char *) "self",(char *) "pt", NULL
13152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13154 if (!SWIG_IsOK(res1
)) {
13155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13157 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13160 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_From_int(static_cast< int >(result
));
13169 if (SWIG_IsTmpObj(res3
)) {
13170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13172 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13181 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 PyObject
*resultobj
= 0;
13183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13186 PyObject
*swig_obj
[1] ;
13188 if (!args
) SWIG_fail
;
13189 swig_obj
[0] = args
;
13190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13191 if (!SWIG_IsOK(res1
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13194 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_Py_Void();
13208 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13209 PyObject
*resultobj
= 0;
13210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13213 PyObject
*swig_obj
[1] ;
13215 if (!args
) SWIG_fail
;
13216 swig_obj
[0] = args
;
13217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13218 if (!SWIG_IsOK(res1
)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13221 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_Py_Void();
13235 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13236 PyObject
*resultobj
= 0;
13237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13240 PyObject
*swig_obj
[1] ;
13242 if (!args
) SWIG_fail
;
13243 swig_obj
[0] = args
;
13244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13245 if (!SWIG_IsOK(res1
)) {
13246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13248 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= SWIG_Py_Void();
13262 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13263 PyObject
*resultobj
= 0;
13264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13268 PyObject
*swig_obj
[1] ;
13270 if (!args
) SWIG_fail
;
13271 swig_obj
[0] = args
;
13272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13273 if (!SWIG_IsOK(res1
)) {
13274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13276 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13292 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13293 PyObject
*resultobj
= 0;
13294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13298 PyObject
*swig_obj
[1] ;
13300 if (!args
) SWIG_fail
;
13301 swig_obj
[0] = args
;
13302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13303 if (!SWIG_IsOK(res1
)) {
13304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13306 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13322 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13328 PyObject
*swig_obj
[1] ;
13330 if (!args
) SWIG_fail
;
13331 swig_obj
[0] = args
;
13332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13336 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13352 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13357 PyObject
*swig_obj
[1] ;
13359 if (!args
) SWIG_fail
;
13360 swig_obj
[0] = args
;
13361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13365 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_Py_Void();
13379 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13380 PyObject
*resultobj
= 0;
13381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13384 PyObject
*swig_obj
[1] ;
13386 if (!args
) SWIG_fail
;
13387 swig_obj
[0] = args
;
13388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13389 if (!SWIG_IsOK(res1
)) {
13390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13392 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_Py_Void();
13406 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13407 PyObject
*resultobj
= 0;
13408 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13412 PyObject
*swig_obj
[1] ;
13414 if (!args
) SWIG_fail
;
13415 swig_obj
[0] = args
;
13416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13417 if (!SWIG_IsOK(res1
)) {
13418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13420 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13436 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 PyObject
*resultobj
= 0;
13438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13442 PyObject
*swig_obj
[1] ;
13444 if (!args
) SWIG_fail
;
13445 swig_obj
[0] = args
;
13446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13447 if (!SWIG_IsOK(res1
)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13450 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13466 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= 0;
13468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "self",(char *) "pos", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13485 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13486 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13487 if (!SWIG_IsOK(ecode2
)) {
13488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13490 arg2
= static_cast< long >(val2
);
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 (arg1
)->SetInsertionPoint(arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_Py_Void();
13504 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13505 PyObject
*resultobj
= 0;
13506 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13509 PyObject
*swig_obj
[1] ;
13511 if (!args
) SWIG_fail
;
13512 swig_obj
[0] = args
;
13513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13514 if (!SWIG_IsOK(res1
)) {
13515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13517 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 (arg1
)->SetInsertionPointEnd();
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= SWIG_Py_Void();
13531 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13532 PyObject
*resultobj
= 0;
13533 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13537 PyObject
*swig_obj
[1] ;
13539 if (!args
) SWIG_fail
;
13540 swig_obj
[0] = args
;
13541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13542 if (!SWIG_IsOK(res1
)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13545 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_From_long(static_cast< long >(result
));
13559 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13560 PyObject
*resultobj
= 0;
13561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13565 PyObject
*swig_obj
[1] ;
13567 if (!args
) SWIG_fail
;
13568 swig_obj
[0] = args
;
13569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13570 if (!SWIG_IsOK(res1
)) {
13571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13573 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_From_long(static_cast< long >(result
));
13587 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
= 0;
13589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 PyObject
* obj2
= 0 ;
13601 char * kwnames
[] = {
13602 (char *) "self",(char *) "from",(char *) "to", NULL
13605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13607 if (!SWIG_IsOK(res1
)) {
13608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13610 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13611 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13612 if (!SWIG_IsOK(ecode2
)) {
13613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13615 arg2
= static_cast< long >(val2
);
13616 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13617 if (!SWIG_IsOK(ecode3
)) {
13618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13620 arg3
= static_cast< long >(val3
);
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 (arg1
)->SetSelection(arg2
,arg3
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_Py_Void();
13634 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13635 PyObject
*resultobj
= 0;
13636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13639 PyObject
*swig_obj
[1] ;
13641 if (!args
) SWIG_fail
;
13642 swig_obj
[0] = args
;
13643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13647 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 (arg1
)->SelectAll();
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= SWIG_Py_Void();
13661 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
= 0;
13663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 char * kwnames
[] = {
13672 (char *) "self",(char *) "editable", NULL
13675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13677 if (!SWIG_IsOK(res1
)) {
13678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13680 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13682 if (!SWIG_IsOK(ecode2
)) {
13683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13685 arg2
= static_cast< bool >(val2
);
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 (arg1
)->SetEditable(arg2
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= SWIG_Py_Void();
13699 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
= 0;
13701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13702 bool arg2
= (bool) true ;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 char * kwnames
[] = {
13711 (char *) "self",(char *) "show", NULL
13714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13716 if (!SWIG_IsOK(res1
)) {
13717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13719 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13722 if (!SWIG_IsOK(ecode2
)) {
13723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13725 arg2
= static_cast< bool >(val2
);
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13742 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13743 PyObject
*resultobj
= 0;
13744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13748 PyObject
*swig_obj
[1] ;
13750 if (!args
) SWIG_fail
;
13751 swig_obj
[0] = args
;
13752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13753 if (!SWIG_IsOK(res1
)) {
13754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13756 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (bool)(arg1
)->HideNativeCaret();
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13772 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
= 0;
13774 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13775 wxString
*arg2
= 0 ;
13778 bool temp2
= false ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 char * kwnames
[] = {
13782 (char *) "self",(char *) "text", NULL
13785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13787 if (!SWIG_IsOK(res1
)) {
13788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13790 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13792 arg2
= wxString_in_helper(obj1
);
13793 if (arg2
== NULL
) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= SWIG_Py_Void();
13817 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
= 0;
13819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13829 PyObject
* obj0
= 0 ;
13830 PyObject
* obj1
= 0 ;
13831 PyObject
* obj2
= 0 ;
13832 char * kwnames
[] = {
13833 (char *) "self",(char *) "from",(char *) "to", NULL
13836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13838 if (!SWIG_IsOK(res1
)) {
13839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13841 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13842 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13843 if (!SWIG_IsOK(ecode2
)) {
13844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13846 arg2
= static_cast< long >(val2
);
13847 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13848 if (!SWIG_IsOK(ecode3
)) {
13849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13851 arg3
= static_cast< long >(val3
);
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13871 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
= 0;
13873 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13874 SwigValueWrapper
<wxVisualAttributes
> result
;
13877 PyObject
* obj0
= 0 ;
13878 char * kwnames
[] = {
13879 (char *) "variant", NULL
13882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13885 if (!SWIG_IsOK(ecode1
)) {
13886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13888 arg1
= static_cast< wxWindowVariant
>(val1
);
13891 if (!wxPyCheckForApp()) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13904 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13907 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13908 return SWIG_Py_Void();
13911 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13912 return SWIG_Python_InitShadowInstance(args
);
13915 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
= 0;
13918 wxMouseEvent
*arg2
= 0 ;
13921 wxTextUrlEvent
*result
= 0 ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 PyObject
* obj2
= 0 ;
13933 PyObject
* obj3
= 0 ;
13934 char * kwnames
[] = {
13935 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13939 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13940 if (!SWIG_IsOK(ecode1
)) {
13941 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13943 arg1
= static_cast< int >(val1
);
13944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13945 if (!SWIG_IsOK(res2
)) {
13946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13951 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13952 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13953 if (!SWIG_IsOK(ecode3
)) {
13954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13956 arg3
= static_cast< long >(val3
);
13957 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13958 if (!SWIG_IsOK(ecode4
)) {
13959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13961 arg4
= static_cast< long >(val4
);
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13975 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13976 PyObject
*resultobj
= 0;
13977 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13978 wxMouseEvent
*result
= 0 ;
13981 PyObject
*swig_obj
[1] ;
13983 if (!args
) SWIG_fail
;
13984 swig_obj
[0] = args
;
13985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13986 if (!SWIG_IsOK(res1
)) {
13987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13989 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13994 result
= (wxMouseEvent
*) &_result_ref
;
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14006 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14007 PyObject
*resultobj
= 0;
14008 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14012 PyObject
*swig_obj
[1] ;
14014 if (!args
) SWIG_fail
;
14015 swig_obj
[0] = args
;
14016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14017 if (!SWIG_IsOK(res1
)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14020 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_From_long(static_cast< long >(result
));
14034 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14035 PyObject
*resultobj
= 0;
14036 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14040 PyObject
*swig_obj
[1] ;
14042 if (!args
) SWIG_fail
;
14043 swig_obj
[0] = args
;
14044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14045 if (!SWIG_IsOK(res1
)) {
14046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14048 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_From_long(static_cast< long >(result
));
14062 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14065 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14066 return SWIG_Py_Void();
14069 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14070 return SWIG_Python_InitShadowInstance(args
);
14073 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14074 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14079 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14080 PyObject
*pyobj
= 0;
14084 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14086 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14093 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
= 0;
14095 wxWindow
*arg1
= (wxWindow
*) 0 ;
14096 int arg2
= (int) -1 ;
14097 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14098 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14099 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14100 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14101 long arg5
= (long) wxSB_HORIZONTAL
;
14102 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14103 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14104 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14105 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14106 wxScrollBar
*result
= 0 ;
14117 bool temp7
= false ;
14118 PyObject
* obj0
= 0 ;
14119 PyObject
* obj1
= 0 ;
14120 PyObject
* obj2
= 0 ;
14121 PyObject
* obj3
= 0 ;
14122 PyObject
* obj4
= 0 ;
14123 PyObject
* obj5
= 0 ;
14124 PyObject
* obj6
= 0 ;
14125 char * kwnames
[] = {
14126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14131 if (!SWIG_IsOK(res1
)) {
14132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14137 if (!SWIG_IsOK(ecode2
)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14140 arg2
= static_cast< int >(val2
);
14145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14155 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14156 if (!SWIG_IsOK(ecode5
)) {
14157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14159 arg5
= static_cast< long >(val5
);
14162 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14163 if (!SWIG_IsOK(res6
)) {
14164 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14169 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14173 arg7
= wxString_in_helper(obj6
);
14174 if (arg7
== NULL
) SWIG_fail
;
14179 if (!wxPyCheckForApp()) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14200 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14201 PyObject
*resultobj
= 0;
14202 wxScrollBar
*result
= 0 ;
14204 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14206 if (!wxPyCheckForApp()) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (wxScrollBar
*)new wxScrollBar();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14219 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
= 0;
14221 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14222 wxWindow
*arg2
= (wxWindow
*) 0 ;
14223 int arg3
= (int) -1 ;
14224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14228 long arg6
= (long) wxSB_HORIZONTAL
;
14229 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14230 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14231 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14246 bool temp8
= false ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 PyObject
* obj3
= 0 ;
14251 PyObject
* obj4
= 0 ;
14252 PyObject
* obj5
= 0 ;
14253 PyObject
* obj6
= 0 ;
14254 PyObject
* obj7
= 0 ;
14255 char * kwnames
[] = {
14256 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14264 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14266 if (!SWIG_IsOK(res2
)) {
14267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14272 if (!SWIG_IsOK(ecode3
)) {
14273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14275 arg3
= static_cast< int >(val3
);
14280 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14286 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14290 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14291 if (!SWIG_IsOK(ecode6
)) {
14292 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14294 arg6
= static_cast< long >(val6
);
14297 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14298 if (!SWIG_IsOK(res7
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14304 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14308 arg8
= wxString_in_helper(obj7
);
14309 if (arg8
== NULL
) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14336 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14337 PyObject
*resultobj
= 0;
14338 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14342 PyObject
*swig_obj
[1] ;
14344 if (!args
) SWIG_fail
;
14345 swig_obj
[0] = args
;
14346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14350 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= SWIG_From_int(static_cast< int >(result
));
14364 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14365 PyObject
*resultobj
= 0;
14366 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14370 PyObject
*swig_obj
[1] ;
14372 if (!args
) SWIG_fail
;
14373 swig_obj
[0] = args
;
14374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14378 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= SWIG_From_int(static_cast< int >(result
));
14392 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14393 PyObject
*resultobj
= 0;
14394 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14398 PyObject
*swig_obj
[1] ;
14400 if (!args
) SWIG_fail
;
14401 swig_obj
[0] = args
;
14402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14403 if (!SWIG_IsOK(res1
)) {
14404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14406 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_From_int(static_cast< int >(result
));
14420 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14421 PyObject
*resultobj
= 0;
14422 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14426 PyObject
*swig_obj
[1] ;
14428 if (!args
) SWIG_fail
;
14429 swig_obj
[0] = args
;
14430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14431 if (!SWIG_IsOK(res1
)) {
14432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14434 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= SWIG_From_int(static_cast< int >(result
));
14448 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14449 PyObject
*resultobj
= 0;
14450 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14454 PyObject
*swig_obj
[1] ;
14456 if (!args
) SWIG_fail
;
14457 swig_obj
[0] = args
;
14458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14459 if (!SWIG_IsOK(res1
)) {
14460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14462 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14478 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
= 0;
14480 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 PyObject
* obj1
= 0 ;
14488 char * kwnames
[] = {
14489 (char *) "self",(char *) "viewStart", NULL
14492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14494 if (!SWIG_IsOK(res1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14497 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14499 if (!SWIG_IsOK(ecode2
)) {
14500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14502 arg2
= static_cast< int >(val2
);
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 (arg1
)->SetThumbPosition(arg2
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_Py_Void();
14516 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
= 0;
14518 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14519 SwigValueWrapper
<wxVisualAttributes
> result
;
14522 PyObject
* obj0
= 0 ;
14523 char * kwnames
[] = {
14524 (char *) "variant", NULL
14527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14530 if (!SWIG_IsOK(ecode1
)) {
14531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14533 arg1
= static_cast< wxWindowVariant
>(val1
);
14536 if (!wxPyCheckForApp()) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14549 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14552 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14553 return SWIG_Py_Void();
14556 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14557 return SWIG_Python_InitShadowInstance(args
);
14560 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14561 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14566 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14567 PyObject
*pyobj
= 0;
14571 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14573 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14580 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14581 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14586 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14587 PyObject
*pyobj
= 0;
14591 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14593 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14600 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
= 0;
14602 wxWindow
*arg1
= (wxWindow
*) 0 ;
14603 int arg2
= (int) -1 ;
14604 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14605 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14606 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14607 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14608 long arg5
= (long) wxSP_HORIZONTAL
;
14609 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14610 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14611 wxSpinButton
*result
= 0 ;
14620 bool temp6
= false ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 PyObject
* obj2
= 0 ;
14624 PyObject
* obj3
= 0 ;
14625 PyObject
* obj4
= 0 ;
14626 PyObject
* obj5
= 0 ;
14627 char * kwnames
[] = {
14628 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14633 if (!SWIG_IsOK(res1
)) {
14634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14636 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14639 if (!SWIG_IsOK(ecode2
)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14642 arg2
= static_cast< int >(val2
);
14647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14653 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14657 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14658 if (!SWIG_IsOK(ecode5
)) {
14659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14661 arg5
= static_cast< long >(val5
);
14665 arg6
= wxString_in_helper(obj5
);
14666 if (arg6
== NULL
) SWIG_fail
;
14671 if (!wxPyCheckForApp()) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14692 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14693 PyObject
*resultobj
= 0;
14694 wxSpinButton
*result
= 0 ;
14696 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14698 if (!wxPyCheckForApp()) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (wxSpinButton
*)new wxSpinButton();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14711 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
= 0;
14713 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14714 wxWindow
*arg2
= (wxWindow
*) 0 ;
14715 int arg3
= (int) -1 ;
14716 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14717 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14718 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14719 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14720 long arg6
= (long) wxSP_HORIZONTAL
;
14721 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14722 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14734 bool temp7
= false ;
14735 PyObject
* obj0
= 0 ;
14736 PyObject
* obj1
= 0 ;
14737 PyObject
* obj2
= 0 ;
14738 PyObject
* obj3
= 0 ;
14739 PyObject
* obj4
= 0 ;
14740 PyObject
* obj5
= 0 ;
14741 PyObject
* obj6
= 0 ;
14742 char * kwnames
[] = {
14743 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14751 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14752 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14753 if (!SWIG_IsOK(res2
)) {
14754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14756 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14759 if (!SWIG_IsOK(ecode3
)) {
14760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14762 arg3
= static_cast< int >(val3
);
14767 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14773 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14777 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14778 if (!SWIG_IsOK(ecode6
)) {
14779 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14781 arg6
= static_cast< long >(val6
);
14785 arg7
= wxString_in_helper(obj6
);
14786 if (arg7
== NULL
) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14813 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14819 PyObject
*swig_obj
[1] ;
14821 if (!args
) SWIG_fail
;
14822 swig_obj
[0] = args
;
14823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14827 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_From_int(static_cast< int >(result
));
14841 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14842 PyObject
*resultobj
= 0;
14843 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14847 PyObject
*swig_obj
[1] ;
14849 if (!args
) SWIG_fail
;
14850 swig_obj
[0] = args
;
14851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14852 if (!SWIG_IsOK(res1
)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14855 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_From_int(static_cast< int >(result
));
14869 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14870 PyObject
*resultobj
= 0;
14871 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14875 PyObject
*swig_obj
[1] ;
14877 if (!args
) SWIG_fail
;
14878 swig_obj
[0] = args
;
14879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14880 if (!SWIG_IsOK(res1
)) {
14881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14883 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_From_int(static_cast< int >(result
));
14897 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
= 0;
14899 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 char * kwnames
[] = {
14908 (char *) "self",(char *) "val", NULL
14911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14913 if (!SWIG_IsOK(res1
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14916 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14918 if (!SWIG_IsOK(ecode2
)) {
14919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14921 arg2
= static_cast< int >(val2
);
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 (arg1
)->SetValue(arg2
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_Py_Void();
14935 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
= 0;
14937 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 PyObject
* obj1
= 0 ;
14945 char * kwnames
[] = {
14946 (char *) "self",(char *) "minVal", NULL
14949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14951 if (!SWIG_IsOK(res1
)) {
14952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14954 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14956 if (!SWIG_IsOK(ecode2
)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14959 arg2
= static_cast< int >(val2
);
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 (arg1
)->SetMin(arg2
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_Py_Void();
14973 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
= 0;
14975 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 PyObject
* obj1
= 0 ;
14983 char * kwnames
[] = {
14984 (char *) "self",(char *) "maxVal", NULL
14987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14989 if (!SWIG_IsOK(res1
)) {
14990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14992 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14994 if (!SWIG_IsOK(ecode2
)) {
14995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14997 arg2
= static_cast< int >(val2
);
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 (arg1
)->SetMax(arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_Py_Void();
15011 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
= 0;
15013 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 PyObject
* obj2
= 0 ;
15025 char * kwnames
[] = {
15026 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15031 if (!SWIG_IsOK(res1
)) {
15032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15034 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15036 if (!SWIG_IsOK(ecode2
)) {
15037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15039 arg2
= static_cast< int >(val2
);
15040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15041 if (!SWIG_IsOK(ecode3
)) {
15042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15044 arg3
= static_cast< int >(val3
);
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 (arg1
)->SetRange(arg2
,arg3
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_Py_Void();
15058 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15059 PyObject
*resultobj
= 0;
15060 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15064 PyObject
*swig_obj
[1] ;
15066 if (!args
) SWIG_fail
;
15067 swig_obj
[0] = args
;
15068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15069 if (!SWIG_IsOK(res1
)) {
15070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15072 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
= 0;
15090 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15091 SwigValueWrapper
<wxVisualAttributes
> result
;
15094 PyObject
* obj0
= 0 ;
15095 char * kwnames
[] = {
15096 (char *) "variant", NULL
15099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15102 if (!SWIG_IsOK(ecode1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15105 arg1
= static_cast< wxWindowVariant
>(val1
);
15108 if (!wxPyCheckForApp()) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15121 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15124 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15125 return SWIG_Py_Void();
15128 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15129 return SWIG_Python_InitShadowInstance(args
);
15132 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
= 0;
15134 wxWindow
*arg1
= (wxWindow
*) 0 ;
15135 int arg2
= (int) -1 ;
15136 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15137 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15142 long arg6
= (long) wxSP_ARROW_KEYS
;
15143 int arg7
= (int) 0 ;
15144 int arg8
= (int) 100 ;
15145 int arg9
= (int) 0 ;
15146 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15147 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15148 wxSpinCtrl
*result
= 0 ;
15153 bool temp3
= false ;
15164 bool temp10
= false ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 PyObject
* obj3
= 0 ;
15169 PyObject
* obj4
= 0 ;
15170 PyObject
* obj5
= 0 ;
15171 PyObject
* obj6
= 0 ;
15172 PyObject
* obj7
= 0 ;
15173 PyObject
* obj8
= 0 ;
15174 PyObject
* obj9
= 0 ;
15175 char * kwnames
[] = {
15176 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15181 if (!SWIG_IsOK(res1
)) {
15182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15184 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15187 if (!SWIG_IsOK(ecode2
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15190 arg2
= static_cast< int >(val2
);
15194 arg3
= wxString_in_helper(obj2
);
15195 if (arg3
== NULL
) SWIG_fail
;
15202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15213 if (!SWIG_IsOK(ecode6
)) {
15214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15216 arg6
= static_cast< long >(val6
);
15219 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15220 if (!SWIG_IsOK(ecode7
)) {
15221 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15223 arg7
= static_cast< int >(val7
);
15226 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15227 if (!SWIG_IsOK(ecode8
)) {
15228 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15230 arg8
= static_cast< int >(val8
);
15233 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15234 if (!SWIG_IsOK(ecode9
)) {
15235 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15237 arg9
= static_cast< int >(val9
);
15241 arg10
= wxString_in_helper(obj9
);
15242 if (arg10
== NULL
) SWIG_fail
;
15247 if (!wxPyCheckForApp()) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15276 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15277 PyObject
*resultobj
= 0;
15278 wxSpinCtrl
*result
= 0 ;
15280 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15282 if (!wxPyCheckForApp()) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15295 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
= 0;
15297 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15298 wxWindow
*arg2
= (wxWindow
*) 0 ;
15299 int arg3
= (int) -1 ;
15300 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15301 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15302 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15303 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15304 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15305 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15306 long arg7
= (long) wxSP_ARROW_KEYS
;
15307 int arg8
= (int) 0 ;
15308 int arg9
= (int) 100 ;
15309 int arg10
= (int) 0 ;
15310 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15311 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15319 bool temp4
= false ;
15330 bool temp11
= false ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 PyObject
* obj2
= 0 ;
15334 PyObject
* obj3
= 0 ;
15335 PyObject
* obj4
= 0 ;
15336 PyObject
* obj5
= 0 ;
15337 PyObject
* obj6
= 0 ;
15338 PyObject
* obj7
= 0 ;
15339 PyObject
* obj8
= 0 ;
15340 PyObject
* obj9
= 0 ;
15341 PyObject
* obj10
= 0 ;
15342 char * kwnames
[] = {
15343 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15348 if (!SWIG_IsOK(res1
)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15351 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15353 if (!SWIG_IsOK(res2
)) {
15354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15356 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15359 if (!SWIG_IsOK(ecode3
)) {
15360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15362 arg3
= static_cast< int >(val3
);
15366 arg4
= wxString_in_helper(obj3
);
15367 if (arg4
== NULL
) SWIG_fail
;
15374 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15380 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15384 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15385 if (!SWIG_IsOK(ecode7
)) {
15386 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15388 arg7
= static_cast< long >(val7
);
15391 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15392 if (!SWIG_IsOK(ecode8
)) {
15393 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15395 arg8
= static_cast< int >(val8
);
15398 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15399 if (!SWIG_IsOK(ecode9
)) {
15400 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15402 arg9
= static_cast< int >(val9
);
15405 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15406 if (!SWIG_IsOK(ecode10
)) {
15407 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15409 arg10
= static_cast< int >(val10
);
15413 arg11
= wxString_in_helper(obj10
);
15414 if (arg11
== NULL
) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15449 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15450 PyObject
*resultobj
= 0;
15451 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15455 PyObject
*swig_obj
[1] ;
15457 if (!args
) SWIG_fail
;
15458 swig_obj
[0] = args
;
15459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15460 if (!SWIG_IsOK(res1
)) {
15461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15463 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= SWIG_From_int(static_cast< int >(result
));
15477 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
= 0;
15479 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 char * kwnames
[] = {
15488 (char *) "self",(char *) "value", NULL
15491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15493 if (!SWIG_IsOK(res1
)) {
15494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15496 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15498 if (!SWIG_IsOK(ecode2
)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15501 arg2
= static_cast< int >(val2
);
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->SetValue(arg2
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= SWIG_Py_Void();
15515 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
= 0;
15517 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15518 wxString
*arg2
= 0 ;
15521 bool temp2
= false ;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 char * kwnames
[] = {
15525 (char *) "self",(char *) "text", NULL
15528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15530 if (!SWIG_IsOK(res1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15533 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15535 arg2
= wxString_in_helper(obj1
);
15536 if (arg2
== NULL
) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->SetValue((wxString
const &)*arg2
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_Py_Void();
15560 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 PyObject
* obj2
= 0 ;
15574 char * kwnames
[] = {
15575 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15580 if (!SWIG_IsOK(res1
)) {
15581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15583 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15585 if (!SWIG_IsOK(ecode2
)) {
15586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15588 arg2
= static_cast< int >(val2
);
15589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15590 if (!SWIG_IsOK(ecode3
)) {
15591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15593 arg3
= static_cast< int >(val3
);
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 (arg1
)->SetRange(arg2
,arg3
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_Py_Void();
15607 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15608 PyObject
*resultobj
= 0;
15609 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15613 PyObject
*swig_obj
[1] ;
15615 if (!args
) SWIG_fail
;
15616 swig_obj
[0] = args
;
15617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15618 if (!SWIG_IsOK(res1
)) {
15619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15621 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15628 resultobj
= SWIG_From_int(static_cast< int >(result
));
15635 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15636 PyObject
*resultobj
= 0;
15637 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15641 PyObject
*swig_obj
[1] ;
15643 if (!args
) SWIG_fail
;
15644 swig_obj
[0] = args
;
15645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15646 if (!SWIG_IsOK(res1
)) {
15647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15649 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= SWIG_From_int(static_cast< int >(result
));
15663 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
= 0;
15665 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 PyObject
* obj2
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "self",(char *) "from",(char *) "to", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15686 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15687 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15688 if (!SWIG_IsOK(ecode2
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15691 arg2
= static_cast< long >(val2
);
15692 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15693 if (!SWIG_IsOK(ecode3
)) {
15694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15696 arg3
= static_cast< long >(val3
);
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 (arg1
)->SetSelection(arg2
,arg3
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_Py_Void();
15710 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
= 0;
15712 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15713 SwigValueWrapper
<wxVisualAttributes
> result
;
15716 PyObject
* obj0
= 0 ;
15717 char * kwnames
[] = {
15718 (char *) "variant", NULL
15721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15724 if (!SWIG_IsOK(ecode1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15727 arg1
= static_cast< wxWindowVariant
>(val1
);
15730 if (!wxPyCheckForApp()) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15743 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15746 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15747 return SWIG_Py_Void();
15750 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15751 return SWIG_Python_InitShadowInstance(args
);
15754 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
= 0;
15756 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15757 int arg2
= (int) 0 ;
15758 wxSpinEvent
*result
= 0 ;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 char * kwnames
[] = {
15766 (char *) "commandType",(char *) "winid", NULL
15769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15772 if (!SWIG_IsOK(ecode1
)) {
15773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15775 arg1
= static_cast< wxEventType
>(val1
);
15778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15779 if (!SWIG_IsOK(ecode2
)) {
15780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15782 arg2
= static_cast< int >(val2
);
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15797 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 PyObject
*resultobj
= 0;
15799 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15803 PyObject
*swig_obj
[1] ;
15805 if (!args
) SWIG_fail
;
15806 swig_obj
[0] = args
;
15807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15808 if (!SWIG_IsOK(res1
)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15811 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= SWIG_From_int(static_cast< int >(result
));
15825 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
= 0;
15827 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 char * kwnames
[] = {
15836 (char *) "self",(char *) "pos", NULL
15839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15844 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15846 if (!SWIG_IsOK(ecode2
)) {
15847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15849 arg2
= static_cast< int >(val2
);
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 (arg1
)->SetPosition(arg2
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= SWIG_Py_Void();
15863 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15866 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15867 return SWIG_Py_Void();
15870 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15871 return SWIG_Python_InitShadowInstance(args
);
15874 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15875 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15880 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15881 PyObject
*pyobj
= 0;
15885 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15887 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15894 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15895 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15900 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15901 PyObject
*pyobj
= 0;
15905 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15907 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15914 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
= 0;
15916 wxWindow
*arg1
= (wxWindow
*) 0 ;
15917 int arg2
= (int) -1 ;
15918 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15919 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15924 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15925 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15926 int arg7
= (int) 0 ;
15927 long arg8
= (long) wxRA_HORIZONTAL
;
15928 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15929 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15930 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15931 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15932 wxRadioBox
*result
= 0 ;
15937 bool temp3
= false ;
15940 bool temp6
= false ;
15947 bool temp10
= false ;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 PyObject
* obj2
= 0 ;
15951 PyObject
* obj3
= 0 ;
15952 PyObject
* obj4
= 0 ;
15953 PyObject
* obj5
= 0 ;
15954 PyObject
* obj6
= 0 ;
15955 PyObject
* obj7
= 0 ;
15956 PyObject
* obj8
= 0 ;
15957 PyObject
* obj9
= 0 ;
15958 char * kwnames
[] = {
15959 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15964 if (!SWIG_IsOK(res1
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15967 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15970 if (!SWIG_IsOK(ecode2
)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15973 arg2
= static_cast< int >(val2
);
15977 arg3
= wxString_in_helper(obj2
);
15978 if (arg3
== NULL
) SWIG_fail
;
15985 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15991 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15996 if (! PySequence_Check(obj5
)) {
15997 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16000 arg6
= new wxArrayString
;
16002 int i
, len
=PySequence_Length(obj5
);
16003 for (i
=0; i
<len
; i
++) {
16004 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16005 wxString
* s
= wxString_in_helper(item
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16014 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16015 if (!SWIG_IsOK(ecode7
)) {
16016 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16018 arg7
= static_cast< int >(val7
);
16021 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16022 if (!SWIG_IsOK(ecode8
)) {
16023 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16025 arg8
= static_cast< long >(val8
);
16028 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16029 if (!SWIG_IsOK(res9
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16035 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16039 arg10
= wxString_in_helper(obj9
);
16040 if (arg10
== NULL
) SWIG_fail
;
16045 if (!wxPyCheckForApp()) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 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
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16057 if (temp6
) delete arg6
;
16070 if (temp6
) delete arg6
;
16080 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16081 PyObject
*resultobj
= 0;
16082 wxRadioBox
*result
= 0 ;
16084 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16086 if (!wxPyCheckForApp()) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (wxRadioBox
*)new wxRadioBox();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16099 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
= 0;
16101 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16102 wxWindow
*arg2
= (wxWindow
*) 0 ;
16103 int arg3
= (int) -1 ;
16104 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16105 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16106 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16107 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16108 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16109 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16110 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16111 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16112 int arg8
= (int) 0 ;
16113 long arg9
= (long) wxRA_HORIZONTAL
;
16114 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16115 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16116 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16117 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16125 bool temp4
= false ;
16128 bool temp7
= false ;
16135 bool temp11
= false ;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 PyObject
* obj2
= 0 ;
16139 PyObject
* obj3
= 0 ;
16140 PyObject
* obj4
= 0 ;
16141 PyObject
* obj5
= 0 ;
16142 PyObject
* obj6
= 0 ;
16143 PyObject
* obj7
= 0 ;
16144 PyObject
* obj8
= 0 ;
16145 PyObject
* obj9
= 0 ;
16146 PyObject
* obj10
= 0 ;
16147 char * kwnames
[] = {
16148 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16153 if (!SWIG_IsOK(res1
)) {
16154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16156 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16158 if (!SWIG_IsOK(res2
)) {
16159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16161 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16164 if (!SWIG_IsOK(ecode3
)) {
16165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16167 arg3
= static_cast< int >(val3
);
16171 arg4
= wxString_in_helper(obj3
);
16172 if (arg4
== NULL
) SWIG_fail
;
16179 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16185 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16190 if (! PySequence_Check(obj6
)) {
16191 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16194 arg7
= new wxArrayString
;
16196 int i
, len
=PySequence_Length(obj6
);
16197 for (i
=0; i
<len
; i
++) {
16198 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16199 wxString
* s
= wxString_in_helper(item
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16208 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16209 if (!SWIG_IsOK(ecode8
)) {
16210 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16212 arg8
= static_cast< int >(val8
);
16215 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16216 if (!SWIG_IsOK(ecode9
)) {
16217 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16219 arg9
= static_cast< long >(val9
);
16222 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16223 if (!SWIG_IsOK(res10
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16229 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16233 arg11
= wxString_in_helper(obj10
);
16234 if (arg11
== NULL
) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 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
);
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16252 if (temp7
) delete arg7
;
16265 if (temp7
) delete arg7
;
16275 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
= 0;
16277 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char * kwnames
[] = {
16286 (char *) "self",(char *) "n", NULL
16289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16291 if (!SWIG_IsOK(res1
)) {
16292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16294 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16296 if (!SWIG_IsOK(ecode2
)) {
16297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16299 arg2
= static_cast< int >(val2
);
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 (arg1
)->SetSelection(arg2
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= SWIG_Py_Void();
16313 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16314 PyObject
*resultobj
= 0;
16315 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16319 PyObject
*swig_obj
[1] ;
16321 if (!args
) SWIG_fail
;
16322 swig_obj
[0] = args
;
16323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16324 if (!SWIG_IsOK(res1
)) {
16325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16327 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= SWIG_From_int(static_cast< int >(result
));
16341 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16342 PyObject
*resultobj
= 0;
16343 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16347 PyObject
*swig_obj
[1] ;
16349 if (!args
) SWIG_fail
;
16350 swig_obj
[0] = args
;
16351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16352 if (!SWIG_IsOK(res1
)) {
16353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16355 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16375 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
= 0;
16377 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16378 wxString
*arg2
= 0 ;
16382 bool temp2
= false ;
16383 PyObject
* obj0
= 0 ;
16384 PyObject
* obj1
= 0 ;
16385 char * kwnames
[] = {
16386 (char *) "self",(char *) "s", NULL
16389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16391 if (!SWIG_IsOK(res1
)) {
16392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16394 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16396 arg2
= wxString_in_helper(obj1
);
16397 if (arg2
== NULL
) SWIG_fail
;
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16423 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16424 PyObject
*resultobj
= 0;
16425 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16429 PyObject
*swig_obj
[1] ;
16431 if (!args
) SWIG_fail
;
16432 swig_obj
[0] = args
;
16433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16434 if (!SWIG_IsOK(res1
)) {
16435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16437 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16451 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
= 0;
16453 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16454 wxString
*arg2
= 0 ;
16458 bool temp2
= false ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char * kwnames
[] = {
16462 (char *) "self",(char *) "s", NULL
16465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16467 if (!SWIG_IsOK(res1
)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16470 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16472 arg2
= wxString_in_helper(obj1
);
16473 if (arg2
== NULL
) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= SWIG_From_int(static_cast< int >(result
));
16497 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
= 0;
16499 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16506 PyObject
* obj0
= 0 ;
16507 PyObject
* obj1
= 0 ;
16508 char * kwnames
[] = {
16509 (char *) "self",(char *) "n", NULL
16512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16514 if (!SWIG_IsOK(res1
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16517 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16519 if (!SWIG_IsOK(ecode2
)) {
16520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16522 arg2
= static_cast< int >(val2
);
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16542 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
= 0;
16544 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16546 wxString
*arg3
= 0 ;
16551 bool temp3
= false ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 PyObject
* obj2
= 0 ;
16555 char * kwnames
[] = {
16556 (char *) "self",(char *) "n",(char *) "label", NULL
16559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16564 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16566 if (!SWIG_IsOK(ecode2
)) {
16567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16569 arg2
= static_cast< int >(val2
);
16571 arg3
= wxString_in_helper(obj2
);
16572 if (arg3
== NULL
) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_Py_Void();
16596 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
= 0;
16598 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16599 unsigned int arg2
;
16600 bool arg3
= (bool) true ;
16603 unsigned int val2
;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 PyObject
* obj2
= 0 ;
16610 char * kwnames
[] = {
16611 (char *) "self",(char *) "n",(char *) "enable", NULL
16614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16616 if (!SWIG_IsOK(res1
)) {
16617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16619 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16620 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16621 if (!SWIG_IsOK(ecode2
)) {
16622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16624 arg2
= static_cast< unsigned int >(val2
);
16626 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16627 if (!SWIG_IsOK(ecode3
)) {
16628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16630 arg3
= static_cast< bool >(val3
);
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 (arg1
)->Enable(arg2
,arg3
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= SWIG_Py_Void();
16645 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
= 0;
16647 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16648 unsigned int arg2
;
16649 bool arg3
= (bool) true ;
16652 unsigned int val2
;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 PyObject
* obj2
= 0 ;
16659 char * kwnames
[] = {
16660 (char *) "self",(char *) "n",(char *) "show", NULL
16663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16665 if (!SWIG_IsOK(res1
)) {
16666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16668 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16669 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16670 if (!SWIG_IsOK(ecode2
)) {
16671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16673 arg2
= static_cast< unsigned int >(val2
);
16675 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16676 if (!SWIG_IsOK(ecode3
)) {
16677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16679 arg3
= static_cast< bool >(val3
);
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 (arg1
)->Show(arg2
,arg3
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_Py_Void();
16694 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
= 0;
16696 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16697 unsigned int arg2
;
16701 unsigned int val2
;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char * kwnames
[] = {
16706 (char *) "self",(char *) "n", NULL
16709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16714 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16715 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16716 if (!SWIG_IsOK(ecode2
)) {
16717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16719 arg2
= static_cast< unsigned int >(val2
);
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16735 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
= 0;
16737 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16738 unsigned int arg2
;
16742 unsigned int val2
;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 char * kwnames
[] = {
16747 (char *) "self",(char *) "n", NULL
16750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16755 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16756 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16757 if (!SWIG_IsOK(ecode2
)) {
16758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16760 arg2
= static_cast< unsigned int >(val2
);
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16776 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16777 PyObject
*resultobj
= 0;
16778 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16779 unsigned int result
;
16782 PyObject
*swig_obj
[1] ;
16784 if (!args
) SWIG_fail
;
16785 swig_obj
[0] = args
;
16786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16787 if (!SWIG_IsOK(res1
)) {
16788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16790 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16804 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16805 PyObject
*resultobj
= 0;
16806 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16807 unsigned int result
;
16810 PyObject
*swig_obj
[1] ;
16812 if (!args
) SWIG_fail
;
16813 swig_obj
[0] = args
;
16814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16815 if (!SWIG_IsOK(res1
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16818 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16832 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
= 0;
16834 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16847 PyObject
* obj0
= 0 ;
16848 PyObject
* obj1
= 0 ;
16849 PyObject
* obj2
= 0 ;
16850 PyObject
* obj3
= 0 ;
16851 char * kwnames
[] = {
16852 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16857 if (!SWIG_IsOK(res1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16860 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16862 if (!SWIG_IsOK(ecode2
)) {
16863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16865 arg2
= static_cast< int >(val2
);
16866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16867 if (!SWIG_IsOK(ecode3
)) {
16868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16870 arg3
= static_cast< wxDirection
>(val3
);
16871 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16872 if (!SWIG_IsOK(ecode4
)) {
16873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16875 arg4
= static_cast< long >(val4
);
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_From_int(static_cast< int >(result
));
16889 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
= 0;
16891 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16892 unsigned int arg2
;
16893 wxString
*arg3
= 0 ;
16896 unsigned int val2
;
16898 bool temp3
= false ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 PyObject
* obj2
= 0 ;
16902 char * kwnames
[] = {
16903 (char *) "self",(char *) "item",(char *) "text", NULL
16906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16908 if (!SWIG_IsOK(res1
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16911 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16912 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16913 if (!SWIG_IsOK(ecode2
)) {
16914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16916 arg2
= static_cast< unsigned int >(val2
);
16918 arg3
= wxString_in_helper(obj2
);
16919 if (arg3
== NULL
) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_Py_Void();
16943 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
= 0;
16945 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16946 unsigned int arg2
;
16947 wxToolTip
*result
= 0 ;
16950 unsigned int val2
;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 char * kwnames
[] = {
16955 (char *) "self",(char *) "item", NULL
16958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16960 if (!SWIG_IsOK(res1
)) {
16961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16963 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16964 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16965 if (!SWIG_IsOK(ecode2
)) {
16966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16968 arg2
= static_cast< unsigned int >(val2
);
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16984 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
= 0;
16986 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16987 SwigValueWrapper
<wxVisualAttributes
> result
;
16990 PyObject
* obj0
= 0 ;
16991 char * kwnames
[] = {
16992 (char *) "variant", NULL
16995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16998 if (!SWIG_IsOK(ecode1
)) {
16999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17001 arg1
= static_cast< wxWindowVariant
>(val1
);
17004 if (!wxPyCheckForApp()) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17017 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17020 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17021 return SWIG_Py_Void();
17024 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17025 return SWIG_Python_InitShadowInstance(args
);
17028 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= 0;
17030 wxWindow
*arg1
= (wxWindow
*) 0 ;
17031 int arg2
= (int) -1 ;
17032 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17033 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17038 long arg6
= (long) 0 ;
17039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17041 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17043 wxRadioButton
*result
= 0 ;
17048 bool temp3
= false ;
17055 bool temp8
= false ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 PyObject
* obj2
= 0 ;
17059 PyObject
* obj3
= 0 ;
17060 PyObject
* obj4
= 0 ;
17061 PyObject
* obj5
= 0 ;
17062 PyObject
* obj6
= 0 ;
17063 PyObject
* obj7
= 0 ;
17064 char * kwnames
[] = {
17065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17070 if (!SWIG_IsOK(res1
)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17076 if (!SWIG_IsOK(ecode2
)) {
17077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17079 arg2
= static_cast< int >(val2
);
17083 arg3
= wxString_in_helper(obj2
);
17084 if (arg3
== NULL
) SWIG_fail
;
17091 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17097 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17101 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17102 if (!SWIG_IsOK(ecode6
)) {
17103 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17105 arg6
= static_cast< long >(val6
);
17108 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17109 if (!SWIG_IsOK(res7
)) {
17110 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17115 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17119 arg8
= wxString_in_helper(obj7
);
17120 if (arg8
== NULL
) SWIG_fail
;
17125 if (!wxPyCheckForApp()) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17154 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17155 PyObject
*resultobj
= 0;
17156 wxRadioButton
*result
= 0 ;
17158 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17160 if (!wxPyCheckForApp()) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (wxRadioButton
*)new wxRadioButton();
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17173 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
= 0;
17175 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17176 wxWindow
*arg2
= (wxWindow
*) 0 ;
17177 int arg3
= (int) -1 ;
17178 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17179 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17180 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17181 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17182 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17183 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17184 long arg7
= (long) 0 ;
17185 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17186 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17187 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17188 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17196 bool temp4
= false ;
17203 bool temp9
= false ;
17204 PyObject
* obj0
= 0 ;
17205 PyObject
* obj1
= 0 ;
17206 PyObject
* obj2
= 0 ;
17207 PyObject
* obj3
= 0 ;
17208 PyObject
* obj4
= 0 ;
17209 PyObject
* obj5
= 0 ;
17210 PyObject
* obj6
= 0 ;
17211 PyObject
* obj7
= 0 ;
17212 PyObject
* obj8
= 0 ;
17213 char * kwnames
[] = {
17214 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17219 if (!SWIG_IsOK(res1
)) {
17220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17222 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17224 if (!SWIG_IsOK(res2
)) {
17225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17227 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17230 if (!SWIG_IsOK(ecode3
)) {
17231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17233 arg3
= static_cast< int >(val3
);
17237 arg4
= wxString_in_helper(obj3
);
17238 if (arg4
== NULL
) SWIG_fail
;
17245 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17251 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17255 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17256 if (!SWIG_IsOK(ecode7
)) {
17257 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17259 arg7
= static_cast< long >(val7
);
17262 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17263 if (!SWIG_IsOK(res8
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17269 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17273 arg9
= wxString_in_helper(obj8
);
17274 if (arg9
== NULL
) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17309 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17310 PyObject
*resultobj
= 0;
17311 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17315 PyObject
*swig_obj
[1] ;
17317 if (!args
) SWIG_fail
;
17318 swig_obj
[0] = args
;
17319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17320 if (!SWIG_IsOK(res1
)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17323 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (bool)(arg1
)->GetValue();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17339 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
= 0;
17341 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 char * kwnames
[] = {
17350 (char *) "self",(char *) "value", NULL
17353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17355 if (!SWIG_IsOK(res1
)) {
17356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17358 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17359 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17360 if (!SWIG_IsOK(ecode2
)) {
17361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17363 arg2
= static_cast< bool >(val2
);
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 (arg1
)->SetValue(arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= SWIG_Py_Void();
17377 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
= 0;
17379 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17380 SwigValueWrapper
<wxVisualAttributes
> result
;
17383 PyObject
* obj0
= 0 ;
17384 char * kwnames
[] = {
17385 (char *) "variant", NULL
17388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17390 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17391 if (!SWIG_IsOK(ecode1
)) {
17392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17394 arg1
= static_cast< wxWindowVariant
>(val1
);
17397 if (!wxPyCheckForApp()) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17410 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17413 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17414 return SWIG_Py_Void();
17417 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17418 return SWIG_Python_InitShadowInstance(args
);
17421 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17422 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17427 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17428 PyObject
*pyobj
= 0;
17432 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17434 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17441 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
= 0;
17443 wxWindow
*arg1
= (wxWindow
*) 0 ;
17444 int arg2
= (int) -1 ;
17445 int arg3
= (int) 0 ;
17446 int arg4
= (int) 0 ;
17447 int arg5
= (int) 100 ;
17448 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17449 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17450 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17451 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17452 long arg8
= (long) wxSL_HORIZONTAL
;
17453 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17454 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17455 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17456 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17457 wxSlider
*result
= 0 ;
17474 bool temp10
= false ;
17475 PyObject
* obj0
= 0 ;
17476 PyObject
* obj1
= 0 ;
17477 PyObject
* obj2
= 0 ;
17478 PyObject
* obj3
= 0 ;
17479 PyObject
* obj4
= 0 ;
17480 PyObject
* obj5
= 0 ;
17481 PyObject
* obj6
= 0 ;
17482 PyObject
* obj7
= 0 ;
17483 PyObject
* obj8
= 0 ;
17484 PyObject
* obj9
= 0 ;
17485 char * kwnames
[] = {
17486 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17491 if (!SWIG_IsOK(res1
)) {
17492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17497 if (!SWIG_IsOK(ecode2
)) {
17498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17500 arg2
= static_cast< int >(val2
);
17503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17504 if (!SWIG_IsOK(ecode3
)) {
17505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17507 arg3
= static_cast< int >(val3
);
17510 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17511 if (!SWIG_IsOK(ecode4
)) {
17512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17514 arg4
= static_cast< int >(val4
);
17517 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17518 if (!SWIG_IsOK(ecode5
)) {
17519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17521 arg5
= static_cast< int >(val5
);
17526 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17532 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17536 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17537 if (!SWIG_IsOK(ecode8
)) {
17538 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17540 arg8
= static_cast< long >(val8
);
17543 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17544 if (!SWIG_IsOK(res9
)) {
17545 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17550 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17554 arg10
= wxString_in_helper(obj9
);
17555 if (arg10
== NULL
) SWIG_fail
;
17560 if (!wxPyCheckForApp()) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17581 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17582 PyObject
*resultobj
= 0;
17583 wxSlider
*result
= 0 ;
17585 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17587 if (!wxPyCheckForApp()) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (wxSlider
*)new wxSlider();
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17600 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
= 0;
17602 wxSlider
*arg1
= (wxSlider
*) 0 ;
17603 wxWindow
*arg2
= (wxWindow
*) 0 ;
17604 int arg3
= (int) -1 ;
17605 int arg4
= (int) 0 ;
17606 int arg5
= (int) 0 ;
17607 int arg6
= (int) 100 ;
17608 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17609 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17610 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17611 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17612 long arg9
= (long) wxSL_HORIZONTAL
;
17613 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17614 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17615 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17616 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17636 bool temp11
= false ;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 PyObject
* obj2
= 0 ;
17640 PyObject
* obj3
= 0 ;
17641 PyObject
* obj4
= 0 ;
17642 PyObject
* obj5
= 0 ;
17643 PyObject
* obj6
= 0 ;
17644 PyObject
* obj7
= 0 ;
17645 PyObject
* obj8
= 0 ;
17646 PyObject
* obj9
= 0 ;
17647 PyObject
* obj10
= 0 ;
17648 char * kwnames
[] = {
17649 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17654 if (!SWIG_IsOK(res1
)) {
17655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17657 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17658 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17659 if (!SWIG_IsOK(res2
)) {
17660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17662 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17665 if (!SWIG_IsOK(ecode3
)) {
17666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17668 arg3
= static_cast< int >(val3
);
17671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17672 if (!SWIG_IsOK(ecode4
)) {
17673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17675 arg4
= static_cast< int >(val4
);
17678 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17679 if (!SWIG_IsOK(ecode5
)) {
17680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17682 arg5
= static_cast< int >(val5
);
17685 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17686 if (!SWIG_IsOK(ecode6
)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17689 arg6
= static_cast< int >(val6
);
17694 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17700 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17704 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17705 if (!SWIG_IsOK(ecode9
)) {
17706 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17708 arg9
= static_cast< long >(val9
);
17711 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17712 if (!SWIG_IsOK(res10
)) {
17713 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17718 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17722 arg11
= wxString_in_helper(obj10
);
17723 if (arg11
== NULL
) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17750 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17751 PyObject
*resultobj
= 0;
17752 wxSlider
*arg1
= (wxSlider
*) 0 ;
17756 PyObject
*swig_obj
[1] ;
17758 if (!args
) SWIG_fail
;
17759 swig_obj
[0] = args
;
17760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17761 if (!SWIG_IsOK(res1
)) {
17762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17764 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_From_int(static_cast< int >(result
));
17778 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
= 0;
17780 wxSlider
*arg1
= (wxSlider
*) 0 ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 char * kwnames
[] = {
17789 (char *) "self",(char *) "value", NULL
17792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17794 if (!SWIG_IsOK(res1
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17797 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17799 if (!SWIG_IsOK(ecode2
)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17802 arg2
= static_cast< int >(val2
);
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 (arg1
)->SetValue(arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_Py_Void();
17816 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
= 0;
17818 wxSlider
*arg1
= (wxSlider
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 PyObject
* obj2
= 0 ;
17830 char * kwnames
[] = {
17831 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17836 if (!SWIG_IsOK(res1
)) {
17837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17839 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17841 if (!SWIG_IsOK(ecode2
)) {
17842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17844 arg2
= static_cast< int >(val2
);
17845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17846 if (!SWIG_IsOK(ecode3
)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17849 arg3
= static_cast< int >(val3
);
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 (arg1
)->SetRange(arg2
,arg3
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= SWIG_Py_Void();
17863 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17864 PyObject
*resultobj
= 0;
17865 wxSlider
*arg1
= (wxSlider
*) 0 ;
17869 PyObject
*swig_obj
[1] ;
17871 if (!args
) SWIG_fail
;
17872 swig_obj
[0] = args
;
17873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17877 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_From_int(static_cast< int >(result
));
17891 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17892 PyObject
*resultobj
= 0;
17893 wxSlider
*arg1
= (wxSlider
*) 0 ;
17897 PyObject
*swig_obj
[1] ;
17899 if (!args
) SWIG_fail
;
17900 swig_obj
[0] = args
;
17901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17902 if (!SWIG_IsOK(res1
)) {
17903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17905 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_From_int(static_cast< int >(result
));
17919 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
= 0;
17921 wxSlider
*arg1
= (wxSlider
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 char * kwnames
[] = {
17930 (char *) "self",(char *) "minValue", NULL
17933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17935 if (!SWIG_IsOK(res1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17938 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17940 if (!SWIG_IsOK(ecode2
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17943 arg2
= static_cast< int >(val2
);
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 (arg1
)->SetMin(arg2
);
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= SWIG_Py_Void();
17957 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
= 0;
17959 wxSlider
*arg1
= (wxSlider
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char * kwnames
[] = {
17968 (char *) "self",(char *) "maxValue", NULL
17971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17973 if (!SWIG_IsOK(res1
)) {
17974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17976 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17978 if (!SWIG_IsOK(ecode2
)) {
17979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17981 arg2
= static_cast< int >(val2
);
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 (arg1
)->SetMax(arg2
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_Py_Void();
17995 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
= 0;
17997 wxSlider
*arg1
= (wxSlider
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char * kwnames
[] = {
18006 (char *) "self",(char *) "lineSize", NULL
18009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18014 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18016 if (!SWIG_IsOK(ecode2
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18019 arg2
= static_cast< int >(val2
);
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 (arg1
)->SetLineSize(arg2
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_Py_Void();
18033 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
= 0;
18035 wxSlider
*arg1
= (wxSlider
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 char * kwnames
[] = {
18044 (char *) "self",(char *) "pageSize", NULL
18047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18049 if (!SWIG_IsOK(res1
)) {
18050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18052 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18054 if (!SWIG_IsOK(ecode2
)) {
18055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18057 arg2
= static_cast< int >(val2
);
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 (arg1
)->SetPageSize(arg2
);
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_Py_Void();
18071 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18072 PyObject
*resultobj
= 0;
18073 wxSlider
*arg1
= (wxSlider
*) 0 ;
18077 PyObject
*swig_obj
[1] ;
18079 if (!args
) SWIG_fail
;
18080 swig_obj
[0] = args
;
18081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18082 if (!SWIG_IsOK(res1
)) {
18083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18085 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_From_int(static_cast< int >(result
));
18099 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18100 PyObject
*resultobj
= 0;
18101 wxSlider
*arg1
= (wxSlider
*) 0 ;
18105 PyObject
*swig_obj
[1] ;
18107 if (!args
) SWIG_fail
;
18108 swig_obj
[0] = args
;
18109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18110 if (!SWIG_IsOK(res1
)) {
18111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18113 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_From_int(static_cast< int >(result
));
18127 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
= 0;
18129 wxSlider
*arg1
= (wxSlider
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 char * kwnames
[] = {
18138 (char *) "self",(char *) "lenPixels", NULL
18141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18143 if (!SWIG_IsOK(res1
)) {
18144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18146 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18148 if (!SWIG_IsOK(ecode2
)) {
18149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18151 arg2
= static_cast< int >(val2
);
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 (arg1
)->SetThumbLength(arg2
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= SWIG_Py_Void();
18165 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18166 PyObject
*resultobj
= 0;
18167 wxSlider
*arg1
= (wxSlider
*) 0 ;
18171 PyObject
*swig_obj
[1] ;
18173 if (!args
) SWIG_fail
;
18174 swig_obj
[0] = args
;
18175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18179 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_From_int(static_cast< int >(result
));
18193 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
= 0;
18195 wxSlider
*arg1
= (wxSlider
*) 0 ;
18197 int arg3
= (int) 1 ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 PyObject
* obj2
= 0 ;
18207 char * kwnames
[] = {
18208 (char *) "self",(char *) "n",(char *) "pos", NULL
18211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18213 if (!SWIG_IsOK(res1
)) {
18214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18216 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18218 if (!SWIG_IsOK(ecode2
)) {
18219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18221 arg2
= static_cast< int >(val2
);
18223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18224 if (!SWIG_IsOK(ecode3
)) {
18225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18227 arg3
= static_cast< int >(val3
);
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 (arg1
)->SetTickFreq(arg2
,arg3
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_Py_Void();
18242 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18243 PyObject
*resultobj
= 0;
18244 wxSlider
*arg1
= (wxSlider
*) 0 ;
18248 PyObject
*swig_obj
[1] ;
18250 if (!args
) SWIG_fail
;
18251 swig_obj
[0] = args
;
18252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18253 if (!SWIG_IsOK(res1
)) {
18254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18256 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_From_int(static_cast< int >(result
));
18270 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18271 PyObject
*resultobj
= 0;
18272 wxSlider
*arg1
= (wxSlider
*) 0 ;
18275 PyObject
*swig_obj
[1] ;
18277 if (!args
) SWIG_fail
;
18278 swig_obj
[0] = args
;
18279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18280 if (!SWIG_IsOK(res1
)) {
18281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18283 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->ClearTicks();
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_Py_Void();
18297 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
= 0;
18299 wxSlider
*arg1
= (wxSlider
*) 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 char * kwnames
[] = {
18308 (char *) "self",(char *) "tickPos", NULL
18311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18313 if (!SWIG_IsOK(res1
)) {
18314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18316 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18318 if (!SWIG_IsOK(ecode2
)) {
18319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18321 arg2
= static_cast< int >(val2
);
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 (arg1
)->SetTick(arg2
);
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= SWIG_Py_Void();
18335 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18336 PyObject
*resultobj
= 0;
18337 wxSlider
*arg1
= (wxSlider
*) 0 ;
18340 PyObject
*swig_obj
[1] ;
18342 if (!args
) SWIG_fail
;
18343 swig_obj
[0] = args
;
18344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18348 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 (arg1
)->ClearSel();
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_Py_Void();
18362 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18363 PyObject
*resultobj
= 0;
18364 wxSlider
*arg1
= (wxSlider
*) 0 ;
18368 PyObject
*swig_obj
[1] ;
18370 if (!args
) SWIG_fail
;
18371 swig_obj
[0] = args
;
18372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18373 if (!SWIG_IsOK(res1
)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18376 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_From_int(static_cast< int >(result
));
18390 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18391 PyObject
*resultobj
= 0;
18392 wxSlider
*arg1
= (wxSlider
*) 0 ;
18396 PyObject
*swig_obj
[1] ;
18398 if (!args
) SWIG_fail
;
18399 swig_obj
[0] = args
;
18400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18401 if (!SWIG_IsOK(res1
)) {
18402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18404 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_From_int(static_cast< int >(result
));
18418 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
= 0;
18420 wxSlider
*arg1
= (wxSlider
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 PyObject
* obj2
= 0 ;
18432 char * kwnames
[] = {
18433 (char *) "self",(char *) "min",(char *) "max", NULL
18436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18438 if (!SWIG_IsOK(res1
)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18441 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18443 if (!SWIG_IsOK(ecode2
)) {
18444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18446 arg2
= static_cast< int >(val2
);
18447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18448 if (!SWIG_IsOK(ecode3
)) {
18449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18451 arg3
= static_cast< int >(val3
);
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 (arg1
)->SetSelection(arg2
,arg3
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_Py_Void();
18465 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
= 0;
18467 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18468 SwigValueWrapper
<wxVisualAttributes
> result
;
18471 PyObject
* obj0
= 0 ;
18472 char * kwnames
[] = {
18473 (char *) "variant", NULL
18476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18478 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18479 if (!SWIG_IsOK(ecode1
)) {
18480 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18482 arg1
= static_cast< wxWindowVariant
>(val1
);
18485 if (!wxPyCheckForApp()) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18498 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18501 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18502 return SWIG_Py_Void();
18505 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18506 return SWIG_Python_InitShadowInstance(args
);
18509 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18510 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18515 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18516 PyObject
*pyobj
= 0;
18520 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18522 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18529 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= 0;
18531 wxWindow
*arg1
= (wxWindow
*) 0 ;
18532 int arg2
= (int) -1 ;
18533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18535 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18536 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18537 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18538 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18539 long arg6
= (long) 0 ;
18540 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18541 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18542 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18543 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18544 wxToggleButton
*result
= 0 ;
18549 bool temp3
= false ;
18556 bool temp8
= false ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 PyObject
* obj2
= 0 ;
18560 PyObject
* obj3
= 0 ;
18561 PyObject
* obj4
= 0 ;
18562 PyObject
* obj5
= 0 ;
18563 PyObject
* obj6
= 0 ;
18564 PyObject
* obj7
= 0 ;
18565 char * kwnames
[] = {
18566 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18571 if (!SWIG_IsOK(res1
)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18574 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18577 if (!SWIG_IsOK(ecode2
)) {
18578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18580 arg2
= static_cast< int >(val2
);
18584 arg3
= wxString_in_helper(obj2
);
18585 if (arg3
== NULL
) SWIG_fail
;
18592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18602 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18603 if (!SWIG_IsOK(ecode6
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18606 arg6
= static_cast< long >(val6
);
18609 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18610 if (!SWIG_IsOK(res7
)) {
18611 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18616 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18620 arg8
= wxString_in_helper(obj7
);
18621 if (arg8
== NULL
) SWIG_fail
;
18626 if (!wxPyCheckForApp()) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18655 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18656 PyObject
*resultobj
= 0;
18657 wxToggleButton
*result
= 0 ;
18659 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18661 if (!wxPyCheckForApp()) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (wxToggleButton
*)new wxToggleButton();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18674 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
= 0;
18676 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18677 wxWindow
*arg2
= (wxWindow
*) 0 ;
18678 int arg3
= (int) -1 ;
18679 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18680 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18681 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18682 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18683 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18684 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18685 long arg7
= (long) 0 ;
18686 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18687 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18688 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18689 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18697 bool temp4
= false ;
18704 bool temp9
= false ;
18705 PyObject
* obj0
= 0 ;
18706 PyObject
* obj1
= 0 ;
18707 PyObject
* obj2
= 0 ;
18708 PyObject
* obj3
= 0 ;
18709 PyObject
* obj4
= 0 ;
18710 PyObject
* obj5
= 0 ;
18711 PyObject
* obj6
= 0 ;
18712 PyObject
* obj7
= 0 ;
18713 PyObject
* obj8
= 0 ;
18714 char * kwnames
[] = {
18715 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18720 if (!SWIG_IsOK(res1
)) {
18721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18723 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18725 if (!SWIG_IsOK(res2
)) {
18726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18728 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18731 if (!SWIG_IsOK(ecode3
)) {
18732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18734 arg3
= static_cast< int >(val3
);
18738 arg4
= wxString_in_helper(obj3
);
18739 if (arg4
== NULL
) SWIG_fail
;
18746 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18752 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18756 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18757 if (!SWIG_IsOK(ecode7
)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18760 arg7
= static_cast< long >(val7
);
18763 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18764 if (!SWIG_IsOK(res8
)) {
18765 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18770 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18774 arg9
= wxString_in_helper(obj8
);
18775 if (arg9
== NULL
) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18810 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
= 0;
18812 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 char * kwnames
[] = {
18821 (char *) "self",(char *) "value", NULL
18824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18826 if (!SWIG_IsOK(res1
)) {
18827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18829 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18830 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18831 if (!SWIG_IsOK(ecode2
)) {
18832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18834 arg2
= static_cast< bool >(val2
);
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 (arg1
)->SetValue(arg2
);
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 resultobj
= SWIG_Py_Void();
18848 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18849 PyObject
*resultobj
= 0;
18850 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18854 PyObject
*swig_obj
[1] ;
18856 if (!args
) SWIG_fail
;
18857 swig_obj
[0] = args
;
18858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18859 if (!SWIG_IsOK(res1
)) {
18860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18862 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18878 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
= 0;
18880 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18881 SwigValueWrapper
<wxVisualAttributes
> result
;
18884 PyObject
* obj0
= 0 ;
18885 char * kwnames
[] = {
18886 (char *) "variant", NULL
18889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18891 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18892 if (!SWIG_IsOK(ecode1
)) {
18893 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18895 arg1
= static_cast< wxWindowVariant
>(val1
);
18898 if (!wxPyCheckForApp()) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18911 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18914 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18915 return SWIG_Py_Void();
18918 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18919 return SWIG_Python_InitShadowInstance(args
);
18922 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18923 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18928 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18929 PyObject
*pyobj
= 0;
18933 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18935 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18942 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18943 PyObject
*resultobj
= 0;
18944 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18948 PyObject
*swig_obj
[1] ;
18950 if (!args
) SWIG_fail
;
18951 swig_obj
[0] = args
;
18952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18953 if (!SWIG_IsOK(res1
)) {
18954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18956 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18970 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
= 0;
18972 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18974 wxWindow
*result
= 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char * kwnames
[] = {
18982 (char *) "self",(char *) "n", NULL
18985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18990 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18991 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18992 if (!SWIG_IsOK(ecode2
)) {
18993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18995 arg2
= static_cast< size_t >(val2
);
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= wxPyMake_wxObject(result
, 0);
19011 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19012 PyObject
*resultobj
= 0;
19013 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19014 wxWindow
*result
= 0 ;
19017 PyObject
*swig_obj
[1] ;
19019 if (!args
) SWIG_fail
;
19020 swig_obj
[0] = args
;
19021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19022 if (!SWIG_IsOK(res1
)) {
19023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19025 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= wxPyMake_wxObject(result
, 0);
19041 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19042 PyObject
*resultobj
= 0;
19043 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19047 PyObject
*swig_obj
[1] ;
19049 if (!args
) SWIG_fail
;
19050 swig_obj
[0] = args
;
19051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19052 if (!SWIG_IsOK(res1
)) {
19053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19055 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= SWIG_From_int(static_cast< int >(result
));
19069 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
= 0;
19071 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19073 wxString
*arg3
= 0 ;
19079 bool temp3
= false ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 PyObject
* obj2
= 0 ;
19083 char * kwnames
[] = {
19084 (char *) "self",(char *) "n",(char *) "strText", NULL
19087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19089 if (!SWIG_IsOK(res1
)) {
19090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19092 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19093 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19094 if (!SWIG_IsOK(ecode2
)) {
19095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19097 arg2
= static_cast< size_t >(val2
);
19099 arg3
= wxString_in_helper(obj2
);
19100 if (arg3
== NULL
) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19126 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
= 0;
19128 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char * kwnames
[] = {
19138 (char *) "self",(char *) "n", NULL
19141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19143 if (!SWIG_IsOK(res1
)) {
19144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19146 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19147 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19148 if (!SWIG_IsOK(ecode2
)) {
19149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19151 arg2
= static_cast< size_t >(val2
);
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19171 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
= 0;
19173 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19174 wxImageList
*arg2
= (wxImageList
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 char * kwnames
[] = {
19182 (char *) "self",(char *) "imageList", NULL
19185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19187 if (!SWIG_IsOK(res1
)) {
19188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19190 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19192 if (!SWIG_IsOK(res2
)) {
19193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19195 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 (arg1
)->SetImageList(arg2
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= SWIG_Py_Void();
19209 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
= 0;
19211 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19212 wxImageList
*arg2
= (wxImageList
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 char * kwnames
[] = {
19219 (char *) "self",(char *) "imageList", NULL
19222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19224 if (!SWIG_IsOK(res1
)) {
19225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19227 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19228 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19229 if (!SWIG_IsOK(res2
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 (arg1
)->AssignImageList(arg2
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_Py_Void();
19245 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19246 PyObject
*resultobj
= 0;
19247 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19248 wxImageList
*result
= 0 ;
19251 PyObject
*swig_obj
[1] ;
19253 if (!args
) SWIG_fail
;
19254 swig_obj
[0] = args
;
19255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19256 if (!SWIG_IsOK(res1
)) {
19257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19259 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19275 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
= 0;
19277 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 char * kwnames
[] = {
19287 (char *) "self",(char *) "n", NULL
19290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19292 if (!SWIG_IsOK(res1
)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19295 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19296 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19297 if (!SWIG_IsOK(ecode2
)) {
19298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19300 arg2
= static_cast< size_t >(val2
);
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_From_int(static_cast< int >(result
));
19314 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
= 0;
19316 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 PyObject
* obj2
= 0 ;
19329 char * kwnames
[] = {
19330 (char *) "self",(char *) "n",(char *) "imageId", NULL
19333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19335 if (!SWIG_IsOK(res1
)) {
19336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19338 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19339 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19340 if (!SWIG_IsOK(ecode2
)) {
19341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19343 arg2
= static_cast< size_t >(val2
);
19344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19345 if (!SWIG_IsOK(ecode3
)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19348 arg3
= static_cast< int >(val3
);
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19364 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
= 0;
19366 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 char * kwnames
[] = {
19374 (char *) "self",(char *) "size", NULL
19377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19379 if (!SWIG_IsOK(res1
)) {
19380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19382 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_Py_Void();
19400 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
= 0;
19402 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char * kwnames
[] = {
19411 (char *) "self",(char *) "sizePage", NULL
19414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19416 if (!SWIG_IsOK(res1
)) {
19417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19419 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19422 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19437 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19438 PyObject
*resultobj
= 0;
19439 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19440 unsigned int result
;
19443 PyObject
*swig_obj
[1] ;
19445 if (!args
) SWIG_fail
;
19446 swig_obj
[0] = args
;
19447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19448 if (!SWIG_IsOK(res1
)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19451 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19465 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
= 0;
19467 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19468 unsigned int arg2
;
19471 unsigned int val2
;
19473 PyObject
* obj0
= 0 ;
19474 PyObject
* obj1
= 0 ;
19475 char * kwnames
[] = {
19476 (char *) "self",(char *) "internalBorder", NULL
19479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19481 if (!SWIG_IsOK(res1
)) {
19482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19484 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19485 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19486 if (!SWIG_IsOK(ecode2
)) {
19487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19489 arg2
= static_cast< unsigned int >(val2
);
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 (arg1
)->SetInternalBorder(arg2
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= SWIG_Py_Void();
19503 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19504 PyObject
*resultobj
= 0;
19505 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19509 PyObject
*swig_obj
[1] ;
19511 if (!args
) SWIG_fail
;
19512 swig_obj
[0] = args
;
19513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19514 if (!SWIG_IsOK(res1
)) {
19515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19517 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19533 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
= 0;
19535 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj1
= 0 ;
19543 char * kwnames
[] = {
19544 (char *) "self",(char *) "margin", NULL
19547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19549 if (!SWIG_IsOK(res1
)) {
19550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19552 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19554 if (!SWIG_IsOK(ecode2
)) {
19555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19557 arg2
= static_cast< int >(val2
);
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 (arg1
)->SetControlMargin(arg2
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_Py_Void();
19571 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19572 PyObject
*resultobj
= 0;
19573 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19577 PyObject
*swig_obj
[1] ;
19579 if (!args
) SWIG_fail
;
19580 swig_obj
[0] = args
;
19581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19582 if (!SWIG_IsOK(res1
)) {
19583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19585 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= SWIG_From_int(static_cast< int >(result
));
19599 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
= 0;
19601 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char * kwnames
[] = {
19610 (char *) "self",(char *) "fit", NULL
19613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19615 if (!SWIG_IsOK(res1
)) {
19616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19618 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19619 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19620 if (!SWIG_IsOK(ecode2
)) {
19621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19623 arg2
= static_cast< bool >(val2
);
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 (arg1
)->SetFitToCurrentPage(arg2
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_Py_Void();
19637 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19638 PyObject
*resultobj
= 0;
19639 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19643 PyObject
*swig_obj
[1] ;
19645 if (!args
) SWIG_fail
;
19646 swig_obj
[0] = args
;
19647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19648 if (!SWIG_IsOK(res1
)) {
19649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19651 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19667 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19668 PyObject
*resultobj
= 0;
19669 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19670 wxSizer
*result
= 0 ;
19673 PyObject
*swig_obj
[1] ;
19675 if (!args
) SWIG_fail
;
19676 swig_obj
[0] = args
;
19677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19678 if (!SWIG_IsOK(res1
)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19681 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19697 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
= 0;
19699 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char * kwnames
[] = {
19709 (char *) "self",(char *) "n", NULL
19712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19714 if (!SWIG_IsOK(res1
)) {
19715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19717 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19718 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19719 if (!SWIG_IsOK(ecode2
)) {
19720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19722 arg2
= static_cast< size_t >(val2
);
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (bool)(arg1
)->DeletePage(arg2
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19738 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
= 0;
19740 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19747 PyObject
* obj0
= 0 ;
19748 PyObject
* obj1
= 0 ;
19749 char * kwnames
[] = {
19750 (char *) "self",(char *) "n", NULL
19753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19755 if (!SWIG_IsOK(res1
)) {
19756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19758 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19759 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19760 if (!SWIG_IsOK(ecode2
)) {
19761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19763 arg2
= static_cast< size_t >(val2
);
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (bool)(arg1
)->RemovePage(arg2
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19779 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19780 PyObject
*resultobj
= 0;
19781 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19785 PyObject
*swig_obj
[1] ;
19787 if (!args
) SWIG_fail
;
19788 swig_obj
[0] = args
;
19789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19793 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (bool)(arg1
)->DeleteAllPages();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19809 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
= 0;
19811 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19812 wxWindow
*arg2
= (wxWindow
*) 0 ;
19813 wxString
*arg3
= 0 ;
19814 bool arg4
= (bool) false ;
19815 int arg5
= (int) -1 ;
19821 bool temp3
= false ;
19826 PyObject
* obj0
= 0 ;
19827 PyObject
* obj1
= 0 ;
19828 PyObject
* obj2
= 0 ;
19829 PyObject
* obj3
= 0 ;
19830 PyObject
* obj4
= 0 ;
19831 char * kwnames
[] = {
19832 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19837 if (!SWIG_IsOK(res1
)) {
19838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19840 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19842 if (!SWIG_IsOK(res2
)) {
19843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19845 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19847 arg3
= wxString_in_helper(obj2
);
19848 if (arg3
== NULL
) SWIG_fail
;
19852 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19853 if (!SWIG_IsOK(ecode4
)) {
19854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19856 arg4
= static_cast< bool >(val4
);
19859 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19860 if (!SWIG_IsOK(ecode5
)) {
19861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19863 arg5
= static_cast< int >(val5
);
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19888 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
= 0;
19890 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19892 wxWindow
*arg3
= (wxWindow
*) 0 ;
19893 wxString
*arg4
= 0 ;
19894 bool arg5
= (bool) false ;
19895 int arg6
= (int) -1 ;
19903 bool temp4
= false ;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19910 PyObject
* obj2
= 0 ;
19911 PyObject
* obj3
= 0 ;
19912 PyObject
* obj4
= 0 ;
19913 PyObject
* obj5
= 0 ;
19914 char * kwnames
[] = {
19915 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19920 if (!SWIG_IsOK(res1
)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19923 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19925 if (!SWIG_IsOK(ecode2
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19928 arg2
= static_cast< size_t >(val2
);
19929 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19930 if (!SWIG_IsOK(res3
)) {
19931 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19933 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19935 arg4
= wxString_in_helper(obj3
);
19936 if (arg4
== NULL
) SWIG_fail
;
19940 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19941 if (!SWIG_IsOK(ecode5
)) {
19942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19944 arg5
= static_cast< bool >(val5
);
19947 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19948 if (!SWIG_IsOK(ecode6
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19951 arg6
= static_cast< int >(val6
);
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19976 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
= 0;
19978 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char * kwnames
[] = {
19988 (char *) "self",(char *) "n", NULL
19991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19996 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19997 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19998 if (!SWIG_IsOK(ecode2
)) {
19999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20001 arg2
= static_cast< size_t >(val2
);
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (int)(arg1
)->SetSelection(arg2
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_From_int(static_cast< int >(result
));
20015 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
= 0;
20017 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20018 bool arg2
= (bool) true ;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char * kwnames
[] = {
20026 (char *) "self",(char *) "forward", NULL
20029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20031 if (!SWIG_IsOK(res1
)) {
20032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20034 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20036 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20037 if (!SWIG_IsOK(ecode2
)) {
20038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20040 arg2
= static_cast< bool >(val2
);
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 (arg1
)->AdvanceSelection(arg2
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= SWIG_Py_Void();
20055 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
= 0;
20057 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20058 SwigValueWrapper
<wxVisualAttributes
> result
;
20061 PyObject
* obj0
= 0 ;
20062 char * kwnames
[] = {
20063 (char *) "variant", NULL
20066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20068 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20069 if (!SWIG_IsOK(ecode1
)) {
20070 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20072 arg1
= static_cast< wxWindowVariant
>(val1
);
20075 if (!wxPyCheckForApp()) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20088 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20091 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20092 return SWIG_Py_Void();
20095 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
= 0;
20097 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20098 int arg2
= (int) 0 ;
20099 int arg3
= (int) -1 ;
20100 int arg4
= (int) -1 ;
20101 wxBookCtrlBaseEvent
*result
= 0 ;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 PyObject
* obj2
= 0 ;
20113 PyObject
* obj3
= 0 ;
20114 char * kwnames
[] = {
20115 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20121 if (!SWIG_IsOK(ecode1
)) {
20122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20124 arg1
= static_cast< wxEventType
>(val1
);
20127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20128 if (!SWIG_IsOK(ecode2
)) {
20129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20131 arg2
= static_cast< int >(val2
);
20134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20135 if (!SWIG_IsOK(ecode3
)) {
20136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20138 arg3
= static_cast< int >(val3
);
20141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20142 if (!SWIG_IsOK(ecode4
)) {
20143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20145 arg4
= static_cast< int >(val4
);
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20160 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20161 PyObject
*resultobj
= 0;
20162 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20166 PyObject
*swig_obj
[1] ;
20168 if (!args
) SWIG_fail
;
20169 swig_obj
[0] = args
;
20170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20174 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= SWIG_From_int(static_cast< int >(result
));
20188 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
= 0;
20190 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 char * kwnames
[] = {
20199 (char *) "self",(char *) "nSel", NULL
20202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20204 if (!SWIG_IsOK(res1
)) {
20205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20207 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20209 if (!SWIG_IsOK(ecode2
)) {
20210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20212 arg2
= static_cast< int >(val2
);
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 (arg1
)->SetSelection(arg2
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_Py_Void();
20226 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20227 PyObject
*resultobj
= 0;
20228 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20232 PyObject
*swig_obj
[1] ;
20234 if (!args
) SWIG_fail
;
20235 swig_obj
[0] = args
;
20236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20237 if (!SWIG_IsOK(res1
)) {
20238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20240 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 resultobj
= SWIG_From_int(static_cast< int >(result
));
20254 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
= 0;
20256 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char * kwnames
[] = {
20265 (char *) "self",(char *) "nOldSel", NULL
20268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20270 if (!SWIG_IsOK(res1
)) {
20271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20273 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20275 if (!SWIG_IsOK(ecode2
)) {
20276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20278 arg2
= static_cast< int >(val2
);
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 (arg1
)->SetOldSelection(arg2
);
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20285 resultobj
= SWIG_Py_Void();
20292 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20295 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20296 return SWIG_Py_Void();
20299 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20300 return SWIG_Python_InitShadowInstance(args
);
20303 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
= 0;
20305 wxWindow
*arg1
= (wxWindow
*) 0 ;
20306 int arg2
= (int) -1 ;
20307 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20308 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20309 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20310 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20311 long arg5
= (long) 0 ;
20312 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20313 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20314 wxNotebook
*result
= 0 ;
20323 bool temp6
= false ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 PyObject
* obj2
= 0 ;
20327 PyObject
* obj3
= 0 ;
20328 PyObject
* obj4
= 0 ;
20329 PyObject
* obj5
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20342 if (!SWIG_IsOK(ecode2
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20345 arg2
= static_cast< int >(val2
);
20350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20360 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20361 if (!SWIG_IsOK(ecode5
)) {
20362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20364 arg5
= static_cast< long >(val5
);
20368 arg6
= wxString_in_helper(obj5
);
20369 if (arg6
== NULL
) SWIG_fail
;
20374 if (!wxPyCheckForApp()) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20395 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20396 PyObject
*resultobj
= 0;
20397 wxNotebook
*result
= 0 ;
20399 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20401 if (!wxPyCheckForApp()) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= (wxNotebook
*)new wxNotebook();
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20414 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
= 0;
20416 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20417 wxWindow
*arg2
= (wxWindow
*) 0 ;
20418 int arg3
= (int) -1 ;
20419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20423 long arg6
= (long) 0 ;
20424 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20425 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20437 bool temp7
= false ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 PyObject
* obj2
= 0 ;
20441 PyObject
* obj3
= 0 ;
20442 PyObject
* obj4
= 0 ;
20443 PyObject
* obj5
= 0 ;
20444 PyObject
* obj6
= 0 ;
20445 char * kwnames
[] = {
20446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20451 if (!SWIG_IsOK(res1
)) {
20452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20454 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20456 if (!SWIG_IsOK(res2
)) {
20457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20462 if (!SWIG_IsOK(ecode3
)) {
20463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20465 arg3
= static_cast< int >(val3
);
20470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20480 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20481 if (!SWIG_IsOK(ecode6
)) {
20482 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20484 arg6
= static_cast< long >(val6
);
20488 arg7
= wxString_in_helper(obj6
);
20489 if (arg7
== NULL
) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20516 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20517 PyObject
*resultobj
= 0;
20518 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20522 PyObject
*swig_obj
[1] ;
20524 if (!args
) SWIG_fail
;
20525 swig_obj
[0] = args
;
20526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20527 if (!SWIG_IsOK(res1
)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20530 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_From_int(static_cast< int >(result
));
20544 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20545 PyObject
*resultobj
= 0;
20546 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char * kwnames
[] = {
20554 (char *) "self",(char *) "padding", NULL
20557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20562 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20565 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_Py_Void();
20580 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
= 0;
20582 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char * kwnames
[] = {
20590 (char *) "self",(char *) "sz", NULL
20593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20595 if (!SWIG_IsOK(res1
)) {
20596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20598 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20601 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_Py_Void();
20616 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
= 0;
20618 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20619 wxPoint
*arg2
= 0 ;
20620 long *arg3
= (long *) 0 ;
20626 int res3
= SWIG_TMPOBJ
;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20629 char * kwnames
[] = {
20630 (char *) "self",(char *) "pt", NULL
20634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20639 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_From_int(static_cast< int >(result
));
20651 if (SWIG_IsTmpObj(res3
)) {
20652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20654 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20663 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20664 PyObject
*resultobj
= 0;
20665 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20669 PyObject
*swig_obj
[1] ;
20671 if (!args
) SWIG_fail
;
20672 swig_obj
[0] = args
;
20673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20677 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20691 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
= 0;
20693 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20694 SwigValueWrapper
<wxVisualAttributes
> result
;
20697 PyObject
* obj0
= 0 ;
20698 char * kwnames
[] = {
20699 (char *) "variant", NULL
20702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20705 if (!SWIG_IsOK(ecode1
)) {
20706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20708 arg1
= static_cast< wxWindowVariant
>(val1
);
20711 if (!wxPyCheckForApp()) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20724 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20727 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20728 return SWIG_Py_Void();
20731 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20732 return SWIG_Python_InitShadowInstance(args
);
20735 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
= 0;
20737 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20738 int arg2
= (int) 0 ;
20739 int arg3
= (int) -1 ;
20740 int arg4
= (int) -1 ;
20741 wxNotebookEvent
*result
= 0 ;
20750 PyObject
* obj0
= 0 ;
20751 PyObject
* obj1
= 0 ;
20752 PyObject
* obj2
= 0 ;
20753 PyObject
* obj3
= 0 ;
20754 char * kwnames
[] = {
20755 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20761 if (!SWIG_IsOK(ecode1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20764 arg1
= static_cast< wxEventType
>(val1
);
20767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20768 if (!SWIG_IsOK(ecode2
)) {
20769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20771 arg2
= static_cast< int >(val2
);
20774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20775 if (!SWIG_IsOK(ecode3
)) {
20776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20778 arg3
= static_cast< int >(val3
);
20781 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20782 if (!SWIG_IsOK(ecode4
)) {
20783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20785 arg4
= static_cast< int >(val4
);
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20800 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20803 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20804 return SWIG_Py_Void();
20807 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20808 return SWIG_Python_InitShadowInstance(args
);
20811 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
= 0;
20813 wxWindow
*arg1
= (wxWindow
*) 0 ;
20814 int arg2
= (int) -1 ;
20815 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20816 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20817 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20818 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20819 long arg5
= (long) 0 ;
20820 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20821 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20822 wxListbook
*result
= 0 ;
20831 bool temp6
= false ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 PyObject
* obj2
= 0 ;
20835 PyObject
* obj3
= 0 ;
20836 PyObject
* obj4
= 0 ;
20837 PyObject
* obj5
= 0 ;
20838 char * kwnames
[] = {
20839 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20844 if (!SWIG_IsOK(res1
)) {
20845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20847 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20850 if (!SWIG_IsOK(ecode2
)) {
20851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20853 arg2
= static_cast< int >(val2
);
20858 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20864 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20868 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20869 if (!SWIG_IsOK(ecode5
)) {
20870 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20872 arg5
= static_cast< long >(val5
);
20876 arg6
= wxString_in_helper(obj5
);
20877 if (arg6
== NULL
) SWIG_fail
;
20882 if (!wxPyCheckForApp()) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20903 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20904 PyObject
*resultobj
= 0;
20905 wxListbook
*result
= 0 ;
20907 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20909 if (!wxPyCheckForApp()) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (wxListbook
*)new wxListbook();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20922 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
= 0;
20924 wxListbook
*arg1
= (wxListbook
*) 0 ;
20925 wxWindow
*arg2
= (wxWindow
*) 0 ;
20926 int arg3
= (int) -1 ;
20927 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20928 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20929 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20930 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20931 long arg6
= (long) 0 ;
20932 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20933 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20945 bool temp7
= false ;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 PyObject
* obj2
= 0 ;
20949 PyObject
* obj3
= 0 ;
20950 PyObject
* obj4
= 0 ;
20951 PyObject
* obj5
= 0 ;
20952 PyObject
* obj6
= 0 ;
20953 char * kwnames
[] = {
20954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20959 if (!SWIG_IsOK(res1
)) {
20960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20962 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20964 if (!SWIG_IsOK(res2
)) {
20965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20970 if (!SWIG_IsOK(ecode3
)) {
20971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20973 arg3
= static_cast< int >(val3
);
20978 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20984 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20988 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20989 if (!SWIG_IsOK(ecode6
)) {
20990 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20992 arg6
= static_cast< long >(val6
);
20996 arg7
= wxString_in_helper(obj6
);
20997 if (arg7
== NULL
) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21024 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21025 PyObject
*resultobj
= 0;
21026 wxListbook
*arg1
= (wxListbook
*) 0 ;
21027 wxListView
*result
= 0 ;
21030 PyObject
*swig_obj
[1] ;
21032 if (!args
) SWIG_fail
;
21033 swig_obj
[0] = args
;
21034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21035 if (!SWIG_IsOK(res1
)) {
21036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21038 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= (wxListView
*)(arg1
)->GetListView();
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21052 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21055 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21056 return SWIG_Py_Void();
21059 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21060 return SWIG_Python_InitShadowInstance(args
);
21063 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
= 0;
21065 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21066 int arg2
= (int) 0 ;
21067 int arg3
= (int) -1 ;
21068 int arg4
= (int) -1 ;
21069 wxListbookEvent
*result
= 0 ;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21080 PyObject
* obj2
= 0 ;
21081 PyObject
* obj3
= 0 ;
21082 char * kwnames
[] = {
21083 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21089 if (!SWIG_IsOK(ecode1
)) {
21090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21092 arg1
= static_cast< wxEventType
>(val1
);
21095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21096 if (!SWIG_IsOK(ecode2
)) {
21097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21099 arg2
= static_cast< int >(val2
);
21102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21103 if (!SWIG_IsOK(ecode3
)) {
21104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21106 arg3
= static_cast< int >(val3
);
21109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21110 if (!SWIG_IsOK(ecode4
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21113 arg4
= static_cast< int >(val4
);
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21128 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21131 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21132 return SWIG_Py_Void();
21135 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21136 return SWIG_Python_InitShadowInstance(args
);
21139 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
= 0;
21141 wxWindow
*arg1
= (wxWindow
*) 0 ;
21143 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21144 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21145 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21146 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21147 long arg5
= (long) 0 ;
21148 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21149 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21150 wxChoicebook
*result
= 0 ;
21159 bool temp6
= false ;
21160 PyObject
* obj0
= 0 ;
21161 PyObject
* obj1
= 0 ;
21162 PyObject
* obj2
= 0 ;
21163 PyObject
* obj3
= 0 ;
21164 PyObject
* obj4
= 0 ;
21165 PyObject
* obj5
= 0 ;
21166 char * kwnames
[] = {
21167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21172 if (!SWIG_IsOK(res1
)) {
21173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21175 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21177 if (!SWIG_IsOK(ecode2
)) {
21178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21180 arg2
= static_cast< int >(val2
);
21184 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21190 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21194 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21195 if (!SWIG_IsOK(ecode5
)) {
21196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21198 arg5
= static_cast< long >(val5
);
21202 arg6
= wxString_in_helper(obj5
);
21203 if (arg6
== NULL
) SWIG_fail
;
21208 if (!wxPyCheckForApp()) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21229 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21230 PyObject
*resultobj
= 0;
21231 wxChoicebook
*result
= 0 ;
21233 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21235 if (!wxPyCheckForApp()) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (wxChoicebook
*)new wxChoicebook();
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21248 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
= 0;
21250 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21251 wxWindow
*arg2
= (wxWindow
*) 0 ;
21253 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21254 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21255 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21256 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21257 long arg6
= (long) 0 ;
21258 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21259 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21271 bool temp7
= false ;
21272 PyObject
* obj0
= 0 ;
21273 PyObject
* obj1
= 0 ;
21274 PyObject
* obj2
= 0 ;
21275 PyObject
* obj3
= 0 ;
21276 PyObject
* obj4
= 0 ;
21277 PyObject
* obj5
= 0 ;
21278 PyObject
* obj6
= 0 ;
21279 char * kwnames
[] = {
21280 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21288 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21290 if (!SWIG_IsOK(res2
)) {
21291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21293 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21295 if (!SWIG_IsOK(ecode3
)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21298 arg3
= static_cast< int >(val3
);
21302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21312 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21313 if (!SWIG_IsOK(ecode6
)) {
21314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21316 arg6
= static_cast< long >(val6
);
21320 arg7
= wxString_in_helper(obj6
);
21321 if (arg7
== NULL
) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21348 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21349 PyObject
*resultobj
= 0;
21350 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21351 wxChoice
*result
= 0 ;
21354 PyObject
*swig_obj
[1] ;
21356 if (!args
) SWIG_fail
;
21357 swig_obj
[0] = args
;
21358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21359 if (!SWIG_IsOK(res1
)) {
21360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21362 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21376 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21379 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21380 return SWIG_Py_Void();
21383 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21384 return SWIG_Python_InitShadowInstance(args
);
21387 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
= 0;
21389 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21390 int arg2
= (int) 0 ;
21391 int arg3
= (int) -1 ;
21392 int arg4
= (int) -1 ;
21393 wxChoicebookEvent
*result
= 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 PyObject
* obj2
= 0 ;
21405 PyObject
* obj3
= 0 ;
21406 char * kwnames
[] = {
21407 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21412 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21413 if (!SWIG_IsOK(ecode1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21416 arg1
= static_cast< wxEventType
>(val1
);
21419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21420 if (!SWIG_IsOK(ecode2
)) {
21421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21423 arg2
= static_cast< int >(val2
);
21426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21427 if (!SWIG_IsOK(ecode3
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21430 arg3
= static_cast< int >(val3
);
21433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21434 if (!SWIG_IsOK(ecode4
)) {
21435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21437 arg4
= static_cast< int >(val4
);
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21452 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21455 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21456 return SWIG_Py_Void();
21459 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21460 return SWIG_Python_InitShadowInstance(args
);
21463 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
= 0;
21465 wxWindow
*arg1
= (wxWindow
*) 0 ;
21467 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21468 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21469 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21470 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21471 long arg5
= (long) wxBK_DEFAULT
;
21472 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21473 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21474 wxTreebook
*result
= 0 ;
21483 bool temp6
= false ;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 PyObject
* obj2
= 0 ;
21487 PyObject
* obj3
= 0 ;
21488 PyObject
* obj4
= 0 ;
21489 PyObject
* obj5
= 0 ;
21490 char * kwnames
[] = {
21491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21496 if (!SWIG_IsOK(res1
)) {
21497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21501 if (!SWIG_IsOK(ecode2
)) {
21502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21504 arg2
= static_cast< int >(val2
);
21508 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21514 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21518 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21519 if (!SWIG_IsOK(ecode5
)) {
21520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21522 arg5
= static_cast< long >(val5
);
21526 arg6
= wxString_in_helper(obj5
);
21527 if (arg6
== NULL
) SWIG_fail
;
21532 if (!wxPyCheckForApp()) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21553 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21554 PyObject
*resultobj
= 0;
21555 wxTreebook
*result
= 0 ;
21557 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21559 if (!wxPyCheckForApp()) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 result
= (wxTreebook
*)new wxTreebook();
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21572 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
= 0;
21574 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21575 wxWindow
*arg2
= (wxWindow
*) 0 ;
21577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21581 long arg6
= (long) wxBK_DEFAULT
;
21582 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21583 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21595 bool temp7
= false ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 PyObject
* obj2
= 0 ;
21599 PyObject
* obj3
= 0 ;
21600 PyObject
* obj4
= 0 ;
21601 PyObject
* obj5
= 0 ;
21602 PyObject
* obj6
= 0 ;
21603 char * kwnames
[] = {
21604 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21609 if (!SWIG_IsOK(res1
)) {
21610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21612 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21614 if (!SWIG_IsOK(res2
)) {
21615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21617 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21619 if (!SWIG_IsOK(ecode3
)) {
21620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21622 arg3
= static_cast< int >(val3
);
21626 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21632 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21636 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21637 if (!SWIG_IsOK(ecode6
)) {
21638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21640 arg6
= static_cast< long >(val6
);
21644 arg7
= wxString_in_helper(obj6
);
21645 if (arg7
== NULL
) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21672 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
= 0;
21674 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21676 wxWindow
*arg3
= (wxWindow
*) 0 ;
21677 wxString
*arg4
= 0 ;
21678 bool arg5
= (bool) false ;
21679 int arg6
= (int) wxNOT_FOUND
;
21687 bool temp4
= false ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 PyObject
* obj2
= 0 ;
21695 PyObject
* obj3
= 0 ;
21696 PyObject
* obj4
= 0 ;
21697 PyObject
* obj5
= 0 ;
21698 char * kwnames
[] = {
21699 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21704 if (!SWIG_IsOK(res1
)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21707 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21708 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21709 if (!SWIG_IsOK(ecode2
)) {
21710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21712 arg2
= static_cast< size_t >(val2
);
21713 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21714 if (!SWIG_IsOK(res3
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21717 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21719 arg4
= wxString_in_helper(obj3
);
21720 if (arg4
== NULL
) SWIG_fail
;
21724 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21725 if (!SWIG_IsOK(ecode5
)) {
21726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21728 arg5
= static_cast< bool >(val5
);
21731 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21732 if (!SWIG_IsOK(ecode6
)) {
21733 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21735 arg6
= static_cast< int >(val6
);
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21760 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21761 PyObject
*resultobj
= 0;
21762 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21763 wxWindow
*arg2
= (wxWindow
*) 0 ;
21764 wxString
*arg3
= 0 ;
21765 bool arg4
= (bool) false ;
21766 int arg5
= (int) wxNOT_FOUND
;
21772 bool temp3
= false ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 PyObject
* obj2
= 0 ;
21780 PyObject
* obj3
= 0 ;
21781 PyObject
* obj4
= 0 ;
21782 char * kwnames
[] = {
21783 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21788 if (!SWIG_IsOK(res1
)) {
21789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21791 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21793 if (!SWIG_IsOK(res2
)) {
21794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21796 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21798 arg3
= wxString_in_helper(obj2
);
21799 if (arg3
== NULL
) SWIG_fail
;
21803 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21804 if (!SWIG_IsOK(ecode4
)) {
21805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21807 arg4
= static_cast< bool >(val4
);
21810 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21811 if (!SWIG_IsOK(ecode5
)) {
21812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21814 arg5
= static_cast< int >(val5
);
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21839 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
= 0;
21841 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char * kwnames
[] = {
21851 (char *) "self",(char *) "pos", NULL
21854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21856 if (!SWIG_IsOK(res1
)) {
21857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21859 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21860 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21861 if (!SWIG_IsOK(ecode2
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21864 arg2
= static_cast< size_t >(val2
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21880 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
= 0;
21882 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21884 bool arg3
= (bool) true ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 PyObject
* obj2
= 0 ;
21895 char * kwnames
[] = {
21896 (char *) "self",(char *) "pos",(char *) "expand", NULL
21899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21901 if (!SWIG_IsOK(res1
)) {
21902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21904 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21905 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21906 if (!SWIG_IsOK(ecode2
)) {
21907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21909 arg2
= static_cast< size_t >(val2
);
21911 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21912 if (!SWIG_IsOK(ecode3
)) {
21913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21915 arg3
= static_cast< bool >(val3
);
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21932 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
= 0;
21934 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char * kwnames
[] = {
21944 (char *) "self",(char *) "pos", NULL
21947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21949 if (!SWIG_IsOK(res1
)) {
21950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21952 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21953 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21954 if (!SWIG_IsOK(ecode2
)) {
21955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21957 arg2
= static_cast< size_t >(val2
);
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (bool)(arg1
)->CollapseNode(arg2
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21973 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
= 0;
21975 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char * kwnames
[] = {
21985 (char *) "self",(char *) "pos", NULL
21988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21990 if (!SWIG_IsOK(res1
)) {
21991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21993 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21994 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21995 if (!SWIG_IsOK(ecode2
)) {
21996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21998 arg2
= static_cast< size_t >(val2
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_From_int(static_cast< int >(result
));
22012 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22013 PyObject
*resultobj
= 0;
22014 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22015 wxTreeCtrl
*result
= 0 ;
22018 PyObject
*swig_obj
[1] ;
22020 if (!args
) SWIG_fail
;
22021 swig_obj
[0] = args
;
22022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22023 if (!SWIG_IsOK(res1
)) {
22024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22026 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22040 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22043 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22044 return SWIG_Py_Void();
22047 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22048 return SWIG_Python_InitShadowInstance(args
);
22051 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
= 0;
22053 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22054 int arg2
= (int) 0 ;
22055 int arg3
= (int) wxNOT_FOUND
;
22056 int arg4
= (int) wxNOT_FOUND
;
22057 wxTreebookEvent
*result
= 0 ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 PyObject
* obj2
= 0 ;
22069 PyObject
* obj3
= 0 ;
22070 char * kwnames
[] = {
22071 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22076 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22077 if (!SWIG_IsOK(ecode1
)) {
22078 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22080 arg1
= static_cast< wxEventType
>(val1
);
22083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22084 if (!SWIG_IsOK(ecode2
)) {
22085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22087 arg2
= static_cast< int >(val2
);
22090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22091 if (!SWIG_IsOK(ecode3
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22094 arg3
= static_cast< int >(val3
);
22097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22098 if (!SWIG_IsOK(ecode4
)) {
22099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22101 arg4
= static_cast< int >(val4
);
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22116 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22119 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22120 return SWIG_Py_Void();
22123 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22124 return SWIG_Python_InitShadowInstance(args
);
22127 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
= 0;
22129 wxWindow
*arg1
= (wxWindow
*) 0 ;
22131 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22132 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22133 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22134 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22135 long arg5
= (long) wxBK_DEFAULT
;
22136 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22137 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22138 wxToolbook
*result
= 0 ;
22147 bool temp6
= false ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 PyObject
* obj3
= 0 ;
22152 PyObject
* obj4
= 0 ;
22153 PyObject
* obj5
= 0 ;
22154 char * kwnames
[] = {
22155 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22160 if (!SWIG_IsOK(res1
)) {
22161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22165 if (!SWIG_IsOK(ecode2
)) {
22166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22168 arg2
= static_cast< int >(val2
);
22172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22178 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22182 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22183 if (!SWIG_IsOK(ecode5
)) {
22184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22186 arg5
= static_cast< long >(val5
);
22190 arg6
= wxString_in_helper(obj5
);
22191 if (arg6
== NULL
) SWIG_fail
;
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22216 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22217 PyObject
*resultobj
= 0;
22218 wxToolbook
*result
= 0 ;
22220 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (wxToolbook
*)new wxToolbook();
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22234 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
= 0;
22236 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22237 wxWindow
*arg2
= (wxWindow
*) 0 ;
22239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22243 long arg6
= (long) 0 ;
22244 wxString
const &arg7_defvalue
= wxEmptyString
;
22245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22257 bool temp7
= false ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 PyObject
* obj2
= 0 ;
22261 PyObject
* obj3
= 0 ;
22262 PyObject
* obj4
= 0 ;
22263 PyObject
* obj5
= 0 ;
22264 PyObject
* obj6
= 0 ;
22265 char * kwnames
[] = {
22266 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22271 if (!SWIG_IsOK(res1
)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22274 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22276 if (!SWIG_IsOK(res2
)) {
22277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22279 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22281 if (!SWIG_IsOK(ecode3
)) {
22282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22284 arg3
= static_cast< int >(val3
);
22288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22298 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22299 if (!SWIG_IsOK(ecode6
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22302 arg6
= static_cast< long >(val6
);
22306 arg7
= wxString_in_helper(obj6
);
22307 if (arg7
== NULL
) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22334 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22335 PyObject
*resultobj
= 0;
22336 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22337 wxToolBarBase
*result
= 0 ;
22340 PyObject
*swig_obj
[1] ;
22342 if (!args
) SWIG_fail
;
22343 swig_obj
[0] = args
;
22344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22345 if (!SWIG_IsOK(res1
)) {
22346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22348 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22364 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22365 PyObject
*resultobj
= 0;
22366 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22369 PyObject
*swig_obj
[1] ;
22371 if (!args
) SWIG_fail
;
22372 swig_obj
[0] = args
;
22373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22377 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_Py_Void();
22391 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22394 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22395 return SWIG_Py_Void();
22398 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22399 return SWIG_Python_InitShadowInstance(args
);
22402 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= 0;
22404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22405 int arg2
= (int) 0 ;
22406 int arg3
= (int) wxNOT_FOUND
;
22407 int arg4
= (int) wxNOT_FOUND
;
22408 wxToolbookEvent
*result
= 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 PyObject
* obj3
= 0 ;
22421 char * kwnames
[] = {
22422 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22428 if (!SWIG_IsOK(ecode1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22431 arg1
= static_cast< wxEventType
>(val1
);
22434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22435 if (!SWIG_IsOK(ecode2
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22438 arg2
= static_cast< int >(val2
);
22441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22442 if (!SWIG_IsOK(ecode3
)) {
22443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22445 arg3
= static_cast< int >(val3
);
22448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22449 if (!SWIG_IsOK(ecode4
)) {
22450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22452 arg4
= static_cast< int >(val4
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22467 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22470 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22471 return SWIG_Py_Void();
22474 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 return SWIG_Python_InitShadowInstance(args
);
22478 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 PyObject
*resultobj
= 0;
22480 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22484 PyObject
*swig_obj
[1] ;
22486 if (!args
) SWIG_fail
;
22487 swig_obj
[0] = args
;
22488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22492 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (int)(arg1
)->GetId();
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_From_int(static_cast< int >(result
));
22506 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22507 PyObject
*resultobj
= 0;
22508 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22509 wxControl
*result
= 0 ;
22512 PyObject
*swig_obj
[1] ;
22514 if (!args
) SWIG_fail
;
22515 swig_obj
[0] = args
;
22516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22517 if (!SWIG_IsOK(res1
)) {
22518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22520 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= (wxControl
*)(arg1
)->GetControl();
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= wxPyMake_wxObject(result
, 0);
22536 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22537 PyObject
*resultobj
= 0;
22538 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22539 wxToolBarBase
*result
= 0 ;
22542 PyObject
*swig_obj
[1] ;
22544 if (!args
) SWIG_fail
;
22545 swig_obj
[0] = args
;
22546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22547 if (!SWIG_IsOK(res1
)) {
22548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22550 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22566 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22567 PyObject
*resultobj
= 0;
22568 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22572 PyObject
*swig_obj
[1] ;
22574 if (!args
) SWIG_fail
;
22575 swig_obj
[0] = args
;
22576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22577 if (!SWIG_IsOK(res1
)) {
22578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22580 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= (int)(arg1
)->IsButton();
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_From_int(static_cast< int >(result
));
22594 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 PyObject
*resultobj
= 0;
22596 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22600 PyObject
*swig_obj
[1] ;
22602 if (!args
) SWIG_fail
;
22603 swig_obj
[0] = args
;
22604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22605 if (!SWIG_IsOK(res1
)) {
22606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22608 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (int)(arg1
)->IsControl();
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= SWIG_From_int(static_cast< int >(result
));
22622 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22623 PyObject
*resultobj
= 0;
22624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22628 PyObject
*swig_obj
[1] ;
22630 if (!args
) SWIG_fail
;
22631 swig_obj
[0] = args
;
22632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22633 if (!SWIG_IsOK(res1
)) {
22634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22636 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (int)(arg1
)->IsSeparator();
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= SWIG_From_int(static_cast< int >(result
));
22650 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22651 PyObject
*resultobj
= 0;
22652 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22656 PyObject
*swig_obj
[1] ;
22658 if (!args
) SWIG_fail
;
22659 swig_obj
[0] = args
;
22660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22661 if (!SWIG_IsOK(res1
)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22664 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (int)(arg1
)->GetStyle();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 resultobj
= SWIG_From_int(static_cast< int >(result
));
22678 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22679 PyObject
*resultobj
= 0;
22680 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22684 PyObject
*swig_obj
[1] ;
22686 if (!args
) SWIG_fail
;
22687 swig_obj
[0] = args
;
22688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22692 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (wxItemKind
)(arg1
)->GetKind();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_From_int(static_cast< int >(result
));
22706 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22707 PyObject
*resultobj
= 0;
22708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22712 PyObject
*swig_obj
[1] ;
22714 if (!args
) SWIG_fail
;
22715 swig_obj
[0] = args
;
22716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22717 if (!SWIG_IsOK(res1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22720 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (bool)(arg1
)->IsEnabled();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22736 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22737 PyObject
*resultobj
= 0;
22738 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22742 PyObject
*swig_obj
[1] ;
22744 if (!args
) SWIG_fail
;
22745 swig_obj
[0] = args
;
22746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22750 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= (bool)(arg1
)->IsToggled();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22766 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22767 PyObject
*resultobj
= 0;
22768 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22772 PyObject
*swig_obj
[1] ;
22774 if (!args
) SWIG_fail
;
22775 swig_obj
[0] = args
;
22776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22777 if (!SWIG_IsOK(res1
)) {
22778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22780 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= (bool)(arg1
)->CanBeToggled();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22796 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22797 PyObject
*resultobj
= 0;
22798 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22799 wxBitmap
*result
= 0 ;
22802 PyObject
*swig_obj
[1] ;
22804 if (!args
) SWIG_fail
;
22805 swig_obj
[0] = args
;
22806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22807 if (!SWIG_IsOK(res1
)) {
22808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22810 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22815 result
= (wxBitmap
*) &_result_ref
;
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22821 wxBitmap
* resultptr
= new wxBitmap(*result
);
22822 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22830 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22831 PyObject
*resultobj
= 0;
22832 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22833 wxBitmap
*result
= 0 ;
22836 PyObject
*swig_obj
[1] ;
22838 if (!args
) SWIG_fail
;
22839 swig_obj
[0] = args
;
22840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22841 if (!SWIG_IsOK(res1
)) {
22842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22844 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22849 result
= (wxBitmap
*) &_result_ref
;
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22855 wxBitmap
* resultptr
= new wxBitmap(*result
);
22856 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22864 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22865 PyObject
*resultobj
= 0;
22866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22870 PyObject
*swig_obj
[1] ;
22872 if (!args
) SWIG_fail
;
22873 swig_obj
[0] = args
;
22874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22878 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (arg1
)->GetBitmap();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22892 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22898 PyObject
*swig_obj
[1] ;
22900 if (!args
) SWIG_fail
;
22901 swig_obj
[0] = args
;
22902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22906 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (arg1
)->GetLabel();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22926 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22927 PyObject
*resultobj
= 0;
22928 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22932 PyObject
*swig_obj
[1] ;
22934 if (!args
) SWIG_fail
;
22935 swig_obj
[0] = args
;
22936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22937 if (!SWIG_IsOK(res1
)) {
22938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22940 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (arg1
)->GetShortHelp();
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22960 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 PyObject
*resultobj
= 0;
22962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22974 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (arg1
)->GetLongHelp();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22994 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
= 0;
22996 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23003 PyObject
* obj0
= 0 ;
23004 PyObject
* obj1
= 0 ;
23005 char * kwnames
[] = {
23006 (char *) "self",(char *) "enable", NULL
23009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23011 if (!SWIG_IsOK(res1
)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23014 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23015 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23016 if (!SWIG_IsOK(ecode2
)) {
23017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23019 arg2
= static_cast< bool >(val2
);
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (bool)(arg1
)->Enable(arg2
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23035 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23036 PyObject
*resultobj
= 0;
23037 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23040 PyObject
*swig_obj
[1] ;
23042 if (!args
) SWIG_fail
;
23043 swig_obj
[0] = args
;
23044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23045 if (!SWIG_IsOK(res1
)) {
23046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23048 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_Py_Void();
23062 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
= 0;
23064 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 char * kwnames
[] = {
23074 (char *) "self",(char *) "toggle", NULL
23077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23079 if (!SWIG_IsOK(res1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23082 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23083 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23084 if (!SWIG_IsOK(ecode2
)) {
23085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23087 arg2
= static_cast< bool >(val2
);
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= (bool)(arg1
)->SetToggle(arg2
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23103 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
= 0;
23105 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23106 wxString
*arg2
= 0 ;
23110 bool temp2
= false ;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 char * kwnames
[] = {
23114 (char *) "self",(char *) "help", NULL
23117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23122 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23124 arg2
= wxString_in_helper(obj1
);
23125 if (arg2
== NULL
) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23151 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
= 0;
23153 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23154 wxString
*arg2
= 0 ;
23158 bool temp2
= false ;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 char * kwnames
[] = {
23162 (char *) "self",(char *) "help", NULL
23165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23167 if (!SWIG_IsOK(res1
)) {
23168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23170 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23172 arg2
= wxString_in_helper(obj1
);
23173 if (arg2
== NULL
) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23199 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
= 0;
23201 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23202 wxBitmap
*arg2
= 0 ;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char * kwnames
[] = {
23210 (char *) "self",(char *) "bmp", NULL
23213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23215 if (!SWIG_IsOK(res1
)) {
23216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23218 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23220 if (!SWIG_IsOK(res2
)) {
23221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23226 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= SWIG_Py_Void();
23240 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
= 0;
23242 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23243 wxBitmap
*arg2
= 0 ;
23248 PyObject
* obj0
= 0 ;
23249 PyObject
* obj1
= 0 ;
23250 char * kwnames
[] = {
23251 (char *) "self",(char *) "bmp", NULL
23254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23256 if (!SWIG_IsOK(res1
)) {
23257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23259 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23261 if (!SWIG_IsOK(res2
)) {
23262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23267 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= SWIG_Py_Void();
23281 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
= 0;
23283 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23284 wxString
*arg2
= 0 ;
23287 bool temp2
= false ;
23288 PyObject
* obj0
= 0 ;
23289 PyObject
* obj1
= 0 ;
23290 char * kwnames
[] = {
23291 (char *) "self",(char *) "label", NULL
23294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23296 if (!SWIG_IsOK(res1
)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23299 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23301 arg2
= wxString_in_helper(obj1
);
23302 if (arg2
== NULL
) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 (arg1
)->SetLabel((wxString
const &)*arg2
);
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= SWIG_Py_Void();
23326 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23327 PyObject
*resultobj
= 0;
23328 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23331 PyObject
*swig_obj
[1] ;
23333 if (!args
) SWIG_fail
;
23334 swig_obj
[0] = args
;
23335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23336 if (!SWIG_IsOK(res1
)) {
23337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23339 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= SWIG_Py_Void();
23353 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
= 0;
23355 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23356 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char * kwnames
[] = {
23364 (char *) "self",(char *) "tbar", NULL
23367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23369 if (!SWIG_IsOK(res1
)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23372 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23374 if (!SWIG_IsOK(res2
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23377 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 (arg1
)->Attach(arg2
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_Py_Void();
23391 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23392 PyObject
*resultobj
= 0;
23393 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23394 PyObject
*result
= 0 ;
23397 PyObject
*swig_obj
[1] ;
23399 if (!args
) SWIG_fail
;
23400 swig_obj
[0] = args
;
23401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23405 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= result
;
23419 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= 0;
23421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23422 PyObject
*arg2
= (PyObject
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 char * kwnames
[] = {
23428 (char *) "self",(char *) "clientData", NULL
23431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23433 if (!SWIG_IsOK(res1
)) {
23434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23436 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 resultobj
= SWIG_Py_Void();
23451 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23454 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23455 return SWIG_Py_Void();
23458 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23462 wxString
*arg3
= 0 ;
23463 wxBitmap
*arg4
= 0 ;
23464 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23465 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23466 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23467 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23468 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23469 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23470 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23471 PyObject
*arg9
= (PyObject
*) NULL
;
23472 wxToolBarToolBase
*result
= 0 ;
23477 bool temp3
= false ;
23484 bool temp7
= false ;
23485 bool temp8
= false ;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 PyObject
* obj2
= 0 ;
23489 PyObject
* obj3
= 0 ;
23490 PyObject
* obj4
= 0 ;
23491 PyObject
* obj5
= 0 ;
23492 PyObject
* obj6
= 0 ;
23493 PyObject
* obj7
= 0 ;
23494 PyObject
* obj8
= 0 ;
23495 char * kwnames
[] = {
23496 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23501 if (!SWIG_IsOK(res1
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23504 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23506 if (!SWIG_IsOK(ecode2
)) {
23507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23509 arg2
= static_cast< int >(val2
);
23511 arg3
= wxString_in_helper(obj2
);
23512 if (arg3
== NULL
) SWIG_fail
;
23515 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23516 if (!SWIG_IsOK(res4
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23522 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23524 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23525 if (!SWIG_IsOK(res5
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23531 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23534 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23535 if (!SWIG_IsOK(ecode6
)) {
23536 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23538 arg6
= static_cast< wxItemKind
>(val6
);
23542 arg7
= wxString_in_helper(obj6
);
23543 if (arg7
== NULL
) SWIG_fail
;
23549 arg8
= wxString_in_helper(obj7
);
23550 if (arg8
== NULL
) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23596 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
= 0;
23598 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23601 wxString
*arg4
= 0 ;
23602 wxBitmap
*arg5
= 0 ;
23603 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23604 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23605 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23606 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23608 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23609 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23610 PyObject
*arg10
= (PyObject
*) NULL
;
23611 wxToolBarToolBase
*result
= 0 ;
23618 bool temp4
= false ;
23625 bool temp8
= false ;
23626 bool temp9
= false ;
23627 PyObject
* obj0
= 0 ;
23628 PyObject
* obj1
= 0 ;
23629 PyObject
* obj2
= 0 ;
23630 PyObject
* obj3
= 0 ;
23631 PyObject
* obj4
= 0 ;
23632 PyObject
* obj5
= 0 ;
23633 PyObject
* obj6
= 0 ;
23634 PyObject
* obj7
= 0 ;
23635 PyObject
* obj8
= 0 ;
23636 PyObject
* obj9
= 0 ;
23637 char * kwnames
[] = {
23638 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23643 if (!SWIG_IsOK(res1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23646 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23647 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23648 if (!SWIG_IsOK(ecode2
)) {
23649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23651 arg2
= static_cast< size_t >(val2
);
23652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23653 if (!SWIG_IsOK(ecode3
)) {
23654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23656 arg3
= static_cast< int >(val3
);
23658 arg4
= wxString_in_helper(obj3
);
23659 if (arg4
== NULL
) SWIG_fail
;
23662 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23663 if (!SWIG_IsOK(res5
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23669 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23671 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23672 if (!SWIG_IsOK(res6
)) {
23673 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23678 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23681 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23682 if (!SWIG_IsOK(ecode7
)) {
23683 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23685 arg7
= static_cast< wxItemKind
>(val7
);
23689 arg8
= wxString_in_helper(obj7
);
23690 if (arg8
== NULL
) SWIG_fail
;
23696 arg9
= wxString_in_helper(obj8
);
23697 if (arg9
== NULL
) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23743 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
= 0;
23745 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23746 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23747 wxToolBarToolBase
*result
= 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char * kwnames
[] = {
23755 (char *) "self",(char *) "tool", NULL
23758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23760 if (!SWIG_IsOK(res1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23763 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23765 if (!SWIG_IsOK(res2
)) {
23766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23768 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23784 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
= 0;
23786 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23788 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23789 wxToolBarToolBase
*result
= 0 ;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 PyObject
* obj2
= 0 ;
23799 char * kwnames
[] = {
23800 (char *) "self",(char *) "pos",(char *) "tool", NULL
23803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23808 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23809 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23810 if (!SWIG_IsOK(ecode2
)) {
23811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23813 arg2
= static_cast< size_t >(val2
);
23814 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23815 if (!SWIG_IsOK(res3
)) {
23816 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23818 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23834 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
= 0;
23836 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23837 wxControl
*arg2
= (wxControl
*) 0 ;
23838 wxToolBarToolBase
*result
= 0 ;
23843 PyObject
* obj0
= 0 ;
23844 PyObject
* obj1
= 0 ;
23845 char * kwnames
[] = {
23846 (char *) "self",(char *) "control", NULL
23849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23851 if (!SWIG_IsOK(res1
)) {
23852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23854 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23856 if (!SWIG_IsOK(res2
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23859 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23875 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
= 0;
23877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23879 wxControl
*arg3
= (wxControl
*) 0 ;
23880 wxToolBarToolBase
*result
= 0 ;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23889 PyObject
* obj2
= 0 ;
23890 char * kwnames
[] = {
23891 (char *) "self",(char *) "pos",(char *) "control", NULL
23894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23896 if (!SWIG_IsOK(res1
)) {
23897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23899 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23900 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23901 if (!SWIG_IsOK(ecode2
)) {
23902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23904 arg2
= static_cast< size_t >(val2
);
23905 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23906 if (!SWIG_IsOK(res3
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23909 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23925 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
= 0;
23927 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23929 wxControl
*result
= 0 ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char * kwnames
[] = {
23937 (char *) "self",(char *) "id", NULL
23940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23942 if (!SWIG_IsOK(res1
)) {
23943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23945 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23947 if (!SWIG_IsOK(ecode2
)) {
23948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23950 arg2
= static_cast< int >(val2
);
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23958 resultobj
= wxPyMake_wxObject(result
, 0);
23966 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23967 PyObject
*resultobj
= 0;
23968 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23969 wxToolBarToolBase
*result
= 0 ;
23972 PyObject
*swig_obj
[1] ;
23974 if (!args
) SWIG_fail
;
23975 swig_obj
[0] = args
;
23976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23977 if (!SWIG_IsOK(res1
)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23980 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23996 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
= 0;
23998 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24000 wxToolBarToolBase
*result
= 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char * kwnames
[] = {
24008 (char *) "self",(char *) "pos", NULL
24011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24013 if (!SWIG_IsOK(res1
)) {
24014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24016 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24017 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24018 if (!SWIG_IsOK(ecode2
)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24021 arg2
= static_cast< size_t >(val2
);
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24037 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
= 0;
24039 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24041 wxToolBarToolBase
*result
= 0 ;
24046 PyObject
* obj0
= 0 ;
24047 PyObject
* obj1
= 0 ;
24048 char * kwnames
[] = {
24049 (char *) "self",(char *) "id", NULL
24052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24054 if (!SWIG_IsOK(res1
)) {
24055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24057 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24059 if (!SWIG_IsOK(ecode2
)) {
24060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24062 arg2
= static_cast< int >(val2
);
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24078 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
= 0;
24080 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24087 PyObject
* obj0
= 0 ;
24088 PyObject
* obj1
= 0 ;
24089 char * kwnames
[] = {
24090 (char *) "self",(char *) "pos", NULL
24093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24095 if (!SWIG_IsOK(res1
)) {
24096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24098 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24099 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24100 if (!SWIG_IsOK(ecode2
)) {
24101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24103 arg2
= static_cast< size_t >(val2
);
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24119 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
= 0;
24121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24128 PyObject
* obj0
= 0 ;
24129 PyObject
* obj1
= 0 ;
24130 char * kwnames
[] = {
24131 (char *) "self",(char *) "id", NULL
24134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24136 if (!SWIG_IsOK(res1
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24139 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24141 if (!SWIG_IsOK(ecode2
)) {
24142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24144 arg2
= static_cast< int >(val2
);
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (bool)(arg1
)->DeleteTool(arg2
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24160 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24161 PyObject
*resultobj
= 0;
24162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24165 PyObject
*swig_obj
[1] ;
24167 if (!args
) SWIG_fail
;
24168 swig_obj
[0] = args
;
24169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24170 if (!SWIG_IsOK(res1
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24173 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 (arg1
)->ClearTools();
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= SWIG_Py_Void();
24187 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24188 PyObject
*resultobj
= 0;
24189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24193 PyObject
*swig_obj
[1] ;
24195 if (!args
) SWIG_fail
;
24196 swig_obj
[0] = args
;
24197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24198 if (!SWIG_IsOK(res1
)) {
24199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24201 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 result
= (bool)(arg1
)->Realize();
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24217 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
= 0;
24219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 PyObject
* obj2
= 0 ;
24231 char * kwnames
[] = {
24232 (char *) "self",(char *) "id",(char *) "enable", NULL
24235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24237 if (!SWIG_IsOK(res1
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24240 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24242 if (!SWIG_IsOK(ecode2
)) {
24243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24245 arg2
= static_cast< int >(val2
);
24246 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24247 if (!SWIG_IsOK(ecode3
)) {
24248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24250 arg3
= static_cast< bool >(val3
);
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 (arg1
)->EnableTool(arg2
,arg3
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_Py_Void();
24264 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
= 0;
24266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 PyObject
* obj2
= 0 ;
24278 char * kwnames
[] = {
24279 (char *) "self",(char *) "id",(char *) "toggle", NULL
24282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24287 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24289 if (!SWIG_IsOK(ecode2
)) {
24290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24292 arg2
= static_cast< int >(val2
);
24293 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24294 if (!SWIG_IsOK(ecode3
)) {
24295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24297 arg3
= static_cast< bool >(val3
);
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 (arg1
)->ToggleTool(arg2
,arg3
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_Py_Void();
24311 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
= 0;
24313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 PyObject
* obj2
= 0 ;
24325 char * kwnames
[] = {
24326 (char *) "self",(char *) "id",(char *) "toggle", NULL
24329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24331 if (!SWIG_IsOK(res1
)) {
24332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24334 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24336 if (!SWIG_IsOK(ecode2
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24339 arg2
= static_cast< int >(val2
);
24340 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24341 if (!SWIG_IsOK(ecode3
)) {
24342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24344 arg3
= static_cast< bool >(val3
);
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 (arg1
)->SetToggle(arg2
,arg3
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24351 resultobj
= SWIG_Py_Void();
24358 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
= 0;
24360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24362 PyObject
*result
= 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char * kwnames
[] = {
24370 (char *) "self",(char *) "id", NULL
24373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24375 if (!SWIG_IsOK(res1
)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24378 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24380 if (!SWIG_IsOK(ecode2
)) {
24381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24383 arg2
= static_cast< int >(val2
);
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= result
;
24397 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
= 0;
24399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24401 PyObject
*arg3
= (PyObject
*) 0 ;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 PyObject
* obj2
= 0 ;
24409 char * kwnames
[] = {
24410 (char *) "self",(char *) "id",(char *) "clientData", NULL
24413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24415 if (!SWIG_IsOK(res1
)) {
24416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24418 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24420 if (!SWIG_IsOK(ecode2
)) {
24421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24423 arg2
= static_cast< int >(val2
);
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= SWIG_Py_Void();
24438 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
= 0;
24440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 char * kwnames
[] = {
24450 (char *) "self",(char *) "id", NULL
24453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24458 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24460 if (!SWIG_IsOK(ecode2
)) {
24461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24463 arg2
= static_cast< int >(val2
);
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 resultobj
= SWIG_From_int(static_cast< int >(result
));
24477 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
= 0;
24479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 char * kwnames
[] = {
24489 (char *) "self",(char *) "id", NULL
24492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24497 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24499 if (!SWIG_IsOK(ecode2
)) {
24500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24502 arg2
= static_cast< int >(val2
);
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= (bool)(arg1
)->GetToolState(arg2
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24518 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
= 0;
24520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 char * kwnames
[] = {
24530 (char *) "self",(char *) "id", NULL
24533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24538 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24540 if (!SWIG_IsOK(ecode2
)) {
24541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24543 arg2
= static_cast< int >(val2
);
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24559 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
= 0;
24561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24563 wxString
*arg3
= 0 ;
24568 bool temp3
= false ;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 PyObject
* obj2
= 0 ;
24572 char * kwnames
[] = {
24573 (char *) "self",(char *) "id",(char *) "helpString", NULL
24576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24581 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24583 if (!SWIG_IsOK(ecode2
)) {
24584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24586 arg2
= static_cast< int >(val2
);
24588 arg3
= wxString_in_helper(obj2
);
24589 if (arg3
== NULL
) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= SWIG_Py_Void();
24613 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
= 0;
24615 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 char * kwnames
[] = {
24625 (char *) "self",(char *) "id", NULL
24628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24630 if (!SWIG_IsOK(res1
)) {
24631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24633 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24635 if (!SWIG_IsOK(ecode2
)) {
24636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24638 arg2
= static_cast< int >(val2
);
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 result
= (arg1
)->GetToolShortHelp(arg2
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24658 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
= 0;
24660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24662 wxString
*arg3
= 0 ;
24667 bool temp3
= false ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 PyObject
* obj2
= 0 ;
24671 char * kwnames
[] = {
24672 (char *) "self",(char *) "id",(char *) "helpString", NULL
24675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24680 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24682 if (!SWIG_IsOK(ecode2
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24685 arg2
= static_cast< int >(val2
);
24687 arg3
= wxString_in_helper(obj2
);
24688 if (arg3
== NULL
) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_Py_Void();
24712 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
= 0;
24714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char * kwnames
[] = {
24724 (char *) "self",(char *) "id", NULL
24727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24729 if (!SWIG_IsOK(res1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24732 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24734 if (!SWIG_IsOK(ecode2
)) {
24735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24737 arg2
= static_cast< int >(val2
);
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (arg1
)->GetToolLongHelp(arg2
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24757 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
= 0;
24759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 PyObject
* obj2
= 0 ;
24771 char * kwnames
[] = {
24772 (char *) "self",(char *) "x",(char *) "y", NULL
24775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24777 if (!SWIG_IsOK(res1
)) {
24778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24780 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24782 if (!SWIG_IsOK(ecode2
)) {
24783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24785 arg2
= static_cast< int >(val2
);
24786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24787 if (!SWIG_IsOK(ecode3
)) {
24788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24790 arg3
= static_cast< int >(val3
);
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetMargins(arg2
,arg3
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= SWIG_Py_Void();
24804 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= 0;
24806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char * kwnames
[] = {
24814 (char *) "self",(char *) "size", NULL
24817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24819 if (!SWIG_IsOK(res1
)) {
24820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24822 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24825 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= SWIG_Py_Void();
24840 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
= 0;
24842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 char * kwnames
[] = {
24851 (char *) "self",(char *) "packing", NULL
24854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24856 if (!SWIG_IsOK(res1
)) {
24857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24859 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24861 if (!SWIG_IsOK(ecode2
)) {
24862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24864 arg2
= static_cast< int >(val2
);
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 (arg1
)->SetToolPacking(arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= SWIG_Py_Void();
24878 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
= 0;
24880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char * kwnames
[] = {
24889 (char *) "self",(char *) "separation", NULL
24892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24894 if (!SWIG_IsOK(res1
)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24897 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24899 if (!SWIG_IsOK(ecode2
)) {
24900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24902 arg2
= static_cast< int >(val2
);
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->SetToolSeparation(arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= SWIG_Py_Void();
24916 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24917 PyObject
*resultobj
= 0;
24918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24922 PyObject
*swig_obj
[1] ;
24924 if (!args
) SWIG_fail
;
24925 swig_obj
[0] = args
;
24926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24927 if (!SWIG_IsOK(res1
)) {
24928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24930 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 result
= (arg1
)->GetToolMargins();
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24944 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24945 PyObject
*resultobj
= 0;
24946 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24950 PyObject
*swig_obj
[1] ;
24952 if (!args
) SWIG_fail
;
24953 swig_obj
[0] = args
;
24954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24955 if (!SWIG_IsOK(res1
)) {
24956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24958 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 result
= (arg1
)->GetMargins();
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24972 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24973 PyObject
*resultobj
= 0;
24974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24978 PyObject
*swig_obj
[1] ;
24980 if (!args
) SWIG_fail
;
24981 swig_obj
[0] = args
;
24982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24983 if (!SWIG_IsOK(res1
)) {
24984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24986 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (int)(arg1
)->GetToolPacking();
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= SWIG_From_int(static_cast< int >(result
));
25000 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25001 PyObject
*resultobj
= 0;
25002 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25006 PyObject
*swig_obj
[1] ;
25008 if (!args
) SWIG_fail
;
25009 swig_obj
[0] = args
;
25010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25011 if (!SWIG_IsOK(res1
)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25014 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (int)(arg1
)->GetToolSeparation();
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_From_int(static_cast< int >(result
));
25028 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
= 0;
25030 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 char * kwnames
[] = {
25039 (char *) "self",(char *) "nRows", NULL
25042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25044 if (!SWIG_IsOK(res1
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25047 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25049 if (!SWIG_IsOK(ecode2
)) {
25050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25052 arg2
= static_cast< int >(val2
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 (arg1
)->SetRows(arg2
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_Py_Void();
25066 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
= 0;
25068 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 PyObject
* obj2
= 0 ;
25080 char * kwnames
[] = {
25081 (char *) "self",(char *) "rows",(char *) "cols", NULL
25084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25086 if (!SWIG_IsOK(res1
)) {
25087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25089 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25091 if (!SWIG_IsOK(ecode2
)) {
25092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25094 arg2
= static_cast< int >(val2
);
25095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25096 if (!SWIG_IsOK(ecode3
)) {
25097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25099 arg3
= static_cast< int >(val3
);
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_Py_Void();
25113 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25114 PyObject
*resultobj
= 0;
25115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25119 PyObject
*swig_obj
[1] ;
25121 if (!args
) SWIG_fail
;
25122 swig_obj
[0] = args
;
25123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25124 if (!SWIG_IsOK(res1
)) {
25125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25127 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (int)(arg1
)->GetMaxRows();
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25134 resultobj
= SWIG_From_int(static_cast< int >(result
));
25141 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25142 PyObject
*resultobj
= 0;
25143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25147 PyObject
*swig_obj
[1] ;
25149 if (!args
) SWIG_fail
;
25150 swig_obj
[0] = args
;
25151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25155 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (int)(arg1
)->GetMaxCols();
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_From_int(static_cast< int >(result
));
25169 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
= 0;
25171 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char * kwnames
[] = {
25179 (char *) "self",(char *) "size", NULL
25182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25184 if (!SWIG_IsOK(res1
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25187 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25190 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_Py_Void();
25205 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25206 PyObject
*resultobj
= 0;
25207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25211 PyObject
*swig_obj
[1] ;
25213 if (!args
) SWIG_fail
;
25214 swig_obj
[0] = args
;
25215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25219 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (arg1
)->GetToolBitmapSize();
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25233 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25234 PyObject
*resultobj
= 0;
25235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25239 PyObject
*swig_obj
[1] ;
25241 if (!args
) SWIG_fail
;
25242 swig_obj
[0] = args
;
25243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25244 if (!SWIG_IsOK(res1
)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25247 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 result
= (arg1
)->GetToolSize();
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25261 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
= 0;
25263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25266 wxToolBarToolBase
*result
= 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 PyObject
* obj2
= 0 ;
25276 char * kwnames
[] = {
25277 (char *) "self",(char *) "x",(char *) "y", NULL
25280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25282 if (!SWIG_IsOK(res1
)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25285 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25287 if (!SWIG_IsOK(ecode2
)) {
25288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25290 arg2
= static_cast< int >(val2
);
25291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25292 if (!SWIG_IsOK(ecode3
)) {
25293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25295 arg3
= static_cast< int >(val3
);
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25311 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
= 0;
25313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25315 wxToolBarToolBase
*result
= 0 ;
25320 PyObject
* obj0
= 0 ;
25321 PyObject
* obj1
= 0 ;
25322 char * kwnames
[] = {
25323 (char *) "self",(char *) "toolid", NULL
25326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25328 if (!SWIG_IsOK(res1
)) {
25329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25331 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25333 if (!SWIG_IsOK(ecode2
)) {
25334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25336 arg2
= static_cast< int >(val2
);
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25352 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25353 PyObject
*resultobj
= 0;
25354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25358 PyObject
*swig_obj
[1] ;
25360 if (!args
) SWIG_fail
;
25361 swig_obj
[0] = args
;
25362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25363 if (!SWIG_IsOK(res1
)) {
25364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25366 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 result
= (bool)(arg1
)->IsVertical();
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25382 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25388 PyObject
*swig_obj
[1] ;
25390 if (!args
) SWIG_fail
;
25391 swig_obj
[0] = args
;
25392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25396 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25410 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25413 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25414 return SWIG_Py_Void();
25417 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxWindow
*arg1
= (wxWindow
*) 0 ;
25420 int arg2
= (int) -1 ;
25421 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25422 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25423 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25424 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25425 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25426 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25427 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25428 wxToolBar
*result
= 0 ;
25437 bool temp6
= false ;
25438 PyObject
* obj0
= 0 ;
25439 PyObject
* obj1
= 0 ;
25440 PyObject
* obj2
= 0 ;
25441 PyObject
* obj3
= 0 ;
25442 PyObject
* obj4
= 0 ;
25443 PyObject
* obj5
= 0 ;
25444 char * kwnames
[] = {
25445 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25450 if (!SWIG_IsOK(res1
)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25453 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25456 if (!SWIG_IsOK(ecode2
)) {
25457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25459 arg2
= static_cast< int >(val2
);
25464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25470 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25474 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25475 if (!SWIG_IsOK(ecode5
)) {
25476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25478 arg5
= static_cast< long >(val5
);
25482 arg6
= wxString_in_helper(obj5
);
25483 if (arg6
== NULL
) SWIG_fail
;
25488 if (!wxPyCheckForApp()) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25509 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25510 PyObject
*resultobj
= 0;
25511 wxToolBar
*result
= 0 ;
25513 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25515 if (!wxPyCheckForApp()) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 result
= (wxToolBar
*)new wxToolBar();
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25528 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
= 0;
25530 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25531 wxWindow
*arg2
= (wxWindow
*) 0 ;
25532 int arg3
= (int) -1 ;
25533 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25534 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25535 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25536 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25537 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25538 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25539 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25551 bool temp7
= false ;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 PyObject
* obj2
= 0 ;
25555 PyObject
* obj3
= 0 ;
25556 PyObject
* obj4
= 0 ;
25557 PyObject
* obj5
= 0 ;
25558 PyObject
* obj6
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25568 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25570 if (!SWIG_IsOK(res2
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25573 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25576 if (!SWIG_IsOK(ecode3
)) {
25577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25579 arg3
= static_cast< int >(val3
);
25584 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25590 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25594 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25595 if (!SWIG_IsOK(ecode6
)) {
25596 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25598 arg6
= static_cast< long >(val6
);
25602 arg7
= wxString_in_helper(obj6
);
25603 if (arg7
== NULL
) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25630 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
= 0;
25632 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25633 SwigValueWrapper
<wxVisualAttributes
> result
;
25636 PyObject
* obj0
= 0 ;
25637 char * kwnames
[] = {
25638 (char *) "variant", NULL
25641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25644 if (!SWIG_IsOK(ecode1
)) {
25645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25647 arg1
= static_cast< wxWindowVariant
>(val1
);
25650 if (!wxPyCheckForApp()) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25663 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25666 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25667 return SWIG_Py_Void();
25670 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25671 return SWIG_Python_InitShadowInstance(args
);
25674 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25675 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25680 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25681 PyObject
*pyobj
= 0;
25685 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25687 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25694 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
= 0;
25696 wxColour
const &arg1_defvalue
= wxNullColour
;
25697 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25698 wxColour
const &arg2_defvalue
= wxNullColour
;
25699 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25700 wxFont
const &arg3_defvalue
= wxNullFont
;
25701 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25702 wxListItemAttr
*result
= 0 ;
25707 PyObject
* obj0
= 0 ;
25708 PyObject
* obj1
= 0 ;
25709 PyObject
* obj2
= 0 ;
25710 char * kwnames
[] = {
25711 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25718 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25724 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25728 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25729 if (!SWIG_IsOK(res3
)) {
25730 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25735 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25750 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 PyObject
*resultobj
= 0;
25752 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25755 PyObject
*swig_obj
[1] ;
25757 if (!args
) SWIG_fail
;
25758 swig_obj
[0] = args
;
25759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25760 if (!SWIG_IsOK(res1
)) {
25761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25763 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_Py_Void();
25778 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
= 0;
25780 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25781 wxColour
*arg2
= 0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 char * kwnames
[] = {
25788 (char *) "self",(char *) "colText", NULL
25791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25793 if (!SWIG_IsOK(res1
)) {
25794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25796 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25799 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25807 resultobj
= SWIG_Py_Void();
25814 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
= 0;
25816 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25817 wxColour
*arg2
= 0 ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 char * kwnames
[] = {
25824 (char *) "self",(char *) "colBack", NULL
25827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25832 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25835 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_Py_Void();
25850 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
= 0;
25852 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25858 PyObject
* obj0
= 0 ;
25859 PyObject
* obj1
= 0 ;
25860 char * kwnames
[] = {
25861 (char *) "self",(char *) "font", NULL
25864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25866 if (!SWIG_IsOK(res1
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25869 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25871 if (!SWIG_IsOK(res2
)) {
25872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25877 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 (arg1
)->SetFont((wxFont
const &)*arg2
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= SWIG_Py_Void();
25891 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25892 PyObject
*resultobj
= 0;
25893 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25897 PyObject
*swig_obj
[1] ;
25899 if (!args
) SWIG_fail
;
25900 swig_obj
[0] = args
;
25901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25905 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= (bool)(arg1
)->HasTextColour();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25921 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25922 PyObject
*resultobj
= 0;
25923 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25927 PyObject
*swig_obj
[1] ;
25929 if (!args
) SWIG_fail
;
25930 swig_obj
[0] = args
;
25931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25932 if (!SWIG_IsOK(res1
)) {
25933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25935 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 result
= (bool)(arg1
)->HasBackgroundColour();
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25951 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25952 PyObject
*resultobj
= 0;
25953 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25957 PyObject
*swig_obj
[1] ;
25959 if (!args
) SWIG_fail
;
25960 swig_obj
[0] = args
;
25961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25962 if (!SWIG_IsOK(res1
)) {
25963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25965 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 result
= (bool)(arg1
)->HasFont();
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25981 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25982 PyObject
*resultobj
= 0;
25983 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25987 PyObject
*swig_obj
[1] ;
25989 if (!args
) SWIG_fail
;
25990 swig_obj
[0] = args
;
25991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25995 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 result
= (arg1
)->GetTextColour();
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26009 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26010 PyObject
*resultobj
= 0;
26011 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26015 PyObject
*swig_obj
[1] ;
26017 if (!args
) SWIG_fail
;
26018 swig_obj
[0] = args
;
26019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26020 if (!SWIG_IsOK(res1
)) {
26021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26023 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 result
= (arg1
)->GetBackgroundColour();
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26037 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26038 PyObject
*resultobj
= 0;
26039 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26043 PyObject
*swig_obj
[1] ;
26045 if (!args
) SWIG_fail
;
26046 swig_obj
[0] = args
;
26047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26051 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (arg1
)->GetFont();
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26065 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
= 0;
26067 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26068 wxListItemAttr
*arg2
= 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char * kwnames
[] = {
26076 (char *) "self",(char *) "source", NULL
26079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26081 if (!SWIG_IsOK(res1
)) {
26082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26084 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26086 if (!SWIG_IsOK(res2
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26092 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_Py_Void();
26106 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26107 PyObject
*resultobj
= 0;
26108 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26111 PyObject
*swig_obj
[1] ;
26113 if (!args
) SWIG_fail
;
26114 swig_obj
[0] = args
;
26115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26119 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 wxListItemAttr_Destroy(arg1
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_Py_Void();
26133 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26136 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26137 return SWIG_Py_Void();
26140 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26141 return SWIG_Python_InitShadowInstance(args
);
26144 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26145 PyObject
*resultobj
= 0;
26146 wxListItem
*result
= 0 ;
26148 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 result
= (wxListItem
*)new wxListItem();
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26164 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26165 PyObject
*resultobj
= 0;
26166 wxListItem
*arg1
= (wxListItem
*) 0 ;
26169 PyObject
*swig_obj
[1] ;
26171 if (!args
) SWIG_fail
;
26172 swig_obj
[0] = args
;
26173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26174 if (!SWIG_IsOK(res1
)) {
26175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26177 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_Py_Void();
26192 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26193 PyObject
*resultobj
= 0;
26194 wxListItem
*arg1
= (wxListItem
*) 0 ;
26197 PyObject
*swig_obj
[1] ;
26199 if (!args
) SWIG_fail
;
26200 swig_obj
[0] = args
;
26201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26205 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26219 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26220 PyObject
*resultobj
= 0;
26221 wxListItem
*arg1
= (wxListItem
*) 0 ;
26224 PyObject
*swig_obj
[1] ;
26226 if (!args
) SWIG_fail
;
26227 swig_obj
[0] = args
;
26228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26229 if (!SWIG_IsOK(res1
)) {
26230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26232 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 (arg1
)->ClearAttributes();
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 resultobj
= SWIG_Py_Void();
26246 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
= 0;
26248 wxListItem
*arg1
= (wxListItem
*) 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 char * kwnames
[] = {
26257 (char *) "self",(char *) "mask", NULL
26260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26262 if (!SWIG_IsOK(res1
)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26265 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26266 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26267 if (!SWIG_IsOK(ecode2
)) {
26268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26270 arg2
= static_cast< long >(val2
);
26272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 (arg1
)->SetMask(arg2
);
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= SWIG_Py_Void();
26284 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
= 0;
26286 wxListItem
*arg1
= (wxListItem
*) 0 ;
26292 PyObject
* obj0
= 0 ;
26293 PyObject
* obj1
= 0 ;
26294 char * kwnames
[] = {
26295 (char *) "self",(char *) "id", NULL
26298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26300 if (!SWIG_IsOK(res1
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26303 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26304 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26305 if (!SWIG_IsOK(ecode2
)) {
26306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26308 arg2
= static_cast< long >(val2
);
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 (arg1
)->SetId(arg2
);
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26315 resultobj
= SWIG_Py_Void();
26322 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26323 PyObject
*resultobj
= 0;
26324 wxListItem
*arg1
= (wxListItem
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 char * kwnames
[] = {
26333 (char *) "self",(char *) "col", NULL
26336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26338 if (!SWIG_IsOK(res1
)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26341 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26343 if (!SWIG_IsOK(ecode2
)) {
26344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26346 arg2
= static_cast< int >(val2
);
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 (arg1
)->SetColumn(arg2
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_Py_Void();
26360 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
= 0;
26362 wxListItem
*arg1
= (wxListItem
*) 0 ;
26368 PyObject
* obj0
= 0 ;
26369 PyObject
* obj1
= 0 ;
26370 char * kwnames
[] = {
26371 (char *) "self",(char *) "state", NULL
26374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26376 if (!SWIG_IsOK(res1
)) {
26377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26379 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26380 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26381 if (!SWIG_IsOK(ecode2
)) {
26382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26384 arg2
= static_cast< long >(val2
);
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 (arg1
)->SetState(arg2
);
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 resultobj
= SWIG_Py_Void();
26398 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
= 0;
26400 wxListItem
*arg1
= (wxListItem
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 char * kwnames
[] = {
26409 (char *) "self",(char *) "stateMask", NULL
26412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26414 if (!SWIG_IsOK(res1
)) {
26415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26417 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26418 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26419 if (!SWIG_IsOK(ecode2
)) {
26420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26422 arg2
= static_cast< long >(val2
);
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 (arg1
)->SetStateMask(arg2
);
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_Py_Void();
26436 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
= 0;
26438 wxListItem
*arg1
= (wxListItem
*) 0 ;
26439 wxString
*arg2
= 0 ;
26442 bool temp2
= false ;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 char * kwnames
[] = {
26446 (char *) "self",(char *) "text", NULL
26449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26451 if (!SWIG_IsOK(res1
)) {
26452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26454 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26456 arg2
= wxString_in_helper(obj1
);
26457 if (arg2
== NULL
) SWIG_fail
;
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 (arg1
)->SetText((wxString
const &)*arg2
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= SWIG_Py_Void();
26481 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
= 0;
26483 wxListItem
*arg1
= (wxListItem
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 char * kwnames
[] = {
26492 (char *) "self",(char *) "image", NULL
26495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26497 if (!SWIG_IsOK(res1
)) {
26498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26500 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26502 if (!SWIG_IsOK(ecode2
)) {
26503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26505 arg2
= static_cast< int >(val2
);
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 (arg1
)->SetImage(arg2
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_Py_Void();
26519 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
= 0;
26521 wxListItem
*arg1
= (wxListItem
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 char * kwnames
[] = {
26530 (char *) "self",(char *) "data", NULL
26533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26535 if (!SWIG_IsOK(res1
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26538 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26539 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26540 if (!SWIG_IsOK(ecode2
)) {
26541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26543 arg2
= static_cast< long >(val2
);
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 (arg1
)->SetData(arg2
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 resultobj
= SWIG_Py_Void();
26557 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
= 0;
26559 wxListItem
*arg1
= (wxListItem
*) 0 ;
26565 PyObject
* obj0
= 0 ;
26566 PyObject
* obj1
= 0 ;
26567 char * kwnames
[] = {
26568 (char *) "self",(char *) "width", NULL
26571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26576 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26578 if (!SWIG_IsOK(ecode2
)) {
26579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26581 arg2
= static_cast< int >(val2
);
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->SetWidth(arg2
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxListItem
*arg1
= (wxListItem
*) 0 ;
26598 wxListColumnFormat arg2
;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char * kwnames
[] = {
26606 (char *) "self",(char *) "align", NULL
26609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26614 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26616 if (!SWIG_IsOK(ecode2
)) {
26617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26619 arg2
= static_cast< wxListColumnFormat
>(val2
);
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->SetAlign(arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
= 0;
26635 wxListItem
*arg1
= (wxListItem
*) 0 ;
26636 wxColour
*arg2
= 0 ;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 char * kwnames
[] = {
26643 (char *) "self",(char *) "colText", NULL
26646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26648 if (!SWIG_IsOK(res1
)) {
26649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26651 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26654 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26658 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_Py_Void();
26669 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
= 0;
26671 wxListItem
*arg1
= (wxListItem
*) 0 ;
26672 wxColour
*arg2
= 0 ;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 char * kwnames
[] = {
26679 (char *) "self",(char *) "colBack", NULL
26682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26684 if (!SWIG_IsOK(res1
)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26687 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= SWIG_Py_Void();
26705 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
= 0;
26707 wxListItem
*arg1
= (wxListItem
*) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26715 char * kwnames
[] = {
26716 (char *) "self",(char *) "font", NULL
26719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26721 if (!SWIG_IsOK(res1
)) {
26722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26724 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26726 if (!SWIG_IsOK(res2
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26732 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 (arg1
)->SetFont((wxFont
const &)*arg2
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= SWIG_Py_Void();
26746 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26747 PyObject
*resultobj
= 0;
26748 wxListItem
*arg1
= (wxListItem
*) 0 ;
26752 PyObject
*swig_obj
[1] ;
26754 if (!args
) SWIG_fail
;
26755 swig_obj
[0] = args
;
26756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26757 if (!SWIG_IsOK(res1
)) {
26758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26760 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (long)(arg1
)->GetMask();
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 resultobj
= SWIG_From_long(static_cast< long >(result
));
26774 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26775 PyObject
*resultobj
= 0;
26776 wxListItem
*arg1
= (wxListItem
*) 0 ;
26780 PyObject
*swig_obj
[1] ;
26782 if (!args
) SWIG_fail
;
26783 swig_obj
[0] = args
;
26784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26785 if (!SWIG_IsOK(res1
)) {
26786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26788 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= (long)(arg1
)->GetId();
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_From_long(static_cast< long >(result
));
26802 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26803 PyObject
*resultobj
= 0;
26804 wxListItem
*arg1
= (wxListItem
*) 0 ;
26808 PyObject
*swig_obj
[1] ;
26810 if (!args
) SWIG_fail
;
26811 swig_obj
[0] = args
;
26812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26813 if (!SWIG_IsOK(res1
)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26816 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= (int)(arg1
)->GetColumn();
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_From_int(static_cast< int >(result
));
26830 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26831 PyObject
*resultobj
= 0;
26832 wxListItem
*arg1
= (wxListItem
*) 0 ;
26836 PyObject
*swig_obj
[1] ;
26838 if (!args
) SWIG_fail
;
26839 swig_obj
[0] = args
;
26840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26844 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= (long)(arg1
)->GetState();
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= SWIG_From_long(static_cast< long >(result
));
26858 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26859 PyObject
*resultobj
= 0;
26860 wxListItem
*arg1
= (wxListItem
*) 0 ;
26861 wxString
*result
= 0 ;
26864 PyObject
*swig_obj
[1] ;
26866 if (!args
) SWIG_fail
;
26867 swig_obj
[0] = args
;
26868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26872 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 wxString
const &_result_ref
= (arg1
)->GetText();
26877 result
= (wxString
*) &_result_ref
;
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26886 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26895 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26896 PyObject
*resultobj
= 0;
26897 wxListItem
*arg1
= (wxListItem
*) 0 ;
26901 PyObject
*swig_obj
[1] ;
26903 if (!args
) SWIG_fail
;
26904 swig_obj
[0] = args
;
26905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26909 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (int)(arg1
)->GetImage();
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= SWIG_From_int(static_cast< int >(result
));
26923 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26924 PyObject
*resultobj
= 0;
26925 wxListItem
*arg1
= (wxListItem
*) 0 ;
26929 PyObject
*swig_obj
[1] ;
26931 if (!args
) SWIG_fail
;
26932 swig_obj
[0] = args
;
26933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26934 if (!SWIG_IsOK(res1
)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26937 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (long)(arg1
)->GetData();
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= SWIG_From_long(static_cast< long >(result
));
26951 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26952 PyObject
*resultobj
= 0;
26953 wxListItem
*arg1
= (wxListItem
*) 0 ;
26957 PyObject
*swig_obj
[1] ;
26959 if (!args
) SWIG_fail
;
26960 swig_obj
[0] = args
;
26961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26962 if (!SWIG_IsOK(res1
)) {
26963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26965 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 result
= (int)(arg1
)->GetWidth();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= SWIG_From_int(static_cast< int >(result
));
26979 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26980 PyObject
*resultobj
= 0;
26981 wxListItem
*arg1
= (wxListItem
*) 0 ;
26982 wxListColumnFormat result
;
26985 PyObject
*swig_obj
[1] ;
26987 if (!args
) SWIG_fail
;
26988 swig_obj
[0] = args
;
26989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26993 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= SWIG_From_int(static_cast< int >(result
));
27007 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27008 PyObject
*resultobj
= 0;
27009 wxListItem
*arg1
= (wxListItem
*) 0 ;
27010 wxListItemAttr
*result
= 0 ;
27013 PyObject
*swig_obj
[1] ;
27015 if (!args
) SWIG_fail
;
27016 swig_obj
[0] = args
;
27017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27018 if (!SWIG_IsOK(res1
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27021 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27035 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27036 PyObject
*resultobj
= 0;
27037 wxListItem
*arg1
= (wxListItem
*) 0 ;
27041 PyObject
*swig_obj
[1] ;
27043 if (!args
) SWIG_fail
;
27044 swig_obj
[0] = args
;
27045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27049 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 result
= (bool)(arg1
)->HasAttributes();
27053 wxPyEndAllowThreads(__tstate
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27065 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27066 PyObject
*resultobj
= 0;
27067 wxListItem
*arg1
= (wxListItem
*) 0 ;
27071 PyObject
*swig_obj
[1] ;
27073 if (!args
) SWIG_fail
;
27074 swig_obj
[0] = args
;
27075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27079 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27093 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27094 PyObject
*resultobj
= 0;
27095 wxListItem
*arg1
= (wxListItem
*) 0 ;
27099 PyObject
*swig_obj
[1] ;
27101 if (!args
) SWIG_fail
;
27102 swig_obj
[0] = args
;
27103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27107 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27121 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27122 PyObject
*resultobj
= 0;
27123 wxListItem
*arg1
= (wxListItem
*) 0 ;
27127 PyObject
*swig_obj
[1] ;
27129 if (!args
) SWIG_fail
;
27130 swig_obj
[0] = args
;
27131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27132 if (!SWIG_IsOK(res1
)) {
27133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27135 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= ((wxListItem
const *)arg1
)->GetFont();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27142 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27149 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27150 PyObject
*resultobj
= 0;
27151 wxListItem
*arg1
= (wxListItem
*) 0 ;
27157 PyObject
*swig_obj
[2] ;
27159 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27161 if (!SWIG_IsOK(res1
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27164 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27165 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27166 if (!SWIG_IsOK(ecode2
)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27169 arg2
= static_cast< long >(val2
);
27170 if (arg1
) (arg1
)->m_mask
= arg2
;
27172 resultobj
= SWIG_Py_Void();
27179 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 PyObject
*resultobj
= 0;
27181 wxListItem
*arg1
= (wxListItem
*) 0 ;
27185 PyObject
*swig_obj
[1] ;
27187 if (!args
) SWIG_fail
;
27188 swig_obj
[0] = args
;
27189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27190 if (!SWIG_IsOK(res1
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27193 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27194 result
= (long) ((arg1
)->m_mask
);
27195 resultobj
= SWIG_From_long(static_cast< long >(result
));
27202 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27203 PyObject
*resultobj
= 0;
27204 wxListItem
*arg1
= (wxListItem
*) 0 ;
27210 PyObject
*swig_obj
[2] ;
27212 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27214 if (!SWIG_IsOK(res1
)) {
27215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27217 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27218 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27219 if (!SWIG_IsOK(ecode2
)) {
27220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27222 arg2
= static_cast< long >(val2
);
27223 if (arg1
) (arg1
)->m_itemId
= arg2
;
27225 resultobj
= SWIG_Py_Void();
27232 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 PyObject
*resultobj
= 0;
27234 wxListItem
*arg1
= (wxListItem
*) 0 ;
27238 PyObject
*swig_obj
[1] ;
27240 if (!args
) SWIG_fail
;
27241 swig_obj
[0] = args
;
27242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27243 if (!SWIG_IsOK(res1
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27246 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27247 result
= (long) ((arg1
)->m_itemId
);
27248 resultobj
= SWIG_From_long(static_cast< long >(result
));
27255 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27256 PyObject
*resultobj
= 0;
27257 wxListItem
*arg1
= (wxListItem
*) 0 ;
27263 PyObject
*swig_obj
[2] ;
27265 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27267 if (!SWIG_IsOK(res1
)) {
27268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27270 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27271 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27272 if (!SWIG_IsOK(ecode2
)) {
27273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27275 arg2
= static_cast< int >(val2
);
27276 if (arg1
) (arg1
)->m_col
= arg2
;
27278 resultobj
= SWIG_Py_Void();
27285 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27286 PyObject
*resultobj
= 0;
27287 wxListItem
*arg1
= (wxListItem
*) 0 ;
27291 PyObject
*swig_obj
[1] ;
27293 if (!args
) SWIG_fail
;
27294 swig_obj
[0] = args
;
27295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27296 if (!SWIG_IsOK(res1
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27299 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27300 result
= (int) ((arg1
)->m_col
);
27301 resultobj
= SWIG_From_int(static_cast< int >(result
));
27308 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27309 PyObject
*resultobj
= 0;
27310 wxListItem
*arg1
= (wxListItem
*) 0 ;
27316 PyObject
*swig_obj
[2] ;
27318 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27320 if (!SWIG_IsOK(res1
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27323 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27324 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27325 if (!SWIG_IsOK(ecode2
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27328 arg2
= static_cast< long >(val2
);
27329 if (arg1
) (arg1
)->m_state
= arg2
;
27331 resultobj
= SWIG_Py_Void();
27338 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27339 PyObject
*resultobj
= 0;
27340 wxListItem
*arg1
= (wxListItem
*) 0 ;
27344 PyObject
*swig_obj
[1] ;
27346 if (!args
) SWIG_fail
;
27347 swig_obj
[0] = args
;
27348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27349 if (!SWIG_IsOK(res1
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27352 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27353 result
= (long) ((arg1
)->m_state
);
27354 resultobj
= SWIG_From_long(static_cast< long >(result
));
27361 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 PyObject
*resultobj
= 0;
27363 wxListItem
*arg1
= (wxListItem
*) 0 ;
27369 PyObject
*swig_obj
[2] ;
27371 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27373 if (!SWIG_IsOK(res1
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27376 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27377 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27378 if (!SWIG_IsOK(ecode2
)) {
27379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27381 arg2
= static_cast< long >(val2
);
27382 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27384 resultobj
= SWIG_Py_Void();
27391 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27392 PyObject
*resultobj
= 0;
27393 wxListItem
*arg1
= (wxListItem
*) 0 ;
27397 PyObject
*swig_obj
[1] ;
27399 if (!args
) SWIG_fail
;
27400 swig_obj
[0] = args
;
27401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27402 if (!SWIG_IsOK(res1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27405 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27406 result
= (long) ((arg1
)->m_stateMask
);
27407 resultobj
= SWIG_From_long(static_cast< long >(result
));
27414 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27415 PyObject
*resultobj
= 0;
27416 wxListItem
*arg1
= (wxListItem
*) 0 ;
27417 wxString
*arg2
= (wxString
*) 0 ;
27420 bool temp2
= false ;
27421 PyObject
*swig_obj
[2] ;
27423 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_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_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27430 arg2
= wxString_in_helper(swig_obj
[1]);
27431 if (arg2
== NULL
) SWIG_fail
;
27434 if (arg1
) (arg1
)->m_text
= *arg2
;
27436 resultobj
= SWIG_Py_Void();
27451 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27452 PyObject
*resultobj
= 0;
27453 wxListItem
*arg1
= (wxListItem
*) 0 ;
27454 wxString
*result
= 0 ;
27457 PyObject
*swig_obj
[1] ;
27459 if (!args
) SWIG_fail
;
27460 swig_obj
[0] = args
;
27461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27462 if (!SWIG_IsOK(res1
)) {
27463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27465 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27466 result
= (wxString
*)& ((arg1
)->m_text
);
27469 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27471 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27480 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27481 PyObject
*resultobj
= 0;
27482 wxListItem
*arg1
= (wxListItem
*) 0 ;
27488 PyObject
*swig_obj
[2] ;
27490 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27492 if (!SWIG_IsOK(res1
)) {
27493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27495 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27496 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27497 if (!SWIG_IsOK(ecode2
)) {
27498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27500 arg2
= static_cast< int >(val2
);
27501 if (arg1
) (arg1
)->m_image
= arg2
;
27503 resultobj
= SWIG_Py_Void();
27510 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27511 PyObject
*resultobj
= 0;
27512 wxListItem
*arg1
= (wxListItem
*) 0 ;
27516 PyObject
*swig_obj
[1] ;
27518 if (!args
) SWIG_fail
;
27519 swig_obj
[0] = args
;
27520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27521 if (!SWIG_IsOK(res1
)) {
27522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27524 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27525 result
= (int) ((arg1
)->m_image
);
27526 resultobj
= SWIG_From_int(static_cast< int >(result
));
27533 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27534 PyObject
*resultobj
= 0;
27535 wxListItem
*arg1
= (wxListItem
*) 0 ;
27541 PyObject
*swig_obj
[2] ;
27543 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27545 if (!SWIG_IsOK(res1
)) {
27546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27548 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27549 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27550 if (!SWIG_IsOK(ecode2
)) {
27551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27553 arg2
= static_cast< long >(val2
);
27554 if (arg1
) (arg1
)->m_data
= arg2
;
27556 resultobj
= SWIG_Py_Void();
27563 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27564 PyObject
*resultobj
= 0;
27565 wxListItem
*arg1
= (wxListItem
*) 0 ;
27569 PyObject
*swig_obj
[1] ;
27571 if (!args
) SWIG_fail
;
27572 swig_obj
[0] = args
;
27573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27574 if (!SWIG_IsOK(res1
)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27577 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27578 result
= (long) ((arg1
)->m_data
);
27579 resultobj
= SWIG_From_long(static_cast< long >(result
));
27586 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27587 PyObject
*resultobj
= 0;
27588 wxListItem
*arg1
= (wxListItem
*) 0 ;
27594 PyObject
*swig_obj
[2] ;
27596 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27598 if (!SWIG_IsOK(res1
)) {
27599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27601 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27602 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27603 if (!SWIG_IsOK(ecode2
)) {
27604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27606 arg2
= static_cast< int >(val2
);
27607 if (arg1
) (arg1
)->m_format
= arg2
;
27609 resultobj
= SWIG_Py_Void();
27616 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27617 PyObject
*resultobj
= 0;
27618 wxListItem
*arg1
= (wxListItem
*) 0 ;
27622 PyObject
*swig_obj
[1] ;
27624 if (!args
) SWIG_fail
;
27625 swig_obj
[0] = args
;
27626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27631 result
= (int) ((arg1
)->m_format
);
27632 resultobj
= SWIG_From_int(static_cast< int >(result
));
27639 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27640 PyObject
*resultobj
= 0;
27641 wxListItem
*arg1
= (wxListItem
*) 0 ;
27647 PyObject
*swig_obj
[2] ;
27649 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27651 if (!SWIG_IsOK(res1
)) {
27652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27654 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27655 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27656 if (!SWIG_IsOK(ecode2
)) {
27657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27659 arg2
= static_cast< int >(val2
);
27660 if (arg1
) (arg1
)->m_width
= arg2
;
27662 resultobj
= SWIG_Py_Void();
27669 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27670 PyObject
*resultobj
= 0;
27671 wxListItem
*arg1
= (wxListItem
*) 0 ;
27675 PyObject
*swig_obj
[1] ;
27677 if (!args
) SWIG_fail
;
27678 swig_obj
[0] = args
;
27679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27680 if (!SWIG_IsOK(res1
)) {
27681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27683 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27684 result
= (int) ((arg1
)->m_width
);
27685 resultobj
= SWIG_From_int(static_cast< int >(result
));
27692 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27695 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27696 return SWIG_Py_Void();
27699 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27700 return SWIG_Python_InitShadowInstance(args
);
27703 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
= 0;
27705 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27706 int arg2
= (int) 0 ;
27707 wxListEvent
*result
= 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 char * kwnames
[] = {
27715 (char *) "commandType",(char *) "id", NULL
27718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27721 if (!SWIG_IsOK(ecode1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27724 arg1
= static_cast< wxEventType
>(val1
);
27727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27728 if (!SWIG_IsOK(ecode2
)) {
27729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27731 arg2
= static_cast< int >(val2
);
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27746 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27747 PyObject
*resultobj
= 0;
27748 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27754 PyObject
*swig_obj
[2] ;
27756 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27761 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27762 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27763 if (!SWIG_IsOK(ecode2
)) {
27764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27766 arg2
= static_cast< int >(val2
);
27767 if (arg1
) (arg1
)->m_code
= arg2
;
27769 resultobj
= SWIG_Py_Void();
27776 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27777 PyObject
*resultobj
= 0;
27778 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27782 PyObject
*swig_obj
[1] ;
27784 if (!args
) SWIG_fail
;
27785 swig_obj
[0] = args
;
27786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27787 if (!SWIG_IsOK(res1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27790 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27791 result
= (int) ((arg1
)->m_code
);
27792 resultobj
= SWIG_From_int(static_cast< int >(result
));
27799 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27800 PyObject
*resultobj
= 0;
27801 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27807 PyObject
*swig_obj
[2] ;
27809 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27814 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27815 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27816 if (!SWIG_IsOK(ecode2
)) {
27817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27819 arg2
= static_cast< long >(val2
);
27820 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27822 resultobj
= SWIG_Py_Void();
27829 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27830 PyObject
*resultobj
= 0;
27831 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27835 PyObject
*swig_obj
[1] ;
27837 if (!args
) SWIG_fail
;
27838 swig_obj
[0] = args
;
27839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27840 if (!SWIG_IsOK(res1
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27843 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27844 result
= (long) ((arg1
)->m_oldItemIndex
);
27845 resultobj
= SWIG_From_long(static_cast< long >(result
));
27852 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27853 PyObject
*resultobj
= 0;
27854 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27860 PyObject
*swig_obj
[2] ;
27862 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27864 if (!SWIG_IsOK(res1
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27867 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27868 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27869 if (!SWIG_IsOK(ecode2
)) {
27870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27872 arg2
= static_cast< long >(val2
);
27873 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27875 resultobj
= SWIG_Py_Void();
27882 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27883 PyObject
*resultobj
= 0;
27884 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27888 PyObject
*swig_obj
[1] ;
27890 if (!args
) SWIG_fail
;
27891 swig_obj
[0] = args
;
27892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27893 if (!SWIG_IsOK(res1
)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27896 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27897 result
= (long) ((arg1
)->m_itemIndex
);
27898 resultobj
= SWIG_From_long(static_cast< long >(result
));
27905 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27906 PyObject
*resultobj
= 0;
27907 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27913 PyObject
*swig_obj
[2] ;
27915 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27920 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27921 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27922 if (!SWIG_IsOK(ecode2
)) {
27923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27925 arg2
= static_cast< int >(val2
);
27926 if (arg1
) (arg1
)->m_col
= arg2
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27941 PyObject
*swig_obj
[1] ;
27943 if (!args
) SWIG_fail
;
27944 swig_obj
[0] = args
;
27945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27949 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27950 result
= (int) ((arg1
)->m_col
);
27951 resultobj
= SWIG_From_int(static_cast< int >(result
));
27958 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27959 PyObject
*resultobj
= 0;
27960 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27961 wxPoint
*arg2
= (wxPoint
*) 0 ;
27966 PyObject
*swig_obj
[2] ;
27968 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27970 if (!SWIG_IsOK(res1
)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27973 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27974 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27975 if (!SWIG_IsOK(res2
)) {
27976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27978 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27979 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27981 resultobj
= SWIG_Py_Void();
27988 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27991 wxPoint
*result
= 0 ;
27994 PyObject
*swig_obj
[1] ;
27996 if (!args
) SWIG_fail
;
27997 swig_obj
[0] = args
;
27998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27999 if (!SWIG_IsOK(res1
)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28002 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28003 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28011 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 PyObject
*resultobj
= 0;
28013 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28014 wxListItem
*result
= 0 ;
28017 PyObject
*swig_obj
[1] ;
28019 if (!args
) SWIG_fail
;
28020 swig_obj
[0] = args
;
28021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28022 if (!SWIG_IsOK(res1
)) {
28023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28025 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28026 result
= (wxListItem
*)& ((arg1
)->m_item
);
28028 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28036 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28037 PyObject
*resultobj
= 0;
28038 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28042 PyObject
*swig_obj
[1] ;
28044 if (!args
) SWIG_fail
;
28045 swig_obj
[0] = args
;
28046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28047 if (!SWIG_IsOK(res1
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28050 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= (int)(arg1
)->GetKeyCode();
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_From_int(static_cast< int >(result
));
28064 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28065 PyObject
*resultobj
= 0;
28066 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28070 PyObject
*swig_obj
[1] ;
28072 if (!args
) SWIG_fail
;
28073 swig_obj
[0] = args
;
28074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28078 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= (long)(arg1
)->GetIndex();
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_From_long(static_cast< long >(result
));
28092 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28093 PyObject
*resultobj
= 0;
28094 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28098 PyObject
*swig_obj
[1] ;
28100 if (!args
) SWIG_fail
;
28101 swig_obj
[0] = args
;
28102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28103 if (!SWIG_IsOK(res1
)) {
28104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28106 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (int)(arg1
)->GetColumn();
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_From_int(static_cast< int >(result
));
28120 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28121 PyObject
*resultobj
= 0;
28122 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28126 PyObject
*swig_obj
[1] ;
28128 if (!args
) SWIG_fail
;
28129 swig_obj
[0] = args
;
28130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28131 if (!SWIG_IsOK(res1
)) {
28132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28134 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (arg1
)->GetPoint();
28138 wxPyEndAllowThreads(__tstate
);
28139 if (PyErr_Occurred()) SWIG_fail
;
28141 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28148 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28149 PyObject
*resultobj
= 0;
28150 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28151 wxString
*result
= 0 ;
28154 PyObject
*swig_obj
[1] ;
28156 if (!args
) SWIG_fail
;
28157 swig_obj
[0] = args
;
28158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28159 if (!SWIG_IsOK(res1
)) {
28160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28162 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 wxString
const &_result_ref
= (arg1
)->GetLabel();
28167 result
= (wxString
*) &_result_ref
;
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28176 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28185 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28186 PyObject
*resultobj
= 0;
28187 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28188 wxString
*result
= 0 ;
28191 PyObject
*swig_obj
[1] ;
28193 if (!args
) SWIG_fail
;
28194 swig_obj
[0] = args
;
28195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28199 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 wxString
const &_result_ref
= (arg1
)->GetText();
28204 result
= (wxString
*) &_result_ref
;
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28213 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28222 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 PyObject
*resultobj
= 0;
28224 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28228 PyObject
*swig_obj
[1] ;
28230 if (!args
) SWIG_fail
;
28231 swig_obj
[0] = args
;
28232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28233 if (!SWIG_IsOK(res1
)) {
28234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28236 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= (int)(arg1
)->GetImage();
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= SWIG_From_int(static_cast< int >(result
));
28250 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28251 PyObject
*resultobj
= 0;
28252 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28256 PyObject
*swig_obj
[1] ;
28258 if (!args
) SWIG_fail
;
28259 swig_obj
[0] = args
;
28260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28261 if (!SWIG_IsOK(res1
)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28264 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 result
= (long)(arg1
)->GetData();
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= SWIG_From_long(static_cast< long >(result
));
28278 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28279 PyObject
*resultobj
= 0;
28280 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28284 PyObject
*swig_obj
[1] ;
28286 if (!args
) SWIG_fail
;
28287 swig_obj
[0] = args
;
28288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28289 if (!SWIG_IsOK(res1
)) {
28290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28292 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 result
= (long)(arg1
)->GetMask();
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= SWIG_From_long(static_cast< long >(result
));
28306 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 PyObject
*resultobj
= 0;
28308 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28309 wxListItem
*result
= 0 ;
28312 PyObject
*swig_obj
[1] ;
28314 if (!args
) SWIG_fail
;
28315 swig_obj
[0] = args
;
28316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28317 if (!SWIG_IsOK(res1
)) {
28318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28320 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28325 result
= (wxListItem
*) &_result_ref
;
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28337 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28338 PyObject
*resultobj
= 0;
28339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28343 PyObject
*swig_obj
[1] ;
28345 if (!args
) SWIG_fail
;
28346 swig_obj
[0] = args
;
28347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28348 if (!SWIG_IsOK(res1
)) {
28349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28351 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 result
= (long)(arg1
)->GetCacheFrom();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= SWIG_From_long(static_cast< long >(result
));
28365 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28366 PyObject
*resultobj
= 0;
28367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28371 PyObject
*swig_obj
[1] ;
28373 if (!args
) SWIG_fail
;
28374 swig_obj
[0] = args
;
28375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28376 if (!SWIG_IsOK(res1
)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28379 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (long)(arg1
)->GetCacheTo();
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= SWIG_From_long(static_cast< long >(result
));
28393 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28394 PyObject
*resultobj
= 0;
28395 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28399 PyObject
*swig_obj
[1] ;
28401 if (!args
) SWIG_fail
;
28402 swig_obj
[0] = args
;
28403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28407 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28423 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
= 0;
28425 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28431 PyObject
* obj0
= 0 ;
28432 PyObject
* obj1
= 0 ;
28433 char * kwnames
[] = {
28434 (char *) "self",(char *) "editCancelled", NULL
28437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28439 if (!SWIG_IsOK(res1
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28442 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28443 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28444 if (!SWIG_IsOK(ecode2
)) {
28445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28447 arg2
= static_cast< bool >(val2
);
28449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 (arg1
)->SetEditCanceled(arg2
);
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= SWIG_Py_Void();
28461 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28464 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28465 return SWIG_Py_Void();
28468 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28469 return SWIG_Python_InitShadowInstance(args
);
28472 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
= 0;
28474 wxWindow
*arg1
= (wxWindow
*) 0 ;
28475 int arg2
= (int) -1 ;
28476 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28477 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28478 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28479 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28480 long arg5
= (long) wxLC_ICON
;
28481 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28482 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28483 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28484 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28485 wxPyListCtrl
*result
= 0 ;
28496 bool temp7
= false ;
28497 PyObject
* obj0
= 0 ;
28498 PyObject
* obj1
= 0 ;
28499 PyObject
* obj2
= 0 ;
28500 PyObject
* obj3
= 0 ;
28501 PyObject
* obj4
= 0 ;
28502 PyObject
* obj5
= 0 ;
28503 PyObject
* obj6
= 0 ;
28504 char * kwnames
[] = {
28505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28516 if (!SWIG_IsOK(ecode2
)) {
28517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28519 arg2
= static_cast< int >(val2
);
28524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28530 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28534 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28535 if (!SWIG_IsOK(ecode5
)) {
28536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28538 arg5
= static_cast< long >(val5
);
28541 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28542 if (!SWIG_IsOK(res6
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28548 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28552 arg7
= wxString_in_helper(obj6
);
28553 if (arg7
== NULL
) SWIG_fail
;
28558 if (!wxPyCheckForApp()) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28579 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28580 PyObject
*resultobj
= 0;
28581 wxPyListCtrl
*result
= 0 ;
28583 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28585 if (!wxPyCheckForApp()) SWIG_fail
;
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28598 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
= 0;
28600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28601 wxWindow
*arg2
= (wxWindow
*) 0 ;
28602 int arg3
= (int) -1 ;
28603 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28604 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28605 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28606 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28607 long arg6
= (long) wxLC_ICON
;
28608 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28609 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28610 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28611 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28625 bool temp8
= false ;
28626 PyObject
* obj0
= 0 ;
28627 PyObject
* obj1
= 0 ;
28628 PyObject
* obj2
= 0 ;
28629 PyObject
* obj3
= 0 ;
28630 PyObject
* obj4
= 0 ;
28631 PyObject
* obj5
= 0 ;
28632 PyObject
* obj6
= 0 ;
28633 PyObject
* obj7
= 0 ;
28634 char * kwnames
[] = {
28635 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28640 if (!SWIG_IsOK(res1
)) {
28641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28645 if (!SWIG_IsOK(res2
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28648 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28651 if (!SWIG_IsOK(ecode3
)) {
28652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28654 arg3
= static_cast< int >(val3
);
28659 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28665 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28669 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28670 if (!SWIG_IsOK(ecode6
)) {
28671 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28673 arg6
= static_cast< long >(val6
);
28676 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28677 if (!SWIG_IsOK(res7
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28683 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28687 arg8
= wxString_in_helper(obj7
);
28688 if (arg8
== NULL
) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28715 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
= 0;
28717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28718 PyObject
*arg2
= (PyObject
*) 0 ;
28719 PyObject
*arg3
= (PyObject
*) 0 ;
28722 PyObject
* obj0
= 0 ;
28723 PyObject
* obj1
= 0 ;
28724 PyObject
* obj2
= 0 ;
28725 char * kwnames
[] = {
28726 (char *) "self",(char *) "self",(char *) "_class", NULL
28729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28731 if (!SWIG_IsOK(res1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28734 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= SWIG_Py_Void();
28750 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
= 0;
28752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28754 wxListItem
*result
= 0 ;
28759 PyObject
* obj0
= 0 ;
28760 PyObject
* obj1
= 0 ;
28761 char * kwnames
[] = {
28762 (char *) "self",(char *) "col", NULL
28765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28767 if (!SWIG_IsOK(res1
)) {
28768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28770 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28772 if (!SWIG_IsOK(ecode2
)) {
28773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28775 arg2
= static_cast< int >(val2
);
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28791 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
= 0;
28793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28795 wxListItem
*arg3
= 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 PyObject
* obj2
= 0 ;
28806 char * kwnames
[] = {
28807 (char *) "self",(char *) "col",(char *) "item", NULL
28810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28812 if (!SWIG_IsOK(res1
)) {
28813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28815 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28817 if (!SWIG_IsOK(ecode2
)) {
28818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28820 arg2
= static_cast< int >(val2
);
28821 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28822 if (!SWIG_IsOK(res3
)) {
28823 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28828 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28844 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28845 PyObject
*resultobj
= 0;
28846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 char * kwnames
[] = {
28856 (char *) "self",(char *) "col", NULL
28859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28861 if (!SWIG_IsOK(res1
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28864 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28866 if (!SWIG_IsOK(ecode2
)) {
28867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28869 arg2
= static_cast< int >(val2
);
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 resultobj
= SWIG_From_int(static_cast< int >(result
));
28883 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
= 0;
28885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 PyObject
* obj2
= 0 ;
28898 char * kwnames
[] = {
28899 (char *) "self",(char *) "col",(char *) "width", NULL
28902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28904 if (!SWIG_IsOK(res1
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28907 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28909 if (!SWIG_IsOK(ecode2
)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28912 arg2
= static_cast< int >(val2
);
28913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28914 if (!SWIG_IsOK(ecode3
)) {
28915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28917 arg3
= static_cast< int >(val3
);
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28933 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28934 PyObject
*resultobj
= 0;
28935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28939 PyObject
*swig_obj
[1] ;
28941 if (!args
) SWIG_fail
;
28942 swig_obj
[0] = args
;
28943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28944 if (!SWIG_IsOK(res1
)) {
28945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28947 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_From_int(static_cast< int >(result
));
28961 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28962 PyObject
*resultobj
= 0;
28963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28967 PyObject
*swig_obj
[1] ;
28969 if (!args
) SWIG_fail
;
28970 swig_obj
[0] = args
;
28971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28972 if (!SWIG_IsOK(res1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28975 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28989 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28990 PyObject
*resultobj
= 0;
28991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28992 wxTextCtrl
*result
= 0 ;
28995 PyObject
*swig_obj
[1] ;
28997 if (!args
) SWIG_fail
;
28998 swig_obj
[0] = args
;
28999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29000 if (!SWIG_IsOK(res1
)) {
29001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29003 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= wxPyMake_wxObject(result
, 0);
29019 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
= 0;
29021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29023 int arg3
= (int) 0 ;
29024 wxListItem
*result
= 0 ;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 PyObject
* obj2
= 0 ;
29034 char * kwnames
[] = {
29035 (char *) "self",(char *) "itemId",(char *) "col", NULL
29038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29040 if (!SWIG_IsOK(res1
)) {
29041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29043 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29044 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29045 if (!SWIG_IsOK(ecode2
)) {
29046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29048 arg2
= static_cast< long >(val2
);
29050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29051 if (!SWIG_IsOK(ecode3
)) {
29052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29054 arg3
= static_cast< int >(val3
);
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29071 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
= 0;
29073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29074 wxListItem
*arg2
= 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 char * kwnames
[] = {
29083 (char *) "self",(char *) "info", NULL
29086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29088 if (!SWIG_IsOK(res1
)) {
29089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29091 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29093 if (!SWIG_IsOK(res2
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29099 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (bool)(arg1
)->SetItem(*arg2
);
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29115 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
= 0;
29117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29120 wxString
*arg4
= 0 ;
29121 int arg5
= (int) -1 ;
29129 bool temp4
= false ;
29132 PyObject
* obj0
= 0 ;
29133 PyObject
* obj1
= 0 ;
29134 PyObject
* obj2
= 0 ;
29135 PyObject
* obj3
= 0 ;
29136 PyObject
* obj4
= 0 ;
29137 char * kwnames
[] = {
29138 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29143 if (!SWIG_IsOK(res1
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29146 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29148 if (!SWIG_IsOK(ecode2
)) {
29149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29151 arg2
= static_cast< long >(val2
);
29152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29153 if (!SWIG_IsOK(ecode3
)) {
29154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29156 arg3
= static_cast< int >(val3
);
29158 arg4
= wxString_in_helper(obj3
);
29159 if (arg4
== NULL
) SWIG_fail
;
29163 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29164 if (!SWIG_IsOK(ecode5
)) {
29165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29167 arg5
= static_cast< int >(val5
);
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 resultobj
= SWIG_From_long(static_cast< long >(result
));
29190 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
= 0;
29192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 PyObject
* obj2
= 0 ;
29205 char * kwnames
[] = {
29206 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29214 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29215 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29216 if (!SWIG_IsOK(ecode2
)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29219 arg2
= static_cast< long >(val2
);
29220 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29221 if (!SWIG_IsOK(ecode3
)) {
29222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29224 arg3
= static_cast< long >(val3
);
29226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29227 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= SWIG_From_int(static_cast< int >(result
));
29238 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
= 0;
29240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 PyObject
* obj2
= 0 ;
29256 PyObject
* obj3
= 0 ;
29257 char * kwnames
[] = {
29258 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29263 if (!SWIG_IsOK(res1
)) {
29264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29267 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29268 if (!SWIG_IsOK(ecode2
)) {
29269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29271 arg2
= static_cast< long >(val2
);
29272 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29273 if (!SWIG_IsOK(ecode3
)) {
29274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29276 arg3
= static_cast< long >(val3
);
29277 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29278 if (!SWIG_IsOK(ecode4
)) {
29279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29281 arg4
= static_cast< long >(val4
);
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29297 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
= 0;
29299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29302 int arg4
= (int) -1 ;
29312 PyObject
* obj0
= 0 ;
29313 PyObject
* obj1
= 0 ;
29314 PyObject
* obj2
= 0 ;
29315 PyObject
* obj3
= 0 ;
29316 char * kwnames
[] = {
29317 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29325 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29326 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29327 if (!SWIG_IsOK(ecode2
)) {
29328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29330 arg2
= static_cast< long >(val2
);
29331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29332 if (!SWIG_IsOK(ecode3
)) {
29333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29335 arg3
= static_cast< int >(val3
);
29337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29338 if (!SWIG_IsOK(ecode4
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29341 arg4
= static_cast< int >(val4
);
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29358 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
= 0;
29360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29373 PyObject
* obj0
= 0 ;
29374 PyObject
* obj1
= 0 ;
29375 PyObject
* obj2
= 0 ;
29376 PyObject
* obj3
= 0 ;
29377 char * kwnames
[] = {
29378 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29383 if (!SWIG_IsOK(res1
)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29386 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29387 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29388 if (!SWIG_IsOK(ecode2
)) {
29389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29391 arg2
= static_cast< long >(val2
);
29392 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29393 if (!SWIG_IsOK(ecode3
)) {
29394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29396 arg3
= static_cast< long >(val3
);
29397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29398 if (!SWIG_IsOK(ecode4
)) {
29399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29401 arg4
= static_cast< int >(val4
);
29403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29404 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29405 wxPyEndAllowThreads(__tstate
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29417 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
= 0;
29419 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29426 PyObject
* obj0
= 0 ;
29427 PyObject
* obj1
= 0 ;
29428 char * kwnames
[] = {
29429 (char *) "self",(char *) "item", NULL
29432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29434 if (!SWIG_IsOK(res1
)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29437 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29438 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29439 if (!SWIG_IsOK(ecode2
)) {
29440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29442 arg2
= static_cast< long >(val2
);
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29462 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
= 0;
29464 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29466 wxString
*arg3
= 0 ;
29471 bool temp3
= false ;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 PyObject
* obj2
= 0 ;
29475 char * kwnames
[] = {
29476 (char *) "self",(char *) "item",(char *) "str", NULL
29479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29481 if (!SWIG_IsOK(res1
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29484 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29486 if (!SWIG_IsOK(ecode2
)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29489 arg2
= static_cast< long >(val2
);
29491 arg3
= wxString_in_helper(obj2
);
29492 if (arg3
== NULL
) SWIG_fail
;
29496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29501 resultobj
= SWIG_Py_Void();
29516 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
= 0;
29518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 char * kwnames
[] = {
29528 (char *) "self",(char *) "item", NULL
29531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29533 if (!SWIG_IsOK(res1
)) {
29534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29536 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29537 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29538 if (!SWIG_IsOK(ecode2
)) {
29539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29541 arg2
= static_cast< long >(val2
);
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= SWIG_From_long(static_cast< long >(result
));
29555 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
= 0;
29557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29567 PyObject
* obj0
= 0 ;
29568 PyObject
* obj1
= 0 ;
29569 PyObject
* obj2
= 0 ;
29570 char * kwnames
[] = {
29571 (char *) "self",(char *) "item",(char *) "data", NULL
29574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29576 if (!SWIG_IsOK(res1
)) {
29577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29579 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29580 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29581 if (!SWIG_IsOK(ecode2
)) {
29582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29584 arg2
= static_cast< long >(val2
);
29585 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29586 if (!SWIG_IsOK(ecode3
)) {
29587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29589 arg3
= static_cast< long >(val3
);
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29605 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
= 0;
29607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29614 PyObject
* obj0
= 0 ;
29615 PyObject
* obj1
= 0 ;
29616 char * kwnames
[] = {
29617 (char *) "self",(char *) "item", NULL
29620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29622 if (!SWIG_IsOK(res1
)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29625 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29626 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29627 if (!SWIG_IsOK(ecode2
)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29630 arg2
= static_cast< long >(val2
);
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29637 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29644 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29645 PyObject
*resultobj
= 0;
29646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29648 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 PyObject
* obj2
= 0 ;
29659 char * kwnames
[] = {
29660 (char *) "self",(char *) "item",(char *) "code", NULL
29663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29665 if (!SWIG_IsOK(res1
)) {
29666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29668 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29669 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29670 if (!SWIG_IsOK(ecode2
)) {
29671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29673 arg2
= static_cast< long >(val2
);
29675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29676 if (!SWIG_IsOK(ecode3
)) {
29677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29679 arg3
= static_cast< int >(val3
);
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29684 wxPyEndAllowThreads(__tstate
);
29685 if (PyErr_Occurred()) SWIG_fail
;
29687 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29694 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
= 0;
29696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29698 wxPoint
*arg3
= 0 ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 PyObject
* obj2
= 0 ;
29708 char * kwnames
[] = {
29709 (char *) "self",(char *) "item",(char *) "pos", NULL
29712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29717 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29718 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29719 if (!SWIG_IsOK(ecode2
)) {
29720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29722 arg2
= static_cast< long >(val2
);
29725 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29729 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29742 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29743 PyObject
*resultobj
= 0;
29744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29748 PyObject
*swig_obj
[1] ;
29750 if (!args
) SWIG_fail
;
29751 swig_obj
[0] = args
;
29752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29753 if (!SWIG_IsOK(res1
)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29756 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29759 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 resultobj
= SWIG_From_int(static_cast< int >(result
));
29770 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29771 PyObject
*resultobj
= 0;
29772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29776 PyObject
*swig_obj
[1] ;
29778 if (!args
) SWIG_fail
;
29779 swig_obj
[0] = args
;
29780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29781 if (!SWIG_IsOK(res1
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29784 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= SWIG_From_int(static_cast< int >(result
));
29798 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29799 PyObject
*resultobj
= 0;
29800 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29804 PyObject
*swig_obj
[1] ;
29806 if (!args
) SWIG_fail
;
29807 swig_obj
[0] = args
;
29808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29809 if (!SWIG_IsOK(res1
)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29812 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29826 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29827 PyObject
*resultobj
= 0;
29828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29832 PyObject
*swig_obj
[1] ;
29834 if (!args
) SWIG_fail
;
29835 swig_obj
[0] = args
;
29836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29837 if (!SWIG_IsOK(res1
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29840 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= SWIG_From_int(static_cast< int >(result
));
29854 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29855 PyObject
*resultobj
= 0;
29856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29860 PyObject
*swig_obj
[1] ;
29862 if (!args
) SWIG_fail
;
29863 swig_obj
[0] = args
;
29864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29865 if (!SWIG_IsOK(res1
)) {
29866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29868 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29882 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
= 0;
29884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29885 wxColour
*arg2
= 0 ;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj1
= 0 ;
29891 char * kwnames
[] = {
29892 (char *) "self",(char *) "col", NULL
29895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29897 if (!SWIG_IsOK(res1
)) {
29898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29900 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= SWIG_Py_Void();
29918 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29919 PyObject
*resultobj
= 0;
29920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29924 PyObject
*swig_obj
[1] ;
29926 if (!args
) SWIG_fail
;
29927 swig_obj
[0] = args
;
29928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29929 if (!SWIG_IsOK(res1
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29936 wxPyEndAllowThreads(__tstate
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29939 resultobj
= SWIG_From_long(static_cast< long >(result
));
29946 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
= 0;
29948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29950 bool arg3
= (bool) true ;
29957 PyObject
* obj0
= 0 ;
29958 PyObject
* obj1
= 0 ;
29959 PyObject
* obj2
= 0 ;
29960 char * kwnames
[] = {
29961 (char *) "self",(char *) "style",(char *) "add", NULL
29964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29966 if (!SWIG_IsOK(res1
)) {
29967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29969 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29971 if (!SWIG_IsOK(ecode2
)) {
29972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29974 arg2
= static_cast< long >(val2
);
29976 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29977 if (!SWIG_IsOK(ecode3
)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29980 arg3
= static_cast< bool >(val3
);
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 (arg1
)->SetSingleStyle(arg2
,arg3
);
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= SWIG_Py_Void();
29995 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
= 0;
29997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29999 int arg3
= (int) wxLIST_NEXT_ALL
;
30000 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30010 PyObject
* obj0
= 0 ;
30011 PyObject
* obj1
= 0 ;
30012 PyObject
* obj2
= 0 ;
30013 PyObject
* obj3
= 0 ;
30014 char * kwnames
[] = {
30015 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30020 if (!SWIG_IsOK(res1
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30023 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30024 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30025 if (!SWIG_IsOK(ecode2
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30028 arg2
= static_cast< long >(val2
);
30030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30031 if (!SWIG_IsOK(ecode3
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30034 arg3
= static_cast< int >(val3
);
30037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30038 if (!SWIG_IsOK(ecode4
)) {
30039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30041 arg4
= static_cast< int >(val4
);
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 resultobj
= SWIG_From_long(static_cast< long >(result
));
30056 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
= 0;
30058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30060 wxImageList
*result
= 0 ;
30065 PyObject
* obj0
= 0 ;
30066 PyObject
* obj1
= 0 ;
30067 char * kwnames
[] = {
30068 (char *) "self",(char *) "which", NULL
30071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30073 if (!SWIG_IsOK(res1
)) {
30074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30076 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30078 if (!SWIG_IsOK(ecode2
)) {
30079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30081 arg2
= static_cast< int >(val2
);
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30097 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
= 0;
30099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30100 wxImageList
*arg2
= (wxImageList
*) 0 ;
30108 PyObject
* obj0
= 0 ;
30109 PyObject
* obj1
= 0 ;
30110 PyObject
* obj2
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "self",(char *) "imageList",(char *) "which", NULL
30115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30117 if (!SWIG_IsOK(res1
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30120 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30122 if (!SWIG_IsOK(res2
)) {
30123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30125 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30127 if (!SWIG_IsOK(ecode3
)) {
30128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30130 arg3
= static_cast< int >(val3
);
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 (arg1
)->SetImageList(arg2
,arg3
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 resultobj
= SWIG_Py_Void();
30144 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30145 PyObject
*resultobj
= 0;
30146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30147 wxImageList
*arg2
= (wxImageList
*) 0 ;
30154 PyObject
* obj0
= 0 ;
30155 PyObject
* obj1
= 0 ;
30156 PyObject
* obj2
= 0 ;
30157 char * kwnames
[] = {
30158 (char *) "self",(char *) "imageList",(char *) "which", NULL
30161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30163 if (!SWIG_IsOK(res1
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30166 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30167 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30168 if (!SWIG_IsOK(res2
)) {
30169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30172 if (!SWIG_IsOK(ecode3
)) {
30173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30175 arg3
= static_cast< int >(val3
);
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 (arg1
)->AssignImageList(arg2
,arg3
);
30179 wxPyEndAllowThreads(__tstate
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= SWIG_Py_Void();
30189 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30190 PyObject
*resultobj
= 0;
30191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30195 PyObject
*swig_obj
[1] ;
30197 if (!args
) SWIG_fail
;
30198 swig_obj
[0] = args
;
30199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30200 if (!SWIG_IsOK(res1
)) {
30201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30203 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30219 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30220 PyObject
*resultobj
= 0;
30221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30225 PyObject
*swig_obj
[1] ;
30227 if (!args
) SWIG_fail
;
30228 swig_obj
[0] = args
;
30229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30230 if (!SWIG_IsOK(res1
)) {
30231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30233 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30249 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30250 PyObject
*resultobj
= 0;
30251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30257 PyObject
* obj0
= 0 ;
30258 PyObject
* obj1
= 0 ;
30259 char * kwnames
[] = {
30260 (char *) "self",(char *) "item", NULL
30263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30265 if (!SWIG_IsOK(res1
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30269 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30270 if (!SWIG_IsOK(ecode2
)) {
30271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30273 arg2
= static_cast< long >(val2
);
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 (arg1
)->RefreshItem(arg2
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 resultobj
= SWIG_Py_Void();
30287 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
= 0;
30289 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 PyObject
* obj1
= 0 ;
30300 PyObject
* obj2
= 0 ;
30301 char * kwnames
[] = {
30302 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30307 if (!SWIG_IsOK(res1
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30310 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30311 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30312 if (!SWIG_IsOK(ecode2
)) {
30313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30315 arg2
= static_cast< long >(val2
);
30316 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30317 if (!SWIG_IsOK(ecode3
)) {
30318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30320 arg3
= static_cast< long >(val3
);
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 (arg1
)->RefreshItems(arg2
,arg3
);
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_Py_Void();
30334 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30335 PyObject
*resultobj
= 0;
30336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30337 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30343 PyObject
* obj0
= 0 ;
30344 PyObject
* obj1
= 0 ;
30345 char * kwnames
[] = {
30346 (char *) "self",(char *) "flag", NULL
30349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30351 if (!SWIG_IsOK(res1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30354 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30357 if (!SWIG_IsOK(ecode2
)) {
30358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30360 arg2
= static_cast< int >(val2
);
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 result
= (bool)(arg1
)->Arrange(arg2
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30377 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
= 0;
30379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char * kwnames
[] = {
30389 (char *) "self",(char *) "item", NULL
30392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30394 if (!SWIG_IsOK(res1
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30397 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30398 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30399 if (!SWIG_IsOK(ecode2
)) {
30400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30402 arg2
= static_cast< long >(val2
);
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 result
= (bool)(arg1
)->DeleteItem(arg2
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30418 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30419 PyObject
*resultobj
= 0;
30420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30424 PyObject
*swig_obj
[1] ;
30426 if (!args
) SWIG_fail
;
30427 swig_obj
[0] = args
;
30428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30429 if (!SWIG_IsOK(res1
)) {
30430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30432 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 result
= (bool)(arg1
)->DeleteAllItems();
30436 wxPyEndAllowThreads(__tstate
);
30437 if (PyErr_Occurred()) SWIG_fail
;
30440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30448 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
= 0;
30450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30457 PyObject
* obj0
= 0 ;
30458 PyObject
* obj1
= 0 ;
30459 char * kwnames
[] = {
30460 (char *) "self",(char *) "col", NULL
30463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30465 if (!SWIG_IsOK(res1
)) {
30466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30468 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30470 if (!SWIG_IsOK(ecode2
)) {
30471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30473 arg2
= static_cast< int >(val2
);
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30489 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30490 PyObject
*resultobj
= 0;
30491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30495 PyObject
*swig_obj
[1] ;
30497 if (!args
) SWIG_fail
;
30498 swig_obj
[0] = args
;
30499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30500 if (!SWIG_IsOK(res1
)) {
30501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30503 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 result
= (bool)(arg1
)->DeleteAllColumns();
30507 wxPyEndAllowThreads(__tstate
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30519 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30520 PyObject
*resultobj
= 0;
30521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30524 PyObject
*swig_obj
[1] ;
30526 if (!args
) SWIG_fail
;
30527 swig_obj
[0] = args
;
30528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 (arg1
)->ClearAll();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 resultobj
= SWIG_Py_Void();
30546 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
= 0;
30548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30550 wxTextCtrl
*result
= 0 ;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 char * kwnames
[] = {
30558 (char *) "self",(char *) "item", NULL
30561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30563 if (!SWIG_IsOK(res1
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30566 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30567 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30568 if (!SWIG_IsOK(ecode2
)) {
30569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30571 arg2
= static_cast< long >(val2
);
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= wxPyMake_wxObject(result
, 0);
30587 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30588 PyObject
*resultobj
= 0;
30589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30596 PyObject
* obj0
= 0 ;
30597 PyObject
* obj1
= 0 ;
30598 char * kwnames
[] = {
30599 (char *) "self",(char *) "cancel", NULL
30602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30604 if (!SWIG_IsOK(res1
)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30607 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30609 if (!SWIG_IsOK(ecode2
)) {
30610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30612 arg2
= static_cast< bool >(val2
);
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30628 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
= 0;
30630 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 char * kwnames
[] = {
30640 (char *) "self",(char *) "item", NULL
30643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30645 if (!SWIG_IsOK(res1
)) {
30646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30648 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30649 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30650 if (!SWIG_IsOK(ecode2
)) {
30651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30653 arg2
= static_cast< long >(val2
);
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30669 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
= 0;
30671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30673 wxString
*arg3
= 0 ;
30674 bool arg4
= (bool) false ;
30680 bool temp3
= false ;
30683 PyObject
* obj0
= 0 ;
30684 PyObject
* obj1
= 0 ;
30685 PyObject
* obj2
= 0 ;
30686 PyObject
* obj3
= 0 ;
30687 char * kwnames
[] = {
30688 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30698 if (!SWIG_IsOK(ecode2
)) {
30699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30701 arg2
= static_cast< long >(val2
);
30703 arg3
= wxString_in_helper(obj2
);
30704 if (arg3
== NULL
) SWIG_fail
;
30708 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30709 if (!SWIG_IsOK(ecode4
)) {
30710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30712 arg4
= static_cast< bool >(val4
);
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_From_long(static_cast< long >(result
));
30735 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30736 PyObject
*resultobj
= 0;
30737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30749 PyObject
* obj2
= 0 ;
30750 char * kwnames
[] = {
30751 (char *) "self",(char *) "start",(char *) "data", NULL
30754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30756 if (!SWIG_IsOK(res1
)) {
30757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30759 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30760 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30761 if (!SWIG_IsOK(ecode2
)) {
30762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30764 arg2
= static_cast< long >(val2
);
30765 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30766 if (!SWIG_IsOK(ecode3
)) {
30767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30769 arg3
= static_cast< long >(val3
);
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= SWIG_From_long(static_cast< long >(result
));
30783 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30784 PyObject
*resultobj
= 0;
30785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30787 wxPoint
*arg3
= 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 PyObject
* obj2
= 0 ;
30800 PyObject
* obj3
= 0 ;
30801 char * kwnames
[] = {
30802 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30807 if (!SWIG_IsOK(res1
)) {
30808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30810 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30812 if (!SWIG_IsOK(ecode2
)) {
30813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30815 arg2
= static_cast< long >(val2
);
30818 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30820 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30821 if (!SWIG_IsOK(ecode4
)) {
30822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30824 arg4
= static_cast< int >(val4
);
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_From_long(static_cast< long >(result
));
30838 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
= 0;
30840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30841 wxPoint
*arg2
= 0 ;
30848 int res3
= SWIG_TMPOBJ
;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char * kwnames
[] = {
30852 (char *) "self",(char *) "point", NULL
30856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30858 if (!SWIG_IsOK(res1
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30861 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30869 wxPyEndAllowThreads(__tstate
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30872 resultobj
= SWIG_From_long(static_cast< long >(result
));
30873 if (SWIG_IsTmpObj(res3
)) {
30874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30876 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30885 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30886 PyObject
*resultobj
= 0;
30887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30888 wxListItem
*arg2
= 0 ;
30894 PyObject
* obj0
= 0 ;
30895 PyObject
* obj1
= 0 ;
30896 char * kwnames
[] = {
30897 (char *) "self",(char *) "info", NULL
30900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30902 if (!SWIG_IsOK(res1
)) {
30903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30905 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30907 if (!SWIG_IsOK(res2
)) {
30908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30913 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= (long)(arg1
)->InsertItem(*arg2
);
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= SWIG_From_long(static_cast< long >(result
));
30927 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
= 0;
30929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30931 wxString
*arg3
= 0 ;
30932 int arg4
= (int) -1 ;
30938 bool temp3
= false ;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 PyObject
* obj2
= 0 ;
30944 PyObject
* obj3
= 0 ;
30945 char * kwnames
[] = {
30946 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30951 if (!SWIG_IsOK(res1
)) {
30952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30954 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30955 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30956 if (!SWIG_IsOK(ecode2
)) {
30957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30959 arg2
= static_cast< long >(val2
);
30961 arg3
= wxString_in_helper(obj2
);
30962 if (arg3
== NULL
) SWIG_fail
;
30966 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30967 if (!SWIG_IsOK(ecode4
)) {
30968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30970 arg4
= static_cast< int >(val4
);
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= SWIG_From_long(static_cast< long >(result
));
30993 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
= 0;
30995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31005 PyObject
* obj0
= 0 ;
31006 PyObject
* obj1
= 0 ;
31007 PyObject
* obj2
= 0 ;
31008 char * kwnames
[] = {
31009 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31014 if (!SWIG_IsOK(res1
)) {
31015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31017 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31019 if (!SWIG_IsOK(ecode2
)) {
31020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31022 arg2
= static_cast< long >(val2
);
31023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31024 if (!SWIG_IsOK(ecode3
)) {
31025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31027 arg3
= static_cast< int >(val3
);
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_From_long(static_cast< long >(result
));
31041 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
= 0;
31043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31045 wxString
*arg3
= 0 ;
31052 bool temp3
= false ;
31055 PyObject
* obj0
= 0 ;
31056 PyObject
* obj1
= 0 ;
31057 PyObject
* obj2
= 0 ;
31058 PyObject
* obj3
= 0 ;
31059 char * kwnames
[] = {
31060 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31065 if (!SWIG_IsOK(res1
)) {
31066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31068 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31069 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31070 if (!SWIG_IsOK(ecode2
)) {
31071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31073 arg2
= static_cast< long >(val2
);
31075 arg3
= wxString_in_helper(obj2
);
31076 if (arg3
== NULL
) SWIG_fail
;
31079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31080 if (!SWIG_IsOK(ecode4
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31083 arg4
= static_cast< int >(val4
);
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_From_long(static_cast< long >(result
));
31105 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
= 0;
31107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31109 wxListItem
*arg3
= 0 ;
31117 PyObject
* obj0
= 0 ;
31118 PyObject
* obj1
= 0 ;
31119 PyObject
* obj2
= 0 ;
31120 char * kwnames
[] = {
31121 (char *) "self",(char *) "col",(char *) "info", NULL
31124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31129 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31130 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31131 if (!SWIG_IsOK(ecode2
)) {
31132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31134 arg2
= static_cast< long >(val2
);
31135 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31136 if (!SWIG_IsOK(res3
)) {
31137 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31142 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= SWIG_From_long(static_cast< long >(result
));
31156 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
= 0;
31158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31160 wxString
*arg3
= 0 ;
31161 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31162 int arg5
= (int) -1 ;
31168 bool temp3
= false ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 PyObject
* obj2
= 0 ;
31176 PyObject
* obj3
= 0 ;
31177 PyObject
* obj4
= 0 ;
31178 char * kwnames
[] = {
31179 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31184 if (!SWIG_IsOK(res1
)) {
31185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31187 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31189 if (!SWIG_IsOK(ecode2
)) {
31190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31192 arg2
= static_cast< long >(val2
);
31194 arg3
= wxString_in_helper(obj2
);
31195 if (arg3
== NULL
) SWIG_fail
;
31199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31200 if (!SWIG_IsOK(ecode4
)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31203 arg4
= static_cast< int >(val4
);
31206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31207 if (!SWIG_IsOK(ecode5
)) {
31208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31210 arg5
= static_cast< int >(val5
);
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_From_long(static_cast< long >(result
));
31233 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
= 0;
31235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 char * kwnames
[] = {
31244 (char *) "self",(char *) "count", NULL
31247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31249 if (!SWIG_IsOK(res1
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31252 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31253 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31254 if (!SWIG_IsOK(ecode2
)) {
31255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31257 arg2
= static_cast< long >(val2
);
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 (arg1
)->SetItemCount(arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= SWIG_Py_Void();
31271 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
= 0;
31273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31283 PyObject
* obj0
= 0 ;
31284 PyObject
* obj1
= 0 ;
31285 PyObject
* obj2
= 0 ;
31286 char * kwnames
[] = {
31287 (char *) "self",(char *) "dx",(char *) "dy", NULL
31290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31292 if (!SWIG_IsOK(res1
)) {
31293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31295 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31297 if (!SWIG_IsOK(ecode2
)) {
31298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31300 arg2
= static_cast< int >(val2
);
31301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31302 if (!SWIG_IsOK(ecode3
)) {
31303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31305 arg3
= static_cast< int >(val3
);
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31309 wxPyEndAllowThreads(__tstate
);
31310 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31321 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
= 0;
31323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31325 wxColour
*arg3
= 0 ;
31331 PyObject
* obj0
= 0 ;
31332 PyObject
* obj1
= 0 ;
31333 PyObject
* obj2
= 0 ;
31334 char * kwnames
[] = {
31335 (char *) "self",(char *) "item",(char *) "col", NULL
31338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31340 if (!SWIG_IsOK(res1
)) {
31341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31343 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31344 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31345 if (!SWIG_IsOK(ecode2
)) {
31346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31348 arg2
= static_cast< long >(val2
);
31351 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31355 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 resultobj
= SWIG_Py_Void();
31366 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
= 0;
31368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31375 PyObject
* obj0
= 0 ;
31376 PyObject
* obj1
= 0 ;
31377 char * kwnames
[] = {
31378 (char *) "self",(char *) "item", NULL
31381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31383 if (!SWIG_IsOK(res1
)) {
31384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31386 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31387 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31388 if (!SWIG_IsOK(ecode2
)) {
31389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31391 arg2
= static_cast< long >(val2
);
31393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31405 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31406 PyObject
*resultobj
= 0;
31407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31409 wxColour
*arg3
= 0 ;
31415 PyObject
* obj0
= 0 ;
31416 PyObject
* obj1
= 0 ;
31417 PyObject
* obj2
= 0 ;
31418 char * kwnames
[] = {
31419 (char *) "self",(char *) "item",(char *) "col", NULL
31422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31424 if (!SWIG_IsOK(res1
)) {
31425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31427 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31428 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31429 if (!SWIG_IsOK(ecode2
)) {
31430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31432 arg2
= static_cast< long >(val2
);
31435 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31443 resultobj
= SWIG_Py_Void();
31450 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
= 0;
31452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31459 PyObject
* obj0
= 0 ;
31460 PyObject
* obj1
= 0 ;
31461 char * kwnames
[] = {
31462 (char *) "self",(char *) "item", NULL
31465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31467 if (!SWIG_IsOK(res1
)) {
31468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31470 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31471 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31472 if (!SWIG_IsOK(ecode2
)) {
31473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31475 arg2
= static_cast< long >(val2
);
31477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31478 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31489 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
= 0;
31491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31500 PyObject
* obj0
= 0 ;
31501 PyObject
* obj1
= 0 ;
31502 PyObject
* obj2
= 0 ;
31503 char * kwnames
[] = {
31504 (char *) "self",(char *) "item",(char *) "f", NULL
31507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31509 if (!SWIG_IsOK(res1
)) {
31510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31512 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31513 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31514 if (!SWIG_IsOK(ecode2
)) {
31515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31517 arg2
= static_cast< long >(val2
);
31518 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31519 if (!SWIG_IsOK(res3
)) {
31520 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31525 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 resultobj
= SWIG_Py_Void();
31539 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31540 PyObject
*resultobj
= 0;
31541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31548 PyObject
* obj0
= 0 ;
31549 PyObject
* obj1
= 0 ;
31550 char * kwnames
[] = {
31551 (char *) "self",(char *) "item", NULL
31554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31556 if (!SWIG_IsOK(res1
)) {
31557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31559 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31560 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31561 if (!SWIG_IsOK(ecode2
)) {
31562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31564 arg2
= static_cast< long >(val2
);
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31568 wxPyEndAllowThreads(__tstate
);
31569 if (PyErr_Occurred()) SWIG_fail
;
31571 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31578 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31579 PyObject
*resultobj
= 0;
31580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31581 PyObject
*arg2
= (PyObject
*) 0 ;
31585 PyObject
* obj0
= 0 ;
31586 PyObject
* obj1
= 0 ;
31587 char * kwnames
[] = {
31588 (char *) "self",(char *) "func", NULL
31591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31593 if (!SWIG_IsOK(res1
)) {
31594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31596 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31600 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31601 wxPyEndAllowThreads(__tstate
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31613 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31614 PyObject
*resultobj
= 0;
31615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31616 wxWindow
*result
= 0 ;
31619 PyObject
*swig_obj
[1] ;
31621 if (!args
) SWIG_fail
;
31622 swig_obj
[0] = args
;
31623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31624 if (!SWIG_IsOK(res1
)) {
31625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31627 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31630 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31631 wxPyEndAllowThreads(__tstate
);
31632 if (PyErr_Occurred()) SWIG_fail
;
31635 resultobj
= wxPyMake_wxObject(result
, 0);
31643 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31646 SwigValueWrapper
<wxVisualAttributes
> result
;
31649 PyObject
* obj0
= 0 ;
31650 char * kwnames
[] = {
31651 (char *) "variant", NULL
31654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31657 if (!SWIG_IsOK(ecode1
)) {
31658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31660 arg1
= static_cast< wxWindowVariant
>(val1
);
31663 if (!wxPyCheckForApp()) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31666 wxPyEndAllowThreads(__tstate
);
31667 if (PyErr_Occurred()) SWIG_fail
;
31669 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31676 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31679 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31680 return SWIG_Py_Void();
31683 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31684 return SWIG_Python_InitShadowInstance(args
);
31687 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
= 0;
31689 wxWindow
*arg1
= (wxWindow
*) 0 ;
31690 int arg2
= (int) -1 ;
31691 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31692 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31693 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31694 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31695 long arg5
= (long) wxLC_REPORT
;
31696 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31697 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31698 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31700 wxListView
*result
= 0 ;
31711 bool temp7
= false ;
31712 PyObject
* obj0
= 0 ;
31713 PyObject
* obj1
= 0 ;
31714 PyObject
* obj2
= 0 ;
31715 PyObject
* obj3
= 0 ;
31716 PyObject
* obj4
= 0 ;
31717 PyObject
* obj5
= 0 ;
31718 PyObject
* obj6
= 0 ;
31719 char * kwnames
[] = {
31720 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31725 if (!SWIG_IsOK(res1
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31731 if (!SWIG_IsOK(ecode2
)) {
31732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31734 arg2
= static_cast< int >(val2
);
31739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31745 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31749 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31750 if (!SWIG_IsOK(ecode5
)) {
31751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31753 arg5
= static_cast< long >(val5
);
31756 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31757 if (!SWIG_IsOK(res6
)) {
31758 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31763 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31767 arg7
= wxString_in_helper(obj6
);
31768 if (arg7
== NULL
) SWIG_fail
;
31773 if (!wxPyCheckForApp()) SWIG_fail
;
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31794 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31795 PyObject
*resultobj
= 0;
31796 wxListView
*result
= 0 ;
31798 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31800 if (!wxPyCheckForApp()) SWIG_fail
;
31801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31802 result
= (wxListView
*)new wxListView();
31803 wxPyEndAllowThreads(__tstate
);
31804 if (PyErr_Occurred()) SWIG_fail
;
31806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31813 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31814 PyObject
*resultobj
= 0;
31815 wxListView
*arg1
= (wxListView
*) 0 ;
31816 wxWindow
*arg2
= (wxWindow
*) 0 ;
31817 int arg3
= (int) -1 ;
31818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31822 long arg6
= (long) wxLC_REPORT
;
31823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31825 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31840 bool temp8
= false ;
31841 PyObject
* obj0
= 0 ;
31842 PyObject
* obj1
= 0 ;
31843 PyObject
* obj2
= 0 ;
31844 PyObject
* obj3
= 0 ;
31845 PyObject
* obj4
= 0 ;
31846 PyObject
* obj5
= 0 ;
31847 PyObject
* obj6
= 0 ;
31848 PyObject
* obj7
= 0 ;
31849 char * kwnames
[] = {
31850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31855 if (!SWIG_IsOK(res1
)) {
31856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31858 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31860 if (!SWIG_IsOK(res2
)) {
31861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31863 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31866 if (!SWIG_IsOK(ecode3
)) {
31867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31869 arg3
= static_cast< int >(val3
);
31874 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31880 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31884 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31885 if (!SWIG_IsOK(ecode6
)) {
31886 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31888 arg6
= static_cast< long >(val6
);
31891 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31892 if (!SWIG_IsOK(res7
)) {
31893 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31898 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31902 arg8
= wxString_in_helper(obj7
);
31903 if (arg8
== NULL
) SWIG_fail
;
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31930 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31931 PyObject
*resultobj
= 0;
31932 wxListView
*arg1
= (wxListView
*) 0 ;
31934 bool arg3
= (bool) true ;
31941 PyObject
* obj0
= 0 ;
31942 PyObject
* obj1
= 0 ;
31943 PyObject
* obj2
= 0 ;
31944 char * kwnames
[] = {
31945 (char *) "self",(char *) "n",(char *) "on", NULL
31948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31950 if (!SWIG_IsOK(res1
)) {
31951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31953 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31955 if (!SWIG_IsOK(ecode2
)) {
31956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31958 arg2
= static_cast< long >(val2
);
31960 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31961 if (!SWIG_IsOK(ecode3
)) {
31962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31964 arg3
= static_cast< bool >(val3
);
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 (arg1
)->Select(arg2
,arg3
);
31969 wxPyEndAllowThreads(__tstate
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31972 resultobj
= SWIG_Py_Void();
31979 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31980 PyObject
*resultobj
= 0;
31981 wxListView
*arg1
= (wxListView
*) 0 ;
31987 PyObject
* obj0
= 0 ;
31988 PyObject
* obj1
= 0 ;
31989 char * kwnames
[] = {
31990 (char *) "self",(char *) "index", NULL
31993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31995 if (!SWIG_IsOK(res1
)) {
31996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31998 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31999 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32000 if (!SWIG_IsOK(ecode2
)) {
32001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32003 arg2
= static_cast< long >(val2
);
32005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32006 (arg1
)->Focus(arg2
);
32007 wxPyEndAllowThreads(__tstate
);
32008 if (PyErr_Occurred()) SWIG_fail
;
32010 resultobj
= SWIG_Py_Void();
32017 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32018 PyObject
*resultobj
= 0;
32019 wxListView
*arg1
= (wxListView
*) 0 ;
32023 PyObject
*swig_obj
[1] ;
32025 if (!args
) SWIG_fail
;
32026 swig_obj
[0] = args
;
32027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32028 if (!SWIG_IsOK(res1
)) {
32029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32031 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32035 wxPyEndAllowThreads(__tstate
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= SWIG_From_long(static_cast< long >(result
));
32045 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32046 PyObject
*resultobj
= 0;
32047 wxListView
*arg1
= (wxListView
*) 0 ;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 char * kwnames
[] = {
32057 (char *) "self",(char *) "item", NULL
32060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32062 if (!SWIG_IsOK(res1
)) {
32063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32065 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32066 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32067 if (!SWIG_IsOK(ecode2
)) {
32068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32070 arg2
= static_cast< long >(val2
);
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 resultobj
= SWIG_From_long(static_cast< long >(result
));
32084 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32085 PyObject
*resultobj
= 0;
32086 wxListView
*arg1
= (wxListView
*) 0 ;
32090 PyObject
*swig_obj
[1] ;
32092 if (!args
) SWIG_fail
;
32093 swig_obj
[0] = args
;
32094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32095 if (!SWIG_IsOK(res1
)) {
32096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32098 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 resultobj
= SWIG_From_long(static_cast< long >(result
));
32112 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32113 PyObject
*resultobj
= 0;
32114 wxListView
*arg1
= (wxListView
*) 0 ;
32121 PyObject
* obj0
= 0 ;
32122 PyObject
* obj1
= 0 ;
32123 char * kwnames
[] = {
32124 (char *) "self",(char *) "index", NULL
32127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32129 if (!SWIG_IsOK(res1
)) {
32130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32132 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32133 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32134 if (!SWIG_IsOK(ecode2
)) {
32135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32137 arg2
= static_cast< long >(val2
);
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 result
= (bool)(arg1
)->IsSelected(arg2
);
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32153 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32154 PyObject
*resultobj
= 0;
32155 wxListView
*arg1
= (wxListView
*) 0 ;
32164 PyObject
* obj0
= 0 ;
32165 PyObject
* obj1
= 0 ;
32166 PyObject
* obj2
= 0 ;
32167 char * kwnames
[] = {
32168 (char *) "self",(char *) "col",(char *) "image", NULL
32171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32173 if (!SWIG_IsOK(res1
)) {
32174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32176 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32178 if (!SWIG_IsOK(ecode2
)) {
32179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32181 arg2
= static_cast< int >(val2
);
32182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32183 if (!SWIG_IsOK(ecode3
)) {
32184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32186 arg3
= static_cast< int >(val3
);
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 (arg1
)->SetColumnImage(arg2
,arg3
);
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= SWIG_Py_Void();
32200 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
= 0;
32202 wxListView
*arg1
= (wxListView
*) 0 ;
32208 PyObject
* obj0
= 0 ;
32209 PyObject
* obj1
= 0 ;
32210 char * kwnames
[] = {
32211 (char *) "self",(char *) "col", NULL
32214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32216 if (!SWIG_IsOK(res1
)) {
32217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32219 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32221 if (!SWIG_IsOK(ecode2
)) {
32222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32224 arg2
= static_cast< int >(val2
);
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 (arg1
)->ClearColumnImage(arg2
);
32228 wxPyEndAllowThreads(__tstate
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32231 resultobj
= SWIG_Py_Void();
32238 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32241 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32242 return SWIG_Py_Void();
32245 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32246 return SWIG_Python_InitShadowInstance(args
);
32249 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32250 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32255 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32256 PyObject
*pyobj
= 0;
32260 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32262 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32269 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32270 PyObject
*resultobj
= 0;
32271 wxTreeItemId
*result
= 0 ;
32273 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 result
= (wxTreeItemId
*)new wxTreeItemId();
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32287 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32288 PyObject
*resultobj
= 0;
32289 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32292 PyObject
*swig_obj
[1] ;
32294 if (!args
) SWIG_fail
;
32295 swig_obj
[0] = args
;
32296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32297 if (!SWIG_IsOK(res1
)) {
32298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32300 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 resultobj
= SWIG_Py_Void();
32315 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32316 PyObject
*resultobj
= 0;
32317 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32321 PyObject
*swig_obj
[1] ;
32323 if (!args
) SWIG_fail
;
32324 swig_obj
[0] = args
;
32325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32326 if (!SWIG_IsOK(res1
)) {
32327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32329 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32345 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
= 0;
32347 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32348 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32354 PyObject
* obj0
= 0 ;
32355 PyObject
* obj1
= 0 ;
32356 char * kwnames
[] = {
32357 (char *) "self",(char *) "other", NULL
32360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32362 if (!SWIG_IsOK(res1
)) {
32363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32365 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32366 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32367 if (!SWIG_IsOK(res2
)) {
32368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32370 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32373 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32386 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32387 PyObject
*resultobj
= 0;
32388 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32389 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32395 PyObject
* obj0
= 0 ;
32396 PyObject
* obj1
= 0 ;
32397 char * kwnames
[] = {
32398 (char *) "self",(char *) "other", NULL
32401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32403 if (!SWIG_IsOK(res1
)) {
32404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32406 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32408 if (!SWIG_IsOK(res2
)) {
32409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32411 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32427 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32428 PyObject
*resultobj
= 0;
32429 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32430 void *arg2
= (void *) 0 ;
32434 PyObject
*swig_obj
[2] ;
32436 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32438 if (!SWIG_IsOK(res1
)) {
32439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32441 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32442 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32443 if (!SWIG_IsOK(res2
)) {
32444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32446 if (arg1
) (arg1
)->m_pItem
= arg2
;
32448 resultobj
= SWIG_Py_Void();
32455 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32456 PyObject
*resultobj
= 0;
32457 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32461 PyObject
*swig_obj
[1] ;
32463 if (!args
) SWIG_fail
;
32464 swig_obj
[0] = args
;
32465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32466 if (!SWIG_IsOK(res1
)) {
32467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32469 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32470 result
= (void *) ((arg1
)->m_pItem
);
32471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32478 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32481 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32482 return SWIG_Py_Void();
32485 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32486 return SWIG_Python_InitShadowInstance(args
);
32489 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
= 0;
32491 PyObject
*arg1
= (PyObject
*) NULL
;
32492 wxPyTreeItemData
*result
= 0 ;
32493 PyObject
* obj0
= 0 ;
32494 char * kwnames
[] = {
32495 (char *) "obj", NULL
32498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32505 wxPyEndAllowThreads(__tstate
);
32506 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32515 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32516 PyObject
*resultobj
= 0;
32517 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32520 PyObject
*swig_obj
[1] ;
32522 if (!args
) SWIG_fail
;
32523 swig_obj
[0] = args
;
32524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32525 if (!SWIG_IsOK(res1
)) {
32526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32528 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 resultobj
= SWIG_Py_Void();
32543 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32544 PyObject
*resultobj
= 0;
32545 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32546 PyObject
*result
= 0 ;
32549 PyObject
*swig_obj
[1] ;
32551 if (!args
) SWIG_fail
;
32552 swig_obj
[0] = args
;
32553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32554 if (!SWIG_IsOK(res1
)) {
32555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32557 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= (PyObject
*)(arg1
)->GetData();
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 resultobj
= result
;
32571 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
= 0;
32573 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32574 PyObject
*arg2
= (PyObject
*) 0 ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 char * kwnames
[] = {
32580 (char *) "self",(char *) "obj", NULL
32583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32585 if (!SWIG_IsOK(res1
)) {
32586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32588 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 (arg1
)->SetData(arg2
);
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 resultobj
= SWIG_Py_Void();
32603 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32604 PyObject
*resultobj
= 0;
32605 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32606 wxTreeItemId
*result
= 0 ;
32609 PyObject
*swig_obj
[1] ;
32611 if (!args
) SWIG_fail
;
32612 swig_obj
[0] = args
;
32613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32614 if (!SWIG_IsOK(res1
)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32617 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32621 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32622 result
= (wxTreeItemId
*) &_result_ref
;
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32634 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32635 PyObject
*resultobj
= 0;
32636 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32637 wxTreeItemId
*arg2
= 0 ;
32642 PyObject
* obj0
= 0 ;
32643 PyObject
* obj1
= 0 ;
32644 char * kwnames
[] = {
32645 (char *) "self",(char *) "id", NULL
32648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32650 if (!SWIG_IsOK(res1
)) {
32651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32653 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32655 if (!SWIG_IsOK(res2
)) {
32656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32661 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32664 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32665 wxPyEndAllowThreads(__tstate
);
32666 if (PyErr_Occurred()) SWIG_fail
;
32668 resultobj
= SWIG_Py_Void();
32675 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32676 PyObject
*resultobj
= 0;
32677 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32680 PyObject
*swig_obj
[1] ;
32682 if (!args
) SWIG_fail
;
32683 swig_obj
[0] = args
;
32684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32685 if (!SWIG_IsOK(res1
)) {
32686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32688 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 wxPyTreeItemData_Destroy(arg1
);
32692 wxPyEndAllowThreads(__tstate
);
32693 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= SWIG_Py_Void();
32702 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32705 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32706 return SWIG_Py_Void();
32709 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32710 return SWIG_Python_InitShadowInstance(args
);
32713 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32716 int arg2
= (int) 0 ;
32717 wxTreeEvent
*result
= 0 ;
32722 PyObject
* obj0
= 0 ;
32723 PyObject
* obj1
= 0 ;
32724 char * kwnames
[] = {
32725 (char *) "commandType",(char *) "id", NULL
32728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32730 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32731 if (!SWIG_IsOK(ecode1
)) {
32732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32734 arg1
= static_cast< wxEventType
>(val1
);
32737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32738 if (!SWIG_IsOK(ecode2
)) {
32739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32741 arg2
= static_cast< int >(val2
);
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32746 wxPyEndAllowThreads(__tstate
);
32747 if (PyErr_Occurred()) SWIG_fail
;
32749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32756 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32757 PyObject
*resultobj
= 0;
32758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32759 wxTreeItemId result
;
32762 PyObject
*swig_obj
[1] ;
32764 if (!args
) SWIG_fail
;
32765 swig_obj
[0] = args
;
32766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32767 if (!SWIG_IsOK(res1
)) {
32768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32770 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32784 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
= 0;
32786 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32787 wxTreeItemId
*arg2
= 0 ;
32792 PyObject
* obj0
= 0 ;
32793 PyObject
* obj1
= 0 ;
32794 char * kwnames
[] = {
32795 (char *) "self",(char *) "item", NULL
32798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32800 if (!SWIG_IsOK(res1
)) {
32801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32803 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32805 if (!SWIG_IsOK(res2
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32811 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32818 resultobj
= SWIG_Py_Void();
32825 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32826 PyObject
*resultobj
= 0;
32827 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32828 wxTreeItemId result
;
32831 PyObject
*swig_obj
[1] ;
32833 if (!args
) SWIG_fail
;
32834 swig_obj
[0] = args
;
32835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32836 if (!SWIG_IsOK(res1
)) {
32837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32839 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32846 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32853 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32854 PyObject
*resultobj
= 0;
32855 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32856 wxTreeItemId
*arg2
= 0 ;
32861 PyObject
* obj0
= 0 ;
32862 PyObject
* obj1
= 0 ;
32863 char * kwnames
[] = {
32864 (char *) "self",(char *) "item", NULL
32867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32869 if (!SWIG_IsOK(res1
)) {
32870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32872 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32874 if (!SWIG_IsOK(res2
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32880 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= SWIG_Py_Void();
32894 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32895 PyObject
*resultobj
= 0;
32896 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32900 PyObject
*swig_obj
[1] ;
32902 if (!args
) SWIG_fail
;
32903 swig_obj
[0] = args
;
32904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32905 if (!SWIG_IsOK(res1
)) {
32906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32908 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32922 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
= 0;
32924 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32925 wxPoint
*arg2
= 0 ;
32929 PyObject
* obj0
= 0 ;
32930 PyObject
* obj1
= 0 ;
32931 char * kwnames
[] = {
32932 (char *) "self",(char *) "pt", NULL
32935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32937 if (!SWIG_IsOK(res1
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32940 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32951 resultobj
= SWIG_Py_Void();
32958 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32959 PyObject
*resultobj
= 0;
32960 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32961 wxKeyEvent
*result
= 0 ;
32964 PyObject
*swig_obj
[1] ;
32966 if (!args
) SWIG_fail
;
32967 swig_obj
[0] = args
;
32968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32969 if (!SWIG_IsOK(res1
)) {
32970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32972 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32977 result
= (wxKeyEvent
*) &_result_ref
;
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32989 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32990 PyObject
*resultobj
= 0;
32991 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32995 PyObject
*swig_obj
[1] ;
32997 if (!args
) SWIG_fail
;
32998 swig_obj
[0] = args
;
32999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33000 if (!SWIG_IsOK(res1
)) {
33001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33003 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= SWIG_From_int(static_cast< int >(result
));
33017 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
= 0;
33019 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33020 wxKeyEvent
*arg2
= 0 ;
33025 PyObject
* obj0
= 0 ;
33026 PyObject
* obj1
= 0 ;
33027 char * kwnames
[] = {
33028 (char *) "self",(char *) "evt", NULL
33031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33033 if (!SWIG_IsOK(res1
)) {
33034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33036 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33038 if (!SWIG_IsOK(res2
)) {
33039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33044 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= SWIG_Py_Void();
33058 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33059 PyObject
*resultobj
= 0;
33060 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33061 wxString
*result
= 0 ;
33064 PyObject
*swig_obj
[1] ;
33066 if (!args
) SWIG_fail
;
33067 swig_obj
[0] = args
;
33068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33069 if (!SWIG_IsOK(res1
)) {
33070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33072 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33077 result
= (wxString
*) &_result_ref
;
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33084 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33086 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33095 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33096 PyObject
*resultobj
= 0;
33097 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33098 wxString
*arg2
= 0 ;
33101 bool temp2
= false ;
33102 PyObject
* obj0
= 0 ;
33103 PyObject
* obj1
= 0 ;
33104 char * kwnames
[] = {
33105 (char *) "self",(char *) "label", NULL
33108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33110 if (!SWIG_IsOK(res1
)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33113 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33115 arg2
= wxString_in_helper(obj1
);
33116 if (arg2
== NULL
) SWIG_fail
;
33120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33121 (arg1
)->SetLabel((wxString
const &)*arg2
);
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33125 resultobj
= SWIG_Py_Void();
33140 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33141 PyObject
*resultobj
= 0;
33142 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33146 PyObject
*swig_obj
[1] ;
33148 if (!args
) SWIG_fail
;
33149 swig_obj
[0] = args
;
33150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33151 if (!SWIG_IsOK(res1
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33154 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33170 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33171 PyObject
*resultobj
= 0;
33172 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33178 PyObject
* obj0
= 0 ;
33179 PyObject
* obj1
= 0 ;
33180 char * kwnames
[] = {
33181 (char *) "self",(char *) "editCancelled", NULL
33184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33186 if (!SWIG_IsOK(res1
)) {
33187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33189 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33190 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33191 if (!SWIG_IsOK(ecode2
)) {
33192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33194 arg2
= static_cast< bool >(val2
);
33196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33197 (arg1
)->SetEditCanceled(arg2
);
33198 wxPyEndAllowThreads(__tstate
);
33199 if (PyErr_Occurred()) SWIG_fail
;
33201 resultobj
= SWIG_Py_Void();
33208 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
= 0;
33210 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33211 wxString
*arg2
= 0 ;
33214 bool temp2
= false ;
33215 PyObject
* obj0
= 0 ;
33216 PyObject
* obj1
= 0 ;
33217 char * kwnames
[] = {
33218 (char *) "self",(char *) "toolTip", NULL
33221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33223 if (!SWIG_IsOK(res1
)) {
33224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33226 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33228 arg2
= wxString_in_helper(obj1
);
33229 if (arg2
== NULL
) SWIG_fail
;
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33235 wxPyEndAllowThreads(__tstate
);
33236 if (PyErr_Occurred()) SWIG_fail
;
33238 resultobj
= SWIG_Py_Void();
33253 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33254 PyObject
*resultobj
= 0;
33255 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33259 PyObject
*swig_obj
[1] ;
33261 if (!args
) SWIG_fail
;
33262 swig_obj
[0] = args
;
33263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33264 if (!SWIG_IsOK(res1
)) {
33265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33267 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (arg1
)->GetToolTip();
33271 wxPyEndAllowThreads(__tstate
);
33272 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33287 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33290 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33291 return SWIG_Py_Void();
33294 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33295 return SWIG_Python_InitShadowInstance(args
);
33298 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33299 PyObject
*resultobj
= 0;
33300 wxWindow
*arg1
= (wxWindow
*) 0 ;
33301 int arg2
= (int) -1 ;
33302 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33303 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33304 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33305 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33306 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33307 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33308 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33309 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33310 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33311 wxPyTreeCtrl
*result
= 0 ;
33322 bool temp7
= false ;
33323 PyObject
* obj0
= 0 ;
33324 PyObject
* obj1
= 0 ;
33325 PyObject
* obj2
= 0 ;
33326 PyObject
* obj3
= 0 ;
33327 PyObject
* obj4
= 0 ;
33328 PyObject
* obj5
= 0 ;
33329 PyObject
* obj6
= 0 ;
33330 char * kwnames
[] = {
33331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33336 if (!SWIG_IsOK(res1
)) {
33337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33342 if (!SWIG_IsOK(ecode2
)) {
33343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33345 arg2
= static_cast< int >(val2
);
33350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33360 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33361 if (!SWIG_IsOK(ecode5
)) {
33362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33364 arg5
= static_cast< long >(val5
);
33367 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33368 if (!SWIG_IsOK(res6
)) {
33369 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33374 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33378 arg7
= wxString_in_helper(obj6
);
33379 if (arg7
== NULL
) SWIG_fail
;
33384 if (!wxPyCheckForApp()) SWIG_fail
;
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33386 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33387 wxPyEndAllowThreads(__tstate
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33405 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33406 PyObject
*resultobj
= 0;
33407 wxPyTreeCtrl
*result
= 0 ;
33409 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33411 if (!wxPyCheckForApp()) SWIG_fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33414 wxPyEndAllowThreads(__tstate
);
33415 if (PyErr_Occurred()) SWIG_fail
;
33417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33424 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33425 PyObject
*resultobj
= 0;
33426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33427 wxWindow
*arg2
= (wxWindow
*) 0 ;
33428 int arg3
= (int) -1 ;
33429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33433 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33434 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33435 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33436 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33437 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33451 bool temp8
= false ;
33452 PyObject
* obj0
= 0 ;
33453 PyObject
* obj1
= 0 ;
33454 PyObject
* obj2
= 0 ;
33455 PyObject
* obj3
= 0 ;
33456 PyObject
* obj4
= 0 ;
33457 PyObject
* obj5
= 0 ;
33458 PyObject
* obj6
= 0 ;
33459 PyObject
* obj7
= 0 ;
33460 char * kwnames
[] = {
33461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33466 if (!SWIG_IsOK(res1
)) {
33467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33469 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33471 if (!SWIG_IsOK(res2
)) {
33472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33474 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33477 if (!SWIG_IsOK(ecode3
)) {
33478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33480 arg3
= static_cast< int >(val3
);
33485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33495 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33496 if (!SWIG_IsOK(ecode6
)) {
33497 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33499 arg6
= static_cast< long >(val6
);
33502 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33503 if (!SWIG_IsOK(res7
)) {
33504 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33509 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33513 arg8
= wxString_in_helper(obj7
);
33514 if (arg8
== NULL
) SWIG_fail
;
33519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33520 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33521 wxPyEndAllowThreads(__tstate
);
33522 if (PyErr_Occurred()) SWIG_fail
;
33525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33541 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33542 PyObject
*resultobj
= 0;
33543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33544 PyObject
*arg2
= (PyObject
*) 0 ;
33545 PyObject
*arg3
= (PyObject
*) 0 ;
33548 PyObject
* obj0
= 0 ;
33549 PyObject
* obj1
= 0 ;
33550 PyObject
* obj2
= 0 ;
33551 char * kwnames
[] = {
33552 (char *) "self",(char *) "self",(char *) "_class", NULL
33555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33557 if (!SWIG_IsOK(res1
)) {
33558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33560 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33566 wxPyEndAllowThreads(__tstate
);
33567 if (PyErr_Occurred()) SWIG_fail
;
33569 resultobj
= SWIG_Py_Void();
33576 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33577 PyObject
*resultobj
= 0;
33578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33579 unsigned int result
;
33582 PyObject
*swig_obj
[1] ;
33584 if (!args
) SWIG_fail
;
33585 swig_obj
[0] = args
;
33586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33587 if (!SWIG_IsOK(res1
)) {
33588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33590 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33593 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33594 wxPyEndAllowThreads(__tstate
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33604 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33605 PyObject
*resultobj
= 0;
33606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33607 unsigned int result
;
33610 PyObject
*swig_obj
[1] ;
33612 if (!args
) SWIG_fail
;
33613 swig_obj
[0] = args
;
33614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33615 if (!SWIG_IsOK(res1
)) {
33616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33618 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33621 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33622 wxPyEndAllowThreads(__tstate
);
33623 if (PyErr_Occurred()) SWIG_fail
;
33625 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33632 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
= 0;
33634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33635 unsigned int arg2
;
33638 unsigned int val2
;
33640 PyObject
* obj0
= 0 ;
33641 PyObject
* obj1
= 0 ;
33642 char * kwnames
[] = {
33643 (char *) "self",(char *) "indent", NULL
33646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33648 if (!SWIG_IsOK(res1
)) {
33649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33651 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33652 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33653 if (!SWIG_IsOK(ecode2
)) {
33654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33656 arg2
= static_cast< unsigned int >(val2
);
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 (arg1
)->SetIndent(arg2
);
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33663 resultobj
= SWIG_Py_Void();
33670 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33671 PyObject
*resultobj
= 0;
33672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33673 unsigned int result
;
33676 PyObject
*swig_obj
[1] ;
33678 if (!args
) SWIG_fail
;
33679 swig_obj
[0] = args
;
33680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33684 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33688 wxPyEndAllowThreads(__tstate
);
33689 if (PyErr_Occurred()) SWIG_fail
;
33691 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33698 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
= 0;
33700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33701 unsigned int arg2
;
33704 unsigned int val2
;
33706 PyObject
* obj0
= 0 ;
33707 PyObject
* obj1
= 0 ;
33708 char * kwnames
[] = {
33709 (char *) "self",(char *) "spacing", NULL
33712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33714 if (!SWIG_IsOK(res1
)) {
33715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33717 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33718 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33719 if (!SWIG_IsOK(ecode2
)) {
33720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33722 arg2
= static_cast< unsigned int >(val2
);
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 (arg1
)->SetSpacing(arg2
);
33726 wxPyEndAllowThreads(__tstate
);
33727 if (PyErr_Occurred()) SWIG_fail
;
33729 resultobj
= SWIG_Py_Void();
33736 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33737 PyObject
*resultobj
= 0;
33738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33739 wxImageList
*result
= 0 ;
33742 PyObject
*swig_obj
[1] ;
33744 if (!args
) SWIG_fail
;
33745 swig_obj
[0] = args
;
33746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33747 if (!SWIG_IsOK(res1
)) {
33748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33750 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33753 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33758 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33766 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33767 PyObject
*resultobj
= 0;
33768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33769 wxImageList
*result
= 0 ;
33772 PyObject
*swig_obj
[1] ;
33774 if (!args
) SWIG_fail
;
33775 swig_obj
[0] = args
;
33776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33777 if (!SWIG_IsOK(res1
)) {
33778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33780 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33788 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33796 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33797 PyObject
*resultobj
= 0;
33798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33799 wxImageList
*arg2
= (wxImageList
*) 0 ;
33804 PyObject
* obj0
= 0 ;
33805 PyObject
* obj1
= 0 ;
33806 char * kwnames
[] = {
33807 (char *) "self",(char *) "imageList", NULL
33810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33812 if (!SWIG_IsOK(res1
)) {
33813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33815 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33817 if (!SWIG_IsOK(res2
)) {
33818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33820 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 (arg1
)->SetImageList(arg2
);
33824 wxPyEndAllowThreads(__tstate
);
33825 if (PyErr_Occurred()) SWIG_fail
;
33827 resultobj
= SWIG_Py_Void();
33834 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33835 PyObject
*resultobj
= 0;
33836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33837 wxImageList
*arg2
= (wxImageList
*) 0 ;
33842 PyObject
* obj0
= 0 ;
33843 PyObject
* obj1
= 0 ;
33844 char * kwnames
[] = {
33845 (char *) "self",(char *) "imageList", NULL
33848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33850 if (!SWIG_IsOK(res1
)) {
33851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33855 if (!SWIG_IsOK(res2
)) {
33856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33858 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33861 (arg1
)->SetStateImageList(arg2
);
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33865 resultobj
= SWIG_Py_Void();
33872 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
= 0;
33874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33875 wxImageList
*arg2
= (wxImageList
*) 0 ;
33879 PyObject
* obj0
= 0 ;
33880 PyObject
* obj1
= 0 ;
33881 char * kwnames
[] = {
33882 (char *) "self",(char *) "imageList", NULL
33885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33887 if (!SWIG_IsOK(res1
)) {
33888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33890 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33891 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33892 if (!SWIG_IsOK(res2
)) {
33893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33897 (arg1
)->AssignImageList(arg2
);
33898 wxPyEndAllowThreads(__tstate
);
33899 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= SWIG_Py_Void();
33908 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33909 PyObject
*resultobj
= 0;
33910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33911 wxImageList
*arg2
= (wxImageList
*) 0 ;
33915 PyObject
* obj0
= 0 ;
33916 PyObject
* obj1
= 0 ;
33917 char * kwnames
[] = {
33918 (char *) "self",(char *) "imageList", NULL
33921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33923 if (!SWIG_IsOK(res1
)) {
33924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33926 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33927 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33928 if (!SWIG_IsOK(res2
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 (arg1
)->AssignStateImageList(arg2
);
33934 wxPyEndAllowThreads(__tstate
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33937 resultobj
= SWIG_Py_Void();
33944 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33945 PyObject
*resultobj
= 0;
33946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33947 wxTreeItemId
*arg2
= 0 ;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char * kwnames
[] = {
33956 (char *) "self",(char *) "item", NULL
33959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33961 if (!SWIG_IsOK(res1
)) {
33962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33966 if (!SWIG_IsOK(res2
)) {
33967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33972 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33975 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33992 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33993 PyObject
*resultobj
= 0;
33994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33995 wxTreeItemId
*arg2
= 0 ;
33996 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34004 PyObject
* obj0
= 0 ;
34005 PyObject
* obj1
= 0 ;
34006 PyObject
* obj2
= 0 ;
34007 char * kwnames
[] = {
34008 (char *) "self",(char *) "item",(char *) "which", NULL
34011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34013 if (!SWIG_IsOK(res1
)) {
34014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34016 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34018 if (!SWIG_IsOK(res2
)) {
34019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34024 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34027 if (!SWIG_IsOK(ecode3
)) {
34028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34030 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= SWIG_From_int(static_cast< int >(result
));
34045 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34046 PyObject
*resultobj
= 0;
34047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34048 wxTreeItemId
*arg2
= 0 ;
34049 wxPyTreeItemData
*result
= 0 ;
34054 PyObject
* obj0
= 0 ;
34055 PyObject
* obj1
= 0 ;
34056 char * kwnames
[] = {
34057 (char *) "self",(char *) "item", NULL
34060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34062 if (!SWIG_IsOK(res1
)) {
34063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34065 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34067 if (!SWIG_IsOK(res2
)) {
34068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34073 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34076 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34087 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
= 0;
34089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34090 wxTreeItemId
*arg2
= 0 ;
34091 PyObject
*result
= 0 ;
34096 PyObject
* obj0
= 0 ;
34097 PyObject
* obj1
= 0 ;
34098 char * kwnames
[] = {
34099 (char *) "self",(char *) "item", NULL
34102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34109 if (!SWIG_IsOK(res2
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34115 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34118 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34119 wxPyEndAllowThreads(__tstate
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34122 resultobj
= result
;
34129 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34130 PyObject
*resultobj
= 0;
34131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34132 wxTreeItemId
*arg2
= 0 ;
34138 PyObject
* obj0
= 0 ;
34139 PyObject
* obj1
= 0 ;
34140 char * kwnames
[] = {
34141 (char *) "self",(char *) "item", NULL
34144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34146 if (!SWIG_IsOK(res1
)) {
34147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34149 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34151 if (!SWIG_IsOK(res2
)) {
34152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34157 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34160 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34161 wxPyEndAllowThreads(__tstate
);
34162 if (PyErr_Occurred()) SWIG_fail
;
34164 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34171 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
= 0;
34173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34174 wxTreeItemId
*arg2
= 0 ;
34180 PyObject
* obj0
= 0 ;
34181 PyObject
* obj1
= 0 ;
34182 char * kwnames
[] = {
34183 (char *) "self",(char *) "item", NULL
34186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34188 if (!SWIG_IsOK(res1
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34191 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34193 if (!SWIG_IsOK(res2
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34199 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34206 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34213 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
= 0;
34215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34216 wxTreeItemId
*arg2
= 0 ;
34222 PyObject
* obj0
= 0 ;
34223 PyObject
* obj1
= 0 ;
34224 char * kwnames
[] = {
34225 (char *) "self",(char *) "item", NULL
34228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34230 if (!SWIG_IsOK(res1
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34233 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34235 if (!SWIG_IsOK(res2
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34241 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34255 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
= 0;
34257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34258 wxTreeItemId
*arg2
= 0 ;
34259 wxString
*arg3
= 0 ;
34264 bool temp3
= false ;
34265 PyObject
* obj0
= 0 ;
34266 PyObject
* obj1
= 0 ;
34267 PyObject
* obj2
= 0 ;
34268 char * kwnames
[] = {
34269 (char *) "self",(char *) "item",(char *) "text", NULL
34272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34274 if (!SWIG_IsOK(res1
)) {
34275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34277 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34279 if (!SWIG_IsOK(res2
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34285 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34287 arg3
= wxString_in_helper(obj2
);
34288 if (arg3
== NULL
) SWIG_fail
;
34292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34293 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34297 resultobj
= SWIG_Py_Void();
34312 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
= 0;
34314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34315 wxTreeItemId
*arg2
= 0 ;
34317 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34326 PyObject
* obj0
= 0 ;
34327 PyObject
* obj1
= 0 ;
34328 PyObject
* obj2
= 0 ;
34329 PyObject
* obj3
= 0 ;
34330 char * kwnames
[] = {
34331 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34336 if (!SWIG_IsOK(res1
)) {
34337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34339 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34341 if (!SWIG_IsOK(res2
)) {
34342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34347 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34349 if (!SWIG_IsOK(ecode3
)) {
34350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34352 arg3
= static_cast< int >(val3
);
34354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34355 if (!SWIG_IsOK(ecode4
)) {
34356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34358 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34362 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34363 wxPyEndAllowThreads(__tstate
);
34364 if (PyErr_Occurred()) SWIG_fail
;
34366 resultobj
= SWIG_Py_Void();
34373 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34374 PyObject
*resultobj
= 0;
34375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34376 wxTreeItemId
*arg2
= 0 ;
34377 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34383 PyObject
* obj0
= 0 ;
34384 PyObject
* obj1
= 0 ;
34385 PyObject
* obj2
= 0 ;
34386 char * kwnames
[] = {
34387 (char *) "self",(char *) "item",(char *) "data", NULL
34390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34392 if (!SWIG_IsOK(res1
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34395 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34397 if (!SWIG_IsOK(res2
)) {
34398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34403 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34404 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34405 if (!SWIG_IsOK(res3
)) {
34406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34411 wxPyEndAllowThreads(__tstate
);
34412 if (PyErr_Occurred()) SWIG_fail
;
34414 resultobj
= SWIG_Py_Void();
34421 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34422 PyObject
*resultobj
= 0;
34423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34424 wxTreeItemId
*arg2
= 0 ;
34425 PyObject
*arg3
= (PyObject
*) 0 ;
34430 PyObject
* obj0
= 0 ;
34431 PyObject
* obj1
= 0 ;
34432 PyObject
* obj2
= 0 ;
34433 char * kwnames
[] = {
34434 (char *) "self",(char *) "item",(char *) "obj", NULL
34437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34439 if (!SWIG_IsOK(res1
)) {
34440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34442 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34444 if (!SWIG_IsOK(res2
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34450 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= SWIG_Py_Void();
34465 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= 0;
34467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34468 wxTreeItemId
*arg2
= 0 ;
34469 bool arg3
= (bool) true ;
34476 PyObject
* obj0
= 0 ;
34477 PyObject
* obj1
= 0 ;
34478 PyObject
* obj2
= 0 ;
34479 char * kwnames
[] = {
34480 (char *) "self",(char *) "item",(char *) "has", NULL
34483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34485 if (!SWIG_IsOK(res1
)) {
34486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34490 if (!SWIG_IsOK(res2
)) {
34491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34496 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34498 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34499 if (!SWIG_IsOK(ecode3
)) {
34500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34502 arg3
= static_cast< bool >(val3
);
34505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34506 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34507 wxPyEndAllowThreads(__tstate
);
34508 if (PyErr_Occurred()) SWIG_fail
;
34510 resultobj
= SWIG_Py_Void();
34517 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34518 PyObject
*resultobj
= 0;
34519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34520 wxTreeItemId
*arg2
= 0 ;
34521 bool arg3
= (bool) true ;
34528 PyObject
* obj0
= 0 ;
34529 PyObject
* obj1
= 0 ;
34530 PyObject
* obj2
= 0 ;
34531 char * kwnames
[] = {
34532 (char *) "self",(char *) "item",(char *) "bold", NULL
34535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34537 if (!SWIG_IsOK(res1
)) {
34538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34540 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34542 if (!SWIG_IsOK(res2
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34548 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34550 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34551 if (!SWIG_IsOK(ecode3
)) {
34552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34554 arg3
= static_cast< bool >(val3
);
34557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34558 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34559 wxPyEndAllowThreads(__tstate
);
34560 if (PyErr_Occurred()) SWIG_fail
;
34562 resultobj
= SWIG_Py_Void();
34569 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
= 0;
34571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34572 wxTreeItemId
*arg2
= 0 ;
34573 bool arg3
= (bool) true ;
34580 PyObject
* obj0
= 0 ;
34581 PyObject
* obj1
= 0 ;
34582 PyObject
* obj2
= 0 ;
34583 char * kwnames
[] = {
34584 (char *) "self",(char *) "item",(char *) "highlight", NULL
34587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34589 if (!SWIG_IsOK(res1
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34592 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34594 if (!SWIG_IsOK(res2
)) {
34595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34600 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34603 if (!SWIG_IsOK(ecode3
)) {
34604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34606 arg3
= static_cast< bool >(val3
);
34609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34610 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34611 wxPyEndAllowThreads(__tstate
);
34612 if (PyErr_Occurred()) SWIG_fail
;
34614 resultobj
= SWIG_Py_Void();
34621 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34622 PyObject
*resultobj
= 0;
34623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34624 wxTreeItemId
*arg2
= 0 ;
34625 wxColour
*arg3
= 0 ;
34631 PyObject
* obj0
= 0 ;
34632 PyObject
* obj1
= 0 ;
34633 PyObject
* obj2
= 0 ;
34634 char * kwnames
[] = {
34635 (char *) "self",(char *) "item",(char *) "col", NULL
34638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34640 if (!SWIG_IsOK(res1
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34643 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34645 if (!SWIG_IsOK(res2
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34651 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34658 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34659 wxPyEndAllowThreads(__tstate
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34662 resultobj
= SWIG_Py_Void();
34669 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
= 0;
34671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34672 wxTreeItemId
*arg2
= 0 ;
34673 wxColour
*arg3
= 0 ;
34679 PyObject
* obj0
= 0 ;
34680 PyObject
* obj1
= 0 ;
34681 PyObject
* obj2
= 0 ;
34682 char * kwnames
[] = {
34683 (char *) "self",(char *) "item",(char *) "col", NULL
34686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34688 if (!SWIG_IsOK(res1
)) {
34689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34691 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34693 if (!SWIG_IsOK(res2
)) {
34694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34699 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34702 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= SWIG_Py_Void();
34717 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
= 0;
34719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34720 wxTreeItemId
*arg2
= 0 ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 PyObject
* obj2
= 0 ;
34731 char * kwnames
[] = {
34732 (char *) "self",(char *) "item",(char *) "font", NULL
34735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34737 if (!SWIG_IsOK(res1
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34740 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34742 if (!SWIG_IsOK(res2
)) {
34743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34748 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34749 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34750 if (!SWIG_IsOK(res3
)) {
34751 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34756 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 resultobj
= SWIG_Py_Void();
34770 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34771 PyObject
*resultobj
= 0;
34772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34773 wxTreeItemId
*arg2
= 0 ;
34779 PyObject
* obj0
= 0 ;
34780 PyObject
* obj1
= 0 ;
34781 char * kwnames
[] = {
34782 (char *) "self",(char *) "item", NULL
34785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34787 if (!SWIG_IsOK(res1
)) {
34788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34790 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34792 if (!SWIG_IsOK(res2
)) {
34793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34798 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34802 wxPyEndAllowThreads(__tstate
);
34803 if (PyErr_Occurred()) SWIG_fail
;
34806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34814 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34815 PyObject
*resultobj
= 0;
34816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34817 wxTreeItemId
*arg2
= 0 ;
34823 PyObject
* obj0
= 0 ;
34824 PyObject
* obj1
= 0 ;
34825 char * kwnames
[] = {
34826 (char *) "self",(char *) "item", NULL
34829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34831 if (!SWIG_IsOK(res1
)) {
34832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34834 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34836 if (!SWIG_IsOK(res2
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34842 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34845 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34846 wxPyEndAllowThreads(__tstate
);
34847 if (PyErr_Occurred()) SWIG_fail
;
34850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34858 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34859 PyObject
*resultobj
= 0;
34860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34861 wxTreeItemId
*arg2
= 0 ;
34867 PyObject
* obj0
= 0 ;
34868 PyObject
* obj1
= 0 ;
34869 char * kwnames
[] = {
34870 (char *) "self",(char *) "item", NULL
34873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34875 if (!SWIG_IsOK(res1
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34878 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34880 if (!SWIG_IsOK(res2
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34886 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34890 wxPyEndAllowThreads(__tstate
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34902 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34903 PyObject
*resultobj
= 0;
34904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34905 wxTreeItemId
*arg2
= 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 char * kwnames
[] = {
34914 (char *) "self",(char *) "item", NULL
34917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34919 if (!SWIG_IsOK(res1
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34924 if (!SWIG_IsOK(res2
)) {
34925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34930 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34933 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34934 wxPyEndAllowThreads(__tstate
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34946 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34947 PyObject
*resultobj
= 0;
34948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34949 wxTreeItemId
*arg2
= 0 ;
34955 PyObject
* obj0
= 0 ;
34956 PyObject
* obj1
= 0 ;
34957 char * kwnames
[] = {
34958 (char *) "self",(char *) "item", NULL
34961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34963 if (!SWIG_IsOK(res1
)) {
34964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34966 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34968 if (!SWIG_IsOK(res2
)) {
34969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34974 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34977 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34990 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34991 PyObject
*resultobj
= 0;
34992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34993 wxTreeItemId
*arg2
= 0 ;
34994 bool arg3
= (bool) true ;
35002 PyObject
* obj0
= 0 ;
35003 PyObject
* obj1
= 0 ;
35004 PyObject
* obj2
= 0 ;
35005 char * kwnames
[] = {
35006 (char *) "self",(char *) "item",(char *) "recursively", NULL
35009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35011 if (!SWIG_IsOK(res1
)) {
35012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35014 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35016 if (!SWIG_IsOK(res2
)) {
35017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35022 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35024 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35025 if (!SWIG_IsOK(ecode3
)) {
35026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35028 arg3
= static_cast< bool >(val3
);
35031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35032 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35033 wxPyEndAllowThreads(__tstate
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35036 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35043 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35044 PyObject
*resultobj
= 0;
35045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35046 wxTreeItemId result
;
35049 PyObject
*swig_obj
[1] ;
35051 if (!args
) SWIG_fail
;
35052 swig_obj
[0] = args
;
35053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35054 if (!SWIG_IsOK(res1
)) {
35055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35057 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35060 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35061 wxPyEndAllowThreads(__tstate
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35064 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35071 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35072 PyObject
*resultobj
= 0;
35073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35074 wxTreeItemId result
;
35077 PyObject
*swig_obj
[1] ;
35079 if (!args
) SWIG_fail
;
35080 swig_obj
[0] = args
;
35081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35082 if (!SWIG_IsOK(res1
)) {
35083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35085 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35088 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35089 wxPyEndAllowThreads(__tstate
);
35090 if (PyErr_Occurred()) SWIG_fail
;
35092 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35099 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35100 PyObject
*resultobj
= 0;
35101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35102 PyObject
*result
= 0 ;
35105 PyObject
*swig_obj
[1] ;
35107 if (!args
) SWIG_fail
;
35108 swig_obj
[0] = args
;
35109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35110 if (!SWIG_IsOK(res1
)) {
35111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35113 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35120 resultobj
= result
;
35127 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35128 PyObject
*resultobj
= 0;
35129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35130 wxTreeItemId
*arg2
= 0 ;
35131 wxTreeItemId result
;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 char * kwnames
[] = {
35139 (char *) "self",(char *) "item", NULL
35142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35144 if (!SWIG_IsOK(res1
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35147 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35149 if (!SWIG_IsOK(res2
)) {
35150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35155 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35162 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35169 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35170 PyObject
*resultobj
= 0;
35171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35172 wxTreeItemId
*arg2
= 0 ;
35173 PyObject
*result
= 0 ;
35178 PyObject
* obj0
= 0 ;
35179 PyObject
* obj1
= 0 ;
35180 char * kwnames
[] = {
35181 (char *) "self",(char *) "item", NULL
35184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35186 if (!SWIG_IsOK(res1
)) {
35187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35189 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35191 if (!SWIG_IsOK(res2
)) {
35192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35197 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35200 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35201 wxPyEndAllowThreads(__tstate
);
35202 if (PyErr_Occurred()) SWIG_fail
;
35204 resultobj
= result
;
35211 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35212 PyObject
*resultobj
= 0;
35213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35214 wxTreeItemId
*arg2
= 0 ;
35215 void *arg3
= (void *) 0 ;
35216 PyObject
*result
= 0 ;
35222 PyObject
* obj0
= 0 ;
35223 PyObject
* obj1
= 0 ;
35224 PyObject
* obj2
= 0 ;
35225 char * kwnames
[] = {
35226 (char *) "self",(char *) "item",(char *) "cookie", NULL
35229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35231 if (!SWIG_IsOK(res1
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35234 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35236 if (!SWIG_IsOK(res2
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35242 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35243 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35244 if (!SWIG_IsOK(res3
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35249 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35253 resultobj
= result
;
35260 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
= 0;
35262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35263 wxTreeItemId
*arg2
= 0 ;
35264 wxTreeItemId result
;
35269 PyObject
* obj0
= 0 ;
35270 PyObject
* obj1
= 0 ;
35271 char * kwnames
[] = {
35272 (char *) "self",(char *) "item", NULL
35275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35277 if (!SWIG_IsOK(res1
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35280 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35282 if (!SWIG_IsOK(res2
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35288 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35291 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35292 wxPyEndAllowThreads(__tstate
);
35293 if (PyErr_Occurred()) SWIG_fail
;
35295 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35302 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35303 PyObject
*resultobj
= 0;
35304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35305 wxTreeItemId
*arg2
= 0 ;
35306 wxTreeItemId result
;
35311 PyObject
* obj0
= 0 ;
35312 PyObject
* obj1
= 0 ;
35313 char * kwnames
[] = {
35314 (char *) "self",(char *) "item", NULL
35317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35319 if (!SWIG_IsOK(res1
)) {
35320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35322 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35324 if (!SWIG_IsOK(res2
)) {
35325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35330 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35333 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35334 wxPyEndAllowThreads(__tstate
);
35335 if (PyErr_Occurred()) SWIG_fail
;
35337 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35344 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35345 PyObject
*resultobj
= 0;
35346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35347 wxTreeItemId
*arg2
= 0 ;
35348 wxTreeItemId result
;
35353 PyObject
* obj0
= 0 ;
35354 PyObject
* obj1
= 0 ;
35355 char * kwnames
[] = {
35356 (char *) "self",(char *) "item", NULL
35359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35361 if (!SWIG_IsOK(res1
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35364 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35366 if (!SWIG_IsOK(res2
)) {
35367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35372 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35375 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35376 wxPyEndAllowThreads(__tstate
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35379 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35386 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35387 PyObject
*resultobj
= 0;
35388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35389 wxTreeItemId result
;
35392 PyObject
*swig_obj
[1] ;
35394 if (!args
) SWIG_fail
;
35395 swig_obj
[0] = args
;
35396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35397 if (!SWIG_IsOK(res1
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35403 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35404 wxPyEndAllowThreads(__tstate
);
35405 if (PyErr_Occurred()) SWIG_fail
;
35407 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35414 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35415 PyObject
*resultobj
= 0;
35416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35417 wxTreeItemId
*arg2
= 0 ;
35418 wxTreeItemId result
;
35423 PyObject
* obj0
= 0 ;
35424 PyObject
* obj1
= 0 ;
35425 char * kwnames
[] = {
35426 (char *) "self",(char *) "item", NULL
35429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35431 if (!SWIG_IsOK(res1
)) {
35432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35434 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35436 if (!SWIG_IsOK(res2
)) {
35437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35442 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35445 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35446 wxPyEndAllowThreads(__tstate
);
35447 if (PyErr_Occurred()) SWIG_fail
;
35449 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35456 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35457 PyObject
*resultobj
= 0;
35458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35459 wxTreeItemId
*arg2
= 0 ;
35460 wxTreeItemId result
;
35465 PyObject
* obj0
= 0 ;
35466 PyObject
* obj1
= 0 ;
35467 char * kwnames
[] = {
35468 (char *) "self",(char *) "item", NULL
35471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35473 if (!SWIG_IsOK(res1
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35476 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35478 if (!SWIG_IsOK(res2
)) {
35479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35484 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35488 wxPyEndAllowThreads(__tstate
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35491 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35498 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35499 PyObject
*resultobj
= 0;
35500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35501 wxString
*arg2
= 0 ;
35502 int arg3
= (int) -1 ;
35503 int arg4
= (int) -1 ;
35504 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35505 wxTreeItemId result
;
35508 bool temp2
= false ;
35514 PyObject
* obj0
= 0 ;
35515 PyObject
* obj1
= 0 ;
35516 PyObject
* obj2
= 0 ;
35517 PyObject
* obj3
= 0 ;
35518 PyObject
* obj4
= 0 ;
35519 char * kwnames
[] = {
35520 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35525 if (!SWIG_IsOK(res1
)) {
35526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35528 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35530 arg2
= wxString_in_helper(obj1
);
35531 if (arg2
== NULL
) SWIG_fail
;
35535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35536 if (!SWIG_IsOK(ecode3
)) {
35537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35539 arg3
= static_cast< int >(val3
);
35542 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35543 if (!SWIG_IsOK(ecode4
)) {
35544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35546 arg4
= static_cast< int >(val4
);
35549 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35550 if (!SWIG_IsOK(res5
)) {
35551 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35556 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35575 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35576 PyObject
*resultobj
= 0;
35577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35578 wxTreeItemId
*arg2
= 0 ;
35579 wxString
*arg3
= 0 ;
35580 int arg4
= (int) -1 ;
35581 int arg5
= (int) -1 ;
35582 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35583 wxTreeItemId result
;
35588 bool temp3
= false ;
35594 PyObject
* obj0
= 0 ;
35595 PyObject
* obj1
= 0 ;
35596 PyObject
* obj2
= 0 ;
35597 PyObject
* obj3
= 0 ;
35598 PyObject
* obj4
= 0 ;
35599 PyObject
* obj5
= 0 ;
35600 char * kwnames
[] = {
35601 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35606 if (!SWIG_IsOK(res1
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35609 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35611 if (!SWIG_IsOK(res2
)) {
35612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35617 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35619 arg3
= wxString_in_helper(obj2
);
35620 if (arg3
== NULL
) SWIG_fail
;
35624 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35625 if (!SWIG_IsOK(ecode4
)) {
35626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35628 arg4
= static_cast< int >(val4
);
35631 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35632 if (!SWIG_IsOK(ecode5
)) {
35633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35635 arg5
= static_cast< int >(val5
);
35638 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35639 if (!SWIG_IsOK(res6
)) {
35640 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35645 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35646 wxPyEndAllowThreads(__tstate
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35649 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35664 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35665 PyObject
*resultobj
= 0;
35666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35667 wxTreeItemId
*arg2
= 0 ;
35668 wxTreeItemId
*arg3
= 0 ;
35669 wxString
*arg4
= 0 ;
35670 int arg5
= (int) -1 ;
35671 int arg6
= (int) -1 ;
35672 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35673 wxTreeItemId result
;
35680 bool temp4
= false ;
35686 PyObject
* obj0
= 0 ;
35687 PyObject
* obj1
= 0 ;
35688 PyObject
* obj2
= 0 ;
35689 PyObject
* obj3
= 0 ;
35690 PyObject
* obj4
= 0 ;
35691 PyObject
* obj5
= 0 ;
35692 PyObject
* obj6
= 0 ;
35693 char * kwnames
[] = {
35694 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35699 if (!SWIG_IsOK(res1
)) {
35700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35702 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35704 if (!SWIG_IsOK(res2
)) {
35705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35710 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35711 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35712 if (!SWIG_IsOK(res3
)) {
35713 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35718 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35720 arg4
= wxString_in_helper(obj3
);
35721 if (arg4
== NULL
) SWIG_fail
;
35725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35726 if (!SWIG_IsOK(ecode5
)) {
35727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35729 arg5
= static_cast< int >(val5
);
35732 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35733 if (!SWIG_IsOK(ecode6
)) {
35734 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35736 arg6
= static_cast< int >(val6
);
35739 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35740 if (!SWIG_IsOK(res7
)) {
35741 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35746 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35747 wxPyEndAllowThreads(__tstate
);
35748 if (PyErr_Occurred()) SWIG_fail
;
35750 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35765 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35766 PyObject
*resultobj
= 0;
35767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35768 wxTreeItemId
*arg2
= 0 ;
35770 wxString
*arg4
= 0 ;
35771 int arg5
= (int) -1 ;
35772 int arg6
= (int) -1 ;
35773 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35774 wxTreeItemId result
;
35781 bool temp4
= false ;
35787 PyObject
* obj0
= 0 ;
35788 PyObject
* obj1
= 0 ;
35789 PyObject
* obj2
= 0 ;
35790 PyObject
* obj3
= 0 ;
35791 PyObject
* obj4
= 0 ;
35792 PyObject
* obj5
= 0 ;
35793 PyObject
* obj6
= 0 ;
35794 char * kwnames
[] = {
35795 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35800 if (!SWIG_IsOK(res1
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35803 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35805 if (!SWIG_IsOK(res2
)) {
35806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35811 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35812 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35813 if (!SWIG_IsOK(ecode3
)) {
35814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35816 arg3
= static_cast< size_t >(val3
);
35818 arg4
= wxString_in_helper(obj3
);
35819 if (arg4
== NULL
) SWIG_fail
;
35823 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35824 if (!SWIG_IsOK(ecode5
)) {
35825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35827 arg5
= static_cast< int >(val5
);
35830 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35831 if (!SWIG_IsOK(ecode6
)) {
35832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35834 arg6
= static_cast< int >(val6
);
35837 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35838 if (!SWIG_IsOK(res7
)) {
35839 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35844 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35845 wxPyEndAllowThreads(__tstate
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35848 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35863 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35864 PyObject
*resultobj
= 0;
35865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35866 wxTreeItemId
*arg2
= 0 ;
35867 wxString
*arg3
= 0 ;
35868 int arg4
= (int) -1 ;
35869 int arg5
= (int) -1 ;
35870 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35871 wxTreeItemId result
;
35876 bool temp3
= false ;
35882 PyObject
* obj0
= 0 ;
35883 PyObject
* obj1
= 0 ;
35884 PyObject
* obj2
= 0 ;
35885 PyObject
* obj3
= 0 ;
35886 PyObject
* obj4
= 0 ;
35887 PyObject
* obj5
= 0 ;
35888 char * kwnames
[] = {
35889 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35894 if (!SWIG_IsOK(res1
)) {
35895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35897 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35899 if (!SWIG_IsOK(res2
)) {
35900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35905 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35907 arg3
= wxString_in_helper(obj2
);
35908 if (arg3
== NULL
) SWIG_fail
;
35912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35913 if (!SWIG_IsOK(ecode4
)) {
35914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35916 arg4
= static_cast< int >(val4
);
35919 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35920 if (!SWIG_IsOK(ecode5
)) {
35921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35923 arg5
= static_cast< int >(val5
);
35926 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35927 if (!SWIG_IsOK(res6
)) {
35928 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35937 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35952 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35953 PyObject
*resultobj
= 0;
35954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35955 wxTreeItemId
*arg2
= 0 ;
35960 PyObject
* obj0
= 0 ;
35961 PyObject
* obj1
= 0 ;
35962 char * kwnames
[] = {
35963 (char *) "self",(char *) "item", NULL
35966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35968 if (!SWIG_IsOK(res1
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35973 if (!SWIG_IsOK(res2
)) {
35974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35979 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35982 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_Py_Void();
35993 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
= 0;
35995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35996 wxTreeItemId
*arg2
= 0 ;
36001 PyObject
* obj0
= 0 ;
36002 PyObject
* obj1
= 0 ;
36003 char * kwnames
[] = {
36004 (char *) "self",(char *) "item", NULL
36007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36009 if (!SWIG_IsOK(res1
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36012 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36014 if (!SWIG_IsOK(res2
)) {
36015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36020 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36023 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36024 wxPyEndAllowThreads(__tstate
);
36025 if (PyErr_Occurred()) SWIG_fail
;
36027 resultobj
= SWIG_Py_Void();
36034 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36035 PyObject
*resultobj
= 0;
36036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36039 PyObject
*swig_obj
[1] ;
36041 if (!args
) SWIG_fail
;
36042 swig_obj
[0] = args
;
36043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36044 if (!SWIG_IsOK(res1
)) {
36045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36047 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36050 (arg1
)->DeleteAllItems();
36051 wxPyEndAllowThreads(__tstate
);
36052 if (PyErr_Occurred()) SWIG_fail
;
36054 resultobj
= SWIG_Py_Void();
36061 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
= 0;
36063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36064 wxTreeItemId
*arg2
= 0 ;
36069 PyObject
* obj0
= 0 ;
36070 PyObject
* obj1
= 0 ;
36071 char * kwnames
[] = {
36072 (char *) "self",(char *) "item", NULL
36075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36077 if (!SWIG_IsOK(res1
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36082 if (!SWIG_IsOK(res2
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36088 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 resultobj
= SWIG_Py_Void();
36102 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36103 PyObject
*resultobj
= 0;
36104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36105 wxTreeItemId
*arg2
= 0 ;
36110 PyObject
* obj0
= 0 ;
36111 PyObject
* obj1
= 0 ;
36112 char * kwnames
[] = {
36113 (char *) "self",(char *) "item", NULL
36116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36118 if (!SWIG_IsOK(res1
)) {
36119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36121 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36123 if (!SWIG_IsOK(res2
)) {
36124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36129 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36133 wxPyEndAllowThreads(__tstate
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36136 resultobj
= SWIG_Py_Void();
36143 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36144 PyObject
*resultobj
= 0;
36145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36146 wxTreeItemId
*arg2
= 0 ;
36151 PyObject
* obj0
= 0 ;
36152 PyObject
* obj1
= 0 ;
36153 char * kwnames
[] = {
36154 (char *) "self",(char *) "item", NULL
36157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36159 if (!SWIG_IsOK(res1
)) {
36160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36162 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36164 if (!SWIG_IsOK(res2
)) {
36165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36170 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36173 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 resultobj
= SWIG_Py_Void();
36184 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
= 0;
36186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36187 wxTreeItemId
*arg2
= 0 ;
36192 PyObject
* obj0
= 0 ;
36193 PyObject
* obj1
= 0 ;
36194 char * kwnames
[] = {
36195 (char *) "self",(char *) "item", NULL
36198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36200 if (!SWIG_IsOK(res1
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36203 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36205 if (!SWIG_IsOK(res2
)) {
36206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36211 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36214 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 resultobj
= SWIG_Py_Void();
36225 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36226 PyObject
*resultobj
= 0;
36227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36230 PyObject
*swig_obj
[1] ;
36232 if (!args
) SWIG_fail
;
36233 swig_obj
[0] = args
;
36234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36235 if (!SWIG_IsOK(res1
)) {
36236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36238 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 (arg1
)->Unselect();
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 resultobj
= SWIG_Py_Void();
36252 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36253 PyObject
*resultobj
= 0;
36254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36255 wxTreeItemId
*arg2
= 0 ;
36260 PyObject
* obj0
= 0 ;
36261 PyObject
* obj1
= 0 ;
36262 char * kwnames
[] = {
36263 (char *) "self",(char *) "item", NULL
36266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36268 if (!SWIG_IsOK(res1
)) {
36269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36271 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36273 if (!SWIG_IsOK(res2
)) {
36274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36279 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36283 wxPyEndAllowThreads(__tstate
);
36284 if (PyErr_Occurred()) SWIG_fail
;
36286 resultobj
= SWIG_Py_Void();
36293 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36294 PyObject
*resultobj
= 0;
36295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36298 PyObject
*swig_obj
[1] ;
36300 if (!args
) SWIG_fail
;
36301 swig_obj
[0] = args
;
36302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36303 if (!SWIG_IsOK(res1
)) {
36304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36306 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36309 (arg1
)->UnselectAll();
36310 wxPyEndAllowThreads(__tstate
);
36311 if (PyErr_Occurred()) SWIG_fail
;
36313 resultobj
= SWIG_Py_Void();
36320 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
= 0;
36322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36323 wxTreeItemId
*arg2
= 0 ;
36324 bool arg3
= (bool) true ;
36331 PyObject
* obj0
= 0 ;
36332 PyObject
* obj1
= 0 ;
36333 PyObject
* obj2
= 0 ;
36334 char * kwnames
[] = {
36335 (char *) "self",(char *) "item",(char *) "select", NULL
36338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36340 if (!SWIG_IsOK(res1
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36343 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36345 if (!SWIG_IsOK(res2
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36351 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36353 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36354 if (!SWIG_IsOK(ecode3
)) {
36355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36357 arg3
= static_cast< bool >(val3
);
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36362 wxPyEndAllowThreads(__tstate
);
36363 if (PyErr_Occurred()) SWIG_fail
;
36365 resultobj
= SWIG_Py_Void();
36372 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36373 PyObject
*resultobj
= 0;
36374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36375 wxTreeItemId
*arg2
= 0 ;
36380 PyObject
* obj0
= 0 ;
36381 PyObject
* obj1
= 0 ;
36382 char * kwnames
[] = {
36383 (char *) "self",(char *) "item", NULL
36386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36388 if (!SWIG_IsOK(res1
)) {
36389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36391 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36393 if (!SWIG_IsOK(res2
)) {
36394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36399 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36402 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36403 wxPyEndAllowThreads(__tstate
);
36404 if (PyErr_Occurred()) SWIG_fail
;
36406 resultobj
= SWIG_Py_Void();
36413 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36414 PyObject
*resultobj
= 0;
36415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36416 wxTreeItemId
*arg2
= 0 ;
36421 PyObject
* obj0
= 0 ;
36422 PyObject
* obj1
= 0 ;
36423 char * kwnames
[] = {
36424 (char *) "self",(char *) "item", NULL
36427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36429 if (!SWIG_IsOK(res1
)) {
36430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36432 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36434 if (!SWIG_IsOK(res2
)) {
36435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36440 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36443 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36444 wxPyEndAllowThreads(__tstate
);
36445 if (PyErr_Occurred()) SWIG_fail
;
36447 resultobj
= SWIG_Py_Void();
36454 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36455 PyObject
*resultobj
= 0;
36456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36457 wxTreeItemId
*arg2
= 0 ;
36462 PyObject
* obj0
= 0 ;
36463 PyObject
* obj1
= 0 ;
36464 char * kwnames
[] = {
36465 (char *) "self",(char *) "item", NULL
36468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36470 if (!SWIG_IsOK(res1
)) {
36471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36473 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36475 if (!SWIG_IsOK(res2
)) {
36476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36481 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36484 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36485 wxPyEndAllowThreads(__tstate
);
36486 if (PyErr_Occurred()) SWIG_fail
;
36488 resultobj
= SWIG_Py_Void();
36495 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36496 PyObject
*resultobj
= 0;
36497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36498 wxTreeItemId
*arg2
= 0 ;
36503 PyObject
* obj0
= 0 ;
36504 PyObject
* obj1
= 0 ;
36505 char * kwnames
[] = {
36506 (char *) "self",(char *) "item", NULL
36509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36511 if (!SWIG_IsOK(res1
)) {
36512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36514 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36516 if (!SWIG_IsOK(res2
)) {
36517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36522 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36525 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36526 wxPyEndAllowThreads(__tstate
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36529 resultobj
= SWIG_Py_Void();
36536 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36537 PyObject
*resultobj
= 0;
36538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36539 wxTextCtrl
*result
= 0 ;
36542 PyObject
*swig_obj
[1] ;
36544 if (!args
) SWIG_fail
;
36545 swig_obj
[0] = args
;
36546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36547 if (!SWIG_IsOK(res1
)) {
36548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36550 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36553 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36558 resultobj
= wxPyMake_wxObject(result
, 0);
36566 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36567 PyObject
*resultobj
= 0;
36568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36569 wxTreeItemId
*arg2
= 0 ;
36570 bool arg3
= (bool) false ;
36577 PyObject
* obj0
= 0 ;
36578 PyObject
* obj1
= 0 ;
36579 PyObject
* obj2
= 0 ;
36580 char * kwnames
[] = {
36581 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36586 if (!SWIG_IsOK(res1
)) {
36587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36589 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36591 if (!SWIG_IsOK(res2
)) {
36592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36597 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36599 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36600 if (!SWIG_IsOK(ecode3
)) {
36601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36603 arg3
= static_cast< bool >(val3
);
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= SWIG_Py_Void();
36618 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36619 PyObject
*resultobj
= 0;
36620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36621 wxTreeItemId
*arg2
= 0 ;
36626 PyObject
* obj0
= 0 ;
36627 PyObject
* obj1
= 0 ;
36628 char * kwnames
[] = {
36629 (char *) "self",(char *) "item", NULL
36632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36634 if (!SWIG_IsOK(res1
)) {
36635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36637 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36639 if (!SWIG_IsOK(res2
)) {
36640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36645 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36648 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36649 wxPyEndAllowThreads(__tstate
);
36650 if (PyErr_Occurred()) SWIG_fail
;
36652 resultobj
= SWIG_Py_Void();
36659 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36660 PyObject
*resultobj
= 0;
36661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36662 wxPoint
*arg2
= 0 ;
36664 wxTreeItemId result
;
36669 int res3
= SWIG_TMPOBJ
;
36670 PyObject
* obj0
= 0 ;
36671 PyObject
* obj1
= 0 ;
36672 char * kwnames
[] = {
36673 (char *) "self",(char *) "point", NULL
36677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36679 if (!SWIG_IsOK(res1
)) {
36680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36682 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36689 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36690 wxPyEndAllowThreads(__tstate
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36693 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36694 if (SWIG_IsTmpObj(res3
)) {
36695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36697 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36706 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36707 PyObject
*resultobj
= 0;
36708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36709 wxTreeItemId
*arg2
= 0 ;
36710 bool arg3
= (bool) false ;
36711 PyObject
*result
= 0 ;
36718 PyObject
* obj0
= 0 ;
36719 PyObject
* obj1
= 0 ;
36720 PyObject
* obj2
= 0 ;
36721 char * kwnames
[] = {
36722 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36727 if (!SWIG_IsOK(res1
)) {
36728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36730 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36732 if (!SWIG_IsOK(res2
)) {
36733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36738 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36740 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36741 if (!SWIG_IsOK(ecode3
)) {
36742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36744 arg3
= static_cast< bool >(val3
);
36747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36748 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36749 wxPyEndAllowThreads(__tstate
);
36750 if (PyErr_Occurred()) SWIG_fail
;
36752 resultobj
= result
;
36759 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36760 PyObject
*resultobj
= 0;
36761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36762 wxTreeItemId
*arg2
= 0 ;
36770 PyObject
* obj0
= 0 ;
36771 PyObject
* obj1
= 0 ;
36772 PyObject
* obj2
= 0 ;
36773 char * kwnames
[] = {
36774 (char *) "self",(char *) "node",(char *) "state", NULL
36777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36779 if (!SWIG_IsOK(res1
)) {
36780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36782 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36784 if (!SWIG_IsOK(res2
)) {
36785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36790 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36792 if (!SWIG_IsOK(ecode3
)) {
36793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36795 arg3
= static_cast< int >(val3
);
36797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36798 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36802 resultobj
= SWIG_Py_Void();
36809 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36810 PyObject
*resultobj
= 0;
36811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36812 wxTreeItemId
*arg2
= 0 ;
36818 PyObject
* obj0
= 0 ;
36819 PyObject
* obj1
= 0 ;
36820 char * kwnames
[] = {
36821 (char *) "self",(char *) "node", NULL
36824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36826 if (!SWIG_IsOK(res1
)) {
36827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36829 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36831 if (!SWIG_IsOK(res2
)) {
36832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36837 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36840 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
36841 wxPyEndAllowThreads(__tstate
);
36842 if (PyErr_Occurred()) SWIG_fail
;
36844 resultobj
= SWIG_From_int(static_cast< int >(result
));
36851 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36852 PyObject
*resultobj
= 0;
36853 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36854 SwigValueWrapper
<wxVisualAttributes
> result
;
36857 PyObject
* obj0
= 0 ;
36858 char * kwnames
[] = {
36859 (char *) "variant", NULL
36862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36864 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36865 if (!SWIG_IsOK(ecode1
)) {
36866 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36868 arg1
= static_cast< wxWindowVariant
>(val1
);
36871 if (!wxPyCheckForApp()) SWIG_fail
;
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36874 wxPyEndAllowThreads(__tstate
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36877 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36884 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36885 PyObject
*resultobj
= 0;
36886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36892 PyObject
* obj0
= 0 ;
36893 PyObject
* obj1
= 0 ;
36894 char * kwnames
[] = {
36895 (char *) "self",(char *) "q", NULL
36898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36900 if (!SWIG_IsOK(res1
)) {
36901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36903 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36904 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36905 if (!SWIG_IsOK(ecode2
)) {
36906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36908 arg2
= static_cast< bool >(val2
);
36910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36911 (arg1
)->SetQuickBestSize(arg2
);
36912 wxPyEndAllowThreads(__tstate
);
36913 if (PyErr_Occurred()) SWIG_fail
;
36915 resultobj
= SWIG_Py_Void();
36922 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36923 PyObject
*resultobj
= 0;
36924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36928 PyObject
*swig_obj
[1] ;
36930 if (!args
) SWIG_fail
;
36931 swig_obj
[0] = args
;
36932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36933 if (!SWIG_IsOK(res1
)) {
36934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36936 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36939 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
36940 wxPyEndAllowThreads(__tstate
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36952 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36955 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36956 return SWIG_Py_Void();
36959 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36960 return SWIG_Python_InitShadowInstance(args
);
36963 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36964 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36969 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36970 PyObject
*pyobj
= 0;
36974 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36976 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36983 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36984 PyObject
*resultobj
= 0;
36985 wxWindow
*arg1
= (wxWindow
*) 0 ;
36986 int arg2
= (int) (int)-1 ;
36987 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36988 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36989 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36990 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36991 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36992 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36993 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36994 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36995 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36996 int arg8
= (int) 0 ;
36997 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36998 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36999 wxGenericDirCtrl
*result
= 0 ;
37004 bool temp3
= false ;
37009 bool temp7
= false ;
37012 bool temp9
= false ;
37013 PyObject
* obj0
= 0 ;
37014 PyObject
* obj1
= 0 ;
37015 PyObject
* obj2
= 0 ;
37016 PyObject
* obj3
= 0 ;
37017 PyObject
* obj4
= 0 ;
37018 PyObject
* obj5
= 0 ;
37019 PyObject
* obj6
= 0 ;
37020 PyObject
* obj7
= 0 ;
37021 PyObject
* obj8
= 0 ;
37022 char * kwnames
[] = {
37023 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37028 if (!SWIG_IsOK(res1
)) {
37029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37031 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37034 if (!SWIG_IsOK(ecode2
)) {
37035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37037 arg2
= static_cast< int >(val2
);
37041 arg3
= wxString_in_helper(obj2
);
37042 if (arg3
== NULL
) SWIG_fail
;
37049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37055 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37059 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37060 if (!SWIG_IsOK(ecode6
)) {
37061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37063 arg6
= static_cast< long >(val6
);
37067 arg7
= wxString_in_helper(obj6
);
37068 if (arg7
== NULL
) SWIG_fail
;
37073 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37074 if (!SWIG_IsOK(ecode8
)) {
37075 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37077 arg8
= static_cast< int >(val8
);
37081 arg9
= wxString_in_helper(obj8
);
37082 if (arg9
== NULL
) SWIG_fail
;
37087 if (!wxPyCheckForApp()) SWIG_fail
;
37088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37089 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37090 wxPyEndAllowThreads(__tstate
);
37091 if (PyErr_Occurred()) SWIG_fail
;
37093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37124 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37125 PyObject
*resultobj
= 0;
37126 wxGenericDirCtrl
*result
= 0 ;
37128 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37130 if (!wxPyCheckForApp()) SWIG_fail
;
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37133 wxPyEndAllowThreads(__tstate
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37143 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37144 PyObject
*resultobj
= 0;
37145 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37146 wxWindow
*arg2
= (wxWindow
*) 0 ;
37147 int arg3
= (int) (int)-1 ;
37148 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37149 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37150 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37151 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37152 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37153 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37154 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37155 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37156 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37157 int arg9
= (int) 0 ;
37158 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37159 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37167 bool temp4
= false ;
37172 bool temp8
= false ;
37175 bool temp10
= false ;
37176 PyObject
* obj0
= 0 ;
37177 PyObject
* obj1
= 0 ;
37178 PyObject
* obj2
= 0 ;
37179 PyObject
* obj3
= 0 ;
37180 PyObject
* obj4
= 0 ;
37181 PyObject
* obj5
= 0 ;
37182 PyObject
* obj6
= 0 ;
37183 PyObject
* obj7
= 0 ;
37184 PyObject
* obj8
= 0 ;
37185 PyObject
* obj9
= 0 ;
37186 char * kwnames
[] = {
37187 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37192 if (!SWIG_IsOK(res1
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37195 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37196 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37197 if (!SWIG_IsOK(res2
)) {
37198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37200 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37203 if (!SWIG_IsOK(ecode3
)) {
37204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37206 arg3
= static_cast< int >(val3
);
37210 arg4
= wxString_in_helper(obj3
);
37211 if (arg4
== NULL
) SWIG_fail
;
37218 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37224 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37228 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37229 if (!SWIG_IsOK(ecode7
)) {
37230 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37232 arg7
= static_cast< long >(val7
);
37236 arg8
= wxString_in_helper(obj7
);
37237 if (arg8
== NULL
) SWIG_fail
;
37242 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37243 if (!SWIG_IsOK(ecode9
)) {
37244 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37246 arg9
= static_cast< int >(val9
);
37250 arg10
= wxString_in_helper(obj9
);
37251 if (arg10
== NULL
) SWIG_fail
;
37256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37257 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37258 wxPyEndAllowThreads(__tstate
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37294 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37295 PyObject
*resultobj
= 0;
37296 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37297 wxString
*arg2
= 0 ;
37301 bool temp2
= false ;
37302 PyObject
* obj0
= 0 ;
37303 PyObject
* obj1
= 0 ;
37304 char * kwnames
[] = {
37305 (char *) "self",(char *) "path", NULL
37308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37310 if (!SWIG_IsOK(res1
)) {
37311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37313 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37315 arg2
= wxString_in_helper(obj1
);
37316 if (arg2
== NULL
) SWIG_fail
;
37320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37321 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37322 wxPyEndAllowThreads(__tstate
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37342 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37343 PyObject
*resultobj
= 0;
37344 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37348 PyObject
*swig_obj
[1] ;
37350 if (!args
) SWIG_fail
;
37351 swig_obj
[0] = args
;
37352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37353 if (!SWIG_IsOK(res1
)) {
37354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37356 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37359 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37360 wxPyEndAllowThreads(__tstate
);
37361 if (PyErr_Occurred()) SWIG_fail
;
37365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37376 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37377 PyObject
*resultobj
= 0;
37378 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37379 wxString
*arg2
= 0 ;
37382 bool temp2
= false ;
37383 PyObject
* obj0
= 0 ;
37384 PyObject
* obj1
= 0 ;
37385 char * kwnames
[] = {
37386 (char *) "self",(char *) "path", NULL
37389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37391 if (!SWIG_IsOK(res1
)) {
37392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37394 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37396 arg2
= wxString_in_helper(obj1
);
37397 if (arg2
== NULL
) SWIG_fail
;
37401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37402 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37403 wxPyEndAllowThreads(__tstate
);
37404 if (PyErr_Occurred()) SWIG_fail
;
37406 resultobj
= SWIG_Py_Void();
37421 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37422 PyObject
*resultobj
= 0;
37423 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37427 PyObject
*swig_obj
[1] ;
37429 if (!args
) SWIG_fail
;
37430 swig_obj
[0] = args
;
37431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37432 if (!SWIG_IsOK(res1
)) {
37433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37435 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37439 wxPyEndAllowThreads(__tstate
);
37440 if (PyErr_Occurred()) SWIG_fail
;
37444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37455 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37456 PyObject
*resultobj
= 0;
37457 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37461 PyObject
*swig_obj
[1] ;
37463 if (!args
) SWIG_fail
;
37464 swig_obj
[0] = args
;
37465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37466 if (!SWIG_IsOK(res1
)) {
37467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37469 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37472 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37473 wxPyEndAllowThreads(__tstate
);
37474 if (PyErr_Occurred()) SWIG_fail
;
37478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37489 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37490 PyObject
*resultobj
= 0;
37491 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37492 wxString
*arg2
= 0 ;
37495 bool temp2
= false ;
37496 PyObject
* obj0
= 0 ;
37497 PyObject
* obj1
= 0 ;
37498 char * kwnames
[] = {
37499 (char *) "self",(char *) "path", NULL
37502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37504 if (!SWIG_IsOK(res1
)) {
37505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37507 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37509 arg2
= wxString_in_helper(obj1
);
37510 if (arg2
== NULL
) SWIG_fail
;
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 (arg1
)->SetPath((wxString
const &)*arg2
);
37516 wxPyEndAllowThreads(__tstate
);
37517 if (PyErr_Occurred()) SWIG_fail
;
37519 resultobj
= SWIG_Py_Void();
37534 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37535 PyObject
*resultobj
= 0;
37536 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37542 PyObject
* obj0
= 0 ;
37543 PyObject
* obj1
= 0 ;
37544 char * kwnames
[] = {
37545 (char *) "self",(char *) "show", NULL
37548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",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_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37553 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37554 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37555 if (!SWIG_IsOK(ecode2
)) {
37556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37558 arg2
= static_cast< bool >(val2
);
37560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37561 (arg1
)->ShowHidden(arg2
);
37562 wxPyEndAllowThreads(__tstate
);
37563 if (PyErr_Occurred()) SWIG_fail
;
37565 resultobj
= SWIG_Py_Void();
37572 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37573 PyObject
*resultobj
= 0;
37574 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37578 PyObject
*swig_obj
[1] ;
37580 if (!args
) SWIG_fail
;
37581 swig_obj
[0] = args
;
37582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37583 if (!SWIG_IsOK(res1
)) {
37584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37586 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37589 result
= (bool)(arg1
)->GetShowHidden();
37590 wxPyEndAllowThreads(__tstate
);
37591 if (PyErr_Occurred()) SWIG_fail
;
37594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37602 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37603 PyObject
*resultobj
= 0;
37604 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37608 PyObject
*swig_obj
[1] ;
37610 if (!args
) SWIG_fail
;
37611 swig_obj
[0] = args
;
37612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37613 if (!SWIG_IsOK(res1
)) {
37614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37616 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37619 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37620 wxPyEndAllowThreads(__tstate
);
37621 if (PyErr_Occurred()) SWIG_fail
;
37625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37636 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
= 0;
37638 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37639 wxString
*arg2
= 0 ;
37642 bool temp2
= false ;
37643 PyObject
* obj0
= 0 ;
37644 PyObject
* obj1
= 0 ;
37645 char * kwnames
[] = {
37646 (char *) "self",(char *) "filter", NULL
37649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37651 if (!SWIG_IsOK(res1
)) {
37652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37654 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37656 arg2
= wxString_in_helper(obj1
);
37657 if (arg2
== NULL
) SWIG_fail
;
37661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37662 (arg1
)->SetFilter((wxString
const &)*arg2
);
37663 wxPyEndAllowThreads(__tstate
);
37664 if (PyErr_Occurred()) SWIG_fail
;
37666 resultobj
= SWIG_Py_Void();
37681 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37682 PyObject
*resultobj
= 0;
37683 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37687 PyObject
*swig_obj
[1] ;
37689 if (!args
) SWIG_fail
;
37690 swig_obj
[0] = args
;
37691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37692 if (!SWIG_IsOK(res1
)) {
37693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37695 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37698 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37699 wxPyEndAllowThreads(__tstate
);
37700 if (PyErr_Occurred()) SWIG_fail
;
37702 resultobj
= SWIG_From_int(static_cast< int >(result
));
37709 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37710 PyObject
*resultobj
= 0;
37711 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37717 PyObject
* obj0
= 0 ;
37718 PyObject
* obj1
= 0 ;
37719 char * kwnames
[] = {
37720 (char *) "self",(char *) "n", NULL
37723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37725 if (!SWIG_IsOK(res1
)) {
37726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37728 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37730 if (!SWIG_IsOK(ecode2
)) {
37731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37733 arg2
= static_cast< int >(val2
);
37735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37736 (arg1
)->SetFilterIndex(arg2
);
37737 wxPyEndAllowThreads(__tstate
);
37738 if (PyErr_Occurred()) SWIG_fail
;
37740 resultobj
= SWIG_Py_Void();
37747 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37748 PyObject
*resultobj
= 0;
37749 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37750 wxTreeItemId result
;
37753 PyObject
*swig_obj
[1] ;
37755 if (!args
) SWIG_fail
;
37756 swig_obj
[0] = args
;
37757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37758 if (!SWIG_IsOK(res1
)) {
37759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37761 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37764 result
= (arg1
)->GetRootId();
37765 wxPyEndAllowThreads(__tstate
);
37766 if (PyErr_Occurred()) SWIG_fail
;
37768 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37775 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37776 PyObject
*resultobj
= 0;
37777 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37778 wxPyTreeCtrl
*result
= 0 ;
37781 PyObject
*swig_obj
[1] ;
37783 if (!args
) SWIG_fail
;
37784 swig_obj
[0] = args
;
37785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37786 if (!SWIG_IsOK(res1
)) {
37787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37789 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37792 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= wxPyMake_wxObject(result
, 0);
37805 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37806 PyObject
*resultobj
= 0;
37807 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37808 wxDirFilterListCtrl
*result
= 0 ;
37811 PyObject
*swig_obj
[1] ;
37813 if (!args
) SWIG_fail
;
37814 swig_obj
[0] = args
;
37815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37816 if (!SWIG_IsOK(res1
)) {
37817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37819 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37822 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37823 wxPyEndAllowThreads(__tstate
);
37824 if (PyErr_Occurred()) SWIG_fail
;
37826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37833 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37834 PyObject
*resultobj
= 0;
37835 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37836 wxTreeItemId arg2
;
37837 wxString
*arg3
= 0 ;
37839 wxTreeItemId result
;
37844 bool temp3
= false ;
37846 int res4
= SWIG_TMPOBJ
;
37847 PyObject
* obj0
= 0 ;
37848 PyObject
* obj1
= 0 ;
37849 PyObject
* obj2
= 0 ;
37850 char * kwnames
[] = {
37851 (char *) "self",(char *) "parentId",(char *) "path", NULL
37855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37857 if (!SWIG_IsOK(res1
)) {
37858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37860 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37863 if (!SWIG_IsOK(res2
)) {
37864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37869 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37871 if (SWIG_IsNewObj(res2
)) delete temp
;
37875 arg3
= wxString_in_helper(obj2
);
37876 if (arg3
== NULL
) SWIG_fail
;
37880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37881 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37882 wxPyEndAllowThreads(__tstate
);
37883 if (PyErr_Occurred()) SWIG_fail
;
37885 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37886 if (SWIG_IsTmpObj(res4
)) {
37887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37889 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37906 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37907 PyObject
*resultobj
= 0;
37908 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37911 PyObject
*swig_obj
[1] ;
37913 if (!args
) SWIG_fail
;
37914 swig_obj
[0] = args
;
37915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37916 if (!SWIG_IsOK(res1
)) {
37917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37919 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37922 (arg1
)->DoResize();
37923 wxPyEndAllowThreads(__tstate
);
37924 if (PyErr_Occurred()) SWIG_fail
;
37926 resultobj
= SWIG_Py_Void();
37933 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37934 PyObject
*resultobj
= 0;
37935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37938 PyObject
*swig_obj
[1] ;
37940 if (!args
) SWIG_fail
;
37941 swig_obj
[0] = args
;
37942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37943 if (!SWIG_IsOK(res1
)) {
37944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37946 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37949 (arg1
)->ReCreateTree();
37950 wxPyEndAllowThreads(__tstate
);
37951 if (PyErr_Occurred()) SWIG_fail
;
37953 resultobj
= SWIG_Py_Void();
37960 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37963 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37964 return SWIG_Py_Void();
37967 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37968 return SWIG_Python_InitShadowInstance(args
);
37971 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37972 PyObject
*resultobj
= 0;
37973 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37974 int arg2
= (int) (int)-1 ;
37975 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37976 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37977 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37978 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37979 long arg5
= (long) 0 ;
37980 wxDirFilterListCtrl
*result
= 0 ;
37989 PyObject
* obj0
= 0 ;
37990 PyObject
* obj1
= 0 ;
37991 PyObject
* obj2
= 0 ;
37992 PyObject
* obj3
= 0 ;
37993 PyObject
* obj4
= 0 ;
37994 char * kwnames
[] = {
37995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38000 if (!SWIG_IsOK(res1
)) {
38001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38003 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38006 if (!SWIG_IsOK(ecode2
)) {
38007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38009 arg2
= static_cast< int >(val2
);
38014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38020 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38024 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38025 if (!SWIG_IsOK(ecode5
)) {
38026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38028 arg5
= static_cast< long >(val5
);
38031 if (!wxPyCheckForApp()) SWIG_fail
;
38032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38033 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38034 wxPyEndAllowThreads(__tstate
);
38035 if (PyErr_Occurred()) SWIG_fail
;
38037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38044 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38045 PyObject
*resultobj
= 0;
38046 wxDirFilterListCtrl
*result
= 0 ;
38048 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38050 if (!wxPyCheckForApp()) SWIG_fail
;
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38053 wxPyEndAllowThreads(__tstate
);
38054 if (PyErr_Occurred()) SWIG_fail
;
38056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38063 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38064 PyObject
*resultobj
= 0;
38065 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38066 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38067 int arg3
= (int) (int)-1 ;
38068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38072 long arg6
= (long) 0 ;
38084 PyObject
* obj0
= 0 ;
38085 PyObject
* obj1
= 0 ;
38086 PyObject
* obj2
= 0 ;
38087 PyObject
* obj3
= 0 ;
38088 PyObject
* obj4
= 0 ;
38089 PyObject
* obj5
= 0 ;
38090 char * kwnames
[] = {
38091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38096 if (!SWIG_IsOK(res1
)) {
38097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38099 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38101 if (!SWIG_IsOK(res2
)) {
38102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38104 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38107 if (!SWIG_IsOK(ecode3
)) {
38108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38110 arg3
= static_cast< int >(val3
);
38115 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38121 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38125 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38126 if (!SWIG_IsOK(ecode6
)) {
38127 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38129 arg6
= static_cast< long >(val6
);
38132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38133 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38134 wxPyEndAllowThreads(__tstate
);
38135 if (PyErr_Occurred()) SWIG_fail
;
38138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38146 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38147 PyObject
*resultobj
= 0;
38148 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38149 wxString
*arg2
= 0 ;
38153 bool temp2
= false ;
38156 PyObject
* obj0
= 0 ;
38157 PyObject
* obj1
= 0 ;
38158 PyObject
* obj2
= 0 ;
38159 char * kwnames
[] = {
38160 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38165 if (!SWIG_IsOK(res1
)) {
38166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38168 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38170 arg2
= wxString_in_helper(obj1
);
38171 if (arg2
== NULL
) SWIG_fail
;
38174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38175 if (!SWIG_IsOK(ecode3
)) {
38176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38178 arg3
= static_cast< int >(val3
);
38180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38181 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38182 wxPyEndAllowThreads(__tstate
);
38183 if (PyErr_Occurred()) SWIG_fail
;
38185 resultobj
= SWIG_Py_Void();
38200 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38203 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38204 return SWIG_Py_Void();
38207 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38208 return SWIG_Python_InitShadowInstance(args
);
38211 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38212 PyObject
*resultobj
= 0;
38213 wxWindow
*arg1
= (wxWindow
*) 0 ;
38214 int arg2
= (int) (int)-1 ;
38215 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38216 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38217 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38218 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38219 long arg5
= (long) 0 ;
38220 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38221 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38222 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38223 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38224 wxPyControl
*result
= 0 ;
38235 bool temp7
= false ;
38236 PyObject
* obj0
= 0 ;
38237 PyObject
* obj1
= 0 ;
38238 PyObject
* obj2
= 0 ;
38239 PyObject
* obj3
= 0 ;
38240 PyObject
* obj4
= 0 ;
38241 PyObject
* obj5
= 0 ;
38242 PyObject
* obj6
= 0 ;
38243 char * kwnames
[] = {
38244 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38249 if (!SWIG_IsOK(res1
)) {
38250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38252 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38255 if (!SWIG_IsOK(ecode2
)) {
38256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38258 arg2
= static_cast< int >(val2
);
38263 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38269 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38273 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38274 if (!SWIG_IsOK(ecode5
)) {
38275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38277 arg5
= static_cast< long >(val5
);
38280 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38281 if (!SWIG_IsOK(res6
)) {
38282 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38287 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38291 arg7
= wxString_in_helper(obj6
);
38292 if (arg7
== NULL
) SWIG_fail
;
38297 if (!wxPyCheckForApp()) SWIG_fail
;
38298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38299 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38300 wxPyEndAllowThreads(__tstate
);
38301 if (PyErr_Occurred()) SWIG_fail
;
38303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38318 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38319 PyObject
*resultobj
= 0;
38320 wxPyControl
*result
= 0 ;
38322 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38324 if (!wxPyCheckForApp()) SWIG_fail
;
38325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38326 result
= (wxPyControl
*)new wxPyControl();
38327 wxPyEndAllowThreads(__tstate
);
38328 if (PyErr_Occurred()) SWIG_fail
;
38330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38337 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38338 PyObject
*resultobj
= 0;
38339 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38340 PyObject
*arg2
= (PyObject
*) 0 ;
38341 PyObject
*arg3
= (PyObject
*) 0 ;
38344 PyObject
* obj0
= 0 ;
38345 PyObject
* obj1
= 0 ;
38346 PyObject
* obj2
= 0 ;
38347 char * kwnames
[] = {
38348 (char *) "self",(char *) "self",(char *) "_class", NULL
38351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38353 if (!SWIG_IsOK(res1
)) {
38354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38356 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38361 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38362 wxPyEndAllowThreads(__tstate
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38365 resultobj
= SWIG_Py_Void();
38372 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38373 PyObject
*resultobj
= 0;
38374 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38379 PyObject
* obj0
= 0 ;
38380 PyObject
* obj1
= 0 ;
38381 char * kwnames
[] = {
38382 (char *) "self",(char *) "size", NULL
38385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38387 if (!SWIG_IsOK(res1
)) {
38388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38390 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38397 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38398 wxPyEndAllowThreads(__tstate
);
38399 if (PyErr_Occurred()) SWIG_fail
;
38401 resultobj
= SWIG_Py_Void();
38408 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38409 PyObject
*resultobj
= 0;
38410 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38411 wxDC
*arg2
= (wxDC
*) 0 ;
38417 PyObject
* obj0
= 0 ;
38418 PyObject
* obj1
= 0 ;
38419 char * kwnames
[] = {
38420 (char *) "self",(char *) "dc", NULL
38423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38425 if (!SWIG_IsOK(res1
)) {
38426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38428 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38430 if (!SWIG_IsOK(res2
)) {
38431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38433 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38436 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38437 wxPyEndAllowThreads(__tstate
);
38438 if (PyErr_Occurred()) SWIG_fail
;
38441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38449 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38450 PyObject
*resultobj
= 0;
38451 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38466 PyObject
* obj0
= 0 ;
38467 PyObject
* obj1
= 0 ;
38468 PyObject
* obj2
= 0 ;
38469 PyObject
* obj3
= 0 ;
38470 PyObject
* obj4
= 0 ;
38471 char * kwnames
[] = {
38472 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38477 if (!SWIG_IsOK(res1
)) {
38478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38480 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38482 if (!SWIG_IsOK(ecode2
)) {
38483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38485 arg2
= static_cast< int >(val2
);
38486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38487 if (!SWIG_IsOK(ecode3
)) {
38488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38490 arg3
= static_cast< int >(val3
);
38491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38492 if (!SWIG_IsOK(ecode4
)) {
38493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38495 arg4
= static_cast< int >(val4
);
38496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38497 if (!SWIG_IsOK(ecode5
)) {
38498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38500 arg5
= static_cast< int >(val5
);
38502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38503 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38504 wxPyEndAllowThreads(__tstate
);
38505 if (PyErr_Occurred()) SWIG_fail
;
38507 resultobj
= SWIG_Py_Void();
38514 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38515 PyObject
*resultobj
= 0;
38516 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38521 int arg6
= (int) wxSIZE_AUTO
;
38534 PyObject
* obj0
= 0 ;
38535 PyObject
* obj1
= 0 ;
38536 PyObject
* obj2
= 0 ;
38537 PyObject
* obj3
= 0 ;
38538 PyObject
* obj4
= 0 ;
38539 PyObject
* obj5
= 0 ;
38540 char * kwnames
[] = {
38541 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38546 if (!SWIG_IsOK(res1
)) {
38547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38549 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38551 if (!SWIG_IsOK(ecode2
)) {
38552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38554 arg2
= static_cast< int >(val2
);
38555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38556 if (!SWIG_IsOK(ecode3
)) {
38557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38559 arg3
= static_cast< int >(val3
);
38560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38561 if (!SWIG_IsOK(ecode4
)) {
38562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38564 arg4
= static_cast< int >(val4
);
38565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38566 if (!SWIG_IsOK(ecode5
)) {
38567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38569 arg5
= static_cast< int >(val5
);
38571 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38572 if (!SWIG_IsOK(ecode6
)) {
38573 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38575 arg6
= static_cast< int >(val6
);
38578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38579 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38580 wxPyEndAllowThreads(__tstate
);
38581 if (PyErr_Occurred()) SWIG_fail
;
38583 resultobj
= SWIG_Py_Void();
38590 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38591 PyObject
*resultobj
= 0;
38592 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38601 PyObject
* obj0
= 0 ;
38602 PyObject
* obj1
= 0 ;
38603 PyObject
* obj2
= 0 ;
38604 char * kwnames
[] = {
38605 (char *) "self",(char *) "width",(char *) "height", NULL
38608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38610 if (!SWIG_IsOK(res1
)) {
38611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38613 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38615 if (!SWIG_IsOK(ecode2
)) {
38616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38618 arg2
= static_cast< int >(val2
);
38619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38620 if (!SWIG_IsOK(ecode3
)) {
38621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38623 arg3
= static_cast< int >(val3
);
38625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38626 (arg1
)->DoSetClientSize(arg2
,arg3
);
38627 wxPyEndAllowThreads(__tstate
);
38628 if (PyErr_Occurred()) SWIG_fail
;
38630 resultobj
= SWIG_Py_Void();
38637 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38638 PyObject
*resultobj
= 0;
38639 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38648 PyObject
* obj0
= 0 ;
38649 PyObject
* obj1
= 0 ;
38650 PyObject
* obj2
= 0 ;
38651 char * kwnames
[] = {
38652 (char *) "self",(char *) "x",(char *) "y", NULL
38655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38657 if (!SWIG_IsOK(res1
)) {
38658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38660 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38662 if (!SWIG_IsOK(ecode2
)) {
38663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38665 arg2
= static_cast< int >(val2
);
38666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38667 if (!SWIG_IsOK(ecode3
)) {
38668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38670 arg3
= static_cast< int >(val3
);
38672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38673 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38674 wxPyEndAllowThreads(__tstate
);
38675 if (PyErr_Occurred()) SWIG_fail
;
38677 resultobj
= SWIG_Py_Void();
38684 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38685 PyObject
*resultobj
= 0;
38686 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38687 int *arg2
= (int *) 0 ;
38688 int *arg3
= (int *) 0 ;
38692 int res2
= SWIG_TMPOBJ
;
38694 int res3
= SWIG_TMPOBJ
;
38695 PyObject
*swig_obj
[1] ;
38699 if (!args
) SWIG_fail
;
38700 swig_obj
[0] = args
;
38701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38702 if (!SWIG_IsOK(res1
)) {
38703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38705 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38709 wxPyEndAllowThreads(__tstate
);
38710 if (PyErr_Occurred()) SWIG_fail
;
38712 resultobj
= SWIG_Py_Void();
38713 if (SWIG_IsTmpObj(res2
)) {
38714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38716 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38719 if (SWIG_IsTmpObj(res3
)) {
38720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38722 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38731 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38732 PyObject
*resultobj
= 0;
38733 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38734 int *arg2
= (int *) 0 ;
38735 int *arg3
= (int *) 0 ;
38739 int res2
= SWIG_TMPOBJ
;
38741 int res3
= SWIG_TMPOBJ
;
38742 PyObject
*swig_obj
[1] ;
38746 if (!args
) SWIG_fail
;
38747 swig_obj
[0] = args
;
38748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38749 if (!SWIG_IsOK(res1
)) {
38750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38752 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38755 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38756 wxPyEndAllowThreads(__tstate
);
38757 if (PyErr_Occurred()) SWIG_fail
;
38759 resultobj
= SWIG_Py_Void();
38760 if (SWIG_IsTmpObj(res2
)) {
38761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38763 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38766 if (SWIG_IsTmpObj(res3
)) {
38767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38769 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38778 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38779 PyObject
*resultobj
= 0;
38780 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38781 int *arg2
= (int *) 0 ;
38782 int *arg3
= (int *) 0 ;
38786 int res2
= SWIG_TMPOBJ
;
38788 int res3
= SWIG_TMPOBJ
;
38789 PyObject
*swig_obj
[1] ;
38793 if (!args
) SWIG_fail
;
38794 swig_obj
[0] = args
;
38795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38796 if (!SWIG_IsOK(res1
)) {
38797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38799 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38802 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38803 wxPyEndAllowThreads(__tstate
);
38804 if (PyErr_Occurred()) SWIG_fail
;
38806 resultobj
= SWIG_Py_Void();
38807 if (SWIG_IsTmpObj(res2
)) {
38808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38810 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38813 if (SWIG_IsTmpObj(res3
)) {
38814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38816 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38825 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38826 PyObject
*resultobj
= 0;
38827 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38831 PyObject
*swig_obj
[1] ;
38833 if (!args
) SWIG_fail
;
38834 swig_obj
[0] = args
;
38835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38836 if (!SWIG_IsOK(res1
)) {
38837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38839 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38842 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38843 wxPyEndAllowThreads(__tstate
);
38844 if (PyErr_Occurred()) SWIG_fail
;
38846 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38853 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38854 PyObject
*resultobj
= 0;
38855 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38859 PyObject
*swig_obj
[1] ;
38861 if (!args
) SWIG_fail
;
38862 swig_obj
[0] = args
;
38863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38864 if (!SWIG_IsOK(res1
)) {
38865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38867 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38870 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38871 wxPyEndAllowThreads(__tstate
);
38872 if (PyErr_Occurred()) SWIG_fail
;
38874 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38881 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38882 PyObject
*resultobj
= 0;
38883 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38884 SwigValueWrapper
<wxVisualAttributes
> result
;
38887 PyObject
*swig_obj
[1] ;
38889 if (!args
) SWIG_fail
;
38890 swig_obj
[0] = args
;
38891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38892 if (!SWIG_IsOK(res1
)) {
38893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38895 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38898 result
= (arg1
)->GetDefaultAttributes();
38899 wxPyEndAllowThreads(__tstate
);
38900 if (PyErr_Occurred()) SWIG_fail
;
38902 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38909 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38910 PyObject
*resultobj
= 0;
38911 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38914 PyObject
*swig_obj
[1] ;
38916 if (!args
) SWIG_fail
;
38917 swig_obj
[0] = args
;
38918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38919 if (!SWIG_IsOK(res1
)) {
38920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38922 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38925 (arg1
)->OnInternalIdle();
38926 wxPyEndAllowThreads(__tstate
);
38927 if (PyErr_Occurred()) SWIG_fail
;
38929 resultobj
= SWIG_Py_Void();
38936 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38938 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38939 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38940 return SWIG_Py_Void();
38943 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38944 return SWIG_Python_InitShadowInstance(args
);
38947 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38948 PyObject
*resultobj
= 0;
38949 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38950 int arg2
= (int) 0 ;
38951 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38952 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38953 wxHelpEvent
*result
= 0 ;
38959 PyObject
* obj0
= 0 ;
38960 PyObject
* obj1
= 0 ;
38961 PyObject
* obj2
= 0 ;
38962 char * kwnames
[] = {
38963 (char *) "type",(char *) "winid",(char *) "pt", NULL
38966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38968 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38969 if (!SWIG_IsOK(ecode1
)) {
38970 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38972 arg1
= static_cast< wxEventType
>(val1
);
38975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38976 if (!SWIG_IsOK(ecode2
)) {
38977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38979 arg2
= static_cast< int >(val2
);
38984 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38989 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38990 wxPyEndAllowThreads(__tstate
);
38991 if (PyErr_Occurred()) SWIG_fail
;
38993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39000 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39001 PyObject
*resultobj
= 0;
39002 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39006 PyObject
*swig_obj
[1] ;
39008 if (!args
) SWIG_fail
;
39009 swig_obj
[0] = args
;
39010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39011 if (!SWIG_IsOK(res1
)) {
39012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39014 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39017 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39018 wxPyEndAllowThreads(__tstate
);
39019 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39028 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39029 PyObject
*resultobj
= 0;
39030 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39031 wxPoint
*arg2
= 0 ;
39035 PyObject
* obj0
= 0 ;
39036 PyObject
* obj1
= 0 ;
39037 char * kwnames
[] = {
39038 (char *) "self",(char *) "pos", NULL
39041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39043 if (!SWIG_IsOK(res1
)) {
39044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39046 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39053 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39054 wxPyEndAllowThreads(__tstate
);
39055 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= SWIG_Py_Void();
39064 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39065 PyObject
*resultobj
= 0;
39066 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39067 wxString
*result
= 0 ;
39070 PyObject
*swig_obj
[1] ;
39072 if (!args
) SWIG_fail
;
39073 swig_obj
[0] = args
;
39074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39075 if (!SWIG_IsOK(res1
)) {
39076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39078 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39082 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39083 result
= (wxString
*) &_result_ref
;
39085 wxPyEndAllowThreads(__tstate
);
39086 if (PyErr_Occurred()) SWIG_fail
;
39090 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39092 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39101 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39102 PyObject
*resultobj
= 0;
39103 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39104 wxString
*arg2
= 0 ;
39107 bool temp2
= false ;
39108 PyObject
* obj0
= 0 ;
39109 PyObject
* obj1
= 0 ;
39110 char * kwnames
[] = {
39111 (char *) "self",(char *) "link", NULL
39114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39116 if (!SWIG_IsOK(res1
)) {
39117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39119 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39121 arg2
= wxString_in_helper(obj1
);
39122 if (arg2
== NULL
) SWIG_fail
;
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 (arg1
)->SetLink((wxString
const &)*arg2
);
39128 wxPyEndAllowThreads(__tstate
);
39129 if (PyErr_Occurred()) SWIG_fail
;
39131 resultobj
= SWIG_Py_Void();
39146 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39147 PyObject
*resultobj
= 0;
39148 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39149 wxString
*result
= 0 ;
39152 PyObject
*swig_obj
[1] ;
39154 if (!args
) SWIG_fail
;
39155 swig_obj
[0] = args
;
39156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39157 if (!SWIG_IsOK(res1
)) {
39158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39160 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39164 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39165 result
= (wxString
*) &_result_ref
;
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39172 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39174 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39183 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39184 PyObject
*resultobj
= 0;
39185 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39186 wxString
*arg2
= 0 ;
39189 bool temp2
= false ;
39190 PyObject
* obj0
= 0 ;
39191 PyObject
* obj1
= 0 ;
39192 char * kwnames
[] = {
39193 (char *) "self",(char *) "target", NULL
39196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39198 if (!SWIG_IsOK(res1
)) {
39199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39201 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39203 arg2
= wxString_in_helper(obj1
);
39204 if (arg2
== NULL
) SWIG_fail
;
39208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39209 (arg1
)->SetTarget((wxString
const &)*arg2
);
39210 wxPyEndAllowThreads(__tstate
);
39211 if (PyErr_Occurred()) SWIG_fail
;
39213 resultobj
= SWIG_Py_Void();
39228 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39231 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39232 return SWIG_Py_Void();
39235 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39236 return SWIG_Python_InitShadowInstance(args
);
39239 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39240 PyObject
*resultobj
= 0;
39241 wxWindow
*arg1
= (wxWindow
*) NULL
;
39242 bool arg2
= (bool) true ;
39243 wxContextHelp
*result
= 0 ;
39248 PyObject
* obj0
= 0 ;
39249 PyObject
* obj1
= 0 ;
39250 char * kwnames
[] = {
39251 (char *) "window",(char *) "doNow", NULL
39254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39257 if (!SWIG_IsOK(res1
)) {
39258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39260 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39263 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39264 if (!SWIG_IsOK(ecode2
)) {
39265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39267 arg2
= static_cast< bool >(val2
);
39270 if (!wxPyCheckForApp()) SWIG_fail
;
39271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39272 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39273 wxPyEndAllowThreads(__tstate
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39283 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39284 PyObject
*resultobj
= 0;
39285 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39288 PyObject
*swig_obj
[1] ;
39290 if (!args
) SWIG_fail
;
39291 swig_obj
[0] = args
;
39292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39293 if (!SWIG_IsOK(res1
)) {
39294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39296 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39301 wxPyEndAllowThreads(__tstate
);
39302 if (PyErr_Occurred()) SWIG_fail
;
39304 resultobj
= SWIG_Py_Void();
39311 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39312 PyObject
*resultobj
= 0;
39313 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39314 wxWindow
*arg2
= (wxWindow
*) NULL
;
39320 PyObject
* obj0
= 0 ;
39321 PyObject
* obj1
= 0 ;
39322 char * kwnames
[] = {
39323 (char *) "self",(char *) "window", NULL
39326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39328 if (!SWIG_IsOK(res1
)) {
39329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39331 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39334 if (!SWIG_IsOK(res2
)) {
39335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39337 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39341 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39342 wxPyEndAllowThreads(__tstate
);
39343 if (PyErr_Occurred()) SWIG_fail
;
39346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39354 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39355 PyObject
*resultobj
= 0;
39356 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39360 PyObject
*swig_obj
[1] ;
39362 if (!args
) SWIG_fail
;
39363 swig_obj
[0] = args
;
39364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39365 if (!SWIG_IsOK(res1
)) {
39366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39368 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39371 result
= (bool)(arg1
)->EndContextHelp();
39372 wxPyEndAllowThreads(__tstate
);
39373 if (PyErr_Occurred()) SWIG_fail
;
39376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39384 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39387 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39388 return SWIG_Py_Void();
39391 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39392 return SWIG_Python_InitShadowInstance(args
);
39395 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39396 PyObject
*resultobj
= 0;
39397 wxWindow
*arg1
= (wxWindow
*) 0 ;
39398 int arg2
= (int) wxID_CONTEXT_HELP
;
39399 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39400 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39401 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39402 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39403 long arg5
= (long) wxBU_AUTODRAW
;
39404 wxContextHelpButton
*result
= 0 ;
39413 PyObject
* obj0
= 0 ;
39414 PyObject
* obj1
= 0 ;
39415 PyObject
* obj2
= 0 ;
39416 PyObject
* obj3
= 0 ;
39417 PyObject
* obj4
= 0 ;
39418 char * kwnames
[] = {
39419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39424 if (!SWIG_IsOK(res1
)) {
39425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39430 if (!SWIG_IsOK(ecode2
)) {
39431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39433 arg2
= static_cast< int >(val2
);
39438 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39444 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39448 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39449 if (!SWIG_IsOK(ecode5
)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39452 arg5
= static_cast< long >(val5
);
39455 if (!wxPyCheckForApp()) SWIG_fail
;
39456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39457 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39458 wxPyEndAllowThreads(__tstate
);
39459 if (PyErr_Occurred()) SWIG_fail
;
39461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39468 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39471 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39472 return SWIG_Py_Void();
39475 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39476 return SWIG_Python_InitShadowInstance(args
);
39479 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39480 PyObject
*resultobj
= 0;
39481 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39484 PyObject
*swig_obj
[1] ;
39486 if (!args
) SWIG_fail
;
39487 swig_obj
[0] = args
;
39488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39489 if (!SWIG_IsOK(res1
)) {
39490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39492 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39497 wxPyEndAllowThreads(__tstate
);
39498 if (PyErr_Occurred()) SWIG_fail
;
39500 resultobj
= SWIG_Py_Void();
39507 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39508 PyObject
*resultobj
= 0;
39509 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39510 wxHelpProvider
*result
= 0 ;
39512 PyObject
* obj0
= 0 ;
39513 char * kwnames
[] = {
39514 (char *) "helpProvider", NULL
39517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39518 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39519 if (!SWIG_IsOK(res1
)) {
39520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39524 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39525 wxPyEndAllowThreads(__tstate
);
39526 if (PyErr_Occurred()) SWIG_fail
;
39528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39535 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39536 PyObject
*resultobj
= 0;
39537 wxHelpProvider
*result
= 0 ;
39539 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39542 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39543 wxPyEndAllowThreads(__tstate
);
39544 if (PyErr_Occurred()) SWIG_fail
;
39546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39553 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39554 PyObject
*resultobj
= 0;
39555 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39556 wxWindow
*arg2
= (wxWindow
*) 0 ;
39562 PyObject
* obj0
= 0 ;
39563 PyObject
* obj1
= 0 ;
39564 char * kwnames
[] = {
39565 (char *) "self",(char *) "window", NULL
39568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39570 if (!SWIG_IsOK(res1
)) {
39571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39573 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39575 if (!SWIG_IsOK(res2
)) {
39576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39578 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39581 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39582 wxPyEndAllowThreads(__tstate
);
39583 if (PyErr_Occurred()) SWIG_fail
;
39587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39598 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39599 PyObject
*resultobj
= 0;
39600 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39601 wxWindow
*arg2
= (wxWindow
*) 0 ;
39607 PyObject
* obj0
= 0 ;
39608 PyObject
* obj1
= 0 ;
39609 char * kwnames
[] = {
39610 (char *) "self",(char *) "window", NULL
39613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39615 if (!SWIG_IsOK(res1
)) {
39616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39618 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39620 if (!SWIG_IsOK(res2
)) {
39621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39623 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39626 result
= (bool)(arg1
)->ShowHelp(arg2
);
39627 wxPyEndAllowThreads(__tstate
);
39628 if (PyErr_Occurred()) SWIG_fail
;
39631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39639 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39640 PyObject
*resultobj
= 0;
39641 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39642 wxWindow
*arg2
= (wxWindow
*) 0 ;
39643 wxString
*arg3
= 0 ;
39648 bool temp3
= false ;
39649 PyObject
* obj0
= 0 ;
39650 PyObject
* obj1
= 0 ;
39651 PyObject
* obj2
= 0 ;
39652 char * kwnames
[] = {
39653 (char *) "self",(char *) "window",(char *) "text", NULL
39656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39658 if (!SWIG_IsOK(res1
)) {
39659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39661 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39663 if (!SWIG_IsOK(res2
)) {
39664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39666 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39668 arg3
= wxString_in_helper(obj2
);
39669 if (arg3
== NULL
) SWIG_fail
;
39673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39674 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39675 wxPyEndAllowThreads(__tstate
);
39676 if (PyErr_Occurred()) SWIG_fail
;
39678 resultobj
= SWIG_Py_Void();
39693 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39694 PyObject
*resultobj
= 0;
39695 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39697 wxString
*arg3
= 0 ;
39702 bool temp3
= false ;
39703 PyObject
* obj0
= 0 ;
39704 PyObject
* obj1
= 0 ;
39705 PyObject
* obj2
= 0 ;
39706 char * kwnames
[] = {
39707 (char *) "self",(char *) "id",(char *) "text", NULL
39710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39712 if (!SWIG_IsOK(res1
)) {
39713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39715 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39717 if (!SWIG_IsOK(ecode2
)) {
39718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39720 arg2
= static_cast< int >(val2
);
39722 arg3
= wxString_in_helper(obj2
);
39723 if (arg3
== NULL
) SWIG_fail
;
39727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39728 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39729 wxPyEndAllowThreads(__tstate
);
39730 if (PyErr_Occurred()) SWIG_fail
;
39732 resultobj
= SWIG_Py_Void();
39747 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39748 PyObject
*resultobj
= 0;
39749 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39750 wxWindow
*arg2
= (wxWindow
*) 0 ;
39755 PyObject
* obj0
= 0 ;
39756 PyObject
* obj1
= 0 ;
39757 char * kwnames
[] = {
39758 (char *) "self",(char *) "window", NULL
39761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39763 if (!SWIG_IsOK(res1
)) {
39764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39766 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39768 if (!SWIG_IsOK(res2
)) {
39769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39774 (arg1
)->RemoveHelp(arg2
);
39775 wxPyEndAllowThreads(__tstate
);
39776 if (PyErr_Occurred()) SWIG_fail
;
39778 resultobj
= SWIG_Py_Void();
39785 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39786 PyObject
*resultobj
= 0;
39787 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39790 PyObject
*swig_obj
[1] ;
39792 if (!args
) SWIG_fail
;
39793 swig_obj
[0] = args
;
39794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39795 if (!SWIG_IsOK(res1
)) {
39796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39798 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39801 wxHelpProvider_Destroy(arg1
);
39802 wxPyEndAllowThreads(__tstate
);
39803 if (PyErr_Occurred()) SWIG_fail
;
39805 resultobj
= SWIG_Py_Void();
39812 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39815 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39816 return SWIG_Py_Void();
39819 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39820 PyObject
*resultobj
= 0;
39821 wxSimpleHelpProvider
*result
= 0 ;
39823 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39826 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39827 wxPyEndAllowThreads(__tstate
);
39828 if (PyErr_Occurred()) SWIG_fail
;
39830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39837 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39840 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39841 return SWIG_Py_Void();
39844 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39845 return SWIG_Python_InitShadowInstance(args
);
39848 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39849 PyObject
*resultobj
= 0;
39850 wxBitmap
*arg1
= 0 ;
39851 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39852 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39853 wxGenericDragImage
*result
= 0 ;
39858 PyObject
* obj0
= 0 ;
39859 PyObject
* obj1
= 0 ;
39860 char * kwnames
[] = {
39861 (char *) "image",(char *) "cursor", NULL
39864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39865 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39866 if (!SWIG_IsOK(res1
)) {
39867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39875 if (!SWIG_IsOK(res2
)) {
39876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39881 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39884 if (!wxPyCheckForApp()) SWIG_fail
;
39885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39886 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39887 wxPyEndAllowThreads(__tstate
);
39888 if (PyErr_Occurred()) SWIG_fail
;
39890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39897 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39898 PyObject
*resultobj
= 0;
39900 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39901 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39902 wxGenericDragImage
*result
= 0 ;
39907 PyObject
* obj0
= 0 ;
39908 PyObject
* obj1
= 0 ;
39909 char * kwnames
[] = {
39910 (char *) "image",(char *) "cursor", NULL
39913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39914 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39915 if (!SWIG_IsOK(res1
)) {
39916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39921 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39924 if (!SWIG_IsOK(res2
)) {
39925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39930 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39933 if (!wxPyCheckForApp()) SWIG_fail
;
39934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39935 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39946 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
= 0;
39948 wxString
*arg1
= 0 ;
39949 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39950 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39951 wxGenericDragImage
*result
= 0 ;
39952 bool temp1
= false ;
39955 PyObject
* obj0
= 0 ;
39956 PyObject
* obj1
= 0 ;
39957 char * kwnames
[] = {
39958 (char *) "str",(char *) "cursor", NULL
39961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39963 arg1
= wxString_in_helper(obj0
);
39964 if (arg1
== NULL
) SWIG_fail
;
39968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39969 if (!SWIG_IsOK(res2
)) {
39970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39975 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39978 if (!wxPyCheckForApp()) SWIG_fail
;
39979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39980 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39981 wxPyEndAllowThreads(__tstate
);
39982 if (PyErr_Occurred()) SWIG_fail
;
39984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39999 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40000 PyObject
*resultobj
= 0;
40001 wxPyTreeCtrl
*arg1
= 0 ;
40002 wxTreeItemId
*arg2
= 0 ;
40003 wxGenericDragImage
*result
= 0 ;
40008 PyObject
* obj0
= 0 ;
40009 PyObject
* obj1
= 0 ;
40010 char * kwnames
[] = {
40011 (char *) "treeCtrl",(char *) "id", NULL
40014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40015 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40016 if (!SWIG_IsOK(res1
)) {
40017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40022 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40024 if (!SWIG_IsOK(res2
)) {
40025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40030 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40032 if (!wxPyCheckForApp()) SWIG_fail
;
40033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40034 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40035 wxPyEndAllowThreads(__tstate
);
40036 if (PyErr_Occurred()) SWIG_fail
;
40038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40045 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40046 PyObject
*resultobj
= 0;
40047 wxPyListCtrl
*arg1
= 0 ;
40049 wxGenericDragImage
*result
= 0 ;
40054 PyObject
* obj0
= 0 ;
40055 PyObject
* obj1
= 0 ;
40056 char * kwnames
[] = {
40057 (char *) "listCtrl",(char *) "id", NULL
40060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40061 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40062 if (!SWIG_IsOK(res1
)) {
40063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40068 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40069 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40070 if (!SWIG_IsOK(ecode2
)) {
40071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40073 arg2
= static_cast< long >(val2
);
40075 if (!wxPyCheckForApp()) SWIG_fail
;
40076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40077 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40078 wxPyEndAllowThreads(__tstate
);
40079 if (PyErr_Occurred()) SWIG_fail
;
40081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40088 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40089 PyObject
*resultobj
= 0;
40090 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40093 PyObject
*swig_obj
[1] ;
40095 if (!args
) SWIG_fail
;
40096 swig_obj
[0] = args
;
40097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40098 if (!SWIG_IsOK(res1
)) {
40099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40101 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40106 wxPyEndAllowThreads(__tstate
);
40107 if (PyErr_Occurred()) SWIG_fail
;
40109 resultobj
= SWIG_Py_Void();
40116 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40117 PyObject
*resultobj
= 0;
40118 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40119 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40124 PyObject
* obj0
= 0 ;
40125 PyObject
* obj1
= 0 ;
40126 char * kwnames
[] = {
40127 (char *) "self",(char *) "bitmap", NULL
40130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40132 if (!SWIG_IsOK(res1
)) {
40133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40135 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40137 if (!SWIG_IsOK(res2
)) {
40138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40140 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40143 (arg1
)->SetBackingBitmap(arg2
);
40144 wxPyEndAllowThreads(__tstate
);
40145 if (PyErr_Occurred()) SWIG_fail
;
40147 resultobj
= SWIG_Py_Void();
40154 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40155 PyObject
*resultobj
= 0;
40156 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40157 wxPoint
*arg2
= 0 ;
40158 wxWindow
*arg3
= (wxWindow
*) 0 ;
40159 bool arg4
= (bool) false ;
40160 wxRect
*arg5
= (wxRect
*) NULL
;
40171 PyObject
* obj0
= 0 ;
40172 PyObject
* obj1
= 0 ;
40173 PyObject
* obj2
= 0 ;
40174 PyObject
* obj3
= 0 ;
40175 PyObject
* obj4
= 0 ;
40176 char * kwnames
[] = {
40177 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40182 if (!SWIG_IsOK(res1
)) {
40183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40185 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40190 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40191 if (!SWIG_IsOK(res3
)) {
40192 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40194 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40196 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40197 if (!SWIG_IsOK(ecode4
)) {
40198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40200 arg4
= static_cast< bool >(val4
);
40203 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40204 if (!SWIG_IsOK(res5
)) {
40205 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40207 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40211 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40212 wxPyEndAllowThreads(__tstate
);
40213 if (PyErr_Occurred()) SWIG_fail
;
40216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40224 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40225 PyObject
*resultobj
= 0;
40226 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40227 wxPoint
*arg2
= 0 ;
40228 wxWindow
*arg3
= (wxWindow
*) 0 ;
40229 wxWindow
*arg4
= (wxWindow
*) 0 ;
40238 PyObject
* obj0
= 0 ;
40239 PyObject
* obj1
= 0 ;
40240 PyObject
* obj2
= 0 ;
40241 PyObject
* obj3
= 0 ;
40242 char * kwnames
[] = {
40243 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40248 if (!SWIG_IsOK(res1
)) {
40249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40251 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40256 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40257 if (!SWIG_IsOK(res3
)) {
40258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40260 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40261 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40262 if (!SWIG_IsOK(res4
)) {
40263 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40265 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40268 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40269 wxPyEndAllowThreads(__tstate
);
40270 if (PyErr_Occurred()) SWIG_fail
;
40273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40281 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40282 PyObject
*resultobj
= 0;
40283 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40287 PyObject
*swig_obj
[1] ;
40289 if (!args
) SWIG_fail
;
40290 swig_obj
[0] = args
;
40291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40292 if (!SWIG_IsOK(res1
)) {
40293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40295 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40298 result
= (bool)(arg1
)->EndDrag();
40299 wxPyEndAllowThreads(__tstate
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40311 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40312 PyObject
*resultobj
= 0;
40313 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40314 wxPoint
*arg2
= 0 ;
40319 PyObject
* obj0
= 0 ;
40320 PyObject
* obj1
= 0 ;
40321 char * kwnames
[] = {
40322 (char *) "self",(char *) "pt", NULL
40325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40327 if (!SWIG_IsOK(res1
)) {
40328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40330 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40337 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40350 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40351 PyObject
*resultobj
= 0;
40352 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40356 PyObject
*swig_obj
[1] ;
40358 if (!args
) SWIG_fail
;
40359 swig_obj
[0] = args
;
40360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40361 if (!SWIG_IsOK(res1
)) {
40362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40364 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40367 result
= (bool)(arg1
)->Show();
40368 wxPyEndAllowThreads(__tstate
);
40369 if (PyErr_Occurred()) SWIG_fail
;
40372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40380 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40381 PyObject
*resultobj
= 0;
40382 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40386 PyObject
*swig_obj
[1] ;
40388 if (!args
) SWIG_fail
;
40389 swig_obj
[0] = args
;
40390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40391 if (!SWIG_IsOK(res1
)) {
40392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40394 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40397 result
= (bool)(arg1
)->Hide();
40398 wxPyEndAllowThreads(__tstate
);
40399 if (PyErr_Occurred()) SWIG_fail
;
40402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40410 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40411 PyObject
*resultobj
= 0;
40412 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40413 wxPoint
*arg2
= 0 ;
40418 PyObject
* obj0
= 0 ;
40419 PyObject
* obj1
= 0 ;
40420 char * kwnames
[] = {
40421 (char *) "self",(char *) "pos", NULL
40424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40426 if (!SWIG_IsOK(res1
)) {
40427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40429 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40436 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40437 wxPyEndAllowThreads(__tstate
);
40438 if (PyErr_Occurred()) SWIG_fail
;
40440 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40447 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40448 PyObject
*resultobj
= 0;
40449 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40451 wxPoint
*arg3
= 0 ;
40458 PyObject
* obj0
= 0 ;
40459 PyObject
* obj1
= 0 ;
40460 PyObject
* obj2
= 0 ;
40461 char * kwnames
[] = {
40462 (char *) "self",(char *) "dc",(char *) "pos", NULL
40465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40467 if (!SWIG_IsOK(res1
)) {
40468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40470 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40472 if (!SWIG_IsOK(res2
)) {
40473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40478 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40485 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40486 wxPyEndAllowThreads(__tstate
);
40487 if (PyErr_Occurred()) SWIG_fail
;
40490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40498 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40499 PyObject
*resultobj
= 0;
40500 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40502 wxMemoryDC
*arg3
= 0 ;
40514 PyObject
* obj0
= 0 ;
40515 PyObject
* obj1
= 0 ;
40516 PyObject
* obj2
= 0 ;
40517 PyObject
* obj3
= 0 ;
40518 PyObject
* obj4
= 0 ;
40519 char * kwnames
[] = {
40520 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40525 if (!SWIG_IsOK(res1
)) {
40526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40528 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40529 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40530 if (!SWIG_IsOK(res2
)) {
40531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40536 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40537 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40538 if (!SWIG_IsOK(res3
)) {
40539 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40544 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40547 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40551 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40555 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40556 wxPyEndAllowThreads(__tstate
);
40557 if (PyErr_Occurred()) SWIG_fail
;
40560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40568 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40569 PyObject
*resultobj
= 0;
40570 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40571 wxPoint
*arg2
= 0 ;
40572 wxPoint
*arg3
= 0 ;
40584 PyObject
* obj0
= 0 ;
40585 PyObject
* obj1
= 0 ;
40586 PyObject
* obj2
= 0 ;
40587 PyObject
* obj3
= 0 ;
40588 PyObject
* obj4
= 0 ;
40589 char * kwnames
[] = {
40590 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40595 if (!SWIG_IsOK(res1
)) {
40596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40598 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40607 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40608 if (!SWIG_IsOK(ecode4
)) {
40609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40611 arg4
= static_cast< bool >(val4
);
40612 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40613 if (!SWIG_IsOK(ecode5
)) {
40614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40616 arg5
= static_cast< bool >(val5
);
40618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40619 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40620 wxPyEndAllowThreads(__tstate
);
40621 if (PyErr_Occurred()) SWIG_fail
;
40624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40632 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40635 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40636 return SWIG_Py_Void();
40639 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40640 return SWIG_Python_InitShadowInstance(args
);
40643 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40644 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40649 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40650 PyObject
*pyobj
= 0;
40654 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40656 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40663 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40664 PyObject
*resultobj
= 0;
40665 wxWindow
*arg1
= (wxWindow
*) 0 ;
40666 int arg2
= (int) -1 ;
40667 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40668 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40673 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40674 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40675 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40676 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40677 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40678 wxDatePickerCtrl
*result
= 0 ;
40691 bool temp8
= false ;
40692 PyObject
* obj0
= 0 ;
40693 PyObject
* obj1
= 0 ;
40694 PyObject
* obj2
= 0 ;
40695 PyObject
* obj3
= 0 ;
40696 PyObject
* obj4
= 0 ;
40697 PyObject
* obj5
= 0 ;
40698 PyObject
* obj6
= 0 ;
40699 PyObject
* obj7
= 0 ;
40700 char * kwnames
[] = {
40701 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40706 if (!SWIG_IsOK(res1
)) {
40707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40709 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40712 if (!SWIG_IsOK(ecode2
)) {
40713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40715 arg2
= static_cast< int >(val2
);
40718 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40719 if (!SWIG_IsOK(res3
)) {
40720 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40725 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40740 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40741 if (!SWIG_IsOK(ecode6
)) {
40742 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40744 arg6
= static_cast< long >(val6
);
40747 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40748 if (!SWIG_IsOK(res7
)) {
40749 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40754 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40758 arg8
= wxString_in_helper(obj7
);
40759 if (arg8
== NULL
) SWIG_fail
;
40764 if (!wxPyCheckForApp()) SWIG_fail
;
40765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40766 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40767 wxPyEndAllowThreads(__tstate
);
40768 if (PyErr_Occurred()) SWIG_fail
;
40770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40785 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40786 PyObject
*resultobj
= 0;
40787 wxDatePickerCtrl
*result
= 0 ;
40789 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40791 if (!wxPyCheckForApp()) SWIG_fail
;
40792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40793 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40794 wxPyEndAllowThreads(__tstate
);
40795 if (PyErr_Occurred()) SWIG_fail
;
40797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40804 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
= 0;
40806 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40807 wxWindow
*arg2
= (wxWindow
*) 0 ;
40808 int arg3
= (int) -1 ;
40809 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40810 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40811 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40812 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40813 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40814 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40815 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40816 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40817 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40818 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40819 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40835 bool temp9
= false ;
40836 PyObject
* obj0
= 0 ;
40837 PyObject
* obj1
= 0 ;
40838 PyObject
* obj2
= 0 ;
40839 PyObject
* obj3
= 0 ;
40840 PyObject
* obj4
= 0 ;
40841 PyObject
* obj5
= 0 ;
40842 PyObject
* obj6
= 0 ;
40843 PyObject
* obj7
= 0 ;
40844 PyObject
* obj8
= 0 ;
40845 char * kwnames
[] = {
40846 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40851 if (!SWIG_IsOK(res1
)) {
40852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40854 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40856 if (!SWIG_IsOK(res2
)) {
40857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40862 if (!SWIG_IsOK(ecode3
)) {
40863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40865 arg3
= static_cast< int >(val3
);
40868 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40869 if (!SWIG_IsOK(res4
)) {
40870 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40875 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40880 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40886 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40890 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40891 if (!SWIG_IsOK(ecode7
)) {
40892 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40894 arg7
= static_cast< long >(val7
);
40897 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40898 if (!SWIG_IsOK(res8
)) {
40899 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40904 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40908 arg9
= wxString_in_helper(obj8
);
40909 if (arg9
== NULL
) SWIG_fail
;
40914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40916 wxPyEndAllowThreads(__tstate
);
40917 if (PyErr_Occurred()) SWIG_fail
;
40920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40936 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40937 PyObject
*resultobj
= 0;
40938 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40939 wxDateTime
*arg2
= 0 ;
40944 PyObject
* obj0
= 0 ;
40945 PyObject
* obj1
= 0 ;
40946 char * kwnames
[] = {
40947 (char *) "self",(char *) "dt", NULL
40950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40952 if (!SWIG_IsOK(res1
)) {
40953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40955 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40957 if (!SWIG_IsOK(res2
)) {
40958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40963 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40966 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40967 wxPyEndAllowThreads(__tstate
);
40968 if (PyErr_Occurred()) SWIG_fail
;
40970 resultobj
= SWIG_Py_Void();
40977 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40978 PyObject
*resultobj
= 0;
40979 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40983 PyObject
*swig_obj
[1] ;
40985 if (!args
) SWIG_fail
;
40986 swig_obj
[0] = args
;
40987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40988 if (!SWIG_IsOK(res1
)) {
40989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40991 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40994 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40995 wxPyEndAllowThreads(__tstate
);
40996 if (PyErr_Occurred()) SWIG_fail
;
40998 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41005 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41006 PyObject
*resultobj
= 0;
41007 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41008 wxDateTime
*arg2
= 0 ;
41009 wxDateTime
*arg3
= 0 ;
41016 PyObject
* obj0
= 0 ;
41017 PyObject
* obj1
= 0 ;
41018 PyObject
* obj2
= 0 ;
41019 char * kwnames
[] = {
41020 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41025 if (!SWIG_IsOK(res1
)) {
41026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41028 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41030 if (!SWIG_IsOK(res2
)) {
41031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41036 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41037 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41038 if (!SWIG_IsOK(res3
)) {
41039 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41044 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41047 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41048 wxPyEndAllowThreads(__tstate
);
41049 if (PyErr_Occurred()) SWIG_fail
;
41051 resultobj
= SWIG_Py_Void();
41058 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41059 PyObject
*resultobj
= 0;
41060 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41064 PyObject
*swig_obj
[1] ;
41066 if (!args
) SWIG_fail
;
41067 swig_obj
[0] = args
;
41068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41069 if (!SWIG_IsOK(res1
)) {
41070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41072 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41075 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41076 wxPyEndAllowThreads(__tstate
);
41077 if (PyErr_Occurred()) SWIG_fail
;
41079 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41086 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41087 PyObject
*resultobj
= 0;
41088 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41092 PyObject
*swig_obj
[1] ;
41094 if (!args
) SWIG_fail
;
41095 swig_obj
[0] = args
;
41096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41097 if (!SWIG_IsOK(res1
)) {
41098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41100 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41103 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41104 wxPyEndAllowThreads(__tstate
);
41105 if (PyErr_Occurred()) SWIG_fail
;
41107 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41114 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41117 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41118 return SWIG_Py_Void();
41121 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41122 return SWIG_Python_InitShadowInstance(args
);
41125 static PyMethodDef SwigMethods
[] = {
41126 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
41128 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
41130 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
41131 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
41133 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
41134 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
41136 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
41138 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
41139 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
41140 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
41141 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
41142 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
41149 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
41150 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
41151 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
41152 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
41154 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
41156 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
41157 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
41159 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
41161 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
41162 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
41164 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
41165 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
41167 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
41169 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
41171 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
41172 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
41174 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
41176 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
41178 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
41179 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
41180 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
41182 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
41183 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
41186 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
41187 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
41191 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
41193 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
41194 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
41195 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
41196 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
41197 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
41198 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
41199 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
41200 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
41201 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
41203 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
41204 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
41206 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
41209 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
41211 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
41212 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
41214 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
41216 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
41218 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
41219 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
41221 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
41224 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
41225 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
41227 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
41229 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
41230 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
41232 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
41233 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
41235 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
41239 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
41240 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
41242 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
41244 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
41248 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
41249 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
41251 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
41262 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
41267 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
41273 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
41274 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
41276 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
41280 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
41281 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
41282 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
41284 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
41285 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41295 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41296 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41297 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41298 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41299 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41300 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41301 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41303 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41304 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41305 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41306 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41307 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41308 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41309 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41310 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
41311 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
41312 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
41314 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
41315 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
41317 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
41319 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
41324 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
41325 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
41326 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
41327 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
41328 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
41329 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
41330 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
41331 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
41336 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
41337 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
41345 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
41351 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
41352 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
41353 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
41354 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
41355 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
41356 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
41357 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
41358 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
41359 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
41360 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
41362 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
41363 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
41364 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
41366 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
41369 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
41373 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
41374 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
41376 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
41377 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
41378 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
41379 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
41380 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
41382 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
41384 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
41385 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
41386 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
41387 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
41388 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
41391 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
41392 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
41394 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
41396 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
41397 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
41398 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
41403 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
41405 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
41406 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
41408 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
41410 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
41414 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
41415 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
41418 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
41419 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
41421 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
41423 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
41424 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41426 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41429 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41430 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41432 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41440 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41441 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41446 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41447 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41449 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41451 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41454 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41455 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41457 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41459 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41462 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41463 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41468 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41469 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41471 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41473 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41474 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41476 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41477 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41478 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41481 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41482 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41484 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41487 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41489 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41490 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41491 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41493 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41494 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41499 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41504 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41506 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
41508 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41510 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
41511 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41514 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41520 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41522 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41524 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41526 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41527 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41529 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41531 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41535 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41537 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41538 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41540 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41541 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41543 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41545 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41546 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41547 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41549 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41550 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41552 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41554 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41555 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41556 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41558 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41559 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41561 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41569 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41570 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41571 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41573 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41574 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41576 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41578 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41579 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41580 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41581 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41583 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41584 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41585 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41586 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41587 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41588 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41589 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41590 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41591 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41592 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41593 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41594 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41595 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41596 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41597 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41598 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41599 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41600 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41601 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41603 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41610 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41612 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41614 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41622 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41627 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41628 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41645 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41646 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41647 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41648 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41651 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41652 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41654 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41655 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41658 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41659 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41660 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41662 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41665 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41666 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41668 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41672 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41673 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41674 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41675 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41676 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41677 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41679 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41680 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41681 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41682 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41683 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41684 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41685 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41699 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41700 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41701 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41702 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41703 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41704 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41705 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41706 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41707 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41708 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41709 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41710 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41711 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41712 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41713 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41714 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41715 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41716 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41717 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41718 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41719 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41720 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41721 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41722 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41723 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41724 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41725 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41726 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41727 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41728 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41729 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41730 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41731 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41732 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41733 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41734 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41736 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41737 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41738 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41739 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41740 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41741 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41742 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41743 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41744 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41745 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41746 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41747 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41748 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41749 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41750 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41751 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41752 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41753 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41754 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41755 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41756 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41757 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41758 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41759 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41761 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41762 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41764 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41771 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41772 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41773 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41788 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41789 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41790 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41791 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41792 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41794 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41800 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41801 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41806 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41808 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41809 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41832 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41834 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41835 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41837 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41841 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41843 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41847 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41848 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41849 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41850 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41851 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41854 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41855 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41856 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41857 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41859 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41860 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41862 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41864 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41865 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41866 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41868 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41870 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41872 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41874 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41875 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41877 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41879 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41882 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41883 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41884 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41886 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41889 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41890 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41892 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41894 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41895 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41923 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41924 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41925 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41932 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41942 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41947 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41949 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41955 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
41964 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41965 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41966 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41968 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41971 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41973 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41974 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41977 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41978 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41980 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41982 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41983 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41984 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41986 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41987 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41988 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41989 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41991 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41994 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41995 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41997 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
42005 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
42006 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
42007 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
42008 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
42009 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
42010 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
42011 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
42012 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
42013 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
42015 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
42017 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
42019 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
42021 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
42022 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
42024 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
42026 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
42027 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
42028 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
42030 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
42031 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
42032 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
42034 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
42040 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
42041 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
42042 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
42043 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
42044 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
42050 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
42054 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
42056 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
42057 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
42062 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
42063 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
42065 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
42068 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
42070 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
42071 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
42072 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
42073 { NULL
, NULL
, 0, NULL
}
42077 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42079 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42080 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42082 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42083 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42085 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42086 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42088 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42089 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42091 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42092 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42094 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
42095 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42097 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
42098 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42100 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42101 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42103 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42104 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42106 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42107 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42109 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
42110 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42112 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42113 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42115 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42116 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42118 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
42119 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42121 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
42122 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42124 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
42125 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42127 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
42128 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42130 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
42131 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42133 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
42134 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42136 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
42137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
42139 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42140 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42142 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42143 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42145 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42146 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42148 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42149 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42151 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42152 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42154 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42155 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42157 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42158 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42160 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42161 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42163 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
42164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
42166 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
42167 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42169 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42170 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42172 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42173 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42175 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42176 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42178 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42179 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42181 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42182 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42184 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42185 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42187 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42188 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42190 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42191 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42193 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42194 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42196 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42199 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42200 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42202 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42203 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42205 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42208 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42211 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42212 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42214 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42215 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42217 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42218 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42220 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
42221 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42223 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
42224 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42226 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
42227 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42229 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
42230 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42232 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42233 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42235 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
42236 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42238 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
42239 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42241 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
42242 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
42244 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
42245 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
42247 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
42248 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
42250 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
42251 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
42253 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
42254 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
42256 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
42257 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
42259 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
42260 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
42262 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
42263 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42265 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
42266 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
42268 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
42269 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42271 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
42272 return (void *)((wxControl
*) ((wxPyControl
*) x
));
42274 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
42275 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
42277 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
42278 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
42280 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42281 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42283 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
42284 return (void *)((wxControl
*) ((wxGauge
*) x
));
42286 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
42287 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
42289 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
42290 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42292 static void *_p_wxListbookTo_p_wxControl(void *x
) {
42293 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
42295 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
42296 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
42298 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
42299 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
42301 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
42302 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
42304 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
42305 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42307 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
42308 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42310 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
42311 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42313 static void *_p_wxListViewTo_p_wxControl(void *x
) {
42314 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
42316 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
42317 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
42319 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
42320 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
42322 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
42323 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
42325 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
42326 return (void *)((wxControl
*) ((wxStaticText
*) x
));
42328 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
42329 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
42331 static void *_p_wxSliderTo_p_wxControl(void *x
) {
42332 return (void *)((wxControl
*) ((wxSlider
*) x
));
42334 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
42335 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
42337 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
42338 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
42340 static void *_p_wxButtonTo_p_wxControl(void *x
) {
42341 return (void *)((wxControl
*) ((wxButton
*) x
));
42343 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
42344 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
42346 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
42347 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42349 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
42350 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
42352 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
42353 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
42355 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
42356 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
42358 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
42359 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
42361 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
42362 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42364 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
42365 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42367 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
42368 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42370 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
42371 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
42373 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
42374 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42376 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
42377 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42379 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
42380 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42382 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
42383 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42385 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
42386 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42388 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
42389 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42391 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
42392 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42394 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
42395 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
42397 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
42398 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
42400 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
42401 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
42403 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
42404 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
42406 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42407 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42409 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
42410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42412 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42413 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42415 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42416 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42418 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
42419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42421 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42422 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42424 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
42425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42427 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
42428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42430 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
42431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42433 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42434 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42436 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42437 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42439 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42442 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42445 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42448 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42451 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42454 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42455 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42457 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42460 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42463 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42466 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42469 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42472 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42475 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42478 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42481 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42484 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42487 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42490 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42493 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42496 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42499 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42502 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42505 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42508 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42511 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42514 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42517 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42520 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42523 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42526 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42529 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42532 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42535 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42538 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42539 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42541 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42542 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42544 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42545 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42547 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42548 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42550 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42551 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42553 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42554 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42556 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42559 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42560 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42562 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42563 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42565 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42568 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42569 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42571 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42572 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42574 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42575 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42577 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42578 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42580 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42581 return (void *)((wxObject
*) ((wxSizer
*) x
));
42583 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42584 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42586 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42589 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42592 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42595 static void *_p_wxEventTo_p_wxObject(void *x
) {
42596 return (void *)((wxObject
*) ((wxEvent
*) x
));
42598 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42599 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42601 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42602 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42604 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42605 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42607 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42610 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42613 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42616 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
42617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42619 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42620 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42622 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42623 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42625 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42626 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42628 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42629 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42631 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42632 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42634 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42635 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42637 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42640 static void *_p_wxControlTo_p_wxObject(void *x
) {
42641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42643 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42646 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42649 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42652 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42655 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42658 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42659 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42661 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42664 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42665 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42667 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42668 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42670 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42673 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42676 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42679 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42682 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42683 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42685 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42688 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42691 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42694 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42695 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42697 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42700 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42703 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42704 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42706 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42709 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42710 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42712 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42713 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42715 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42716 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42718 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42719 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42721 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42722 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42724 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42725 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42727 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42728 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42730 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42731 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42733 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42736 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42737 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42739 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42742 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42745 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42748 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42751 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42754 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42755 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42757 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42758 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42760 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42761 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42763 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42764 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42766 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42767 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42769 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42772 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42773 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42775 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42776 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42778 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42779 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42781 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42782 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42784 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42787 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42790 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42793 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42796 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42799 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42802 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42805 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42806 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42808 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42809 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42811 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42814 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42817 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42820 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42823 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42824 return (void *)((wxObject
*) ((wxListItem
*) x
));
42826 static void *_p_wxImageTo_p_wxObject(void *x
) {
42827 return (void *)((wxObject
*) ((wxImage
*) x
));
42829 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42830 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42832 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42835 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42836 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42838 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42841 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42844 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42847 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42848 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42850 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42853 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42856 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42859 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42860 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42862 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42863 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42865 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42868 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42869 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42871 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42874 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42875 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42877 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42880 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42881 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42883 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42884 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42886 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42887 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42889 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42890 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42892 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42893 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42895 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42898 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42901 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42902 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42904 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42905 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42907 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42910 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42911 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42913 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42914 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42916 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42917 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42919 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42922 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42925 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42926 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42928 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42931 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42934 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42935 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42937 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42938 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42940 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42941 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42943 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42944 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42946 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42947 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42949 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42950 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42952 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42953 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42955 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42956 return (void *)((wxWindow
*) ((wxControl
*) x
));
42958 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42959 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42961 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42962 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42964 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42965 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42967 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42968 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42970 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42971 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42973 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42974 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42976 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42977 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42979 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42980 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42982 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42983 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42985 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42986 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42988 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42989 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42991 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42992 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42994 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42995 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42997 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42998 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
43000 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
43001 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
43003 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
43004 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43006 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
43007 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43009 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
43010 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43012 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
43013 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43015 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
43016 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43018 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
43019 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
43021 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
43022 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
43024 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
43025 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
43027 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
43028 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
43030 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
43031 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
43033 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
43034 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43036 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
43037 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
43039 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
43040 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
43042 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
43043 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43045 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
43046 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43048 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
43049 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
43051 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
43052 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
43054 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43055 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43057 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43058 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43060 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43061 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43063 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43064 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43066 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43067 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43069 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43070 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43072 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
43073 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43075 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
43076 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43078 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43079 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43081 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43082 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43084 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43085 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43087 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43088 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43090 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
43091 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43093 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
43094 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43096 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
43097 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43099 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
43100 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43102 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
43103 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43105 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
43106 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
43108 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43109 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43111 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
43112 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
43114 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
43115 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43117 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
43118 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43120 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
43121 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43123 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
43124 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
43126 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43127 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43129 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43130 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43132 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
43133 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
43135 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
43136 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43138 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
43139 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
43141 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
43142 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
43144 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
43145 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
43147 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43148 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43150 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
43151 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
43152 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};
43153 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
43154 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
43155 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
43156 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
43157 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
43158 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
43159 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
43160 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
43161 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
43162 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
43163 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
43164 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
43165 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
43166 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
43167 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
43168 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
43169 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
43170 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
43171 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
43172 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
43173 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
43174 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
43175 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
43176 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
43177 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
43178 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
43179 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
43180 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
43181 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
43182 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
43183 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
43184 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
43185 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
43186 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
43187 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
43188 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
43189 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
43190 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
43191 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
43192 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
43193 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
43194 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
43195 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
43196 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
43197 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
43198 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
43199 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
43200 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
43201 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
43202 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
43203 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
43204 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
43205 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
43206 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
43207 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
43208 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
43209 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
43210 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
43211 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
43212 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
43213 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
43214 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
43215 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
43216 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
43217 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
43218 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
43219 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
43220 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
43221 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
43222 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
43223 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
43224 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
43225 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
43226 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
43227 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
43228 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
43229 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
43230 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
43231 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
43232 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
43233 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
43234 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
43235 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
43236 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
43237 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
43238 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
43239 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
43240 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
43241 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
43242 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
43243 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
43244 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
43245 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
43246 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
43247 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
43248 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
43249 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
43250 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
43251 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
43252 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
43253 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
43254 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
43255 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
43256 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
43257 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
43258 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
43259 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
43260 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
43261 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
43262 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
43263 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
43264 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
43265 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
43266 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
43267 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
43268 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
43269 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
43270 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
43271 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
43272 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
43273 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
43274 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
43275 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
43276 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
43277 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
43278 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
43279 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
43280 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
43281 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
43282 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
43283 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
43284 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
43285 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
43286 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
43287 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
43288 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
43289 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
43290 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
43291 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
43292 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
43293 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
43294 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
43295 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
43296 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
43297 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
43298 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
43299 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
43300 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
43301 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
43302 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
43303 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
43304 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
43305 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
43306 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
43307 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
43308 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
43309 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
43310 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
43311 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
43312 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
43313 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
43315 static swig_type_info
*swig_type_initial
[] = {
43318 &_swigt__p_form_ops_t
,
43321 &_swigt__p_unsigned_char
,
43322 &_swigt__p_unsigned_int
,
43323 &_swigt__p_unsigned_long
,
43325 &_swigt__p_wxANIHandler
,
43326 &_swigt__p_wxAcceleratorTable
,
43327 &_swigt__p_wxActivateEvent
,
43328 &_swigt__p_wxArrayInt
,
43329 &_swigt__p_wxArrayString
,
43330 &_swigt__p_wxBMPHandler
,
43331 &_swigt__p_wxBitmap
,
43332 &_swigt__p_wxBitmapButton
,
43333 &_swigt__p_wxBookCtrlBase
,
43334 &_swigt__p_wxBookCtrlBaseEvent
,
43335 &_swigt__p_wxBoxSizer
,
43336 &_swigt__p_wxButton
,
43337 &_swigt__p_wxCURHandler
,
43338 &_swigt__p_wxCheckBox
,
43339 &_swigt__p_wxCheckListBox
,
43340 &_swigt__p_wxChildFocusEvent
,
43341 &_swigt__p_wxChoice
,
43342 &_swigt__p_wxChoicebook
,
43343 &_swigt__p_wxChoicebookEvent
,
43344 &_swigt__p_wxClipboardTextEvent
,
43345 &_swigt__p_wxCloseEvent
,
43346 &_swigt__p_wxColour
,
43347 &_swigt__p_wxComboBox
,
43348 &_swigt__p_wxCommandEvent
,
43349 &_swigt__p_wxContextHelp
,
43350 &_swigt__p_wxContextHelpButton
,
43351 &_swigt__p_wxContextMenuEvent
,
43352 &_swigt__p_wxControl
,
43353 &_swigt__p_wxControlWithItems
,
43354 &_swigt__p_wxCursor
,
43356 &_swigt__p_wxDateEvent
,
43357 &_swigt__p_wxDatePickerCtrl
,
43358 &_swigt__p_wxDateTime
,
43359 &_swigt__p_wxDirFilterListCtrl
,
43360 &_swigt__p_wxDisplayChangedEvent
,
43361 &_swigt__p_wxDropFilesEvent
,
43362 &_swigt__p_wxDuplexMode
,
43363 &_swigt__p_wxEraseEvent
,
43364 &_swigt__p_wxEvent
,
43365 &_swigt__p_wxEvtHandler
,
43366 &_swigt__p_wxFSFile
,
43367 &_swigt__p_wxFileSystem
,
43368 &_swigt__p_wxFlexGridSizer
,
43369 &_swigt__p_wxFocusEvent
,
43371 &_swigt__p_wxGBSizerItem
,
43372 &_swigt__p_wxGIFHandler
,
43373 &_swigt__p_wxGauge
,
43374 &_swigt__p_wxGenericDirCtrl
,
43375 &_swigt__p_wxGenericDragImage
,
43376 &_swigt__p_wxGridBagSizer
,
43377 &_swigt__p_wxGridSizer
,
43378 &_swigt__p_wxHelpEvent
,
43379 &_swigt__p_wxHelpProvider
,
43380 &_swigt__p_wxICOHandler
,
43382 &_swigt__p_wxIconizeEvent
,
43383 &_swigt__p_wxIdleEvent
,
43384 &_swigt__p_wxImage
,
43385 &_swigt__p_wxImageHandler
,
43386 &_swigt__p_wxImageList
,
43387 &_swigt__p_wxIndividualLayoutConstraint
,
43388 &_swigt__p_wxInitDialogEvent
,
43389 &_swigt__p_wxItemContainer
,
43390 &_swigt__p_wxJPEGHandler
,
43391 &_swigt__p_wxKeyEvent
,
43392 &_swigt__p_wxLayoutConstraints
,
43393 &_swigt__p_wxListBox
,
43394 &_swigt__p_wxListEvent
,
43395 &_swigt__p_wxListItem
,
43396 &_swigt__p_wxListItemAttr
,
43397 &_swigt__p_wxListView
,
43398 &_swigt__p_wxListbook
,
43399 &_swigt__p_wxListbookEvent
,
43400 &_swigt__p_wxMaximizeEvent
,
43401 &_swigt__p_wxMemoryDC
,
43403 &_swigt__p_wxMenuBar
,
43404 &_swigt__p_wxMenuEvent
,
43405 &_swigt__p_wxMenuItem
,
43406 &_swigt__p_wxMouseCaptureChangedEvent
,
43407 &_swigt__p_wxMouseEvent
,
43408 &_swigt__p_wxMoveEvent
,
43409 &_swigt__p_wxNavigationKeyEvent
,
43410 &_swigt__p_wxNcPaintEvent
,
43411 &_swigt__p_wxNotebook
,
43412 &_swigt__p_wxNotebookEvent
,
43413 &_swigt__p_wxNotifyEvent
,
43414 &_swigt__p_wxObject
,
43415 &_swigt__p_wxPCXHandler
,
43416 &_swigt__p_wxPNGHandler
,
43417 &_swigt__p_wxPNMHandler
,
43418 &_swigt__p_wxPaintEvent
,
43419 &_swigt__p_wxPaletteChangedEvent
,
43420 &_swigt__p_wxPaperSize
,
43421 &_swigt__p_wxPoint
,
43422 &_swigt__p_wxPyApp
,
43423 &_swigt__p_wxPyCommandEvent
,
43424 &_swigt__p_wxPyControl
,
43425 &_swigt__p_wxPyEvent
,
43426 &_swigt__p_wxPyImageHandler
,
43427 &_swigt__p_wxPyListCtrl
,
43428 &_swigt__p_wxPySizer
,
43429 &_swigt__p_wxPyTreeCtrl
,
43430 &_swigt__p_wxPyTreeItemData
,
43431 &_swigt__p_wxPyValidator
,
43432 &_swigt__p_wxQueryNewPaletteEvent
,
43433 &_swigt__p_wxRadioBox
,
43434 &_swigt__p_wxRadioButton
,
43436 &_swigt__p_wxScrollBar
,
43437 &_swigt__p_wxScrollEvent
,
43438 &_swigt__p_wxScrollWinEvent
,
43439 &_swigt__p_wxSetCursorEvent
,
43440 &_swigt__p_wxShowEvent
,
43441 &_swigt__p_wxSimpleHelpProvider
,
43443 &_swigt__p_wxSizeEvent
,
43444 &_swigt__p_wxSizer
,
43445 &_swigt__p_wxSizerItem
,
43446 &_swigt__p_wxSlider
,
43447 &_swigt__p_wxSpinButton
,
43448 &_swigt__p_wxSpinCtrl
,
43449 &_swigt__p_wxSpinEvent
,
43450 &_swigt__p_wxStaticBitmap
,
43451 &_swigt__p_wxStaticBox
,
43452 &_swigt__p_wxStaticBoxSizer
,
43453 &_swigt__p_wxStaticLine
,
43454 &_swigt__p_wxStaticText
,
43455 &_swigt__p_wxStdDialogButtonSizer
,
43456 &_swigt__p_wxString
,
43457 &_swigt__p_wxSysColourChangedEvent
,
43458 &_swigt__p_wxTIFFHandler
,
43459 &_swigt__p_wxTextAttr
,
43460 &_swigt__p_wxTextCtrl
,
43461 &_swigt__p_wxTextUrlEvent
,
43462 &_swigt__p_wxToggleButton
,
43463 &_swigt__p_wxToolBar
,
43464 &_swigt__p_wxToolBarBase
,
43465 &_swigt__p_wxToolBarToolBase
,
43466 &_swigt__p_wxToolbook
,
43467 &_swigt__p_wxToolbookEvent
,
43468 &_swigt__p_wxTreeCtrl
,
43469 &_swigt__p_wxTreeEvent
,
43470 &_swigt__p_wxTreeItemId
,
43471 &_swigt__p_wxTreebook
,
43472 &_swigt__p_wxTreebookEvent
,
43473 &_swigt__p_wxUpdateUIEvent
,
43474 &_swigt__p_wxValidator
,
43475 &_swigt__p_wxVisualAttributes
,
43476 &_swigt__p_wxWindow
,
43477 &_swigt__p_wxWindowCreateEvent
,
43478 &_swigt__p_wxWindowDestroyEvent
,
43479 &_swigt__p_wxXPMHandler
,
43482 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43483 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43484 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43485 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43486 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43487 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43488 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43489 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43490 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43491 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43492 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43493 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43494 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}};
43495 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}};
43496 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}};
43497 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}};
43498 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43499 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43500 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
43501 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43502 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43503 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43504 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43505 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43506 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
43507 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43508 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43509 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43510 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43511 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43512 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43513 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43514 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_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}};
43515 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43516 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43517 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
43518 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_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}};
43519 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43520 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43521 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43522 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43523 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43524 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43525 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43526 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43527 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43528 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43529 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43530 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43531 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43532 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43533 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43534 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43535 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43536 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43537 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43538 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43539 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43540 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43541 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43542 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43543 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43544 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43545 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43546 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43547 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43548 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43549 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_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}};
43550 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43551 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43552 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43553 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43554 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
43555 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43556 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43557 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43558 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43559 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43560 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}};
43561 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43562 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43563 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}};
43564 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43565 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}};
43566 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43567 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43568 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43569 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43570 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43571 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43572 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43573 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43574 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43575 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43576 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}};
43577 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43578 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43579 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43580 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43581 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43582 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43583 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43584 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43585 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43586 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43587 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43588 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43589 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43590 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43591 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43592 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43593 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43594 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43595 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43596 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43597 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43598 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43599 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43600 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43601 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43602 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43603 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43604 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43605 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43606 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43607 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_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
43608 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43609 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43610 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43611 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}};
43612 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43613 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43614 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43615 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43616 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43617 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43618 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43619 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43620 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43621 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43622 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43623 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43624 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43625 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43626 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43627 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43628 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43629 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43630 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43631 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43632 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43633 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43634 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}};
43635 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43636 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43637 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43638 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43639 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43640 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43641 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43642 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43643 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}};
43644 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43645 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
43647 static swig_cast_info
*swig_cast_initial
[] = {
43650 _swigc__p_form_ops_t
,
43653 _swigc__p_unsigned_char
,
43654 _swigc__p_unsigned_int
,
43655 _swigc__p_unsigned_long
,
43657 _swigc__p_wxANIHandler
,
43658 _swigc__p_wxAcceleratorTable
,
43659 _swigc__p_wxActivateEvent
,
43660 _swigc__p_wxArrayInt
,
43661 _swigc__p_wxArrayString
,
43662 _swigc__p_wxBMPHandler
,
43663 _swigc__p_wxBitmap
,
43664 _swigc__p_wxBitmapButton
,
43665 _swigc__p_wxBookCtrlBase
,
43666 _swigc__p_wxBookCtrlBaseEvent
,
43667 _swigc__p_wxBoxSizer
,
43668 _swigc__p_wxButton
,
43669 _swigc__p_wxCURHandler
,
43670 _swigc__p_wxCheckBox
,
43671 _swigc__p_wxCheckListBox
,
43672 _swigc__p_wxChildFocusEvent
,
43673 _swigc__p_wxChoice
,
43674 _swigc__p_wxChoicebook
,
43675 _swigc__p_wxChoicebookEvent
,
43676 _swigc__p_wxClipboardTextEvent
,
43677 _swigc__p_wxCloseEvent
,
43678 _swigc__p_wxColour
,
43679 _swigc__p_wxComboBox
,
43680 _swigc__p_wxCommandEvent
,
43681 _swigc__p_wxContextHelp
,
43682 _swigc__p_wxContextHelpButton
,
43683 _swigc__p_wxContextMenuEvent
,
43684 _swigc__p_wxControl
,
43685 _swigc__p_wxControlWithItems
,
43686 _swigc__p_wxCursor
,
43688 _swigc__p_wxDateEvent
,
43689 _swigc__p_wxDatePickerCtrl
,
43690 _swigc__p_wxDateTime
,
43691 _swigc__p_wxDirFilterListCtrl
,
43692 _swigc__p_wxDisplayChangedEvent
,
43693 _swigc__p_wxDropFilesEvent
,
43694 _swigc__p_wxDuplexMode
,
43695 _swigc__p_wxEraseEvent
,
43697 _swigc__p_wxEvtHandler
,
43698 _swigc__p_wxFSFile
,
43699 _swigc__p_wxFileSystem
,
43700 _swigc__p_wxFlexGridSizer
,
43701 _swigc__p_wxFocusEvent
,
43703 _swigc__p_wxGBSizerItem
,
43704 _swigc__p_wxGIFHandler
,
43706 _swigc__p_wxGenericDirCtrl
,
43707 _swigc__p_wxGenericDragImage
,
43708 _swigc__p_wxGridBagSizer
,
43709 _swigc__p_wxGridSizer
,
43710 _swigc__p_wxHelpEvent
,
43711 _swigc__p_wxHelpProvider
,
43712 _swigc__p_wxICOHandler
,
43714 _swigc__p_wxIconizeEvent
,
43715 _swigc__p_wxIdleEvent
,
43717 _swigc__p_wxImageHandler
,
43718 _swigc__p_wxImageList
,
43719 _swigc__p_wxIndividualLayoutConstraint
,
43720 _swigc__p_wxInitDialogEvent
,
43721 _swigc__p_wxItemContainer
,
43722 _swigc__p_wxJPEGHandler
,
43723 _swigc__p_wxKeyEvent
,
43724 _swigc__p_wxLayoutConstraints
,
43725 _swigc__p_wxListBox
,
43726 _swigc__p_wxListEvent
,
43727 _swigc__p_wxListItem
,
43728 _swigc__p_wxListItemAttr
,
43729 _swigc__p_wxListView
,
43730 _swigc__p_wxListbook
,
43731 _swigc__p_wxListbookEvent
,
43732 _swigc__p_wxMaximizeEvent
,
43733 _swigc__p_wxMemoryDC
,
43735 _swigc__p_wxMenuBar
,
43736 _swigc__p_wxMenuEvent
,
43737 _swigc__p_wxMenuItem
,
43738 _swigc__p_wxMouseCaptureChangedEvent
,
43739 _swigc__p_wxMouseEvent
,
43740 _swigc__p_wxMoveEvent
,
43741 _swigc__p_wxNavigationKeyEvent
,
43742 _swigc__p_wxNcPaintEvent
,
43743 _swigc__p_wxNotebook
,
43744 _swigc__p_wxNotebookEvent
,
43745 _swigc__p_wxNotifyEvent
,
43746 _swigc__p_wxObject
,
43747 _swigc__p_wxPCXHandler
,
43748 _swigc__p_wxPNGHandler
,
43749 _swigc__p_wxPNMHandler
,
43750 _swigc__p_wxPaintEvent
,
43751 _swigc__p_wxPaletteChangedEvent
,
43752 _swigc__p_wxPaperSize
,
43755 _swigc__p_wxPyCommandEvent
,
43756 _swigc__p_wxPyControl
,
43757 _swigc__p_wxPyEvent
,
43758 _swigc__p_wxPyImageHandler
,
43759 _swigc__p_wxPyListCtrl
,
43760 _swigc__p_wxPySizer
,
43761 _swigc__p_wxPyTreeCtrl
,
43762 _swigc__p_wxPyTreeItemData
,
43763 _swigc__p_wxPyValidator
,
43764 _swigc__p_wxQueryNewPaletteEvent
,
43765 _swigc__p_wxRadioBox
,
43766 _swigc__p_wxRadioButton
,
43768 _swigc__p_wxScrollBar
,
43769 _swigc__p_wxScrollEvent
,
43770 _swigc__p_wxScrollWinEvent
,
43771 _swigc__p_wxSetCursorEvent
,
43772 _swigc__p_wxShowEvent
,
43773 _swigc__p_wxSimpleHelpProvider
,
43775 _swigc__p_wxSizeEvent
,
43777 _swigc__p_wxSizerItem
,
43778 _swigc__p_wxSlider
,
43779 _swigc__p_wxSpinButton
,
43780 _swigc__p_wxSpinCtrl
,
43781 _swigc__p_wxSpinEvent
,
43782 _swigc__p_wxStaticBitmap
,
43783 _swigc__p_wxStaticBox
,
43784 _swigc__p_wxStaticBoxSizer
,
43785 _swigc__p_wxStaticLine
,
43786 _swigc__p_wxStaticText
,
43787 _swigc__p_wxStdDialogButtonSizer
,
43788 _swigc__p_wxString
,
43789 _swigc__p_wxSysColourChangedEvent
,
43790 _swigc__p_wxTIFFHandler
,
43791 _swigc__p_wxTextAttr
,
43792 _swigc__p_wxTextCtrl
,
43793 _swigc__p_wxTextUrlEvent
,
43794 _swigc__p_wxToggleButton
,
43795 _swigc__p_wxToolBar
,
43796 _swigc__p_wxToolBarBase
,
43797 _swigc__p_wxToolBarToolBase
,
43798 _swigc__p_wxToolbook
,
43799 _swigc__p_wxToolbookEvent
,
43800 _swigc__p_wxTreeCtrl
,
43801 _swigc__p_wxTreeEvent
,
43802 _swigc__p_wxTreeItemId
,
43803 _swigc__p_wxTreebook
,
43804 _swigc__p_wxTreebookEvent
,
43805 _swigc__p_wxUpdateUIEvent
,
43806 _swigc__p_wxValidator
,
43807 _swigc__p_wxVisualAttributes
,
43808 _swigc__p_wxWindow
,
43809 _swigc__p_wxWindowCreateEvent
,
43810 _swigc__p_wxWindowDestroyEvent
,
43811 _swigc__p_wxXPMHandler
,
43815 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43817 static swig_const_info swig_const_table
[] = {
43818 {0, 0, 0, 0.0, 0, 0}};
43823 /* -----------------------------------------------------------------------------
43824 * Type initialization:
43825 * This problem is tough by the requirement that no dynamic
43826 * memory is used. Also, since swig_type_info structures store pointers to
43827 * swig_cast_info structures and swig_cast_info structures store pointers back
43828 * to swig_type_info structures, we need some lookup code at initialization.
43829 * The idea is that swig generates all the structures that are needed.
43830 * The runtime then collects these partially filled structures.
43831 * The SWIG_InitializeModule function takes these initial arrays out of
43832 * swig_module, and does all the lookup, filling in the swig_module.types
43833 * array with the correct data and linking the correct swig_cast_info
43834 * structures together.
43836 * The generated swig_type_info structures are assigned staticly to an initial
43837 * array. We just loop though that array, and handle each type individually.
43838 * First we lookup if this type has been already loaded, and if so, use the
43839 * loaded structure instead of the generated one. Then we have to fill in the
43840 * cast linked list. The cast data is initially stored in something like a
43841 * two-dimensional array. Each row corresponds to a type (there are the same
43842 * number of rows as there are in the swig_type_initial array). Each entry in
43843 * a column is one of the swig_cast_info structures for that type.
43844 * The cast_initial array is actually an array of arrays, because each row has
43845 * a variable number of columns. So to actually build the cast linked list,
43846 * we find the array of casts associated with the type, and loop through it
43847 * adding the casts to the list. The one last trick we need to do is making
43848 * sure the type pointer in the swig_cast_info struct is correct.
43850 * First off, we lookup the cast->type name to see if it is already loaded.
43851 * There are three cases to handle:
43852 * 1) If the cast->type has already been loaded AND the type we are adding
43853 * casting info to has not been loaded (it is in this module), THEN we
43854 * replace the cast->type pointer with the type pointer that has already
43856 * 2) If BOTH types (the one we are adding casting info to, and the
43857 * cast->type) are loaded, THEN the cast info has already been loaded by
43858 * the previous module so we just ignore it.
43859 * 3) Finally, if cast->type has not already been loaded, then we add that
43860 * swig_cast_info to the linked list (because the cast->type) pointer will
43862 * ----------------------------------------------------------------------------- */
43872 #define SWIGRUNTIME_DEBUG
43876 SWIG_InitializeModule(void *clientdata
) {
43878 swig_module_info
*module_head
;
43879 static int init_run
= 0;
43881 clientdata
= clientdata
;
43883 if (init_run
) return;
43886 /* Initialize the swig_module */
43887 swig_module
.type_initial
= swig_type_initial
;
43888 swig_module
.cast_initial
= swig_cast_initial
;
43890 /* Try and load any already created modules */
43891 module_head
= SWIG_GetModule(clientdata
);
43893 swig_module
.next
= module_head
->next
;
43894 module_head
->next
= &swig_module
;
43896 /* This is the first module loaded */
43897 swig_module
.next
= &swig_module
;
43898 SWIG_SetModule(clientdata
, &swig_module
);
43901 /* Now work on filling in swig_module.types */
43902 #ifdef SWIGRUNTIME_DEBUG
43903 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43905 for (i
= 0; i
< swig_module
.size
; ++i
) {
43906 swig_type_info
*type
= 0;
43907 swig_type_info
*ret
;
43908 swig_cast_info
*cast
;
43910 #ifdef SWIGRUNTIME_DEBUG
43911 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43914 /* if there is another module already loaded */
43915 if (swig_module
.next
!= &swig_module
) {
43916 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43919 /* Overwrite clientdata field */
43920 #ifdef SWIGRUNTIME_DEBUG
43921 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43923 if (swig_module
.type_initial
[i
]->clientdata
) {
43924 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43925 #ifdef SWIGRUNTIME_DEBUG
43926 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43930 type
= swig_module
.type_initial
[i
];
43933 /* Insert casting types */
43934 cast
= swig_module
.cast_initial
[i
];
43935 while (cast
->type
) {
43936 /* Don't need to add information already in the list */
43938 #ifdef SWIGRUNTIME_DEBUG
43939 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43941 if (swig_module
.next
!= &swig_module
) {
43942 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43943 #ifdef SWIGRUNTIME_DEBUG
43944 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43948 if (type
== swig_module
.type_initial
[i
]) {
43949 #ifdef SWIGRUNTIME_DEBUG
43950 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43955 /* Check for casting already in the list */
43956 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43957 #ifdef SWIGRUNTIME_DEBUG
43958 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43960 if (!ocast
) ret
= 0;
43965 #ifdef SWIGRUNTIME_DEBUG
43966 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43969 type
->cast
->prev
= cast
;
43970 cast
->next
= type
->cast
;
43976 /* Set entry in modules->types array equal to the type */
43977 swig_module
.types
[i
] = type
;
43979 swig_module
.types
[i
] = 0;
43981 #ifdef SWIGRUNTIME_DEBUG
43982 printf("**** SWIG_InitializeModule: Cast List ******\n");
43983 for (i
= 0; i
< swig_module
.size
; ++i
) {
43985 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43986 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43987 while (cast
->type
) {
43988 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43992 printf("---- Total casts: %d\n",j
);
43994 printf("**** SWIG_InitializeModule: Cast List ******\n");
43998 /* This function will propagate the clientdata field of type to
43999 * any new swig_type_info structures that have been added into the list
44000 * of equivalent types. It is like calling
44001 * SWIG_TypeClientData(type, clientdata) a second time.
44004 SWIG_PropagateClientData(void) {
44006 swig_cast_info
*equiv
;
44007 static int init_run
= 0;
44009 if (init_run
) return;
44012 for (i
= 0; i
< swig_module
.size
; i
++) {
44013 if (swig_module
.types
[i
]->clientdata
) {
44014 equiv
= swig_module
.types
[i
]->cast
;
44016 if (!equiv
->converter
) {
44017 if (equiv
->type
&& !equiv
->type
->clientdata
)
44018 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
44020 equiv
= equiv
->next
;
44040 /* Python-specific SWIG API */
44041 #define SWIG_newvarlink() SWIG_Python_newvarlink()
44042 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
44043 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
44045 /* -----------------------------------------------------------------------------
44046 * global variable support code.
44047 * ----------------------------------------------------------------------------- */
44049 typedef struct swig_globalvar
{
44050 char *name
; /* Name of global variable */
44051 PyObject
*(*get_attr
)(void); /* Return the current value */
44052 int (*set_attr
)(PyObject
*); /* Set the value */
44053 struct swig_globalvar
*next
;
44056 typedef struct swig_varlinkobject
{
44058 swig_globalvar
*vars
;
44059 } swig_varlinkobject
;
44061 SWIGINTERN PyObject
*
44062 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
44063 return PyString_FromString("<Swig global variables>");
44066 SWIGINTERN PyObject
*
44067 swig_varlink_str(swig_varlinkobject
*v
) {
44068 PyObject
*str
= PyString_FromString("(");
44069 swig_globalvar
*var
;
44070 for (var
= v
->vars
; var
; var
=var
->next
) {
44071 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
44072 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
44074 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
44079 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
44080 PyObject
*str
= swig_varlink_str(v
);
44081 fprintf(fp
,"Swig global variables ");
44082 fprintf(fp
,"%s\n", PyString_AsString(str
));
44088 swig_varlink_dealloc(swig_varlinkobject
*v
) {
44089 swig_globalvar
*var
= v
->vars
;
44091 swig_globalvar
*n
= var
->next
;
44098 SWIGINTERN PyObject
*
44099 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
44100 PyObject
*res
= NULL
;
44101 swig_globalvar
*var
= v
->vars
;
44103 if (strcmp(var
->name
,n
) == 0) {
44104 res
= (*var
->get_attr
)();
44109 if (res
== NULL
&& !PyErr_Occurred()) {
44110 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44116 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
44118 swig_globalvar
*var
= v
->vars
;
44120 if (strcmp(var
->name
,n
) == 0) {
44121 res
= (*var
->set_attr
)(p
);
44126 if (res
== 1 && !PyErr_Occurred()) {
44127 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44132 SWIGINTERN PyTypeObject
*
44133 swig_varlink_type(void) {
44134 static char varlink__doc__
[] = "Swig var link object";
44135 static PyTypeObject varlink_type
;
44136 static int type_init
= 0;
44138 const PyTypeObject tmp
44140 PyObject_HEAD_INIT(NULL
)
44141 0, /* Number of items in variable part (ob_size) */
44142 (char *)"swigvarlink", /* Type name (tp_name) */
44143 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
44144 0, /* Itemsize (tp_itemsize) */
44145 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
44146 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
44147 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
44148 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
44149 0, /* tp_compare */
44150 (reprfunc
) swig_varlink_repr
, /* tp_repr */
44151 0, /* tp_as_number */
44152 0, /* tp_as_sequence */
44153 0, /* tp_as_mapping */
44156 (reprfunc
)swig_varlink_str
, /* tp_str */
44157 0, /* tp_getattro */
44158 0, /* tp_setattro */
44159 0, /* tp_as_buffer */
44161 varlink__doc__
, /* tp_doc */
44162 0, /* tp_traverse */
44164 0, /* tp_richcompare */
44165 0, /* tp_weaklistoffset */
44166 #if PY_VERSION_HEX >= 0x02020000
44167 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
44169 #if PY_VERSION_HEX >= 0x02030000
44172 #ifdef COUNT_ALLOCS
44173 0,0,0,0 /* tp_alloc -> tp_next */
44176 varlink_type
= tmp
;
44177 varlink_type
.ob_type
= &PyType_Type
;
44180 return &varlink_type
;
44183 /* Create a variable linking object for use later */
44184 SWIGINTERN PyObject
*
44185 SWIG_Python_newvarlink(void) {
44186 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
44190 return ((PyObject
*) result
);
44194 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
44195 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
44196 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
44198 size_t size
= strlen(name
)+1;
44199 gv
->name
= (char *)malloc(size
);
44201 strncpy(gv
->name
,name
,size
);
44202 gv
->get_attr
= get_attr
;
44203 gv
->set_attr
= set_attr
;
44204 gv
->next
= v
->vars
;
44210 SWIGINTERN PyObject
*
44212 static PyObject
*_SWIG_globals
= 0;
44213 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
44214 return _SWIG_globals
;
44217 /* -----------------------------------------------------------------------------
44218 * constants/methods manipulation
44219 * ----------------------------------------------------------------------------- */
44221 /* Install Constants */
44223 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
44226 for (i
= 0; constants
[i
].type
; ++i
) {
44227 switch(constants
[i
].type
) {
44228 case SWIG_PY_POINTER
:
44229 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
44231 case SWIG_PY_BINARY
:
44232 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
44239 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
44245 /* -----------------------------------------------------------------------------*/
44246 /* Fix SwigMethods to carry the callback ptrs when needed */
44247 /* -----------------------------------------------------------------------------*/
44250 SWIG_Python_FixMethods(PyMethodDef
*methods
,
44251 swig_const_info
*const_table
,
44252 swig_type_info
**types
,
44253 swig_type_info
**types_initial
) {
44255 for (i
= 0; methods
[i
].ml_name
; ++i
) {
44256 char *c
= methods
[i
].ml_doc
;
44257 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
44259 swig_const_info
*ci
= 0;
44260 char *name
= c
+ 10;
44261 for (j
= 0; const_table
[j
].type
; ++j
) {
44262 if (strncmp(const_table
[j
].name
, name
,
44263 strlen(const_table
[j
].name
)) == 0) {
44264 ci
= &(const_table
[j
]);
44269 size_t shift
= (ci
->ptype
) - types
;
44270 swig_type_info
*ty
= types_initial
[shift
];
44271 size_t ldoc
= (c
- methods
[i
].ml_doc
);
44272 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
44273 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
44276 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
44278 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
44280 strncpy(buff
, "swig_ptr: ", 10);
44282 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
44283 methods
[i
].ml_doc
= ndoc
;
44295 /* -----------------------------------------------------------------------------*
44296 * Partial Init method
44297 * -----------------------------------------------------------------------------*/
44302 SWIGEXPORT
void SWIG_init(void) {
44305 /* Fix SwigMethods to carry the callback ptrs when needed */
44306 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
44308 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
44309 d
= PyModule_GetDict(m
);
44311 SWIG_InitializeModule(0);
44312 SWIG_InstallConstants(d
,swig_const_table
);
44315 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
44316 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
44317 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
44318 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
44319 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
44320 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
44321 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
44322 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
44323 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
44324 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
44325 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
44326 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
44327 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
44328 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
44329 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
44330 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
44331 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
44332 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
44333 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
44334 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
44335 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
44336 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
44337 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
44338 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
44339 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
44340 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
44341 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
44342 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
44343 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
44344 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
44345 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
44346 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
44347 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
44348 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
44349 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
44350 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
44351 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
44352 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
44353 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
44354 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
44355 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
44356 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
44357 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
44358 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
44359 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
44360 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
44361 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
44362 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
44363 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
44364 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
44365 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
44366 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
44367 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
44368 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
44369 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
44370 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
44371 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
44372 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
44373 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
44374 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
44375 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
44376 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
44377 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
44378 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
44379 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
44380 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
44381 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
44382 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
44383 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
44384 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
44385 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
44386 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
44387 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
44388 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
44389 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
44390 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
44391 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
44392 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
44393 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
44394 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
44395 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
44396 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
44397 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
44398 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
44399 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
44400 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
44401 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
44402 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
44403 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
44404 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
44405 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
44406 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
44407 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
44408 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
44409 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
44410 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
44411 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
44412 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
44413 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
44414 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
44415 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
44416 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
44417 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
44418 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
44419 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
44420 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
44421 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
44422 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
44423 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
44424 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
44425 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
44426 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
44427 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
44428 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
44429 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
44430 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
44431 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
44432 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
44433 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
44434 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
44435 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
44436 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
44437 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
44438 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
44439 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
44440 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
44441 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
44442 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
44443 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
44444 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
44445 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
44446 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
44447 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
44448 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
44449 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44450 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44451 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44452 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44453 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44454 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44455 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44456 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44457 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44458 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44459 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44460 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44461 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44462 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44463 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44464 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44465 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44466 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44467 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44468 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44469 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44470 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44471 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44472 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44473 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44474 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44475 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44476 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44477 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44478 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44479 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44480 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44481 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44482 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44483 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44484 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44485 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44486 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44487 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44488 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44489 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44490 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44491 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44492 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44493 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44494 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44495 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44496 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44497 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44498 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44499 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44500 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44501 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44502 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44503 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44504 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44505 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44506 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44507 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44508 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44509 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44510 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44511 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44512 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44513 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44514 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44515 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44516 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44517 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44518 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44519 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44520 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44521 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44522 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44523 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44524 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44525 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44526 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44527 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44528 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44529 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44530 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44531 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44532 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44533 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44534 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44535 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44536 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44537 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44538 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44539 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44540 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44541 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44542 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44543 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44544 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44545 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44546 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44547 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44548 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44549 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44550 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44551 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44552 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44553 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44554 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44555 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44556 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44557 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44558 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44559 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44560 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44561 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44563 // Map renamed classes back to their common name for OOR
44564 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44566 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44567 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44568 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44569 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44570 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44571 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44572 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44573 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44574 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44575 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44576 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44577 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44578 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44579 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44580 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44581 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44582 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44583 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44584 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44585 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44586 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44587 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44588 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44589 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44590 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44591 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44592 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44593 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44594 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44595 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44596 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44597 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44598 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44599 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44600 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44602 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44603 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44604 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44605 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44606 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44607 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44608 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44609 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44610 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44611 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44612 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44613 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44614 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44615 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44616 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44617 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44618 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44619 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44620 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44622 // Map renamed classes back to their common name for OOR
44623 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44624 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44626 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44627 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44628 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44629 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44630 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44631 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44632 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44633 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44634 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44635 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44637 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44639 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44640 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44641 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44642 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44643 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44644 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));