1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
2491 #define SWIGTYPE_p_wxColour swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxCursor swig_types[37]
2500 #define SWIGTYPE_p_wxDC swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
2509 #define SWIGTYPE_p_wxEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
2511 #define SWIGTYPE_p_wxFSFile swig_types[49]
2512 #define SWIGTYPE_p_wxFileSystem swig_types[50]
2513 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
2515 #define SWIGTYPE_p_wxFont swig_types[53]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
2518 #define SWIGTYPE_p_wxGauge swig_types[56]
2519 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[60]
2523 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
2524 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
2525 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2526 #define SWIGTYPE_p_wxIcon swig_types[64]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
2529 #define SWIGTYPE_p_wxImage swig_types[67]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[68]
2531 #define SWIGTYPE_p_wxImageList swig_types[69]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
2538 #define SWIGTYPE_p_wxListBox swig_types[76]
2539 #define SWIGTYPE_p_wxListEvent swig_types[77]
2540 #define SWIGTYPE_p_wxListItem swig_types[78]
2541 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
2542 #define SWIGTYPE_p_wxListView swig_types[80]
2543 #define SWIGTYPE_p_wxListbook swig_types[81]
2544 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
2545 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
2547 #define SWIGTYPE_p_wxMenu swig_types[85]
2548 #define SWIGTYPE_p_wxMenuBar swig_types[86]
2549 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMenuItem swig_types[88]
2551 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
2554 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNotebook swig_types[94]
2557 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxObject swig_types[97]
2560 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2566 #define SWIGTYPE_p_wxPoint swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyControl swig_types[107]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
2573 #define SWIGTYPE_p_wxPySizer swig_types[111]
2574 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[114]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
2578 #define SWIGTYPE_p_wxRadioBox swig_types[116]
2579 #define SWIGTYPE_p_wxRadioButton swig_types[117]
2580 #define SWIGTYPE_p_wxRect swig_types[118]
2581 #define SWIGTYPE_p_wxScrollBar swig_types[119]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[123]
2586 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
2587 #define SWIGTYPE_p_wxSize swig_types[125]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSizer swig_types[127]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[128]
2591 #define SWIGTYPE_p_wxSlider swig_types[129]
2592 #define SWIGTYPE_p_wxSpinButton swig_types[130]
2593 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
2594 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBox swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxStaticLine swig_types[136]
2599 #define SWIGTYPE_p_wxStaticText swig_types[137]
2600 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
2601 #define SWIGTYPE_p_wxString swig_types[139]
2602 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2603 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2604 #define SWIGTYPE_p_wxTextAttr swig_types[142]
2605 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
2606 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
2607 #define SWIGTYPE_p_wxToggleButton swig_types[145]
2608 #define SWIGTYPE_p_wxToolBar swig_types[146]
2609 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolbook swig_types[149]
2612 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
2615 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
2616 #define SWIGTYPE_p_wxTreebook swig_types[154]
2617 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _controls_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_controls_
2652 #define SWIG_name "_controls_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2731 const wxArrayString wxPyEmptyStringArray
;
2733 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2735 #define SWIG_From_long PyInt_FromLong
2738 SWIGINTERNINLINE PyObject
*
2739 SWIG_From_int (int value
)
2741 return SWIG_From_long (value
);
2747 # define LLONG_MIN LONG_LONG_MIN
2750 # define LLONG_MAX LONG_LONG_MAX
2753 # define ULLONG_MAX ULONG_LONG_MAX
2758 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2760 if (PyNumber_Check(obj
)) {
2761 if (val
) *val
= PyInt_AsLong(obj
);
2764 return SWIG_TypeError
;
2769 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2772 int res
= SWIG_AsVal_long (obj
, &v
);
2773 if (SWIG_IsOK(res
)) {
2774 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2775 return SWIG_OverflowError
;
2777 if (val
) *val
= static_cast< int >(v
);
2783 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2786 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2788 if (obj
== Py_True
) {
2789 if (val
) *val
= true;
2791 } else if (obj
== Py_False
) {
2792 if (val
) *val
= false;
2796 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2797 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2802 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2803 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2804 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2805 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2806 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2807 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2809 #include <wx/checklst.h>
2811 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2812 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 self
->Insert(item
, pos
, data
);
2819 self
->Insert(item
, pos
);
2823 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2826 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2827 return SWIG_TypeError
;
2830 *val
= (unsigned long)v
;
2836 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2839 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2840 if (SWIG_IsOK(res
)) {
2841 if ((v
> UINT_MAX
)) {
2842 return SWIG_OverflowError
;
2844 if (val
) *val
= static_cast< unsigned int >(v
);
2850 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 self
->GetSelections(lst
);
2854 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2855 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2857 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2859 wxPyEndBlockThreads(blocked
);
2862 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2864 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2865 self
->GetItem(item
)->SetTextColour(c
);
2868 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2870 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2871 self
->GetItem(item
)->SetBackgroundColour(c
);
2874 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetFont(f
);
2880 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2881 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2882 self
->AppendText(text
);
2884 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2885 return self
->GetValue().Mid(from
, to
- from
);
2887 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2888 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2889 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2890 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2891 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2893 SWIGINTERNINLINE PyObject
*
2894 SWIG_From_unsigned_SS_long (unsigned long value
)
2896 return (value
> LONG_MAX
) ?
2897 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2901 SWIGINTERNINLINE PyObject
*
2902 SWIG_From_size_t (size_t value
)
2904 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2908 SWIGINTERNINLINE PyObject
*
2909 SWIG_From_unsigned_SS_int (unsigned int value
)
2911 return SWIG_From_unsigned_SS_long (value
);
2915 #include <wx/slider.h>
2918 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2919 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2921 #if !wxUSE_TOGGLEBTN
2922 // implement dummy items for platforms that don't have this class
2924 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2926 class wxToggleButton
: public wxControl
2929 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2930 const wxPoint
&, const wxSize
&, long,
2931 const wxValidator
&, const wxString
&)
2932 { wxPyRaiseNotImplemented(); }
2935 { wxPyRaiseNotImplemented(); }
2939 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2941 SWIGINTERNINLINE
int
2942 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2945 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2946 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2950 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2951 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2952 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2954 Py_INCREF(udata
->m_obj
);
2955 return udata
->m_obj
;
2961 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2962 self
->SetClientData(new wxPyUserData(clientData
));
2964 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
){
2965 wxPyUserData
* udata
= NULL
;
2966 if (clientData
&& clientData
!= Py_None
)
2967 udata
= new wxPyUserData(clientData
);
2968 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2969 shortHelp
, longHelp
, udata
);
2971 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
){
2972 wxPyUserData
* udata
= NULL
;
2973 if (clientData
&& clientData
!= Py_None
)
2974 udata
= new wxPyUserData(clientData
);
2975 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2976 shortHelp
, longHelp
, udata
);
2978 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2979 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2981 Py_INCREF(udata
->m_obj
);
2982 return udata
->m_obj
;
2988 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2989 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2992 #include <wx/listctrl.h>
2994 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2995 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2996 // Python aware sorting function for wxPyListCtrl
2997 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2999 PyObject
* func
= (PyObject
*)funcPtr
;
3000 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3002 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3003 PyObject
* result
= PyEval_CallObject(func
, args
);
3006 retval
= PyInt_AsLong(result
);
3010 wxPyEndBlockThreads(blocked
);
3014 // C++ Version of a Python aware class
3015 class wxPyListCtrl
: public wxListCtrl
{
3016 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3018 wxPyListCtrl() : wxListCtrl() {}
3019 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3023 const wxValidator
& validator
,
3024 const wxString
& name
) :
3025 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3027 bool Create(wxWindow
* parent
, wxWindowID id
,
3031 const wxValidator
& validator
,
3032 const wxString
& name
) {
3033 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3036 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3037 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3039 // use the virtual version to avoid a confusing assert in the base class
3040 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3041 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3048 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3049 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3050 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3051 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3054 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3056 item
.SetMask( wxLIST_MASK_STATE
|
3064 if (self
->GetColumn(col
, item
))
3065 return new wxListItem(item
);
3069 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3070 wxListItem
* info
= new wxListItem
;
3071 info
->m_itemId
= itemId
;
3073 info
->m_mask
= 0xFFFF;
3074 self
->GetItem(*info
);
3077 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3079 self
->GetItemPosition(item
, pos
);
3082 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3084 self
->GetItemRect(item
, rect
, code
);
3087 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3088 if (!PyCallable_Check(func
))
3090 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3092 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3096 return (wxWindow
*)self
->m_mainWin
;
3100 #include <wx/treectrl.h>
3101 #include "wx/wxPython/pytree.h"
3103 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3104 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3105 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3106 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3107 // C++ version of Python aware wxTreeCtrl
3108 class wxPyTreeCtrl
: public wxTreeCtrl
{
3109 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3111 wxPyTreeCtrl() : wxTreeCtrl() {}
3112 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3116 const wxValidator
& validator
,
3117 const wxString
& name
) :
3118 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3120 bool Create(wxWindow
*parent
, wxWindowID id
,
3124 const wxValidator
& validator
,
3125 const wxString
& name
) {
3126 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3130 int OnCompareItems(const wxTreeItemId
& item1
,
3131 const wxTreeItemId
& item2
) {
3134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3135 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3136 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3137 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3138 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3142 wxPyEndBlockThreads(blocked
);
3144 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3150 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3153 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3154 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3156 data
= new wxPyTreeItemData();
3157 data
->SetId(item
); // set the id
3158 self
->SetItemData(item
, data
);
3162 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3163 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3165 data
= new wxPyTreeItemData();
3166 data
->SetId(item
); // set the id
3167 self
->SetItemData(item
, data
);
3169 return data
->GetData();
3171 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3172 data
->SetId(item
); // set the id
3173 self
->SetItemData(item
, data
);
3175 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData(obj
);
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3185 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3186 PyObject
* rval
= PyList_New(0);
3187 wxArrayTreeItemIds array
;
3189 num
= self
->GetSelections(array
);
3190 for (x
=0; x
< num
; x
++) {
3191 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3192 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3193 PyList_Append(rval
, item
);
3196 wxPyEndBlockThreads(blocked
);
3199 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3201 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3202 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3203 PyObject
* tup
= PyTuple_New(2);
3204 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3205 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3206 wxPyEndBlockThreads(blocked
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3210 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* tup
= PyTuple_New(2);
3213 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3214 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3220 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 wxRect
* r
= new wxRect(rect
);
3223 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3224 wxPyEndBlockThreads(blocked
);
3230 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3232 SWIGINTERNINLINE PyObject
*
3233 SWIG_From_bool (bool value
)
3235 return PyBool_FromLong(value
? 1 : 0);
3238 // C++ version of Python aware wxControl
3239 class wxPyControl
: public wxControl
3241 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3243 wxPyControl() : wxControl() {}
3244 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3245 const wxPoint
& pos
= wxDefaultPosition
,
3246 const wxSize
& size
= wxDefaultSize
,
3248 const wxValidator
& validator
=wxDefaultValidator
,
3249 const wxString
& name
= wxPyControlNameStr
)
3250 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3252 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3254 bool DoEraseBackground(wxDC
* dc
) {
3256 return wxWindow::DoEraseBackground(dc
->GetHDC());
3258 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3264 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3265 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3266 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3273 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3274 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3276 DEC_PYCALLBACK__(InitDialog
);
3277 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3278 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3279 DEC_PYCALLBACK_BOOL_(Validate
);
3281 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3283 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3285 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3288 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3289 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3291 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3293 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3298 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3300 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3301 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3302 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3309 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3310 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3312 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3313 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3314 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3315 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3317 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3318 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3319 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3324 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3325 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3327 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3329 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3333 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3335 #include <wx/generic/dragimgg.h>
3337 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3338 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3340 self
->GetRange(&rv
, NULL
);
3343 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3345 self
->GetRange(NULL
, &rv
);
3351 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3352 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3357 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3358 PyObject
*pyobj
= 0;
3362 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3364 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3371 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
= 0;
3373 wxWindow
*arg1
= (wxWindow
*) 0 ;
3374 int arg2
= (int) -1 ;
3375 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3381 long arg6
= (long) 0 ;
3382 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3383 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3384 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3386 wxButton
*result
= 0 ;
3391 bool temp3
= false ;
3398 bool temp8
= false ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3401 PyObject
* obj2
= 0 ;
3402 PyObject
* obj3
= 0 ;
3403 PyObject
* obj4
= 0 ;
3404 PyObject
* obj5
= 0 ;
3405 PyObject
* obj6
= 0 ;
3406 PyObject
* obj7
= 0 ;
3407 char * kwnames
[] = {
3408 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3413 if (!SWIG_IsOK(res1
)) {
3414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3419 if (!SWIG_IsOK(ecode2
)) {
3420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3422 arg2
= static_cast< int >(val2
);
3426 arg3
= wxString_in_helper(obj2
);
3427 if (arg3
== NULL
) SWIG_fail
;
3434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3445 if (!SWIG_IsOK(ecode6
)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3448 arg6
= static_cast< long >(val6
);
3451 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3452 if (!SWIG_IsOK(res7
)) {
3453 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3458 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3462 arg8
= wxString_in_helper(obj7
);
3463 if (arg8
== NULL
) SWIG_fail
;
3468 if (!wxPyCheckForApp()) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3497 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3498 PyObject
*resultobj
= 0;
3499 wxButton
*result
= 0 ;
3501 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3503 if (!wxPyCheckForApp()) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (wxButton
*)new wxButton();
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3516 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
= 0;
3518 wxButton
*arg1
= (wxButton
*) 0 ;
3519 wxWindow
*arg2
= (wxWindow
*) 0 ;
3520 int arg3
= (int) -1 ;
3521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3527 long arg7
= (long) 0 ;
3528 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3529 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3530 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3531 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3539 bool temp4
= false ;
3546 bool temp9
= false ;
3547 PyObject
* obj0
= 0 ;
3548 PyObject
* obj1
= 0 ;
3549 PyObject
* obj2
= 0 ;
3550 PyObject
* obj3
= 0 ;
3551 PyObject
* obj4
= 0 ;
3552 PyObject
* obj5
= 0 ;
3553 PyObject
* obj6
= 0 ;
3554 PyObject
* obj7
= 0 ;
3555 PyObject
* obj8
= 0 ;
3556 char * kwnames
[] = {
3557 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3562 if (!SWIG_IsOK(res1
)) {
3563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3565 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3567 if (!SWIG_IsOK(res2
)) {
3568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3573 if (!SWIG_IsOK(ecode3
)) {
3574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3576 arg3
= static_cast< int >(val3
);
3580 arg4
= wxString_in_helper(obj3
);
3581 if (arg4
== NULL
) SWIG_fail
;
3588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3599 if (!SWIG_IsOK(ecode7
)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3602 arg7
= static_cast< long >(val7
);
3605 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3606 if (!SWIG_IsOK(res8
)) {
3607 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3612 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3616 arg9
= wxString_in_helper(obj8
);
3617 if (arg9
== NULL
) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3652 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3653 PyObject
*resultobj
= 0;
3654 wxButton
*arg1
= (wxButton
*) 0 ;
3657 PyObject
*swig_obj
[1] ;
3659 if (!args
) SWIG_fail
;
3661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3662 if (!SWIG_IsOK(res1
)) {
3663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3665 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 (arg1
)->SetDefault();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_Py_Void();
3679 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3683 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= wxButton::GetDefaultSize();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3697 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
= 0;
3699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3700 SwigValueWrapper
<wxVisualAttributes
> result
;
3703 PyObject
* obj0
= 0 ;
3704 char * kwnames
[] = {
3705 (char *) "variant", NULL
3708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3711 if (!SWIG_IsOK(ecode1
)) {
3712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3714 arg1
= static_cast< wxWindowVariant
>(val1
);
3717 if (!wxPyCheckForApp()) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxButton::GetClassDefaultAttributes(arg1
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3730 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3733 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3734 return SWIG_Py_Void();
3737 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3738 return SWIG_Python_InitShadowInstance(args
);
3741 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
= 0;
3743 wxWindow
*arg1
= (wxWindow
*) 0 ;
3744 int arg2
= (int) -1 ;
3745 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3746 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3751 long arg6
= (long) wxBU_AUTODRAW
;
3752 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3753 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3754 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3755 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3756 wxBitmapButton
*result
= 0 ;
3769 bool temp8
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 PyObject
* obj6
= 0 ;
3777 PyObject
* obj7
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3796 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3797 if (!SWIG_IsOK(res3
)) {
3798 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3803 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3818 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3819 if (!SWIG_IsOK(ecode6
)) {
3820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3822 arg6
= static_cast< long >(val6
);
3825 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3826 if (!SWIG_IsOK(res7
)) {
3827 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3832 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3836 arg8
= wxString_in_helper(obj7
);
3837 if (arg8
== NULL
) SWIG_fail
;
3842 if (!wxPyCheckForApp()) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3863 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3864 PyObject
*resultobj
= 0;
3865 wxBitmapButton
*result
= 0 ;
3867 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton();
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3882 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= 0;
3884 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3885 wxWindow
*arg2
= (wxWindow
*) 0 ;
3886 int arg3
= (int) -1 ;
3887 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3888 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3889 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3890 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3891 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3892 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3893 long arg7
= (long) wxBU_AUTODRAW
;
3894 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3895 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3896 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3897 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3913 bool temp9
= false ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3916 PyObject
* obj2
= 0 ;
3917 PyObject
* obj3
= 0 ;
3918 PyObject
* obj4
= 0 ;
3919 PyObject
* obj5
= 0 ;
3920 PyObject
* obj6
= 0 ;
3921 PyObject
* obj7
= 0 ;
3922 PyObject
* obj8
= 0 ;
3923 char * kwnames
[] = {
3924 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3929 if (!SWIG_IsOK(res1
)) {
3930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3932 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3934 if (!SWIG_IsOK(res2
)) {
3935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3937 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3940 if (!SWIG_IsOK(ecode3
)) {
3941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3943 arg3
= static_cast< int >(val3
);
3946 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3947 if (!SWIG_IsOK(res4
)) {
3948 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3953 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3964 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3968 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3969 if (!SWIG_IsOK(ecode7
)) {
3970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3972 arg7
= static_cast< long >(val7
);
3975 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3976 if (!SWIG_IsOK(res8
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3982 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3986 arg9
= wxString_in_helper(obj8
);
3987 if (arg9
== NULL
) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4014 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4020 PyObject
*swig_obj
[1] ;
4022 if (!args
) SWIG_fail
;
4024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4025 if (!SWIG_IsOK(res1
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4028 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (arg1
)->GetBitmapLabel();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4042 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 PyObject
*resultobj
= 0;
4044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4048 PyObject
*swig_obj
[1] ;
4050 if (!args
) SWIG_fail
;
4052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4053 if (!SWIG_IsOK(res1
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4056 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (arg1
)->GetBitmapDisabled();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4070 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4071 PyObject
*resultobj
= 0;
4072 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4076 PyObject
*swig_obj
[1] ;
4078 if (!args
) SWIG_fail
;
4080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4081 if (!SWIG_IsOK(res1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4084 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (arg1
)->GetBitmapFocus();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4098 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 PyObject
*resultobj
= 0;
4100 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4104 PyObject
*swig_obj
[1] ;
4106 if (!args
) SWIG_fail
;
4108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4109 if (!SWIG_IsOK(res1
)) {
4110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4112 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (arg1
)->GetBitmapSelected();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4126 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4132 PyObject
*swig_obj
[1] ;
4134 if (!args
) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4140 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (arg1
)->GetBitmapHover();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= 0;
4156 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4157 wxBitmap
*arg2
= 0 ;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4164 char * kwnames
[] = {
4165 (char *) "self",(char *) "bitmap", NULL
4168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4170 if (!SWIG_IsOK(res1
)) {
4171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4173 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4175 if (!SWIG_IsOK(res2
)) {
4176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4181 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= SWIG_Py_Void();
4195 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
= 0;
4197 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4198 wxBitmap
*arg2
= 0 ;
4203 PyObject
* obj0
= 0 ;
4204 PyObject
* obj1
= 0 ;
4205 char * kwnames
[] = {
4206 (char *) "self",(char *) "bitmap", NULL
4209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4211 if (!SWIG_IsOK(res1
)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4214 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4216 if (!SWIG_IsOK(res2
)) {
4217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4222 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_Py_Void();
4236 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4239 wxBitmap
*arg2
= 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4246 char * kwnames
[] = {
4247 (char *) "self",(char *) "bitmap", NULL
4250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4255 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4257 if (!SWIG_IsOK(res2
)) {
4258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_Py_Void();
4277 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
= 0;
4279 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4280 wxBitmap
*arg2
= 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4287 char * kwnames
[] = {
4288 (char *) "self",(char *) "bitmap", NULL
4291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4293 if (!SWIG_IsOK(res1
)) {
4294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4296 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4298 if (!SWIG_IsOK(res2
)) {
4299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_Py_Void();
4318 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
= 0;
4320 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4321 wxBitmap
*arg2
= 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4328 char * kwnames
[] = {
4329 (char *) "self",(char *) "hover", NULL
4332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4334 if (!SWIG_IsOK(res1
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4337 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4339 if (!SWIG_IsOK(res2
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_Py_Void();
4359 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
= 0;
4361 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4372 PyObject
* obj2
= 0 ;
4373 char * kwnames
[] = {
4374 (char *) "self",(char *) "x",(char *) "y", NULL
4377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4379 if (!SWIG_IsOK(res1
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4382 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4384 if (!SWIG_IsOK(ecode2
)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4387 arg2
= static_cast< int >(val2
);
4388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4389 if (!SWIG_IsOK(ecode3
)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4392 arg3
= static_cast< int >(val3
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 (arg1
)->SetMargins(arg2
,arg3
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= SWIG_Py_Void();
4406 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4407 PyObject
*resultobj
= 0;
4408 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4412 PyObject
*swig_obj
[1] ;
4414 if (!args
) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4420 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_From_int(static_cast< int >(result
));
4434 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4435 PyObject
*resultobj
= 0;
4436 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4440 PyObject
*swig_obj
[1] ;
4442 if (!args
) SWIG_fail
;
4444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4445 if (!SWIG_IsOK(res1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4448 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= SWIG_From_int(static_cast< int >(result
));
4462 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4465 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4466 return SWIG_Py_Void();
4469 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4470 return SWIG_Python_InitShadowInstance(args
);
4473 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4474 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4479 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4480 PyObject
*pyobj
= 0;
4484 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4486 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4493 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxWindow
*arg1
= (wxWindow
*) 0 ;
4496 int arg2
= (int) -1 ;
4497 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4498 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4503 long arg6
= (long) 0 ;
4504 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4505 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4506 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4508 wxCheckBox
*result
= 0 ;
4513 bool temp3
= false ;
4520 bool temp8
= false ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4523 PyObject
* obj2
= 0 ;
4524 PyObject
* obj3
= 0 ;
4525 PyObject
* obj4
= 0 ;
4526 PyObject
* obj5
= 0 ;
4527 PyObject
* obj6
= 0 ;
4528 PyObject
* obj7
= 0 ;
4529 char * kwnames
[] = {
4530 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4535 if (!SWIG_IsOK(res1
)) {
4536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4541 if (!SWIG_IsOK(ecode2
)) {
4542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4544 arg2
= static_cast< int >(val2
);
4548 arg3
= wxString_in_helper(obj2
);
4549 if (arg3
== NULL
) SWIG_fail
;
4556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4566 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4567 if (!SWIG_IsOK(ecode6
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4570 arg6
= static_cast< long >(val6
);
4573 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4574 if (!SWIG_IsOK(res7
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4580 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4584 arg8
= wxString_in_helper(obj7
);
4585 if (arg8
== NULL
) SWIG_fail
;
4590 if (!wxPyCheckForApp()) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4619 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxCheckBox
*result
= 0 ;
4623 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4625 if (!wxPyCheckForApp()) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (wxCheckBox
*)new wxCheckBox();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4638 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= 0;
4640 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4641 wxWindow
*arg2
= (wxWindow
*) 0 ;
4642 int arg3
= (int) -1 ;
4643 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4645 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4646 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4647 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4648 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4649 long arg7
= (long) 0 ;
4650 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4651 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4652 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4653 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4661 bool temp4
= false ;
4668 bool temp9
= false ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 PyObject
* obj3
= 0 ;
4673 PyObject
* obj4
= 0 ;
4674 PyObject
* obj5
= 0 ;
4675 PyObject
* obj6
= 0 ;
4676 PyObject
* obj7
= 0 ;
4677 PyObject
* obj8
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4687 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4689 if (!SWIG_IsOK(res2
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4695 if (!SWIG_IsOK(ecode3
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4698 arg3
= static_cast< int >(val3
);
4702 arg4
= wxString_in_helper(obj3
);
4703 if (arg4
== NULL
) SWIG_fail
;
4710 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4716 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4720 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4721 if (!SWIG_IsOK(ecode7
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4724 arg7
= static_cast< long >(val7
);
4727 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4728 if (!SWIG_IsOK(res8
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4734 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4738 arg9
= wxString_in_helper(obj8
);
4739 if (arg9
== NULL
) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4774 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 PyObject
*resultobj
= 0;
4776 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4780 PyObject
*swig_obj
[1] ;
4782 if (!args
) SWIG_fail
;
4784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4785 if (!SWIG_IsOK(res1
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4788 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= (bool)(arg1
)->GetValue();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->IsChecked();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
= 0;
4836 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 char * kwnames
[] = {
4845 (char *) "self",(char *) "state", NULL
4848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4850 if (!SWIG_IsOK(res1
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4853 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4854 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4855 if (!SWIG_IsOK(ecode2
)) {
4856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4858 arg2
= static_cast< bool >(val2
);
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 (arg1
)->SetValue(arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_Py_Void();
4872 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4873 PyObject
*resultobj
= 0;
4874 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4875 wxCheckBoxState result
;
4878 PyObject
*swig_obj
[1] ;
4880 if (!args
) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4886 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_From_int(static_cast< int >(result
));
4900 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
= 0;
4902 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4903 wxCheckBoxState arg2
;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4910 char * kwnames
[] = {
4911 (char *) "self",(char *) "state", NULL
4914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4919 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4921 if (!SWIG_IsOK(ecode2
)) {
4922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4924 arg2
= static_cast< wxCheckBoxState
>(val2
);
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 (arg1
)->Set3StateValue(arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_Py_Void();
4938 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4939 PyObject
*resultobj
= 0;
4940 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4944 PyObject
*swig_obj
[1] ;
4946 if (!args
) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4952 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
= 0;
5000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5001 SwigValueWrapper
<wxVisualAttributes
> result
;
5004 PyObject
* obj0
= 0 ;
5005 char * kwnames
[] = {
5006 (char *) "variant", NULL
5009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5012 if (!SWIG_IsOK(ecode1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5015 arg1
= static_cast< wxWindowVariant
>(val1
);
5018 if (!wxPyCheckForApp()) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5031 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5034 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5035 return SWIG_Py_Void();
5038 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5039 return SWIG_Python_InitShadowInstance(args
);
5042 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5043 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5048 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5049 PyObject
*pyobj
= 0;
5053 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5055 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5062 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxWindow
*arg1
= (wxWindow
*) 0 ;
5065 int arg2
= (int) -1 ;
5066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5070 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5071 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5072 long arg6
= (long) 0 ;
5073 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5074 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5075 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5076 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5077 wxChoice
*result
= 0 ;
5084 bool temp5
= false ;
5089 bool temp8
= false ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5092 PyObject
* obj2
= 0 ;
5093 PyObject
* obj3
= 0 ;
5094 PyObject
* obj4
= 0 ;
5095 PyObject
* obj5
= 0 ;
5096 PyObject
* obj6
= 0 ;
5097 PyObject
* obj7
= 0 ;
5098 char * kwnames
[] = {
5099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5104 if (!SWIG_IsOK(res1
)) {
5105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5110 if (!SWIG_IsOK(ecode2
)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5113 arg2
= static_cast< int >(val2
);
5118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5124 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5129 if (! PySequence_Check(obj4
)) {
5130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5133 arg5
= new wxArrayString
;
5135 int i
, len
=PySequence_Length(obj4
);
5136 for (i
=0; i
<len
; i
++) {
5137 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5138 wxString
* s
= wxString_in_helper(item
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5147 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5148 if (!SWIG_IsOK(ecode6
)) {
5149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5151 arg6
= static_cast< long >(val6
);
5154 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5155 if (!SWIG_IsOK(res7
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5161 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5165 arg8
= wxString_in_helper(obj7
);
5166 if (arg8
== NULL
) SWIG_fail
;
5171 if (!wxPyCheckForApp()) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5179 if (temp5
) delete arg5
;
5188 if (temp5
) delete arg5
;
5198 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5199 PyObject
*resultobj
= 0;
5200 wxChoice
*result
= 0 ;
5202 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5204 if (!wxPyCheckForApp()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxChoice
*)new wxChoice();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5217 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
= 0;
5219 wxChoice
*arg1
= (wxChoice
*) 0 ;
5220 wxWindow
*arg2
= (wxWindow
*) 0 ;
5221 int arg3
= (int) -1 ;
5222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5226 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5227 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5228 long arg7
= (long) 0 ;
5229 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5230 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5231 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5232 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5242 bool temp6
= false ;
5247 bool temp9
= false ;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 PyObject
* obj2
= 0 ;
5251 PyObject
* obj3
= 0 ;
5252 PyObject
* obj4
= 0 ;
5253 PyObject
* obj5
= 0 ;
5254 PyObject
* obj6
= 0 ;
5255 PyObject
* obj7
= 0 ;
5256 PyObject
* obj8
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5266 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5268 if (!SWIG_IsOK(res2
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5274 if (!SWIG_IsOK(ecode3
)) {
5275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5277 arg3
= static_cast< int >(val3
);
5282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5293 if (! PySequence_Check(obj5
)) {
5294 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5297 arg6
= new wxArrayString
;
5299 int i
, len
=PySequence_Length(obj5
);
5300 for (i
=0; i
<len
; i
++) {
5301 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5302 wxString
* s
= wxString_in_helper(item
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5311 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5312 if (!SWIG_IsOK(ecode7
)) {
5313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5315 arg7
= static_cast< long >(val7
);
5318 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5319 if (!SWIG_IsOK(res8
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5325 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5329 arg9
= wxString_in_helper(obj8
);
5330 if (arg9
== NULL
) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5344 if (temp6
) delete arg6
;
5353 if (temp6
) delete arg6
;
5363 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5364 PyObject
*resultobj
= 0;
5365 wxChoice
*arg1
= (wxChoice
*) 0 ;
5369 PyObject
*swig_obj
[1] ;
5371 if (!args
) SWIG_fail
;
5373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5374 if (!SWIG_IsOK(res1
)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5377 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_From_int(static_cast< int >(result
));
5391 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
= 0;
5393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5394 SwigValueWrapper
<wxVisualAttributes
> result
;
5397 PyObject
* obj0
= 0 ;
5398 char * kwnames
[] = {
5399 (char *) "variant", NULL
5402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5405 if (!SWIG_IsOK(ecode1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5408 arg1
= static_cast< wxWindowVariant
>(val1
);
5411 if (!wxPyCheckForApp()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5424 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5427 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5428 return SWIG_Py_Void();
5431 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5432 return SWIG_Python_InitShadowInstance(args
);
5435 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5436 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5441 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5442 PyObject
*pyobj
= 0;
5446 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5448 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5455 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= 0;
5457 wxWindow
*arg1
= (wxWindow
*) 0 ;
5458 int arg2
= (int) -1 ;
5459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5465 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5466 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5467 long arg7
= (long) 0 ;
5468 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5469 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5470 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5471 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5472 wxComboBox
*result
= 0 ;
5477 bool temp3
= false ;
5480 bool temp6
= false ;
5485 bool temp9
= false ;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5488 PyObject
* obj2
= 0 ;
5489 PyObject
* obj3
= 0 ;
5490 PyObject
* obj4
= 0 ;
5491 PyObject
* obj5
= 0 ;
5492 PyObject
* obj6
= 0 ;
5493 PyObject
* obj7
= 0 ;
5494 PyObject
* obj8
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5501 if (!SWIG_IsOK(res1
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5507 if (!SWIG_IsOK(ecode2
)) {
5508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5510 arg2
= static_cast< int >(val2
);
5514 arg3
= wxString_in_helper(obj2
);
5515 if (arg3
== NULL
) SWIG_fail
;
5522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5533 if (! PySequence_Check(obj5
)) {
5534 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5537 arg6
= new wxArrayString
;
5539 int i
, len
=PySequence_Length(obj5
);
5540 for (i
=0; i
<len
; i
++) {
5541 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5542 wxString
* s
= wxString_in_helper(item
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5551 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5552 if (!SWIG_IsOK(ecode7
)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5555 arg7
= static_cast< long >(val7
);
5558 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5559 if (!SWIG_IsOK(res8
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5565 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5569 arg9
= wxString_in_helper(obj8
);
5570 if (arg9
== NULL
) SWIG_fail
;
5575 if (!wxPyCheckForApp()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 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
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5587 if (temp6
) delete arg6
;
5600 if (temp6
) delete arg6
;
5610 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5611 PyObject
*resultobj
= 0;
5612 wxComboBox
*result
= 0 ;
5614 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5616 if (!wxPyCheckForApp()) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (wxComboBox
*)new wxComboBox();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5629 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5632 wxWindow
*arg2
= (wxWindow
*) 0 ;
5633 int arg3
= (int) -1 ;
5634 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5635 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5636 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5637 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5638 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5639 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5640 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5641 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5642 long arg8
= (long) 0 ;
5643 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5644 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5645 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5646 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5654 bool temp4
= false ;
5657 bool temp7
= false ;
5662 bool temp10
= false ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5666 PyObject
* obj3
= 0 ;
5667 PyObject
* obj4
= 0 ;
5668 PyObject
* obj5
= 0 ;
5669 PyObject
* obj6
= 0 ;
5670 PyObject
* obj7
= 0 ;
5671 PyObject
* obj8
= 0 ;
5672 PyObject
* obj9
= 0 ;
5673 char * kwnames
[] = {
5674 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5679 if (!SWIG_IsOK(res1
)) {
5680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5682 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5684 if (!SWIG_IsOK(res2
)) {
5685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5687 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5690 if (!SWIG_IsOK(ecode3
)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5693 arg3
= static_cast< int >(val3
);
5697 arg4
= wxString_in_helper(obj3
);
5698 if (arg4
== NULL
) SWIG_fail
;
5705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5716 if (! PySequence_Check(obj6
)) {
5717 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5720 arg7
= new wxArrayString
;
5722 int i
, len
=PySequence_Length(obj6
);
5723 for (i
=0; i
<len
; i
++) {
5724 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5725 wxString
* s
= wxString_in_helper(item
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5734 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5735 if (!SWIG_IsOK(ecode8
)) {
5736 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5738 arg8
= static_cast< long >(val8
);
5741 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5742 if (!SWIG_IsOK(res9
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5748 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5752 arg10
= wxString_in_helper(obj9
);
5753 if (arg10
== NULL
) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 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
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 if (temp7
) delete arg7
;
5784 if (temp7
) delete arg7
;
5794 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5795 PyObject
*resultobj
= 0;
5796 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5800 PyObject
*swig_obj
[1] ;
5802 if (!args
) SWIG_fail
;
5804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5805 if (!SWIG_IsOK(res1
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5808 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= ((wxComboBox
const *)arg1
)->GetValue();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5828 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5831 wxString
*arg2
= 0 ;
5834 bool temp2
= false ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 char * kwnames
[] = {
5838 (char *) "self",(char *) "value", NULL
5841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5843 if (!SWIG_IsOK(res1
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5846 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5848 arg2
= wxString_in_helper(obj1
);
5849 if (arg2
== NULL
) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 (arg1
)->SetValue((wxString
const &)*arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5874 PyObject
*resultobj
= 0;
5875 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5878 PyObject
*swig_obj
[1] ;
5880 if (!args
) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5886 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 char * kwnames
[] = {
5965 (char *) "self",(char *) "pos", NULL
5968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5970 if (!SWIG_IsOK(res1
)) {
5971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5973 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5975 if (!SWIG_IsOK(ecode2
)) {
5976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5978 arg2
= static_cast< long >(val2
);
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->SetInsertionPoint(arg2
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= SWIG_Py_Void();
5992 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5993 PyObject
*resultobj
= 0;
5994 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5998 PyObject
*swig_obj
[1] ;
6000 if (!args
) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6006 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_From_long(static_cast< long >(result
));
6020 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6021 PyObject
*resultobj
= 0;
6022 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6026 PyObject
*swig_obj
[1] ;
6028 if (!args
) SWIG_fail
;
6030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6031 if (!SWIG_IsOK(res1
)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6034 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_From_long(static_cast< long >(result
));
6048 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 wxString
*arg4
= 0 ;
6060 bool temp4
= false ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 PyObject
* obj2
= 0 ;
6064 PyObject
* obj3
= 0 ;
6065 char * kwnames
[] = {
6066 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
6069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6074 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6076 if (!SWIG_IsOK(ecode2
)) {
6077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6079 arg2
= static_cast< long >(val2
);
6080 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6081 if (!SWIG_IsOK(ecode3
)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6084 arg3
= static_cast< long >(val3
);
6086 arg4
= wxString_in_helper(obj3
);
6087 if (arg4
== NULL
) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_Py_Void();
6111 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
= 0;
6113 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6124 PyObject
* obj2
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "self",(char *) "_from",(char *) "to", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6134 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6136 if (!SWIG_IsOK(ecode2
)) {
6137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6139 arg2
= static_cast< long >(val2
);
6140 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6141 if (!SWIG_IsOK(ecode3
)) {
6142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6144 arg3
= static_cast< long >(val3
);
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 (arg1
)->SetSelection(arg2
,arg3
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_Py_Void();
6158 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6159 PyObject
*resultobj
= 0;
6160 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6164 PyObject
*swig_obj
[1] ;
6166 if (!args
) SWIG_fail
;
6168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6169 if (!SWIG_IsOK(res1
)) {
6170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6172 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_From_int(static_cast< int >(result
));
6186 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
= 0;
6188 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6189 wxString
*arg2
= 0 ;
6193 bool temp2
= false ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6196 char * kwnames
[] = {
6197 (char *) "self",(char *) "string", NULL
6200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6205 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6207 arg2
= wxString_in_helper(obj1
);
6208 if (arg2
== NULL
) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6234 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
= 0;
6236 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6238 wxString
*arg3
= 0 ;
6243 bool temp3
= false ;
6244 PyObject
* obj0
= 0 ;
6245 PyObject
* obj1
= 0 ;
6246 PyObject
* obj2
= 0 ;
6247 char * kwnames
[] = {
6248 (char *) "self",(char *) "n",(char *) "string", NULL
6251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6253 if (!SWIG_IsOK(res1
)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6256 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6258 if (!SWIG_IsOK(ecode2
)) {
6259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6261 arg2
= static_cast< int >(val2
);
6263 arg3
= wxString_in_helper(obj2
);
6264 if (arg3
== NULL
) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_Py_Void();
6288 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
= 0;
6290 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6298 char * kwnames
[] = {
6299 (char *) "self",(char *) "editable", NULL
6302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6304 if (!SWIG_IsOK(res1
)) {
6305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6307 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6308 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6309 if (!SWIG_IsOK(ecode2
)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6312 arg2
= static_cast< bool >(val2
);
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 (arg1
)->SetEditable(arg2
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= SWIG_Py_Void();
6326 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6327 PyObject
*resultobj
= 0;
6328 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6331 PyObject
*swig_obj
[1] ;
6333 if (!args
) SWIG_fail
;
6335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6336 if (!SWIG_IsOK(res1
)) {
6337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6339 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetInsertionPointEnd();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6353 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
= 0;
6355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6364 PyObject
* obj0
= 0 ;
6365 PyObject
* obj1
= 0 ;
6366 PyObject
* obj2
= 0 ;
6367 char * kwnames
[] = {
6368 (char *) "self",(char *) "_from",(char *) "to", NULL
6371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6373 if (!SWIG_IsOK(res1
)) {
6374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6376 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6377 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6378 if (!SWIG_IsOK(ecode2
)) {
6379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6381 arg2
= static_cast< long >(val2
);
6382 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6383 if (!SWIG_IsOK(ecode3
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6386 arg3
= static_cast< long >(val3
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->Remove(arg2
,arg3
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6406 PyObject
*swig_obj
[1] ;
6408 if (!args
) SWIG_fail
;
6410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6411 if (!SWIG_IsOK(res1
)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6414 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6430 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6431 PyObject
*resultobj
= 0;
6432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6435 PyObject
*swig_obj
[1] ;
6437 if (!args
) SWIG_fail
;
6439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6440 if (!SWIG_IsOK(res1
)) {
6441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6443 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_Py_Void();
6457 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 (arg1
)->SelectAll();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6517 PyObject
*swig_obj
[1] ;
6519 if (!args
) SWIG_fail
;
6521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6522 if (!SWIG_IsOK(res1
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6525 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6541 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6542 PyObject
*resultobj
= 0;
6543 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6547 PyObject
*swig_obj
[1] ;
6549 if (!args
) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6555 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6571 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 PyObject
*resultobj
= 0;
6573 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6577 PyObject
*swig_obj
[1] ;
6579 if (!args
) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6585 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6601 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6602 PyObject
*resultobj
= 0;
6603 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6607 PyObject
*swig_obj
[1] ;
6609 if (!args
) SWIG_fail
;
6611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6612 if (!SWIG_IsOK(res1
)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6615 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6631 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6632 PyObject
*resultobj
= 0;
6633 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6637 PyObject
*swig_obj
[1] ;
6639 if (!args
) SWIG_fail
;
6641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6642 if (!SWIG_IsOK(res1
)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6645 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6661 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
= 0;
6663 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6664 SwigValueWrapper
<wxVisualAttributes
> result
;
6667 PyObject
* obj0
= 0 ;
6668 char * kwnames
[] = {
6669 (char *) "variant", NULL
6672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6674 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6675 if (!SWIG_IsOK(ecode1
)) {
6676 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6678 arg1
= static_cast< wxWindowVariant
>(val1
);
6681 if (!wxPyCheckForApp()) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6694 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6697 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6698 return SWIG_Py_Void();
6701 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6702 return SWIG_Python_InitShadowInstance(args
);
6705 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6706 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6711 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6712 PyObject
*pyobj
= 0;
6716 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6718 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6725 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
= 0;
6727 wxWindow
*arg1
= (wxWindow
*) 0 ;
6728 int arg2
= (int) -1 ;
6729 int arg3
= (int) 100 ;
6730 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6731 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6732 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6733 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6734 long arg6
= (long) wxGA_HORIZONTAL
;
6735 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6736 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6737 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6738 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6739 wxGauge
*result
= 0 ;
6752 bool temp8
= false ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj2
= 0 ;
6756 PyObject
* obj3
= 0 ;
6757 PyObject
* obj4
= 0 ;
6758 PyObject
* obj5
= 0 ;
6759 PyObject
* obj6
= 0 ;
6760 PyObject
* obj7
= 0 ;
6761 char * kwnames
[] = {
6762 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6767 if (!SWIG_IsOK(res1
)) {
6768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6773 if (!SWIG_IsOK(ecode2
)) {
6774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6776 arg2
= static_cast< int >(val2
);
6779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6780 if (!SWIG_IsOK(ecode3
)) {
6781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6783 arg3
= static_cast< int >(val3
);
6788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6798 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6799 if (!SWIG_IsOK(ecode6
)) {
6800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6802 arg6
= static_cast< long >(val6
);
6805 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6806 if (!SWIG_IsOK(res7
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6812 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6816 arg8
= wxString_in_helper(obj7
);
6817 if (arg8
== NULL
) SWIG_fail
;
6822 if (!wxPyCheckForApp()) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6843 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6844 PyObject
*resultobj
= 0;
6845 wxGauge
*result
= 0 ;
6847 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxGauge
*)new wxGauge();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6862 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
= 0;
6864 wxGauge
*arg1
= (wxGauge
*) 0 ;
6865 wxWindow
*arg2
= (wxWindow
*) 0 ;
6866 int arg3
= (int) -1 ;
6867 int arg4
= (int) 100 ;
6868 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6869 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6870 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6871 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6872 long arg7
= (long) wxGA_HORIZONTAL
;
6873 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6874 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6875 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6876 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6892 bool temp9
= false ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 PyObject
* obj2
= 0 ;
6896 PyObject
* obj3
= 0 ;
6897 PyObject
* obj4
= 0 ;
6898 PyObject
* obj5
= 0 ;
6899 PyObject
* obj6
= 0 ;
6900 PyObject
* obj7
= 0 ;
6901 PyObject
* obj8
= 0 ;
6902 char * kwnames
[] = {
6903 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6908 if (!SWIG_IsOK(res1
)) {
6909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6911 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6913 if (!SWIG_IsOK(res2
)) {
6914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6919 if (!SWIG_IsOK(ecode3
)) {
6920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6922 arg3
= static_cast< int >(val3
);
6925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6926 if (!SWIG_IsOK(ecode4
)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6929 arg4
= static_cast< int >(val4
);
6934 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6940 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6944 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6945 if (!SWIG_IsOK(ecode7
)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6948 arg7
= static_cast< long >(val7
);
6951 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6952 if (!SWIG_IsOK(res8
)) {
6953 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6958 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6962 arg9
= wxString_in_helper(obj8
);
6963 if (arg9
== NULL
) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6990 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
= 0;
6992 wxGauge
*arg1
= (wxGauge
*) 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7000 char * kwnames
[] = {
7001 (char *) "self",(char *) "range", NULL
7004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7006 if (!SWIG_IsOK(res1
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7009 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7011 if (!SWIG_IsOK(ecode2
)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7014 arg2
= static_cast< int >(val2
);
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 (arg1
)->SetRange(arg2
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= SWIG_Py_Void();
7028 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7029 PyObject
*resultobj
= 0;
7030 wxGauge
*arg1
= (wxGauge
*) 0 ;
7034 PyObject
*swig_obj
[1] ;
7036 if (!args
) SWIG_fail
;
7038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7039 if (!SWIG_IsOK(res1
)) {
7040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7042 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_From_int(static_cast< int >(result
));
7056 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
= 0;
7058 wxGauge
*arg1
= (wxGauge
*) 0 ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7066 char * kwnames
[] = {
7067 (char *) "self",(char *) "pos", NULL
7070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7072 if (!SWIG_IsOK(res1
)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7075 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7077 if (!SWIG_IsOK(ecode2
)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7080 arg2
= static_cast< int >(val2
);
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 (arg1
)->SetValue(arg2
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= SWIG_Py_Void();
7094 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7095 PyObject
*resultobj
= 0;
7096 wxGauge
*arg1
= (wxGauge
*) 0 ;
7100 PyObject
*swig_obj
[1] ;
7102 if (!args
) SWIG_fail
;
7104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7105 if (!SWIG_IsOK(res1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7108 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_From_int(static_cast< int >(result
));
7122 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7123 PyObject
*resultobj
= 0;
7124 wxGauge
*arg1
= (wxGauge
*) 0 ;
7128 PyObject
*swig_obj
[1] ;
7130 if (!args
) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7136 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7152 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
= 0;
7154 wxGauge
*arg1
= (wxGauge
*) 0 ;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7162 char * kwnames
[] = {
7163 (char *) "self",(char *) "w", NULL
7166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7168 if (!SWIG_IsOK(res1
)) {
7169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7171 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7173 if (!SWIG_IsOK(ecode2
)) {
7174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7176 arg2
= static_cast< int >(val2
);
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 (arg1
)->SetShadowWidth(arg2
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_Py_Void();
7190 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7191 PyObject
*resultobj
= 0;
7192 wxGauge
*arg1
= (wxGauge
*) 0 ;
7196 PyObject
*swig_obj
[1] ;
7198 if (!args
) SWIG_fail
;
7200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7201 if (!SWIG_IsOK(res1
)) {
7202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7204 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_From_int(static_cast< int >(result
));
7218 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
= 0;
7220 wxGauge
*arg1
= (wxGauge
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7228 char * kwnames
[] = {
7229 (char *) "self",(char *) "w", NULL
7232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7237 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7239 if (!SWIG_IsOK(ecode2
)) {
7240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7242 arg2
= static_cast< int >(val2
);
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 (arg1
)->SetBezelFace(arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_Py_Void();
7256 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7257 PyObject
*resultobj
= 0;
7258 wxGauge
*arg1
= (wxGauge
*) 0 ;
7262 PyObject
*swig_obj
[1] ;
7264 if (!args
) SWIG_fail
;
7266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7267 if (!SWIG_IsOK(res1
)) {
7268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7270 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_From_int(static_cast< int >(result
));
7284 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
= 0;
7286 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7287 SwigValueWrapper
<wxVisualAttributes
> result
;
7290 PyObject
* obj0
= 0 ;
7291 char * kwnames
[] = {
7292 (char *) "variant", NULL
7295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7297 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7298 if (!SWIG_IsOK(ecode1
)) {
7299 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7301 arg1
= static_cast< wxWindowVariant
>(val1
);
7304 if (!wxPyCheckForApp()) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7317 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7320 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7321 return SWIG_Py_Void();
7324 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7325 return SWIG_Python_InitShadowInstance(args
);
7328 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7329 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7334 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7335 PyObject
*pyobj
= 0;
7339 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7341 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7348 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7349 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7354 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7355 PyObject
*pyobj
= 0;
7359 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7361 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7368 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7369 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7374 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7375 PyObject
*pyobj
= 0;
7379 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7381 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7388 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
= 0;
7390 wxWindow
*arg1
= (wxWindow
*) 0 ;
7391 int arg2
= (int) -1 ;
7392 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7393 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7394 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7395 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7396 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7397 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7398 long arg6
= (long) 0 ;
7399 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7400 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7401 wxStaticBox
*result
= 0 ;
7406 bool temp3
= false ;
7411 bool temp7
= false ;
7412 PyObject
* obj0
= 0 ;
7413 PyObject
* obj1
= 0 ;
7414 PyObject
* obj2
= 0 ;
7415 PyObject
* obj3
= 0 ;
7416 PyObject
* obj4
= 0 ;
7417 PyObject
* obj5
= 0 ;
7418 PyObject
* obj6
= 0 ;
7419 char * kwnames
[] = {
7420 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7431 if (!SWIG_IsOK(ecode2
)) {
7432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7434 arg2
= static_cast< int >(val2
);
7438 arg3
= wxString_in_helper(obj2
);
7439 if (arg3
== NULL
) SWIG_fail
;
7446 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7452 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7456 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7457 if (!SWIG_IsOK(ecode6
)) {
7458 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7460 arg6
= static_cast< long >(val6
);
7464 arg7
= wxString_in_helper(obj6
);
7465 if (arg7
== NULL
) SWIG_fail
;
7470 if (!wxPyCheckForApp()) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7499 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7500 PyObject
*resultobj
= 0;
7501 wxStaticBox
*result
= 0 ;
7503 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7505 if (!wxPyCheckForApp()) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (wxStaticBox
*)new wxStaticBox();
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7518 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
= 0;
7520 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7521 wxWindow
*arg2
= (wxWindow
*) 0 ;
7522 int arg3
= (int) -1 ;
7523 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7524 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7525 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7526 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7527 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7528 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7529 long arg7
= (long) 0 ;
7530 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7531 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7539 bool temp4
= false ;
7544 bool temp8
= false ;
7545 PyObject
* obj0
= 0 ;
7546 PyObject
* obj1
= 0 ;
7547 PyObject
* obj2
= 0 ;
7548 PyObject
* obj3
= 0 ;
7549 PyObject
* obj4
= 0 ;
7550 PyObject
* obj5
= 0 ;
7551 PyObject
* obj6
= 0 ;
7552 PyObject
* obj7
= 0 ;
7553 char * kwnames
[] = {
7554 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7562 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7564 if (!SWIG_IsOK(res2
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7567 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7570 if (!SWIG_IsOK(ecode3
)) {
7571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7573 arg3
= static_cast< int >(val3
);
7577 arg4
= wxString_in_helper(obj3
);
7578 if (arg4
== NULL
) SWIG_fail
;
7585 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7591 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7595 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7596 if (!SWIG_IsOK(ecode7
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7599 arg7
= static_cast< long >(val7
);
7603 arg8
= wxString_in_helper(obj7
);
7604 if (arg8
== NULL
) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7639 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
= 0;
7641 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7642 SwigValueWrapper
<wxVisualAttributes
> result
;
7645 PyObject
* obj0
= 0 ;
7646 char * kwnames
[] = {
7647 (char *) "variant", NULL
7650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7652 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7653 if (!SWIG_IsOK(ecode1
)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7656 arg1
= static_cast< wxWindowVariant
>(val1
);
7659 if (!wxPyCheckForApp()) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7672 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7675 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7676 return SWIG_Py_Void();
7679 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 return SWIG_Python_InitShadowInstance(args
);
7683 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
= 0;
7685 wxWindow
*arg1
= (wxWindow
*) 0 ;
7686 int arg2
= (int) -1 ;
7687 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7688 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7689 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7690 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7691 long arg5
= (long) wxLI_HORIZONTAL
;
7692 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7693 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7694 wxStaticLine
*result
= 0 ;
7703 bool temp6
= false ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7707 PyObject
* obj3
= 0 ;
7708 PyObject
* obj4
= 0 ;
7709 PyObject
* obj5
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7719 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7722 if (!SWIG_IsOK(ecode2
)) {
7723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7725 arg2
= static_cast< int >(val2
);
7730 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7736 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7740 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7741 if (!SWIG_IsOK(ecode5
)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7744 arg5
= static_cast< long >(val5
);
7748 arg6
= wxString_in_helper(obj5
);
7749 if (arg6
== NULL
) SWIG_fail
;
7754 if (!wxPyCheckForApp()) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7775 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7776 PyObject
*resultobj
= 0;
7777 wxStaticLine
*result
= 0 ;
7779 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7781 if (!wxPyCheckForApp()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (wxStaticLine
*)new wxStaticLine();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7794 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
= 0;
7796 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7797 wxWindow
*arg2
= (wxWindow
*) 0 ;
7798 int arg3
= (int) -1 ;
7799 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7800 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7801 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7802 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7803 long arg6
= (long) wxLI_HORIZONTAL
;
7804 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7817 bool temp7
= false ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7820 PyObject
* obj2
= 0 ;
7821 PyObject
* obj3
= 0 ;
7822 PyObject
* obj4
= 0 ;
7823 PyObject
* obj5
= 0 ;
7824 PyObject
* obj6
= 0 ;
7825 char * kwnames
[] = {
7826 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7831 if (!SWIG_IsOK(res1
)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7834 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7836 if (!SWIG_IsOK(res2
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7842 if (!SWIG_IsOK(ecode3
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7845 arg3
= static_cast< int >(val3
);
7850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7856 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7860 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7861 if (!SWIG_IsOK(ecode6
)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7864 arg6
= static_cast< long >(val6
);
7868 arg7
= wxString_in_helper(obj6
);
7869 if (arg7
== NULL
) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7896 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7897 PyObject
*resultobj
= 0;
7898 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7902 PyObject
*swig_obj
[1] ;
7904 if (!args
) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7910 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7926 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7927 PyObject
*resultobj
= 0;
7930 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (int)wxStaticLine::GetDefaultSize();
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= SWIG_From_int(static_cast< int >(result
));
7944 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
= 0;
7946 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7947 SwigValueWrapper
<wxVisualAttributes
> result
;
7950 PyObject
* obj0
= 0 ;
7951 char * kwnames
[] = {
7952 (char *) "variant", NULL
7955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7957 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7958 if (!SWIG_IsOK(ecode1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7961 arg1
= static_cast< wxWindowVariant
>(val1
);
7964 if (!wxPyCheckForApp()) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7977 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7980 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
7981 return SWIG_Py_Void();
7984 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7985 return SWIG_Python_InitShadowInstance(args
);
7988 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
= 0;
7990 wxWindow
*arg1
= (wxWindow
*) 0 ;
7991 int arg2
= (int) -1 ;
7992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7994 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7995 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7996 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7997 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7998 long arg6
= (long) 0 ;
7999 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8000 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8001 wxStaticText
*result
= 0 ;
8006 bool temp3
= false ;
8011 bool temp7
= false ;
8012 PyObject
* obj0
= 0 ;
8013 PyObject
* obj1
= 0 ;
8014 PyObject
* obj2
= 0 ;
8015 PyObject
* obj3
= 0 ;
8016 PyObject
* obj4
= 0 ;
8017 PyObject
* obj5
= 0 ;
8018 PyObject
* obj6
= 0 ;
8019 char * kwnames
[] = {
8020 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8025 if (!SWIG_IsOK(res1
)) {
8026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8031 if (!SWIG_IsOK(ecode2
)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8034 arg2
= static_cast< int >(val2
);
8038 arg3
= wxString_in_helper(obj2
);
8039 if (arg3
== NULL
) SWIG_fail
;
8046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8056 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8057 if (!SWIG_IsOK(ecode6
)) {
8058 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8060 arg6
= static_cast< long >(val6
);
8064 arg7
= wxString_in_helper(obj6
);
8065 if (arg7
== NULL
) SWIG_fail
;
8070 if (!wxPyCheckForApp()) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8099 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8100 PyObject
*resultobj
= 0;
8101 wxStaticText
*result
= 0 ;
8103 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8105 if (!wxPyCheckForApp()) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (wxStaticText
*)new wxStaticText();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8118 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
= 0;
8120 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8121 wxWindow
*arg2
= (wxWindow
*) 0 ;
8122 int arg3
= (int) -1 ;
8123 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8124 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8125 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8126 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8127 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8128 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8129 long arg7
= (long) 0 ;
8130 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8131 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8139 bool temp4
= false ;
8144 bool temp8
= false ;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8147 PyObject
* obj2
= 0 ;
8148 PyObject
* obj3
= 0 ;
8149 PyObject
* obj4
= 0 ;
8150 PyObject
* obj5
= 0 ;
8151 PyObject
* obj6
= 0 ;
8152 PyObject
* obj7
= 0 ;
8153 char * kwnames
[] = {
8154 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8159 if (!SWIG_IsOK(res1
)) {
8160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8162 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8164 if (!SWIG_IsOK(res2
)) {
8165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8170 if (!SWIG_IsOK(ecode3
)) {
8171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8173 arg3
= static_cast< int >(val3
);
8177 arg4
= wxString_in_helper(obj3
);
8178 if (arg4
== NULL
) SWIG_fail
;
8185 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8191 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8195 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8196 if (!SWIG_IsOK(ecode7
)) {
8197 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8199 arg7
= static_cast< long >(val7
);
8203 arg8
= wxString_in_helper(obj7
);
8204 if (arg8
== NULL
) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8239 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8249 char * kwnames
[] = {
8250 (char *) "self",(char *) "width", NULL
8253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8255 if (!SWIG_IsOK(res1
)) {
8256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8258 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8260 if (!SWIG_IsOK(ecode2
)) {
8261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8263 arg2
= static_cast< int >(val2
);
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= SWIG_Py_Void();
8277 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
= 0;
8279 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8280 SwigValueWrapper
<wxVisualAttributes
> result
;
8283 PyObject
* obj0
= 0 ;
8284 char * kwnames
[] = {
8285 (char *) "variant", NULL
8288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8290 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8291 if (!SWIG_IsOK(ecode1
)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8294 arg1
= static_cast< wxWindowVariant
>(val1
);
8297 if (!wxPyCheckForApp()) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8310 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8313 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8314 return SWIG_Py_Void();
8317 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8318 return SWIG_Python_InitShadowInstance(args
);
8321 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
= 0;
8323 wxWindow
*arg1
= (wxWindow
*) 0 ;
8324 int arg2
= (int) -1 ;
8325 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8326 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8331 long arg6
= (long) 0 ;
8332 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8333 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8334 wxStaticBitmap
*result
= 0 ;
8345 bool temp7
= false ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8348 PyObject
* obj2
= 0 ;
8349 PyObject
* obj3
= 0 ;
8350 PyObject
* obj4
= 0 ;
8351 PyObject
* obj5
= 0 ;
8352 PyObject
* obj6
= 0 ;
8353 char * kwnames
[] = {
8354 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8359 if (!SWIG_IsOK(res1
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8362 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8365 if (!SWIG_IsOK(ecode2
)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8368 arg2
= static_cast< int >(val2
);
8371 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8372 if (!SWIG_IsOK(res3
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8378 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8383 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8389 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8393 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8394 if (!SWIG_IsOK(ecode6
)) {
8395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8397 arg6
= static_cast< long >(val6
);
8401 arg7
= wxString_in_helper(obj6
);
8402 if (arg7
== NULL
) SWIG_fail
;
8407 if (!wxPyCheckForApp()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8428 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8429 PyObject
*resultobj
= 0;
8430 wxStaticBitmap
*result
= 0 ;
8432 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8434 if (!wxPyCheckForApp()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8447 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
= 0;
8449 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8450 wxWindow
*arg2
= (wxWindow
*) 0 ;
8451 int arg3
= (int) -1 ;
8452 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8453 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8454 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8455 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8456 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8457 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8458 long arg7
= (long) 0 ;
8459 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8460 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8474 bool temp8
= false ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8477 PyObject
* obj2
= 0 ;
8478 PyObject
* obj3
= 0 ;
8479 PyObject
* obj4
= 0 ;
8480 PyObject
* obj5
= 0 ;
8481 PyObject
* obj6
= 0 ;
8482 PyObject
* obj7
= 0 ;
8483 char * kwnames
[] = {
8484 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8489 if (!SWIG_IsOK(res1
)) {
8490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8492 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8494 if (!SWIG_IsOK(res2
)) {
8495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8497 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8500 if (!SWIG_IsOK(ecode3
)) {
8501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8503 arg3
= static_cast< int >(val3
);
8506 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8507 if (!SWIG_IsOK(res4
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8513 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8518 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8524 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8528 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8529 if (!SWIG_IsOK(ecode7
)) {
8530 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8532 arg7
= static_cast< long >(val7
);
8536 arg8
= wxString_in_helper(obj7
);
8537 if (arg8
== NULL
) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8564 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8565 PyObject
*resultobj
= 0;
8566 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8570 PyObject
*swig_obj
[1] ;
8572 if (!args
) SWIG_fail
;
8574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8575 if (!SWIG_IsOK(res1
)) {
8576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8578 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (arg1
)->GetBitmap();
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8592 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
= 0;
8594 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8595 wxBitmap
*arg2
= 0 ;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8602 char * kwnames
[] = {
8603 (char *) "self",(char *) "bitmap", NULL
8606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8608 if (!SWIG_IsOK(res1
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8611 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8613 if (!SWIG_IsOK(res2
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8619 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= SWIG_Py_Void();
8633 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
= 0;
8635 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8643 char * kwnames
[] = {
8644 (char *) "self",(char *) "icon", NULL
8647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8652 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8654 if (!SWIG_IsOK(res2
)) {
8655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8660 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_Py_Void();
8674 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
= 0;
8676 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8677 SwigValueWrapper
<wxVisualAttributes
> result
;
8680 PyObject
* obj0
= 0 ;
8681 char * kwnames
[] = {
8682 (char *) "variant", NULL
8685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8688 if (!SWIG_IsOK(ecode1
)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8691 arg1
= static_cast< wxWindowVariant
>(val1
);
8694 if (!wxPyCheckForApp()) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8707 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8710 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8711 return SWIG_Py_Void();
8714 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8715 return SWIG_Python_InitShadowInstance(args
);
8718 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8719 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8724 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8725 PyObject
*pyobj
= 0;
8729 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8731 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8738 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
= 0;
8740 wxWindow
*arg1
= (wxWindow
*) 0 ;
8741 int arg2
= (int) -1 ;
8742 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8743 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8744 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8745 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8746 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8747 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8748 long arg6
= (long) 0 ;
8749 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8750 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8751 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8752 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8753 wxListBox
*result
= 0 ;
8760 bool temp5
= false ;
8765 bool temp8
= false ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8768 PyObject
* obj2
= 0 ;
8769 PyObject
* obj3
= 0 ;
8770 PyObject
* obj4
= 0 ;
8771 PyObject
* obj5
= 0 ;
8772 PyObject
* obj6
= 0 ;
8773 PyObject
* obj7
= 0 ;
8774 char * kwnames
[] = {
8775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8780 if (!SWIG_IsOK(res1
)) {
8781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8786 if (!SWIG_IsOK(ecode2
)) {
8787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8789 arg2
= static_cast< int >(val2
);
8794 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8800 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8805 if (! PySequence_Check(obj4
)) {
8806 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8809 arg5
= new wxArrayString
;
8811 int i
, len
=PySequence_Length(obj4
);
8812 for (i
=0; i
<len
; i
++) {
8813 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8814 wxString
* s
= wxString_in_helper(item
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8823 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8824 if (!SWIG_IsOK(ecode6
)) {
8825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8827 arg6
= static_cast< long >(val6
);
8830 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8831 if (!SWIG_IsOK(res7
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8837 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8841 arg8
= wxString_in_helper(obj7
);
8842 if (arg8
== NULL
) SWIG_fail
;
8847 if (!wxPyCheckForApp()) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8855 if (temp5
) delete arg5
;
8864 if (temp5
) delete arg5
;
8874 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8875 PyObject
*resultobj
= 0;
8876 wxListBox
*result
= 0 ;
8878 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8880 if (!wxPyCheckForApp()) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (wxListBox
*)new wxListBox();
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8893 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
= 0;
8895 wxListBox
*arg1
= (wxListBox
*) 0 ;
8896 wxWindow
*arg2
= (wxWindow
*) 0 ;
8897 int arg3
= (int) -1 ;
8898 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8899 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8900 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8901 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8902 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8903 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8904 long arg7
= (long) 0 ;
8905 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8906 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8907 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8908 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8918 bool temp6
= false ;
8923 bool temp9
= false ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 PyObject
* obj2
= 0 ;
8927 PyObject
* obj3
= 0 ;
8928 PyObject
* obj4
= 0 ;
8929 PyObject
* obj5
= 0 ;
8930 PyObject
* obj6
= 0 ;
8931 PyObject
* obj7
= 0 ;
8932 PyObject
* obj8
= 0 ;
8933 char * kwnames
[] = {
8934 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8939 if (!SWIG_IsOK(res1
)) {
8940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8942 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8943 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8944 if (!SWIG_IsOK(res2
)) {
8945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8947 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8950 if (!SWIG_IsOK(ecode3
)) {
8951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8953 arg3
= static_cast< int >(val3
);
8958 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8964 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8969 if (! PySequence_Check(obj5
)) {
8970 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8973 arg6
= new wxArrayString
;
8975 int i
, len
=PySequence_Length(obj5
);
8976 for (i
=0; i
<len
; i
++) {
8977 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8978 wxString
* s
= wxString_in_helper(item
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8987 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8988 if (!SWIG_IsOK(ecode7
)) {
8989 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
8991 arg7
= static_cast< long >(val7
);
8994 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
8995 if (!SWIG_IsOK(res8
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
8999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9001 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9005 arg9
= wxString_in_helper(obj8
);
9006 if (arg9
== NULL
) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9020 if (temp6
) delete arg6
;
9029 if (temp6
) delete arg6
;
9039 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
= 0;
9041 wxListBox
*arg1
= (wxListBox
*) 0 ;
9042 wxString
*arg2
= 0 ;
9044 PyObject
*arg4
= (PyObject
*) NULL
;
9047 bool temp2
= false ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9052 PyObject
* obj2
= 0 ;
9053 PyObject
* obj3
= 0 ;
9054 char * kwnames
[] = {
9055 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9063 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9065 arg2
= wxString_in_helper(obj1
);
9066 if (arg2
== NULL
) SWIG_fail
;
9069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9070 if (!SWIG_IsOK(ecode3
)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9073 arg3
= static_cast< int >(val3
);
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_Py_Void();
9098 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
= 0;
9100 wxListBox
*arg1
= (wxListBox
*) 0 ;
9101 wxArrayString
*arg2
= 0 ;
9105 bool temp2
= false ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 PyObject
* obj2
= 0 ;
9111 char * kwnames
[] = {
9112 (char *) "self",(char *) "items",(char *) "pos", NULL
9115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9120 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9122 if (! PySequence_Check(obj1
)) {
9123 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9126 arg2
= new wxArrayString
;
9128 int i
, len
=PySequence_Length(obj1
);
9129 for (i
=0; i
<len
; i
++) {
9130 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9131 wxString
* s
= wxString_in_helper(item
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9138 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9139 if (!SWIG_IsOK(ecode3
)) {
9140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9142 arg3
= static_cast< unsigned int >(val3
);
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= SWIG_Py_Void();
9151 if (temp2
) delete arg2
;
9156 if (temp2
) delete arg2
;
9162 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
= 0;
9164 wxListBox
*arg1
= (wxListBox
*) 0 ;
9165 wxArrayString
*arg2
= 0 ;
9168 bool temp2
= false ;
9169 PyObject
* obj0
= 0 ;
9170 PyObject
* obj1
= 0 ;
9171 char * kwnames
[] = {
9172 (char *) "self",(char *) "items", NULL
9175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9177 if (!SWIG_IsOK(res1
)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9180 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9182 if (! PySequence_Check(obj1
)) {
9183 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9186 arg2
= new wxArrayString
;
9188 int i
, len
=PySequence_Length(obj1
);
9189 for (i
=0; i
<len
; i
++) {
9190 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9191 wxString
* s
= wxString_in_helper(item
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 (arg1
)->Set((wxArrayString
const &)*arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_Py_Void();
9206 if (temp2
) delete arg2
;
9211 if (temp2
) delete arg2
;
9217 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
= 0;
9219 wxListBox
*arg1
= (wxListBox
*) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 char * kwnames
[] = {
9229 (char *) "self",(char *) "n", NULL
9232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9234 if (!SWIG_IsOK(res1
)) {
9235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9237 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9239 if (!SWIG_IsOK(ecode2
)) {
9240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9242 arg2
= static_cast< int >(val2
);
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9258 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
= 0;
9260 wxListBox
*arg1
= (wxListBox
*) 0 ;
9262 bool arg3
= (bool) true ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 PyObject
* obj2
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "n",(char *) "select", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9281 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9283 if (!SWIG_IsOK(ecode2
)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9286 arg2
= static_cast< int >(val2
);
9288 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9289 if (!SWIG_IsOK(ecode3
)) {
9290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9292 arg3
= static_cast< bool >(val3
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 (arg1
)->SetSelection(arg2
,arg3
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_Py_Void();
9307 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
= 0;
9309 wxListBox
*arg1
= (wxListBox
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9317 char * kwnames
[] = {
9318 (char *) "self",(char *) "n", NULL
9321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9323 if (!SWIG_IsOK(res1
)) {
9324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9326 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9328 if (!SWIG_IsOK(ecode2
)) {
9329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9331 arg2
= static_cast< int >(val2
);
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 (arg1
)->Select(arg2
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= SWIG_Py_Void();
9345 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
= 0;
9347 wxListBox
*arg1
= (wxListBox
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9354 PyObject
* obj1
= 0 ;
9355 char * kwnames
[] = {
9356 (char *) "self",(char *) "n", NULL
9359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9361 if (!SWIG_IsOK(res1
)) {
9362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9364 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9366 if (!SWIG_IsOK(ecode2
)) {
9367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9369 arg2
= static_cast< int >(val2
);
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 (arg1
)->Deselect(arg2
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_Py_Void();
9383 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= 0;
9385 wxListBox
*arg1
= (wxListBox
*) 0 ;
9386 int arg2
= (int) -1 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 char * kwnames
[] = {
9394 (char *) "self",(char *) "itemToLeaveSelected", NULL
9397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9399 if (!SWIG_IsOK(res1
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9402 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9405 if (!SWIG_IsOK(ecode2
)) {
9406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9408 arg2
= static_cast< int >(val2
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 (arg1
)->DeselectAll(arg2
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_Py_Void();
9423 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 wxListBox
*arg1
= (wxListBox
*) 0 ;
9426 wxString
*arg2
= 0 ;
9427 bool arg3
= (bool) true ;
9431 bool temp2
= false ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 PyObject
* obj2
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "self",(char *) "s",(char *) "select", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9446 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9448 arg2
= wxString_in_helper(obj1
);
9449 if (arg2
== NULL
) SWIG_fail
;
9453 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9454 if (!SWIG_IsOK(ecode3
)) {
9455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9457 arg3
= static_cast< bool >(val3
);
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9482 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9483 PyObject
*resultobj
= 0;
9484 wxListBox
*arg1
= (wxListBox
*) 0 ;
9485 PyObject
*result
= 0 ;
9488 PyObject
*swig_obj
[1] ;
9490 if (!args
) SWIG_fail
;
9492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9493 if (!SWIG_IsOK(res1
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9496 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9510 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
= 0;
9512 wxListBox
*arg1
= (wxListBox
*) 0 ;
9518 PyObject
* obj0
= 0 ;
9519 PyObject
* obj1
= 0 ;
9520 char * kwnames
[] = {
9521 (char *) "self",(char *) "n", NULL
9524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9526 if (!SWIG_IsOK(res1
)) {
9527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9529 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9531 if (!SWIG_IsOK(ecode2
)) {
9532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9534 arg2
= static_cast< int >(val2
);
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 (arg1
)->SetFirstItem(arg2
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_Py_Void();
9548 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
= 0;
9550 wxListBox
*arg1
= (wxListBox
*) 0 ;
9551 wxString
*arg2
= 0 ;
9554 bool temp2
= false ;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 char * kwnames
[] = {
9558 (char *) "self",(char *) "s", NULL
9561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9566 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9568 arg2
= wxString_in_helper(obj1
);
9569 if (arg2
== NULL
) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_Py_Void();
9593 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
= 0;
9595 wxListBox
*arg1
= (wxListBox
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9602 PyObject
* obj1
= 0 ;
9603 char * kwnames
[] = {
9604 (char *) "self",(char *) "n", NULL
9607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9609 if (!SWIG_IsOK(res1
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9612 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9614 if (!SWIG_IsOK(ecode2
)) {
9615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9617 arg2
= static_cast< int >(val2
);
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 (arg1
)->EnsureVisible(arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= SWIG_Py_Void();
9631 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
= 0;
9633 wxListBox
*arg1
= (wxListBox
*) 0 ;
9634 wxString
*arg2
= 0 ;
9637 bool temp2
= false ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 char * kwnames
[] = {
9641 (char *) "self",(char *) "s", NULL
9644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9646 if (!SWIG_IsOK(res1
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9649 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9651 arg2
= wxString_in_helper(obj1
);
9652 if (arg2
== NULL
) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_Py_Void();
9676 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9677 PyObject
*resultobj
= 0;
9678 wxListBox
*arg1
= (wxListBox
*) 0 ;
9682 PyObject
*swig_obj
[1] ;
9684 if (!args
) SWIG_fail
;
9686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9687 if (!SWIG_IsOK(res1
)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9690 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9706 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
= 0;
9708 wxListBox
*arg1
= (wxListBox
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 char * kwnames
[] = {
9717 (char *) "self",(char *) "pt", NULL
9720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9722 if (!SWIG_IsOK(res1
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9725 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9728 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_From_int(static_cast< int >(result
));
9743 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
= 0;
9745 wxListBox
*arg1
= (wxListBox
*) 0 ;
9747 wxColour
*arg3
= 0 ;
9753 PyObject
* obj0
= 0 ;
9754 PyObject
* obj1
= 0 ;
9755 PyObject
* obj2
= 0 ;
9756 char * kwnames
[] = {
9757 (char *) "self",(char *) "item",(char *) "c", NULL
9760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9762 if (!SWIG_IsOK(res1
)) {
9763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9765 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9767 if (!SWIG_IsOK(ecode2
)) {
9768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9770 arg2
= static_cast< int >(val2
);
9773 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_Py_Void();
9788 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= 0;
9790 wxListBox
*arg1
= (wxListBox
*) 0 ;
9792 wxColour
*arg3
= 0 ;
9798 PyObject
* obj0
= 0 ;
9799 PyObject
* obj1
= 0 ;
9800 PyObject
* obj2
= 0 ;
9801 char * kwnames
[] = {
9802 (char *) "self",(char *) "item",(char *) "c", NULL
9805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9807 if (!SWIG_IsOK(res1
)) {
9808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9810 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9812 if (!SWIG_IsOK(ecode2
)) {
9813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9815 arg2
= static_cast< int >(val2
);
9818 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_Py_Void();
9833 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
= 0;
9835 wxListBox
*arg1
= (wxListBox
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9845 PyObject
* obj1
= 0 ;
9846 PyObject
* obj2
= 0 ;
9847 char * kwnames
[] = {
9848 (char *) "self",(char *) "item",(char *) "f", NULL
9851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9853 if (!SWIG_IsOK(res1
)) {
9854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9856 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9858 if (!SWIG_IsOK(ecode2
)) {
9859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9861 arg2
= static_cast< int >(val2
);
9862 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9863 if (!SWIG_IsOK(res3
)) {
9864 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9869 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= SWIG_Py_Void();
9883 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
= 0;
9885 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9886 SwigValueWrapper
<wxVisualAttributes
> result
;
9889 PyObject
* obj0
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "variant", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9896 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9897 if (!SWIG_IsOK(ecode1
)) {
9898 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9900 arg1
= static_cast< wxWindowVariant
>(val1
);
9903 if (!wxPyCheckForApp()) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9916 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9919 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9920 return SWIG_Py_Void();
9923 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9924 return SWIG_Python_InitShadowInstance(args
);
9927 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
= 0;
9929 wxWindow
*arg1
= (wxWindow
*) 0 ;
9930 int arg2
= (int) -1 ;
9931 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9932 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9933 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9934 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9935 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9936 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9937 long arg6
= (long) 0 ;
9938 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9939 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9940 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9941 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9942 wxCheckListBox
*result
= 0 ;
9949 bool temp5
= false ;
9954 bool temp8
= false ;
9955 PyObject
* obj0
= 0 ;
9956 PyObject
* obj1
= 0 ;
9957 PyObject
* obj2
= 0 ;
9958 PyObject
* obj3
= 0 ;
9959 PyObject
* obj4
= 0 ;
9960 PyObject
* obj5
= 0 ;
9961 PyObject
* obj6
= 0 ;
9962 PyObject
* obj7
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9969 if (!SWIG_IsOK(res1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9972 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9975 if (!SWIG_IsOK(ecode2
)) {
9976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
9978 arg2
= static_cast< int >(val2
);
9983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9989 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9994 if (! PySequence_Check(obj4
)) {
9995 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9998 arg5
= new wxArrayString
;
10000 int i
, len
=PySequence_Length(obj4
);
10001 for (i
=0; i
<len
; i
++) {
10002 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10003 wxString
* s
= wxString_in_helper(item
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10012 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10013 if (!SWIG_IsOK(ecode6
)) {
10014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10016 arg6
= static_cast< long >(val6
);
10019 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10020 if (!SWIG_IsOK(res7
)) {
10021 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10026 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10030 arg8
= wxString_in_helper(obj7
);
10031 if (arg8
== NULL
) SWIG_fail
;
10036 if (!wxPyCheckForApp()) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10044 if (temp5
) delete arg5
;
10053 if (temp5
) delete arg5
;
10063 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10064 PyObject
*resultobj
= 0;
10065 wxCheckListBox
*result
= 0 ;
10067 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10069 if (!wxPyCheckForApp()) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (wxCheckListBox
*)new wxCheckListBox();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10082 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
= 0;
10084 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10085 wxWindow
*arg2
= (wxWindow
*) 0 ;
10086 int arg3
= (int) -1 ;
10087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10091 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10092 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10093 long arg7
= (long) 0 ;
10094 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10095 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10096 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10097 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10107 bool temp6
= false ;
10112 bool temp9
= false ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 PyObject
* obj2
= 0 ;
10116 PyObject
* obj3
= 0 ;
10117 PyObject
* obj4
= 0 ;
10118 PyObject
* obj5
= 0 ;
10119 PyObject
* obj6
= 0 ;
10120 PyObject
* obj7
= 0 ;
10121 PyObject
* obj8
= 0 ;
10122 char * kwnames
[] = {
10123 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10131 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10133 if (!SWIG_IsOK(res2
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10136 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10139 if (!SWIG_IsOK(ecode3
)) {
10140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10142 arg3
= static_cast< int >(val3
);
10147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10158 if (! PySequence_Check(obj5
)) {
10159 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10162 arg6
= new wxArrayString
;
10164 int i
, len
=PySequence_Length(obj5
);
10165 for (i
=0; i
<len
; i
++) {
10166 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10167 wxString
* s
= wxString_in_helper(item
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10176 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10177 if (!SWIG_IsOK(ecode7
)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10180 arg7
= static_cast< long >(val7
);
10183 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10184 if (!SWIG_IsOK(res8
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10190 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10194 arg9
= wxString_in_helper(obj8
);
10195 if (arg9
== NULL
) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10209 if (temp6
) delete arg6
;
10218 if (temp6
) delete arg6
;
10228 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
= 0;
10230 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10231 unsigned int arg2
;
10235 unsigned int val2
;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 char * kwnames
[] = {
10240 (char *) "self",(char *) "index", NULL
10243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10245 if (!SWIG_IsOK(res1
)) {
10246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10248 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10249 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10250 if (!SWIG_IsOK(ecode2
)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10253 arg2
= static_cast< unsigned int >(val2
);
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (bool)(arg1
)->IsChecked(arg2
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10269 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
= 0;
10271 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10272 unsigned int arg2
;
10273 int arg3
= (int) true ;
10276 unsigned int val2
;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 PyObject
* obj2
= 0 ;
10283 char * kwnames
[] = {
10284 (char *) "self",(char *) "index",(char *) "check", NULL
10287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10289 if (!SWIG_IsOK(res1
)) {
10290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10292 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10293 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10294 if (!SWIG_IsOK(ecode2
)) {
10295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10297 arg2
= static_cast< unsigned int >(val2
);
10299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10300 if (!SWIG_IsOK(ecode3
)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10303 arg3
= static_cast< int >(val3
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 (arg1
)->Check(arg2
,arg3
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_Py_Void();
10318 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10321 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10322 return SWIG_Py_Void();
10325 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10326 return SWIG_Python_InitShadowInstance(args
);
10329 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10330 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10335 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10336 PyObject
*pyobj
= 0;
10340 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10342 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10349 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxColour
const &arg1_defvalue
= wxNullColour
;
10352 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10353 wxColour
const &arg2_defvalue
= wxNullColour
;
10354 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10355 wxFont
const &arg3_defvalue
= wxNullFont
;
10356 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10357 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10358 wxTextAttr
*result
= 0 ;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 PyObject
* obj2
= 0 ;
10368 PyObject
* obj3
= 0 ;
10369 char * kwnames
[] = {
10370 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10377 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10383 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10387 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10388 if (!SWIG_IsOK(res3
)) {
10389 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10394 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10398 if (!SWIG_IsOK(ecode4
)) {
10399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10401 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10416 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10417 PyObject
*resultobj
= 0;
10418 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10421 PyObject
*swig_obj
[1] ;
10423 if (!args
) SWIG_fail
;
10424 swig_obj
[0] = args
;
10425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10426 if (!SWIG_IsOK(res1
)) {
10427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10429 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= SWIG_Py_Void();
10444 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10445 PyObject
*resultobj
= 0;
10446 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10449 PyObject
*swig_obj
[1] ;
10451 if (!args
) SWIG_fail
;
10452 swig_obj
[0] = args
;
10453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10454 if (!SWIG_IsOK(res1
)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10457 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_Py_Void();
10471 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
= 0;
10473 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10474 wxColour
*arg2
= 0 ;
10478 PyObject
* obj0
= 0 ;
10479 PyObject
* obj1
= 0 ;
10480 char * kwnames
[] = {
10481 (char *) "self",(char *) "colText", NULL
10484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10489 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10492 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_Py_Void();
10507 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
= 0;
10509 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10510 wxColour
*arg2
= 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 char * kwnames
[] = {
10517 (char *) "self",(char *) "colBack", NULL
10520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10522 if (!SWIG_IsOK(res1
)) {
10523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10525 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10528 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_Py_Void();
10543 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
= 0;
10545 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10547 long arg3
= (long) wxTEXT_ATTR_FONT
;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 PyObject
* obj2
= 0 ;
10557 char * kwnames
[] = {
10558 (char *) "self",(char *) "font",(char *) "flags", NULL
10561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10566 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10568 if (!SWIG_IsOK(res2
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10574 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10576 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10577 if (!SWIG_IsOK(ecode3
)) {
10578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10580 arg3
= static_cast< long >(val3
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_Py_Void();
10595 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10598 wxTextAttrAlignment arg2
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 char * kwnames
[] = {
10606 (char *) "self",(char *) "alignment", NULL
10609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10611 if (!SWIG_IsOK(res1
)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10614 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10616 if (!SWIG_IsOK(ecode2
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10619 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetAlignment(arg2
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_Py_Void();
10633 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
= 0;
10635 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10636 wxArrayInt
*arg2
= 0 ;
10639 bool temp2
= false ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char * kwnames
[] = {
10643 (char *) "self",(char *) "tabs", NULL
10646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10648 if (!SWIG_IsOK(res1
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10651 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10653 if (! PySequence_Check(obj1
)) {
10654 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10657 arg2
= new wxArrayInt
;
10659 int i
, len
=PySequence_Length(obj1
);
10660 for (i
=0; i
<len
; i
++) {
10661 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10662 PyObject
* number
= PyNumber_Int(item
);
10663 arg2
->Add(PyInt_AS_LONG(number
));
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_Py_Void();
10676 if (temp2
) delete arg2
;
10681 if (temp2
) delete arg2
;
10687 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
= 0;
10689 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10691 int arg3
= (int) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 PyObject
* obj2
= 0 ;
10701 char * kwnames
[] = {
10702 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10707 if (!SWIG_IsOK(res1
)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10710 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10712 if (!SWIG_IsOK(ecode2
)) {
10713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10715 arg2
= static_cast< int >(val2
);
10717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10718 if (!SWIG_IsOK(ecode3
)) {
10719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10721 arg3
= static_cast< int >(val3
);
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 (arg1
)->SetLeftIndent(arg2
,arg3
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_Py_Void();
10736 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 char * kwnames
[] = {
10747 (char *) "self",(char *) "indent", NULL
10750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10752 if (!SWIG_IsOK(res1
)) {
10753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10755 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10757 if (!SWIG_IsOK(ecode2
)) {
10758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10760 arg2
= static_cast< int >(val2
);
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->SetRightIndent(arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= SWIG_Py_Void();
10774 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
= 0;
10776 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 PyObject
* obj1
= 0 ;
10784 char * kwnames
[] = {
10785 (char *) "self",(char *) "flags", NULL
10788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10790 if (!SWIG_IsOK(res1
)) {
10791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10793 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10794 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10795 if (!SWIG_IsOK(ecode2
)) {
10796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10798 arg2
= static_cast< long >(val2
);
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 (arg1
)->SetFlags(arg2
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= SWIG_Py_Void();
10812 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10813 PyObject
*resultobj
= 0;
10814 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10818 PyObject
*swig_obj
[1] ;
10820 if (!args
) SWIG_fail
;
10821 swig_obj
[0] = args
;
10822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10826 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10842 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10843 PyObject
*resultobj
= 0;
10844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10848 PyObject
*swig_obj
[1] ;
10850 if (!args
) SWIG_fail
;
10851 swig_obj
[0] = args
;
10852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10853 if (!SWIG_IsOK(res1
)) {
10854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10856 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10872 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10873 PyObject
*resultobj
= 0;
10874 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10878 PyObject
*swig_obj
[1] ;
10880 if (!args
) SWIG_fail
;
10881 swig_obj
[0] = args
;
10882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10883 if (!SWIG_IsOK(res1
)) {
10884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10886 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10902 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10903 PyObject
*resultobj
= 0;
10904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10908 PyObject
*swig_obj
[1] ;
10910 if (!args
) SWIG_fail
;
10911 swig_obj
[0] = args
;
10912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10913 if (!SWIG_IsOK(res1
)) {
10914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10916 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10932 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10933 PyObject
*resultobj
= 0;
10934 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10938 PyObject
*swig_obj
[1] ;
10940 if (!args
) SWIG_fail
;
10941 swig_obj
[0] = args
;
10942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10943 if (!SWIG_IsOK(res1
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10946 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10962 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 PyObject
*resultobj
= 0;
10964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10968 PyObject
*swig_obj
[1] ;
10970 if (!args
) SWIG_fail
;
10971 swig_obj
[0] = args
;
10972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10973 if (!SWIG_IsOK(res1
)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10976 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10992 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10993 PyObject
*resultobj
= 0;
10994 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10998 PyObject
*swig_obj
[1] ;
11000 if (!args
) SWIG_fail
;
11001 swig_obj
[0] = args
;
11002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11003 if (!SWIG_IsOK(res1
)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11006 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11022 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
= 0;
11024 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 char * kwnames
[] = {
11034 (char *) "self",(char *) "flag", NULL
11037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11039 if (!SWIG_IsOK(res1
)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11042 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11043 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11044 if (!SWIG_IsOK(ecode2
)) {
11045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11047 arg2
= static_cast< long >(val2
);
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11064 PyObject
*resultobj
= 0;
11065 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11066 wxColour
*result
= 0 ;
11069 PyObject
*swig_obj
[1] ;
11071 if (!args
) SWIG_fail
;
11072 swig_obj
[0] = args
;
11073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11077 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11082 result
= (wxColour
*) &_result_ref
;
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11094 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11095 PyObject
*resultobj
= 0;
11096 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11097 wxColour
*result
= 0 ;
11100 PyObject
*swig_obj
[1] ;
11102 if (!args
) SWIG_fail
;
11103 swig_obj
[0] = args
;
11104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11105 if (!SWIG_IsOK(res1
)) {
11106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11108 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11113 result
= (wxColour
*) &_result_ref
;
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11125 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11126 PyObject
*resultobj
= 0;
11127 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11128 wxFont
*result
= 0 ;
11131 PyObject
*swig_obj
[1] ;
11133 if (!args
) SWIG_fail
;
11134 swig_obj
[0] = args
;
11135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11136 if (!SWIG_IsOK(res1
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11139 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11144 result
= (wxFont
*) &_result_ref
;
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11150 wxFont
* resultptr
= new wxFont(*result
);
11151 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11159 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11160 PyObject
*resultobj
= 0;
11161 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11162 wxTextAttrAlignment result
;
11165 PyObject
*swig_obj
[1] ;
11167 if (!args
) SWIG_fail
;
11168 swig_obj
[0] = args
;
11169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11173 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_From_int(static_cast< int >(result
));
11187 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11188 PyObject
*resultobj
= 0;
11189 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11190 wxArrayInt
*result
= 0 ;
11193 PyObject
*swig_obj
[1] ;
11195 if (!args
) SWIG_fail
;
11196 swig_obj
[0] = args
;
11197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11198 if (!SWIG_IsOK(res1
)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11201 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11206 result
= (wxArrayInt
*) &_result_ref
;
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= PyList_New(0);
11214 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11215 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11216 PyList_Append(resultobj
, val
);
11226 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11227 PyObject
*resultobj
= 0;
11228 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11232 PyObject
*swig_obj
[1] ;
11234 if (!args
) SWIG_fail
;
11235 swig_obj
[0] = args
;
11236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11237 if (!SWIG_IsOK(res1
)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11240 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 resultobj
= SWIG_From_long(static_cast< long >(result
));
11254 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11255 PyObject
*resultobj
= 0;
11256 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11260 PyObject
*swig_obj
[1] ;
11262 if (!args
) SWIG_fail
;
11263 swig_obj
[0] = args
;
11264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11265 if (!SWIG_IsOK(res1
)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11268 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= SWIG_From_long(static_cast< long >(result
));
11282 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11283 PyObject
*resultobj
= 0;
11284 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11288 PyObject
*swig_obj
[1] ;
11290 if (!args
) SWIG_fail
;
11291 swig_obj
[0] = args
;
11292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11293 if (!SWIG_IsOK(res1
)) {
11294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11296 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= SWIG_From_long(static_cast< long >(result
));
11310 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11311 PyObject
*resultobj
= 0;
11312 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11316 PyObject
*swig_obj
[1] ;
11318 if (!args
) SWIG_fail
;
11319 swig_obj
[0] = args
;
11320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11321 if (!SWIG_IsOK(res1
)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11324 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_From_long(static_cast< long >(result
));
11338 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11339 PyObject
*resultobj
= 0;
11340 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11344 PyObject
*swig_obj
[1] ;
11346 if (!args
) SWIG_fail
;
11347 swig_obj
[0] = args
;
11348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11349 if (!SWIG_IsOK(res1
)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11352 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11368 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
= 0;
11370 wxTextAttr
*arg1
= 0 ;
11371 wxTextAttr
*arg2
= 0 ;
11372 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 char * kwnames
[] = {
11384 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11388 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11397 if (!SWIG_IsOK(res2
)) {
11398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11403 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11404 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11405 if (!SWIG_IsOK(res3
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11408 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11422 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11425 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11426 return SWIG_Py_Void();
11429 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 return SWIG_Python_InitShadowInstance(args
);
11433 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= 0;
11435 wxWindow
*arg1
= (wxWindow
*) 0 ;
11436 int arg2
= (int) -1 ;
11437 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11438 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11439 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11440 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11441 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11442 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11443 long arg6
= (long) 0 ;
11444 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11445 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11446 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11447 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11448 wxTextCtrl
*result
= 0 ;
11453 bool temp3
= false ;
11460 bool temp8
= false ;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 PyObject
* obj2
= 0 ;
11464 PyObject
* obj3
= 0 ;
11465 PyObject
* obj4
= 0 ;
11466 PyObject
* obj5
= 0 ;
11467 PyObject
* obj6
= 0 ;
11468 PyObject
* obj7
= 0 ;
11469 char * kwnames
[] = {
11470 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11478 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11481 if (!SWIG_IsOK(ecode2
)) {
11482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11484 arg2
= static_cast< int >(val2
);
11488 arg3
= wxString_in_helper(obj2
);
11489 if (arg3
== NULL
) SWIG_fail
;
11496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11506 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11507 if (!SWIG_IsOK(ecode6
)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11510 arg6
= static_cast< long >(val6
);
11513 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11514 if (!SWIG_IsOK(res7
)) {
11515 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11520 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11524 arg8
= wxString_in_helper(obj7
);
11525 if (arg8
== NULL
) SWIG_fail
;
11530 if (!wxPyCheckForApp()) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11559 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11560 PyObject
*resultobj
= 0;
11561 wxTextCtrl
*result
= 0 ;
11563 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11565 if (!wxPyCheckForApp()) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (wxTextCtrl
*)new wxTextCtrl();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11578 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
= 0;
11580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11581 wxWindow
*arg2
= (wxWindow
*) 0 ;
11582 int arg3
= (int) -1 ;
11583 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11584 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11585 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11586 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11587 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11588 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11589 long arg7
= (long) 0 ;
11590 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11591 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11592 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11593 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11601 bool temp4
= false ;
11608 bool temp9
= false ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 PyObject
* obj2
= 0 ;
11612 PyObject
* obj3
= 0 ;
11613 PyObject
* obj4
= 0 ;
11614 PyObject
* obj5
= 0 ;
11615 PyObject
* obj6
= 0 ;
11616 PyObject
* obj7
= 0 ;
11617 PyObject
* obj8
= 0 ;
11618 char * kwnames
[] = {
11619 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11627 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11629 if (!SWIG_IsOK(res2
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11632 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11635 if (!SWIG_IsOK(ecode3
)) {
11636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11638 arg3
= static_cast< int >(val3
);
11642 arg4
= wxString_in_helper(obj3
);
11643 if (arg4
== NULL
) SWIG_fail
;
11650 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11656 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11660 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11661 if (!SWIG_IsOK(ecode7
)) {
11662 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11664 arg7
= static_cast< long >(val7
);
11667 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11668 if (!SWIG_IsOK(res8
)) {
11669 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11674 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11678 arg9
= wxString_in_helper(obj8
);
11679 if (arg9
== NULL
) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11714 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11715 PyObject
*resultobj
= 0;
11716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11720 PyObject
*swig_obj
[1] ;
11722 if (!args
) SWIG_fail
;
11723 swig_obj
[0] = args
;
11724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11725 if (!SWIG_IsOK(res1
)) {
11726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11728 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11748 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
= 0;
11750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11751 wxString
*arg2
= 0 ;
11754 bool temp2
= false ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char * kwnames
[] = {
11758 (char *) "self",(char *) "value", NULL
11761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11766 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11768 arg2
= wxString_in_helper(obj1
);
11769 if (arg2
== NULL
) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 (arg1
)->SetValue((wxString
const &)*arg2
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_Py_Void();
11793 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
= 0;
11795 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 PyObject
* obj2
= 0 ;
11808 char * kwnames
[] = {
11809 (char *) "self",(char *) "_from",(char *) "to", NULL
11812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11814 if (!SWIG_IsOK(res1
)) {
11815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11817 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11819 if (!SWIG_IsOK(ecode2
)) {
11820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11822 arg2
= static_cast< long >(val2
);
11823 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11824 if (!SWIG_IsOK(ecode3
)) {
11825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11827 arg3
= static_cast< long >(val3
);
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11847 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
= 0;
11849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11856 PyObject
* obj0
= 0 ;
11857 PyObject
* obj1
= 0 ;
11858 char * kwnames
[] = {
11859 (char *) "self",(char *) "lineNo", NULL
11862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11864 if (!SWIG_IsOK(res1
)) {
11865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11867 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11868 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11869 if (!SWIG_IsOK(ecode2
)) {
11870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11872 arg2
= static_cast< long >(val2
);
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_From_int(static_cast< int >(result
));
11886 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
= 0;
11888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 char * kwnames
[] = {
11898 (char *) "self",(char *) "lineNo", NULL
11901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11903 if (!SWIG_IsOK(res1
)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11906 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11907 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11908 if (!SWIG_IsOK(ecode2
)) {
11909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11911 arg2
= static_cast< long >(val2
);
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11931 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11932 PyObject
*resultobj
= 0;
11933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11937 PyObject
*swig_obj
[1] ;
11939 if (!args
) SWIG_fail
;
11940 swig_obj
[0] = args
;
11941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11945 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_From_int(static_cast< int >(result
));
11959 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11973 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11989 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11990 PyObject
*resultobj
= 0;
11991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11995 PyObject
*swig_obj
[1] ;
11997 if (!args
) SWIG_fail
;
11998 swig_obj
[0] = args
;
11999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12000 if (!SWIG_IsOK(res1
)) {
12001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12003 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12019 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12025 PyObject
*swig_obj
[1] ;
12027 if (!args
) SWIG_fail
;
12028 swig_obj
[0] = args
;
12029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12033 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12049 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12050 PyObject
*resultobj
= 0;
12051 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12055 PyObject
*swig_obj
[1] ;
12057 if (!args
) SWIG_fail
;
12058 swig_obj
[0] = args
;
12059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12063 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12079 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12080 PyObject
*resultobj
= 0;
12081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12082 long *arg2
= (long *) 0 ;
12083 long *arg3
= (long *) 0 ;
12087 int res2
= SWIG_TMPOBJ
;
12089 int res3
= SWIG_TMPOBJ
;
12090 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12100 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= SWIG_Py_Void();
12108 if (SWIG_IsTmpObj(res2
)) {
12109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12111 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12114 if (SWIG_IsTmpObj(res3
)) {
12115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12117 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12126 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12127 PyObject
*resultobj
= 0;
12128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12132 PyObject
*swig_obj
[1] ;
12134 if (!args
) SWIG_fail
;
12135 swig_obj
[0] = args
;
12136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12137 if (!SWIG_IsOK(res1
)) {
12138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12140 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12160 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12161 PyObject
*resultobj
= 0;
12162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12165 PyObject
*swig_obj
[1] ;
12167 if (!args
) SWIG_fail
;
12168 swig_obj
[0] = args
;
12169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12173 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= SWIG_Py_Void();
12187 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
= 0;
12189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12192 wxString
*arg4
= 0 ;
12199 bool temp4
= false ;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 PyObject
* obj2
= 0 ;
12203 PyObject
* obj3
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12213 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12215 if (!SWIG_IsOK(ecode2
)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12218 arg2
= static_cast< long >(val2
);
12219 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12220 if (!SWIG_IsOK(ecode3
)) {
12221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12223 arg3
= static_cast< long >(val3
);
12225 arg4
= wxString_in_helper(obj3
);
12226 if (arg4
== NULL
) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_Py_Void();
12250 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
= 0;
12252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 PyObject
* obj2
= 0 ;
12264 char * kwnames
[] = {
12265 (char *) "self",(char *) "_from",(char *) "to", NULL
12268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12270 if (!SWIG_IsOK(res1
)) {
12271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12273 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12274 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12275 if (!SWIG_IsOK(ecode2
)) {
12276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12278 arg2
= static_cast< long >(val2
);
12279 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12280 if (!SWIG_IsOK(ecode3
)) {
12281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12283 arg3
= static_cast< long >(val3
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 (arg1
)->Remove(arg2
,arg3
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_Py_Void();
12297 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
= 0;
12299 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12300 wxString
*arg2
= 0 ;
12304 bool temp2
= false ;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 char * kwnames
[] = {
12308 (char *) "self",(char *) "file", NULL
12311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12318 arg2
= wxString_in_helper(obj1
);
12319 if (arg2
== NULL
) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12345 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
= 0;
12347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12348 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12349 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12353 bool temp2
= false ;
12354 PyObject
* obj0
= 0 ;
12355 PyObject
* obj1
= 0 ;
12356 char * kwnames
[] = {
12357 (char *) "self",(char *) "file", NULL
12360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12362 if (!SWIG_IsOK(res1
)) {
12363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12365 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12368 arg2
= wxString_in_helper(obj1
);
12369 if (arg2
== NULL
) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12396 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12397 PyObject
*resultobj
= 0;
12398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12401 PyObject
*swig_obj
[1] ;
12403 if (!args
) SWIG_fail
;
12404 swig_obj
[0] = args
;
12405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12406 if (!SWIG_IsOK(res1
)) {
12407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12409 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 (arg1
)->MarkDirty();
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= SWIG_Py_Void();
12423 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12424 PyObject
*resultobj
= 0;
12425 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12428 PyObject
*swig_obj
[1] ;
12430 if (!args
) SWIG_fail
;
12431 swig_obj
[0] = args
;
12432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->DiscardEdits();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_Py_Void();
12450 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
= 0;
12452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12453 unsigned long arg2
;
12456 unsigned long val2
;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 char * kwnames
[] = {
12461 (char *) "self",(char *) "len", NULL
12464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12466 if (!SWIG_IsOK(res1
)) {
12467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12469 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12470 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12471 if (!SWIG_IsOK(ecode2
)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12474 arg2
= static_cast< unsigned long >(val2
);
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 (arg1
)->SetMaxLength(arg2
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_Py_Void();
12488 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12491 wxString
*arg2
= 0 ;
12494 bool temp2
= false ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char * kwnames
[] = {
12498 (char *) "self",(char *) "text", NULL
12501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12503 if (!SWIG_IsOK(res1
)) {
12504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12506 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12508 arg2
= wxString_in_helper(obj1
);
12509 if (arg2
== NULL
) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->WriteText((wxString
const &)*arg2
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_Py_Void();
12533 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
= 0;
12535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12536 wxString
*arg2
= 0 ;
12539 bool temp2
= false ;
12540 PyObject
* obj0
= 0 ;
12541 PyObject
* obj1
= 0 ;
12542 char * kwnames
[] = {
12543 (char *) "self",(char *) "text", NULL
12546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12548 if (!SWIG_IsOK(res1
)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12551 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12553 arg2
= wxString_in_helper(obj1
);
12554 if (arg2
== NULL
) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 (arg1
)->AppendText((wxString
const &)*arg2
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_Py_Void();
12578 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
= 0;
12580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12581 wxKeyEvent
*arg2
= 0 ;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 char * kwnames
[] = {
12590 (char *) "self",(char *) "event", NULL
12593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12595 if (!SWIG_IsOK(res1
)) {
12596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12598 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12600 if (!SWIG_IsOK(res2
)) {
12601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12606 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12622 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
= 0;
12624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12627 wxTextAttr
*arg4
= 0 ;
12637 PyObject
* obj0
= 0 ;
12638 PyObject
* obj1
= 0 ;
12639 PyObject
* obj2
= 0 ;
12640 PyObject
* obj3
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12647 if (!SWIG_IsOK(res1
)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12651 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12652 if (!SWIG_IsOK(ecode2
)) {
12653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12655 arg2
= static_cast< long >(val2
);
12656 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12657 if (!SWIG_IsOK(ecode3
)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12660 arg3
= static_cast< long >(val3
);
12661 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12662 if (!SWIG_IsOK(res4
)) {
12663 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12668 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12684 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
= 0;
12686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12688 wxTextAttr
*arg3
= 0 ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 PyObject
* obj2
= 0 ;
12699 char * kwnames
[] = {
12700 (char *) "self",(char *) "position",(char *) "style", NULL
12703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12705 if (!SWIG_IsOK(res1
)) {
12706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12708 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12709 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12710 if (!SWIG_IsOK(ecode2
)) {
12711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12713 arg2
= static_cast< long >(val2
);
12714 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12715 if (!SWIG_IsOK(res3
)) {
12716 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12721 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12737 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
= 0;
12739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12740 wxTextAttr
*arg2
= 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 char * kwnames
[] = {
12749 (char *) "self",(char *) "style", NULL
12752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12754 if (!SWIG_IsOK(res1
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12757 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12759 if (!SWIG_IsOK(res2
)) {
12760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12765 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12781 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12782 PyObject
*resultobj
= 0;
12783 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12784 wxTextAttr
*result
= 0 ;
12787 PyObject
*swig_obj
[1] ;
12789 if (!args
) SWIG_fail
;
12790 swig_obj
[0] = args
;
12791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12792 if (!SWIG_IsOK(res1
)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12795 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12800 result
= (wxTextAttr
*) &_result_ref
;
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12812 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= 0;
12814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 PyObject
* obj2
= 0 ;
12827 char * kwnames
[] = {
12828 (char *) "self",(char *) "x",(char *) "y", NULL
12831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12833 if (!SWIG_IsOK(res1
)) {
12834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12836 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12837 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12838 if (!SWIG_IsOK(ecode2
)) {
12839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12841 arg2
= static_cast< long >(val2
);
12842 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12843 if (!SWIG_IsOK(ecode3
)) {
12844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12846 arg3
= static_cast< long >(val3
);
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= SWIG_From_long(static_cast< long >(result
));
12860 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= 0;
12862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12864 long *arg3
= (long *) 0 ;
12865 long *arg4
= (long *) 0 ;
12871 int res3
= SWIG_TMPOBJ
;
12873 int res4
= SWIG_TMPOBJ
;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 char * kwnames
[] = {
12877 (char *) "self",(char *) "pos", NULL
12882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12884 if (!SWIG_IsOK(res1
)) {
12885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12887 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12888 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12889 if (!SWIG_IsOK(ecode2
)) {
12890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12892 arg2
= static_cast< long >(val2
);
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_Py_Void();
12900 if (SWIG_IsTmpObj(res3
)) {
12901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12903 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12906 if (SWIG_IsTmpObj(res4
)) {
12907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12909 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12918 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 char * kwnames
[] = {
12929 (char *) "self",(char *) "pos", NULL
12932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12934 if (!SWIG_IsOK(res1
)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12937 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12938 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12939 if (!SWIG_IsOK(ecode2
)) {
12940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
12942 arg2
= static_cast< long >(val2
);
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 (arg1
)->ShowPosition(arg2
);
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= SWIG_Py_Void();
12956 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
= 0;
12958 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12959 wxPoint
*arg2
= 0 ;
12960 long *arg3
= (long *) 0 ;
12961 long *arg4
= (long *) 0 ;
12962 wxTextCtrlHitTestResult result
;
12967 int res3
= SWIG_TMPOBJ
;
12969 int res4
= SWIG_TMPOBJ
;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 char * kwnames
[] = {
12973 (char *) "self",(char *) "pt", NULL
12978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12980 if (!SWIG_IsOK(res1
)) {
12981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12983 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_From_int(static_cast< int >(result
));
12995 if (SWIG_IsTmpObj(res3
)) {
12996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12998 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13001 if (SWIG_IsTmpObj(res4
)) {
13002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13004 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13013 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
= 0;
13015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13016 wxPoint
*arg2
= 0 ;
13017 long *arg3
= (long *) 0 ;
13018 wxTextCtrlHitTestResult result
;
13023 int res3
= SWIG_TMPOBJ
;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "self",(char *) "pt", NULL
13031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13033 if (!SWIG_IsOK(res1
)) {
13034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13036 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= SWIG_From_int(static_cast< int >(result
));
13048 if (SWIG_IsTmpObj(res3
)) {
13049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13051 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13060 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13061 PyObject
*resultobj
= 0;
13062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13065 PyObject
*swig_obj
[1] ;
13067 if (!args
) SWIG_fail
;
13068 swig_obj
[0] = args
;
13069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13070 if (!SWIG_IsOK(res1
)) {
13071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13073 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_Py_Void();
13087 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13088 PyObject
*resultobj
= 0;
13089 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13092 PyObject
*swig_obj
[1] ;
13094 if (!args
) SWIG_fail
;
13095 swig_obj
[0] = args
;
13096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13097 if (!SWIG_IsOK(res1
)) {
13098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13100 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_Py_Void();
13114 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13115 PyObject
*resultobj
= 0;
13116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13119 PyObject
*swig_obj
[1] ;
13121 if (!args
) SWIG_fail
;
13122 swig_obj
[0] = args
;
13123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13127 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_Py_Void();
13141 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13142 PyObject
*resultobj
= 0;
13143 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13147 PyObject
*swig_obj
[1] ;
13149 if (!args
) SWIG_fail
;
13150 swig_obj
[0] = args
;
13151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13152 if (!SWIG_IsOK(res1
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13155 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13171 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13172 PyObject
*resultobj
= 0;
13173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13177 PyObject
*swig_obj
[1] ;
13179 if (!args
) SWIG_fail
;
13180 swig_obj
[0] = args
;
13181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13182 if (!SWIG_IsOK(res1
)) {
13183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13185 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13201 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13202 PyObject
*resultobj
= 0;
13203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13207 PyObject
*swig_obj
[1] ;
13209 if (!args
) SWIG_fail
;
13210 swig_obj
[0] = args
;
13211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13212 if (!SWIG_IsOK(res1
)) {
13213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13215 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13231 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13232 PyObject
*resultobj
= 0;
13233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13236 PyObject
*swig_obj
[1] ;
13238 if (!args
) SWIG_fail
;
13239 swig_obj
[0] = args
;
13240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13241 if (!SWIG_IsOK(res1
)) {
13242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13244 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_Py_Void();
13258 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13259 PyObject
*resultobj
= 0;
13260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13263 PyObject
*swig_obj
[1] ;
13265 if (!args
) SWIG_fail
;
13266 swig_obj
[0] = args
;
13267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13271 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 resultobj
= SWIG_Py_Void();
13285 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13286 PyObject
*resultobj
= 0;
13287 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13291 PyObject
*swig_obj
[1] ;
13293 if (!args
) SWIG_fail
;
13294 swig_obj
[0] = args
;
13295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13296 if (!SWIG_IsOK(res1
)) {
13297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13299 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13315 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13316 PyObject
*resultobj
= 0;
13317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13321 PyObject
*swig_obj
[1] ;
13323 if (!args
) SWIG_fail
;
13324 swig_obj
[0] = args
;
13325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13326 if (!SWIG_IsOK(res1
)) {
13327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13329 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13345 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
= 0;
13347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 char * kwnames
[] = {
13356 (char *) "self",(char *) "pos", NULL
13359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13361 if (!SWIG_IsOK(res1
)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13364 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13365 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13366 if (!SWIG_IsOK(ecode2
)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13369 arg2
= static_cast< long >(val2
);
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 (arg1
)->SetInsertionPoint(arg2
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= SWIG_Py_Void();
13383 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 PyObject
*resultobj
= 0;
13385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13396 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->SetInsertionPointEnd();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_Py_Void();
13410 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13411 PyObject
*resultobj
= 0;
13412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13416 PyObject
*swig_obj
[1] ;
13418 if (!args
) SWIG_fail
;
13419 swig_obj
[0] = args
;
13420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13421 if (!SWIG_IsOK(res1
)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13424 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_From_long(static_cast< long >(result
));
13438 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 PyObject
*resultobj
= 0;
13440 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13444 PyObject
*swig_obj
[1] ;
13446 if (!args
) SWIG_fail
;
13447 swig_obj
[0] = args
;
13448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13452 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_From_long(static_cast< long >(result
));
13466 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= 0;
13468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 PyObject
* obj2
= 0 ;
13480 char * kwnames
[] = {
13481 (char *) "self",(char *) "_from",(char *) "to", NULL
13484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13486 if (!SWIG_IsOK(res1
)) {
13487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13489 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13490 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13491 if (!SWIG_IsOK(ecode2
)) {
13492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13494 arg2
= static_cast< long >(val2
);
13495 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13496 if (!SWIG_IsOK(ecode3
)) {
13497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13499 arg3
= static_cast< long >(val3
);
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->SetSelection(arg2
,arg3
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_Py_Void();
13513 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13514 PyObject
*resultobj
= 0;
13515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13518 PyObject
*swig_obj
[1] ;
13520 if (!args
) SWIG_fail
;
13521 swig_obj
[0] = args
;
13522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13526 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 (arg1
)->SelectAll();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= SWIG_Py_Void();
13540 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
= 0;
13542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 char * kwnames
[] = {
13551 (char *) "self",(char *) "editable", NULL
13554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13556 if (!SWIG_IsOK(res1
)) {
13557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13559 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13560 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13561 if (!SWIG_IsOK(ecode2
)) {
13562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13564 arg2
= static_cast< bool >(val2
);
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 (arg1
)->SetEditable(arg2
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= SWIG_Py_Void();
13578 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
= 0;
13580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13581 wxString
*arg2
= 0 ;
13584 bool temp2
= false ;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 char * kwnames
[] = {
13588 (char *) "self",(char *) "text", NULL
13591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13593 if (!SWIG_IsOK(res1
)) {
13594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13596 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13598 arg2
= wxString_in_helper(obj1
);
13599 if (arg2
== NULL
) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_Py_Void();
13623 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
= 0;
13625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 PyObject
* obj2
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "self",(char *) "_from",(char *) "to", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13647 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13649 if (!SWIG_IsOK(ecode2
)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13652 arg2
= static_cast< long >(val2
);
13653 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13654 if (!SWIG_IsOK(ecode3
)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13657 arg3
= static_cast< long >(val3
);
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13677 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
= 0;
13679 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13680 SwigValueWrapper
<wxVisualAttributes
> result
;
13683 PyObject
* obj0
= 0 ;
13684 char * kwnames
[] = {
13685 (char *) "variant", NULL
13688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13690 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13691 if (!SWIG_IsOK(ecode1
)) {
13692 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13694 arg1
= static_cast< wxWindowVariant
>(val1
);
13697 if (!wxPyCheckForApp()) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13710 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13713 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13714 return SWIG_Py_Void();
13717 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13718 return SWIG_Python_InitShadowInstance(args
);
13721 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13724 wxMouseEvent
*arg2
= 0 ;
13727 wxTextUrlEvent
*result
= 0 ;
13736 PyObject
* obj0
= 0 ;
13737 PyObject
* obj1
= 0 ;
13738 PyObject
* obj2
= 0 ;
13739 PyObject
* obj3
= 0 ;
13740 char * kwnames
[] = {
13741 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13746 if (!SWIG_IsOK(ecode1
)) {
13747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13749 arg1
= static_cast< int >(val1
);
13750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13751 if (!SWIG_IsOK(res2
)) {
13752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13757 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13758 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13759 if (!SWIG_IsOK(ecode3
)) {
13760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13762 arg3
= static_cast< long >(val3
);
13763 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13764 if (!SWIG_IsOK(ecode4
)) {
13765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13767 arg4
= static_cast< long >(val4
);
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13781 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13782 PyObject
*resultobj
= 0;
13783 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13784 wxMouseEvent
*result
= 0 ;
13787 PyObject
*swig_obj
[1] ;
13789 if (!args
) SWIG_fail
;
13790 swig_obj
[0] = args
;
13791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13795 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13800 result
= (wxMouseEvent
*) &_result_ref
;
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13812 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13813 PyObject
*resultobj
= 0;
13814 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13818 PyObject
*swig_obj
[1] ;
13820 if (!args
) SWIG_fail
;
13821 swig_obj
[0] = args
;
13822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13823 if (!SWIG_IsOK(res1
)) {
13824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13826 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_From_long(static_cast< long >(result
));
13840 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13841 PyObject
*resultobj
= 0;
13842 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13846 PyObject
*swig_obj
[1] ;
13848 if (!args
) SWIG_fail
;
13849 swig_obj
[0] = args
;
13850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13854 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_From_long(static_cast< long >(result
));
13868 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13871 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13872 return SWIG_Py_Void();
13875 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13876 return SWIG_Python_InitShadowInstance(args
);
13879 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13880 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13885 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13886 PyObject
*pyobj
= 0;
13890 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13892 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13899 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
= 0;
13901 wxWindow
*arg1
= (wxWindow
*) 0 ;
13902 int arg2
= (int) -1 ;
13903 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13904 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13905 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13906 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13907 long arg5
= (long) wxSB_HORIZONTAL
;
13908 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13909 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13910 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13911 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13912 wxScrollBar
*result
= 0 ;
13923 bool temp7
= false ;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 PyObject
* obj2
= 0 ;
13927 PyObject
* obj3
= 0 ;
13928 PyObject
* obj4
= 0 ;
13929 PyObject
* obj5
= 0 ;
13930 PyObject
* obj6
= 0 ;
13931 char * kwnames
[] = {
13932 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13937 if (!SWIG_IsOK(res1
)) {
13938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
13940 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13943 if (!SWIG_IsOK(ecode2
)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
13946 arg2
= static_cast< int >(val2
);
13951 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13957 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13961 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13962 if (!SWIG_IsOK(ecode5
)) {
13963 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
13965 arg5
= static_cast< long >(val5
);
13968 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
13969 if (!SWIG_IsOK(res6
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
13973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
13975 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
13979 arg7
= wxString_in_helper(obj6
);
13980 if (arg7
== NULL
) SWIG_fail
;
13985 if (!wxPyCheckForApp()) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14006 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14007 PyObject
*resultobj
= 0;
14008 wxScrollBar
*result
= 0 ;
14010 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14012 if (!wxPyCheckForApp()) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (wxScrollBar
*)new wxScrollBar();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14025 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
= 0;
14027 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14028 wxWindow
*arg2
= (wxWindow
*) 0 ;
14029 int arg3
= (int) -1 ;
14030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14034 long arg6
= (long) wxSB_HORIZONTAL
;
14035 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14036 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14037 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14038 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14052 bool temp8
= false ;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 PyObject
* obj2
= 0 ;
14056 PyObject
* obj3
= 0 ;
14057 PyObject
* obj4
= 0 ;
14058 PyObject
* obj5
= 0 ;
14059 PyObject
* obj6
= 0 ;
14060 PyObject
* obj7
= 0 ;
14061 char * kwnames
[] = {
14062 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14067 if (!SWIG_IsOK(res1
)) {
14068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14070 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14072 if (!SWIG_IsOK(res2
)) {
14073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14075 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14078 if (!SWIG_IsOK(ecode3
)) {
14079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14081 arg3
= static_cast< int >(val3
);
14086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14096 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14097 if (!SWIG_IsOK(ecode6
)) {
14098 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14100 arg6
= static_cast< long >(val6
);
14103 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14104 if (!SWIG_IsOK(res7
)) {
14105 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14110 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14114 arg8
= wxString_in_helper(obj7
);
14115 if (arg8
== NULL
) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14142 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14143 PyObject
*resultobj
= 0;
14144 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14148 PyObject
*swig_obj
[1] ;
14150 if (!args
) SWIG_fail
;
14151 swig_obj
[0] = args
;
14152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14153 if (!SWIG_IsOK(res1
)) {
14154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14156 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_From_int(static_cast< int >(result
));
14170 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14171 PyObject
*resultobj
= 0;
14172 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14176 PyObject
*swig_obj
[1] ;
14178 if (!args
) SWIG_fail
;
14179 swig_obj
[0] = args
;
14180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14181 if (!SWIG_IsOK(res1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14184 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_From_int(static_cast< int >(result
));
14198 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14199 PyObject
*resultobj
= 0;
14200 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14204 PyObject
*swig_obj
[1] ;
14206 if (!args
) SWIG_fail
;
14207 swig_obj
[0] = args
;
14208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14209 if (!SWIG_IsOK(res1
)) {
14210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14212 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= SWIG_From_int(static_cast< int >(result
));
14226 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14227 PyObject
*resultobj
= 0;
14228 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14232 PyObject
*swig_obj
[1] ;
14234 if (!args
) SWIG_fail
;
14235 swig_obj
[0] = args
;
14236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14237 if (!SWIG_IsOK(res1
)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14240 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= SWIG_From_int(static_cast< int >(result
));
14254 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14255 PyObject
*resultobj
= 0;
14256 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14260 PyObject
*swig_obj
[1] ;
14262 if (!args
) SWIG_fail
;
14263 swig_obj
[0] = args
;
14264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14265 if (!SWIG_IsOK(res1
)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14268 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14284 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
= 0;
14286 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 char * kwnames
[] = {
14295 (char *) "self",(char *) "viewStart", NULL
14298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14300 if (!SWIG_IsOK(res1
)) {
14301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14303 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14305 if (!SWIG_IsOK(ecode2
)) {
14306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14308 arg2
= static_cast< int >(val2
);
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 (arg1
)->SetThumbPosition(arg2
);
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= SWIG_Py_Void();
14322 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
= 0;
14324 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14325 SwigValueWrapper
<wxVisualAttributes
> result
;
14328 PyObject
* obj0
= 0 ;
14329 char * kwnames
[] = {
14330 (char *) "variant", NULL
14333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14335 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14336 if (!SWIG_IsOK(ecode1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14339 arg1
= static_cast< wxWindowVariant
>(val1
);
14342 if (!wxPyCheckForApp()) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14355 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14358 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14359 return SWIG_Py_Void();
14362 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14363 return SWIG_Python_InitShadowInstance(args
);
14366 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14367 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14372 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14373 PyObject
*pyobj
= 0;
14377 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14379 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14386 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14387 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14392 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14393 PyObject
*pyobj
= 0;
14397 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14399 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14406 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
= 0;
14408 wxWindow
*arg1
= (wxWindow
*) 0 ;
14409 int arg2
= (int) -1 ;
14410 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14411 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14412 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14413 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14414 long arg5
= (long) wxSP_HORIZONTAL
;
14415 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14416 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14417 wxSpinButton
*result
= 0 ;
14426 bool temp6
= false ;
14427 PyObject
* obj0
= 0 ;
14428 PyObject
* obj1
= 0 ;
14429 PyObject
* obj2
= 0 ;
14430 PyObject
* obj3
= 0 ;
14431 PyObject
* obj4
= 0 ;
14432 PyObject
* obj5
= 0 ;
14433 char * kwnames
[] = {
14434 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14439 if (!SWIG_IsOK(res1
)) {
14440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14445 if (!SWIG_IsOK(ecode2
)) {
14446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14448 arg2
= static_cast< int >(val2
);
14453 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14459 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14463 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14464 if (!SWIG_IsOK(ecode5
)) {
14465 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14467 arg5
= static_cast< long >(val5
);
14471 arg6
= wxString_in_helper(obj5
);
14472 if (arg6
== NULL
) SWIG_fail
;
14477 if (!wxPyCheckForApp()) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14498 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14499 PyObject
*resultobj
= 0;
14500 wxSpinButton
*result
= 0 ;
14502 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14504 if (!wxPyCheckForApp()) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (wxSpinButton
*)new wxSpinButton();
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14517 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
= 0;
14519 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14520 wxWindow
*arg2
= (wxWindow
*) 0 ;
14521 int arg3
= (int) -1 ;
14522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14526 long arg6
= (long) wxSP_HORIZONTAL
;
14527 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14528 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14540 bool temp7
= false ;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 PyObject
* obj2
= 0 ;
14544 PyObject
* obj3
= 0 ;
14545 PyObject
* obj4
= 0 ;
14546 PyObject
* obj5
= 0 ;
14547 PyObject
* obj6
= 0 ;
14548 char * kwnames
[] = {
14549 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14557 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14559 if (!SWIG_IsOK(res2
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14562 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14565 if (!SWIG_IsOK(ecode3
)) {
14566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14568 arg3
= static_cast< int >(val3
);
14573 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14579 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14583 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14584 if (!SWIG_IsOK(ecode6
)) {
14585 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14587 arg6
= static_cast< long >(val6
);
14591 arg7
= wxString_in_helper(obj6
);
14592 if (arg7
== NULL
) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14620 PyObject
*resultobj
= 0;
14621 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14625 PyObject
*swig_obj
[1] ;
14627 if (!args
) SWIG_fail
;
14628 swig_obj
[0] = args
;
14629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14630 if (!SWIG_IsOK(res1
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14633 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= SWIG_From_int(static_cast< int >(result
));
14647 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14648 PyObject
*resultobj
= 0;
14649 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14653 PyObject
*swig_obj
[1] ;
14655 if (!args
) SWIG_fail
;
14656 swig_obj
[0] = args
;
14657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14658 if (!SWIG_IsOK(res1
)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14661 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= SWIG_From_int(static_cast< int >(result
));
14675 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14676 PyObject
*resultobj
= 0;
14677 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14681 PyObject
*swig_obj
[1] ;
14683 if (!args
) SWIG_fail
;
14684 swig_obj
[0] = args
;
14685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14686 if (!SWIG_IsOK(res1
)) {
14687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14689 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 resultobj
= SWIG_From_int(static_cast< int >(result
));
14703 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
= 0;
14705 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char * kwnames
[] = {
14714 (char *) "self",(char *) "val", NULL
14717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14719 if (!SWIG_IsOK(res1
)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14722 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14724 if (!SWIG_IsOK(ecode2
)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14727 arg2
= static_cast< int >(val2
);
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 (arg1
)->SetValue(arg2
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= SWIG_Py_Void();
14741 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
= 0;
14743 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char * kwnames
[] = {
14752 (char *) "self",(char *) "minVal", NULL
14755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14760 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14762 if (!SWIG_IsOK(ecode2
)) {
14763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14765 arg2
= static_cast< int >(val2
);
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 (arg1
)->SetMin(arg2
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= SWIG_Py_Void();
14779 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
= 0;
14781 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 char * kwnames
[] = {
14790 (char *) "self",(char *) "maxVal", NULL
14793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14795 if (!SWIG_IsOK(res1
)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14798 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14800 if (!SWIG_IsOK(ecode2
)) {
14801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14803 arg2
= static_cast< int >(val2
);
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 (arg1
)->SetMax(arg2
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_Py_Void();
14817 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
= 0;
14819 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 PyObject
* obj1
= 0 ;
14830 PyObject
* obj2
= 0 ;
14831 char * kwnames
[] = {
14832 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14837 if (!SWIG_IsOK(res1
)) {
14838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14840 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14842 if (!SWIG_IsOK(ecode2
)) {
14843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14845 arg2
= static_cast< int >(val2
);
14846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14847 if (!SWIG_IsOK(ecode3
)) {
14848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14850 arg3
= static_cast< int >(val3
);
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 (arg1
)->SetRange(arg2
,arg3
);
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= SWIG_Py_Void();
14864 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14865 PyObject
*resultobj
= 0;
14866 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14870 PyObject
*swig_obj
[1] ;
14872 if (!args
) SWIG_fail
;
14873 swig_obj
[0] = args
;
14874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14875 if (!SWIG_IsOK(res1
)) {
14876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14878 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14894 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
= 0;
14896 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14897 SwigValueWrapper
<wxVisualAttributes
> result
;
14900 PyObject
* obj0
= 0 ;
14901 char * kwnames
[] = {
14902 (char *) "variant", NULL
14905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14908 if (!SWIG_IsOK(ecode1
)) {
14909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14911 arg1
= static_cast< wxWindowVariant
>(val1
);
14914 if (!wxPyCheckForApp()) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14927 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14930 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
14931 return SWIG_Py_Void();
14934 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14935 return SWIG_Python_InitShadowInstance(args
);
14938 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
= 0;
14940 wxWindow
*arg1
= (wxWindow
*) 0 ;
14941 int arg2
= (int) -1 ;
14942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14948 long arg6
= (long) wxSP_ARROW_KEYS
;
14949 int arg7
= (int) 0 ;
14950 int arg8
= (int) 100 ;
14951 int arg9
= (int) 0 ;
14952 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
14953 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14954 wxSpinCtrl
*result
= 0 ;
14959 bool temp3
= false ;
14970 bool temp10
= false ;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 PyObject
* obj2
= 0 ;
14974 PyObject
* obj3
= 0 ;
14975 PyObject
* obj4
= 0 ;
14976 PyObject
* obj5
= 0 ;
14977 PyObject
* obj6
= 0 ;
14978 PyObject
* obj7
= 0 ;
14979 PyObject
* obj8
= 0 ;
14980 PyObject
* obj9
= 0 ;
14981 char * kwnames
[] = {
14982 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
14985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
14986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14987 if (!SWIG_IsOK(res1
)) {
14988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
14990 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14993 if (!SWIG_IsOK(ecode2
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
14996 arg2
= static_cast< int >(val2
);
15000 arg3
= wxString_in_helper(obj2
);
15001 if (arg3
== NULL
) SWIG_fail
;
15008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15019 if (!SWIG_IsOK(ecode6
)) {
15020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15022 arg6
= static_cast< long >(val6
);
15025 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15026 if (!SWIG_IsOK(ecode7
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15029 arg7
= static_cast< int >(val7
);
15032 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15033 if (!SWIG_IsOK(ecode8
)) {
15034 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15036 arg8
= static_cast< int >(val8
);
15039 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15040 if (!SWIG_IsOK(ecode9
)) {
15041 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15043 arg9
= static_cast< int >(val9
);
15047 arg10
= wxString_in_helper(obj9
);
15048 if (arg10
== NULL
) SWIG_fail
;
15053 if (!wxPyCheckForApp()) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15082 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15083 PyObject
*resultobj
= 0;
15084 wxSpinCtrl
*result
= 0 ;
15086 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15088 if (!wxPyCheckForApp()) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15101 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
= 0;
15103 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15104 wxWindow
*arg2
= (wxWindow
*) 0 ;
15105 int arg3
= (int) -1 ;
15106 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15107 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15108 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15109 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15110 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15111 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15112 long arg7
= (long) wxSP_ARROW_KEYS
;
15113 int arg8
= (int) 0 ;
15114 int arg9
= (int) 100 ;
15115 int arg10
= (int) 0 ;
15116 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15117 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15125 bool temp4
= false ;
15136 bool temp11
= false ;
15137 PyObject
* obj0
= 0 ;
15138 PyObject
* obj1
= 0 ;
15139 PyObject
* obj2
= 0 ;
15140 PyObject
* obj3
= 0 ;
15141 PyObject
* obj4
= 0 ;
15142 PyObject
* obj5
= 0 ;
15143 PyObject
* obj6
= 0 ;
15144 PyObject
* obj7
= 0 ;
15145 PyObject
* obj8
= 0 ;
15146 PyObject
* obj9
= 0 ;
15147 PyObject
* obj10
= 0 ;
15148 char * kwnames
[] = {
15149 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15157 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15159 if (!SWIG_IsOK(res2
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15162 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15165 if (!SWIG_IsOK(ecode3
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15168 arg3
= static_cast< int >(val3
);
15172 arg4
= wxString_in_helper(obj3
);
15173 if (arg4
== NULL
) SWIG_fail
;
15180 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15186 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15190 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15191 if (!SWIG_IsOK(ecode7
)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15194 arg7
= static_cast< long >(val7
);
15197 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15198 if (!SWIG_IsOK(ecode8
)) {
15199 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15201 arg8
= static_cast< int >(val8
);
15204 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15205 if (!SWIG_IsOK(ecode9
)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15208 arg9
= static_cast< int >(val9
);
15211 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15212 if (!SWIG_IsOK(ecode10
)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15215 arg10
= static_cast< int >(val10
);
15219 arg11
= wxString_in_helper(obj10
);
15220 if (arg11
== NULL
) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15255 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15256 PyObject
*resultobj
= 0;
15257 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15261 PyObject
*swig_obj
[1] ;
15263 if (!args
) SWIG_fail
;
15264 swig_obj
[0] = args
;
15265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15266 if (!SWIG_IsOK(res1
)) {
15267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15269 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= SWIG_From_int(static_cast< int >(result
));
15283 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
= 0;
15285 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 PyObject
* obj1
= 0 ;
15293 char * kwnames
[] = {
15294 (char *) "self",(char *) "value", NULL
15297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15299 if (!SWIG_IsOK(res1
)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15302 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15304 if (!SWIG_IsOK(ecode2
)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15307 arg2
= static_cast< int >(val2
);
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 (arg1
)->SetValue(arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_Py_Void();
15321 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
= 0;
15323 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15324 wxString
*arg2
= 0 ;
15327 bool temp2
= false ;
15328 PyObject
* obj0
= 0 ;
15329 PyObject
* obj1
= 0 ;
15330 char * kwnames
[] = {
15331 (char *) "self",(char *) "text", NULL
15334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15336 if (!SWIG_IsOK(res1
)) {
15337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15339 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15341 arg2
= wxString_in_helper(obj1
);
15342 if (arg2
== NULL
) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 (arg1
)->SetValue((wxString
const &)*arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_Py_Void();
15366 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
= 0;
15368 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 PyObject
* obj2
= 0 ;
15380 char * kwnames
[] = {
15381 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15386 if (!SWIG_IsOK(res1
)) {
15387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15389 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15391 if (!SWIG_IsOK(ecode2
)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15394 arg2
= static_cast< int >(val2
);
15395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15396 if (!SWIG_IsOK(ecode3
)) {
15397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15399 arg3
= static_cast< int >(val3
);
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 (arg1
)->SetRange(arg2
,arg3
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_Py_Void();
15413 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15414 PyObject
*resultobj
= 0;
15415 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15419 PyObject
*swig_obj
[1] ;
15421 if (!args
) SWIG_fail
;
15422 swig_obj
[0] = args
;
15423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15424 if (!SWIG_IsOK(res1
)) {
15425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15427 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_From_int(static_cast< int >(result
));
15441 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15442 PyObject
*resultobj
= 0;
15443 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15447 PyObject
*swig_obj
[1] ;
15449 if (!args
) SWIG_fail
;
15450 swig_obj
[0] = args
;
15451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15455 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_From_int(static_cast< int >(result
));
15469 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
= 0;
15471 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 PyObject
* obj2
= 0 ;
15483 char * kwnames
[] = {
15484 (char *) "self",(char *) "_from",(char *) "to", NULL
15487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15489 if (!SWIG_IsOK(res1
)) {
15490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15492 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15493 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15494 if (!SWIG_IsOK(ecode2
)) {
15495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15497 arg2
= static_cast< long >(val2
);
15498 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15499 if (!SWIG_IsOK(ecode3
)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15502 arg3
= static_cast< long >(val3
);
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 (arg1
)->SetSelection(arg2
,arg3
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_Py_Void();
15516 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
= 0;
15518 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15519 SwigValueWrapper
<wxVisualAttributes
> result
;
15522 PyObject
* obj0
= 0 ;
15523 char * kwnames
[] = {
15524 (char *) "variant", NULL
15527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15530 if (!SWIG_IsOK(ecode1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15533 arg1
= static_cast< wxWindowVariant
>(val1
);
15536 if (!wxPyCheckForApp()) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15549 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15552 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15553 return SWIG_Py_Void();
15556 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15557 return SWIG_Python_InitShadowInstance(args
);
15560 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15563 int arg2
= (int) 0 ;
15564 wxSpinEvent
*result
= 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char * kwnames
[] = {
15572 (char *) "commandType",(char *) "winid", NULL
15575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15578 if (!SWIG_IsOK(ecode1
)) {
15579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15581 arg1
= static_cast< wxEventType
>(val1
);
15584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15585 if (!SWIG_IsOK(ecode2
)) {
15586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15588 arg2
= static_cast< int >(val2
);
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15603 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15604 PyObject
*resultobj
= 0;
15605 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15609 PyObject
*swig_obj
[1] ;
15611 if (!args
) SWIG_fail
;
15612 swig_obj
[0] = args
;
15613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15617 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_From_int(static_cast< int >(result
));
15631 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
= 0;
15633 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 PyObject
* obj1
= 0 ;
15641 char * kwnames
[] = {
15642 (char *) "self",(char *) "pos", NULL
15645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15647 if (!SWIG_IsOK(res1
)) {
15648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15650 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15652 if (!SWIG_IsOK(ecode2
)) {
15653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15655 arg2
= static_cast< int >(val2
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->SetPosition(arg2
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_Py_Void();
15669 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15672 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15673 return SWIG_Py_Void();
15676 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15677 return SWIG_Python_InitShadowInstance(args
);
15680 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15681 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15686 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15687 PyObject
*pyobj
= 0;
15691 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15693 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15700 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15701 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15706 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15707 PyObject
*pyobj
= 0;
15711 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15713 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15720 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
= 0;
15722 wxWindow
*arg1
= (wxWindow
*) 0 ;
15723 int arg2
= (int) -1 ;
15724 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15725 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15726 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15727 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15728 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15729 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15730 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15731 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15732 int arg7
= (int) 0 ;
15733 long arg8
= (long) wxRA_HORIZONTAL
;
15734 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15735 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15736 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15737 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15738 wxRadioBox
*result
= 0 ;
15743 bool temp3
= false ;
15746 bool temp6
= false ;
15753 bool temp10
= false ;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 PyObject
* obj2
= 0 ;
15757 PyObject
* obj3
= 0 ;
15758 PyObject
* obj4
= 0 ;
15759 PyObject
* obj5
= 0 ;
15760 PyObject
* obj6
= 0 ;
15761 PyObject
* obj7
= 0 ;
15762 PyObject
* obj8
= 0 ;
15763 PyObject
* obj9
= 0 ;
15764 char * kwnames
[] = {
15765 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15770 if (!SWIG_IsOK(res1
)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15776 if (!SWIG_IsOK(ecode2
)) {
15777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15779 arg2
= static_cast< int >(val2
);
15783 arg3
= wxString_in_helper(obj2
);
15784 if (arg3
== NULL
) SWIG_fail
;
15791 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15797 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15802 if (! PySequence_Check(obj5
)) {
15803 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15806 arg6
= new wxArrayString
;
15808 int i
, len
=PySequence_Length(obj5
);
15809 for (i
=0; i
<len
; i
++) {
15810 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15811 wxString
* s
= wxString_in_helper(item
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15820 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15821 if (!SWIG_IsOK(ecode7
)) {
15822 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15824 arg7
= static_cast< int >(val7
);
15827 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15828 if (!SWIG_IsOK(ecode8
)) {
15829 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15831 arg8
= static_cast< long >(val8
);
15834 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15835 if (!SWIG_IsOK(res9
)) {
15836 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15841 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15845 arg10
= wxString_in_helper(obj9
);
15846 if (arg10
== NULL
) SWIG_fail
;
15851 if (!wxPyCheckForApp()) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 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
);
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15863 if (temp6
) delete arg6
;
15876 if (temp6
) delete arg6
;
15886 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15887 PyObject
*resultobj
= 0;
15888 wxRadioBox
*result
= 0 ;
15890 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15892 if (!wxPyCheckForApp()) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (wxRadioBox
*)new wxRadioBox();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15905 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
= 0;
15907 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15908 wxWindow
*arg2
= (wxWindow
*) 0 ;
15909 int arg3
= (int) -1 ;
15910 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15911 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15912 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15913 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15914 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15915 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15916 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15917 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15918 int arg8
= (int) 0 ;
15919 long arg9
= (long) wxRA_HORIZONTAL
;
15920 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15921 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15922 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15923 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15931 bool temp4
= false ;
15934 bool temp7
= false ;
15941 bool temp11
= false ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 PyObject
* obj2
= 0 ;
15945 PyObject
* obj3
= 0 ;
15946 PyObject
* obj4
= 0 ;
15947 PyObject
* obj5
= 0 ;
15948 PyObject
* obj6
= 0 ;
15949 PyObject
* obj7
= 0 ;
15950 PyObject
* obj8
= 0 ;
15951 PyObject
* obj9
= 0 ;
15952 PyObject
* obj10
= 0 ;
15953 char * kwnames
[] = {
15954 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
15959 if (!SWIG_IsOK(res1
)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
15962 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
15963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15964 if (!SWIG_IsOK(res2
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15970 if (!SWIG_IsOK(ecode3
)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
15973 arg3
= static_cast< int >(val3
);
15977 arg4
= wxString_in_helper(obj3
);
15978 if (arg4
== NULL
) SWIG_fail
;
15985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15996 if (! PySequence_Check(obj6
)) {
15997 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16000 arg7
= new wxArrayString
;
16002 int i
, len
=PySequence_Length(obj6
);
16003 for (i
=0; i
<len
; i
++) {
16004 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16005 wxString
* s
= wxString_in_helper(item
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16014 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16015 if (!SWIG_IsOK(ecode8
)) {
16016 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16018 arg8
= static_cast< int >(val8
);
16021 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16022 if (!SWIG_IsOK(ecode9
)) {
16023 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16025 arg9
= static_cast< long >(val9
);
16028 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16029 if (!SWIG_IsOK(res10
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16035 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16039 arg11
= wxString_in_helper(obj10
);
16040 if (arg11
== NULL
) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 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
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16058 if (temp7
) delete arg7
;
16071 if (temp7
) delete arg7
;
16081 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
= 0;
16083 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 char * kwnames
[] = {
16092 (char *) "self",(char *) "n", NULL
16095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16097 if (!SWIG_IsOK(res1
)) {
16098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16100 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16102 if (!SWIG_IsOK(ecode2
)) {
16103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16105 arg2
= static_cast< int >(val2
);
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 (arg1
)->SetSelection(arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= SWIG_Py_Void();
16119 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16120 PyObject
*resultobj
= 0;
16121 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16125 PyObject
*swig_obj
[1] ;
16127 if (!args
) SWIG_fail
;
16128 swig_obj
[0] = args
;
16129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16130 if (!SWIG_IsOK(res1
)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16133 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= SWIG_From_int(static_cast< int >(result
));
16147 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16148 PyObject
*resultobj
= 0;
16149 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16153 PyObject
*swig_obj
[1] ;
16155 if (!args
) SWIG_fail
;
16156 swig_obj
[0] = args
;
16157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16158 if (!SWIG_IsOK(res1
)) {
16159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16161 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16181 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
= 0;
16183 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16184 wxString
*arg2
= 0 ;
16188 bool temp2
= false ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char * kwnames
[] = {
16192 (char *) "self",(char *) "s", NULL
16195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16197 if (!SWIG_IsOK(res1
)) {
16198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16200 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16202 arg2
= wxString_in_helper(obj1
);
16203 if (arg2
== NULL
) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16230 PyObject
*resultobj
= 0;
16231 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16235 PyObject
*swig_obj
[1] ;
16237 if (!args
) SWIG_fail
;
16238 swig_obj
[0] = args
;
16239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16240 if (!SWIG_IsOK(res1
)) {
16241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16243 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16257 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
= 0;
16259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16260 wxString
*arg2
= 0 ;
16264 bool temp2
= false ;
16265 PyObject
* obj0
= 0 ;
16266 PyObject
* obj1
= 0 ;
16267 char * kwnames
[] = {
16268 (char *) "self",(char *) "s", NULL
16271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16273 if (!SWIG_IsOK(res1
)) {
16274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16276 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16278 arg2
= wxString_in_helper(obj1
);
16279 if (arg2
== NULL
) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_From_int(static_cast< int >(result
));
16303 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
= 0;
16305 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 PyObject
* obj1
= 0 ;
16314 char * kwnames
[] = {
16315 (char *) "self",(char *) "n", NULL
16318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16320 if (!SWIG_IsOK(res1
)) {
16321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16323 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16325 if (!SWIG_IsOK(ecode2
)) {
16326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16328 arg2
= static_cast< int >(val2
);
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16348 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
= 0;
16350 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16352 wxString
*arg3
= 0 ;
16357 bool temp3
= false ;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 PyObject
* obj2
= 0 ;
16361 char * kwnames
[] = {
16362 (char *) "self",(char *) "n",(char *) "label", NULL
16365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16367 if (!SWIG_IsOK(res1
)) {
16368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16370 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16372 if (!SWIG_IsOK(ecode2
)) {
16373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16375 arg2
= static_cast< int >(val2
);
16377 arg3
= wxString_in_helper(obj2
);
16378 if (arg3
== NULL
) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_Py_Void();
16402 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
= 0;
16404 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16405 unsigned int arg2
;
16406 bool arg3
= (bool) true ;
16409 unsigned int val2
;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 PyObject
* obj2
= 0 ;
16416 char * kwnames
[] = {
16417 (char *) "self",(char *) "n",(char *) "enable", NULL
16420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16422 if (!SWIG_IsOK(res1
)) {
16423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16425 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16426 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16427 if (!SWIG_IsOK(ecode2
)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16430 arg2
= static_cast< unsigned int >(val2
);
16432 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16433 if (!SWIG_IsOK(ecode3
)) {
16434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16436 arg3
= static_cast< bool >(val3
);
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 (arg1
)->Enable(arg2
,arg3
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= SWIG_Py_Void();
16451 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
= 0;
16453 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16454 unsigned int arg2
;
16455 bool arg3
= (bool) true ;
16458 unsigned int val2
;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 PyObject
* obj2
= 0 ;
16465 char * kwnames
[] = {
16466 (char *) "self",(char *) "n",(char *) "show", NULL
16469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16471 if (!SWIG_IsOK(res1
)) {
16472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16474 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16475 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16476 if (!SWIG_IsOK(ecode2
)) {
16477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16479 arg2
= static_cast< unsigned int >(val2
);
16481 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16482 if (!SWIG_IsOK(ecode3
)) {
16483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16485 arg3
= static_cast< bool >(val3
);
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 (arg1
)->Show(arg2
,arg3
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= SWIG_Py_Void();
16500 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
= 0;
16502 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16503 unsigned int arg2
;
16507 unsigned int val2
;
16509 PyObject
* obj0
= 0 ;
16510 PyObject
* obj1
= 0 ;
16511 char * kwnames
[] = {
16512 (char *) "self",(char *) "n", NULL
16515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16517 if (!SWIG_IsOK(res1
)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16520 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16521 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16522 if (!SWIG_IsOK(ecode2
)) {
16523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16525 arg2
= static_cast< unsigned int >(val2
);
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16541 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
= 0;
16543 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16544 unsigned int arg2
;
16548 unsigned int val2
;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char * kwnames
[] = {
16553 (char *) "self",(char *) "n", NULL
16556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16558 if (!SWIG_IsOK(res1
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16561 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16562 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16563 if (!SWIG_IsOK(ecode2
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16566 arg2
= static_cast< unsigned int >(val2
);
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16582 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16583 PyObject
*resultobj
= 0;
16584 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16585 unsigned int result
;
16588 PyObject
*swig_obj
[1] ;
16590 if (!args
) SWIG_fail
;
16591 swig_obj
[0] = args
;
16592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16593 if (!SWIG_IsOK(res1
)) {
16594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16596 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16610 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16611 PyObject
*resultobj
= 0;
16612 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16613 unsigned int result
;
16616 PyObject
*swig_obj
[1] ;
16618 if (!args
) SWIG_fail
;
16619 swig_obj
[0] = args
;
16620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16621 if (!SWIG_IsOK(res1
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16624 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16638 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
= 0;
16640 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 PyObject
* obj2
= 0 ;
16656 PyObject
* obj3
= 0 ;
16657 char * kwnames
[] = {
16658 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16663 if (!SWIG_IsOK(res1
)) {
16664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16666 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16668 if (!SWIG_IsOK(ecode2
)) {
16669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16671 arg2
= static_cast< int >(val2
);
16672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16673 if (!SWIG_IsOK(ecode3
)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16676 arg3
= static_cast< wxDirection
>(val3
);
16677 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16678 if (!SWIG_IsOK(ecode4
)) {
16679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16681 arg4
= static_cast< long >(val4
);
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_From_int(static_cast< int >(result
));
16695 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
= 0;
16697 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16698 SwigValueWrapper
<wxVisualAttributes
> result
;
16701 PyObject
* obj0
= 0 ;
16702 char * kwnames
[] = {
16703 (char *) "variant", NULL
16706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16708 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16709 if (!SWIG_IsOK(ecode1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16712 arg1
= static_cast< wxWindowVariant
>(val1
);
16715 if (!wxPyCheckForApp()) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16728 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16731 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16732 return SWIG_Py_Void();
16735 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16736 return SWIG_Python_InitShadowInstance(args
);
16739 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
= 0;
16741 wxWindow
*arg1
= (wxWindow
*) 0 ;
16742 int arg2
= (int) -1 ;
16743 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16744 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16745 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16746 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16747 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16748 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16749 long arg6
= (long) 0 ;
16750 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16751 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16752 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16753 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16754 wxRadioButton
*result
= 0 ;
16759 bool temp3
= false ;
16766 bool temp8
= false ;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 PyObject
* obj2
= 0 ;
16770 PyObject
* obj3
= 0 ;
16771 PyObject
* obj4
= 0 ;
16772 PyObject
* obj5
= 0 ;
16773 PyObject
* obj6
= 0 ;
16774 PyObject
* obj7
= 0 ;
16775 char * kwnames
[] = {
16776 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16781 if (!SWIG_IsOK(res1
)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16787 if (!SWIG_IsOK(ecode2
)) {
16788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16790 arg2
= static_cast< int >(val2
);
16794 arg3
= wxString_in_helper(obj2
);
16795 if (arg3
== NULL
) SWIG_fail
;
16802 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16808 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16812 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16813 if (!SWIG_IsOK(ecode6
)) {
16814 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16816 arg6
= static_cast< long >(val6
);
16819 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16820 if (!SWIG_IsOK(res7
)) {
16821 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16826 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16830 arg8
= wxString_in_helper(obj7
);
16831 if (arg8
== NULL
) SWIG_fail
;
16836 if (!wxPyCheckForApp()) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
16865 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16866 PyObject
*resultobj
= 0;
16867 wxRadioButton
*result
= 0 ;
16869 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
16871 if (!wxPyCheckForApp()) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (wxRadioButton
*)new wxRadioButton();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
16884 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
= 0;
16886 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16887 wxWindow
*arg2
= (wxWindow
*) 0 ;
16888 int arg3
= (int) -1 ;
16889 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16890 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16891 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16892 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16893 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16894 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16895 long arg7
= (long) 0 ;
16896 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16897 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16898 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
16899 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16907 bool temp4
= false ;
16914 bool temp9
= false ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 PyObject
* obj2
= 0 ;
16918 PyObject
* obj3
= 0 ;
16919 PyObject
* obj4
= 0 ;
16920 PyObject
* obj5
= 0 ;
16921 PyObject
* obj6
= 0 ;
16922 PyObject
* obj7
= 0 ;
16923 PyObject
* obj8
= 0 ;
16924 char * kwnames
[] = {
16925 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
16930 if (!SWIG_IsOK(res1
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
16933 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
16934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16935 if (!SWIG_IsOK(res2
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16941 if (!SWIG_IsOK(ecode3
)) {
16942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
16944 arg3
= static_cast< int >(val3
);
16948 arg4
= wxString_in_helper(obj3
);
16949 if (arg4
== NULL
) SWIG_fail
;
16956 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16962 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16966 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16967 if (!SWIG_IsOK(ecode7
)) {
16968 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
16970 arg7
= static_cast< long >(val7
);
16973 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16974 if (!SWIG_IsOK(res8
)) {
16975 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16980 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16984 arg9
= wxString_in_helper(obj8
);
16985 if (arg9
== NULL
) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17020 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17021 PyObject
*resultobj
= 0;
17022 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17026 PyObject
*swig_obj
[1] ;
17028 if (!args
) SWIG_fail
;
17029 swig_obj
[0] = args
;
17030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17031 if (!SWIG_IsOK(res1
)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17034 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (bool)(arg1
)->GetValue();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17050 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
= 0;
17052 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17058 PyObject
* obj0
= 0 ;
17059 PyObject
* obj1
= 0 ;
17060 char * kwnames
[] = {
17061 (char *) "self",(char *) "value", NULL
17064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17066 if (!SWIG_IsOK(res1
)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17069 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17070 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17071 if (!SWIG_IsOK(ecode2
)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17074 arg2
= static_cast< bool >(val2
);
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 (arg1
)->SetValue(arg2
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= SWIG_Py_Void();
17088 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
= 0;
17090 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17091 SwigValueWrapper
<wxVisualAttributes
> result
;
17094 PyObject
* obj0
= 0 ;
17095 char * kwnames
[] = {
17096 (char *) "variant", NULL
17099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17102 if (!SWIG_IsOK(ecode1
)) {
17103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17105 arg1
= static_cast< wxWindowVariant
>(val1
);
17108 if (!wxPyCheckForApp()) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17121 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17124 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17125 return SWIG_Py_Void();
17128 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17129 return SWIG_Python_InitShadowInstance(args
);
17132 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17133 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17138 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17139 PyObject
*pyobj
= 0;
17143 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17145 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17152 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
= 0;
17154 wxWindow
*arg1
= (wxWindow
*) 0 ;
17155 int arg2
= (int) -1 ;
17156 int arg3
= (int) 0 ;
17157 int arg4
= (int) 0 ;
17158 int arg5
= (int) 100 ;
17159 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17160 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17161 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17162 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17163 long arg8
= (long) wxSL_HORIZONTAL
;
17164 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17165 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17166 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17167 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17168 wxSlider
*result
= 0 ;
17185 bool temp10
= false ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 PyObject
* obj2
= 0 ;
17189 PyObject
* obj3
= 0 ;
17190 PyObject
* obj4
= 0 ;
17191 PyObject
* obj5
= 0 ;
17192 PyObject
* obj6
= 0 ;
17193 PyObject
* obj7
= 0 ;
17194 PyObject
* obj8
= 0 ;
17195 PyObject
* obj9
= 0 ;
17196 char * kwnames
[] = {
17197 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17202 if (!SWIG_IsOK(res1
)) {
17203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17208 if (!SWIG_IsOK(ecode2
)) {
17209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17211 arg2
= static_cast< int >(val2
);
17214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17215 if (!SWIG_IsOK(ecode3
)) {
17216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17218 arg3
= static_cast< int >(val3
);
17221 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17222 if (!SWIG_IsOK(ecode4
)) {
17223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17225 arg4
= static_cast< int >(val4
);
17228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17229 if (!SWIG_IsOK(ecode5
)) {
17230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17232 arg5
= static_cast< int >(val5
);
17237 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17243 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17247 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17248 if (!SWIG_IsOK(ecode8
)) {
17249 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17251 arg8
= static_cast< long >(val8
);
17254 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17255 if (!SWIG_IsOK(res9
)) {
17256 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17261 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17265 arg10
= wxString_in_helper(obj9
);
17266 if (arg10
== NULL
) SWIG_fail
;
17271 if (!wxPyCheckForApp()) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17292 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17293 PyObject
*resultobj
= 0;
17294 wxSlider
*result
= 0 ;
17296 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17298 if (!wxPyCheckForApp()) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxSlider
*)new wxSlider();
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17311 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
= 0;
17313 wxSlider
*arg1
= (wxSlider
*) 0 ;
17314 wxWindow
*arg2
= (wxWindow
*) 0 ;
17315 int arg3
= (int) -1 ;
17316 int arg4
= (int) 0 ;
17317 int arg5
= (int) 0 ;
17318 int arg6
= (int) 100 ;
17319 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17320 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17321 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17322 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17323 long arg9
= (long) wxSL_HORIZONTAL
;
17324 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17325 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17326 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17327 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17347 bool temp11
= false ;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 PyObject
* obj2
= 0 ;
17351 PyObject
* obj3
= 0 ;
17352 PyObject
* obj4
= 0 ;
17353 PyObject
* obj5
= 0 ;
17354 PyObject
* obj6
= 0 ;
17355 PyObject
* obj7
= 0 ;
17356 PyObject
* obj8
= 0 ;
17357 PyObject
* obj9
= 0 ;
17358 PyObject
* obj10
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17368 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17370 if (!SWIG_IsOK(res2
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17376 if (!SWIG_IsOK(ecode3
)) {
17377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17379 arg3
= static_cast< int >(val3
);
17382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17383 if (!SWIG_IsOK(ecode4
)) {
17384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17386 arg4
= static_cast< int >(val4
);
17389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17390 if (!SWIG_IsOK(ecode5
)) {
17391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17393 arg5
= static_cast< int >(val5
);
17396 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17397 if (!SWIG_IsOK(ecode6
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17400 arg6
= static_cast< int >(val6
);
17405 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17411 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17415 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17416 if (!SWIG_IsOK(ecode9
)) {
17417 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17419 arg9
= static_cast< long >(val9
);
17422 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17423 if (!SWIG_IsOK(res10
)) {
17424 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17429 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17433 arg11
= wxString_in_helper(obj10
);
17434 if (arg11
== NULL
) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17461 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17462 PyObject
*resultobj
= 0;
17463 wxSlider
*arg1
= (wxSlider
*) 0 ;
17467 PyObject
*swig_obj
[1] ;
17469 if (!args
) SWIG_fail
;
17470 swig_obj
[0] = args
;
17471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17472 if (!SWIG_IsOK(res1
)) {
17473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17475 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_From_int(static_cast< int >(result
));
17489 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
= 0;
17491 wxSlider
*arg1
= (wxSlider
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 char * kwnames
[] = {
17500 (char *) "self",(char *) "value", NULL
17503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17505 if (!SWIG_IsOK(res1
)) {
17506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17508 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17510 if (!SWIG_IsOK(ecode2
)) {
17511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17513 arg2
= static_cast< int >(val2
);
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 (arg1
)->SetValue(arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_Py_Void();
17527 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxSlider
*arg1
= (wxSlider
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 PyObject
* obj2
= 0 ;
17541 char * kwnames
[] = {
17542 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17547 if (!SWIG_IsOK(res1
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17550 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17552 if (!SWIG_IsOK(ecode2
)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17555 arg2
= static_cast< int >(val2
);
17556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17557 if (!SWIG_IsOK(ecode3
)) {
17558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17560 arg3
= static_cast< int >(val3
);
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 (arg1
)->SetRange(arg2
,arg3
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= SWIG_Py_Void();
17574 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17575 PyObject
*resultobj
= 0;
17576 wxSlider
*arg1
= (wxSlider
*) 0 ;
17580 PyObject
*swig_obj
[1] ;
17582 if (!args
) SWIG_fail
;
17583 swig_obj
[0] = args
;
17584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17585 if (!SWIG_IsOK(res1
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17588 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= SWIG_From_int(static_cast< int >(result
));
17602 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17603 PyObject
*resultobj
= 0;
17604 wxSlider
*arg1
= (wxSlider
*) 0 ;
17608 PyObject
*swig_obj
[1] ;
17610 if (!args
) SWIG_fail
;
17611 swig_obj
[0] = args
;
17612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17613 if (!SWIG_IsOK(res1
)) {
17614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17616 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_From_int(static_cast< int >(result
));
17630 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
= 0;
17632 wxSlider
*arg1
= (wxSlider
*) 0 ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 char * kwnames
[] = {
17641 (char *) "self",(char *) "minValue", NULL
17644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17646 if (!SWIG_IsOK(res1
)) {
17647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17649 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17651 if (!SWIG_IsOK(ecode2
)) {
17652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17654 arg2
= static_cast< int >(val2
);
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 (arg1
)->SetMin(arg2
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_Py_Void();
17668 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= 0;
17670 wxSlider
*arg1
= (wxSlider
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char * kwnames
[] = {
17679 (char *) "self",(char *) "maxValue", NULL
17682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17684 if (!SWIG_IsOK(res1
)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17687 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17689 if (!SWIG_IsOK(ecode2
)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17692 arg2
= static_cast< int >(val2
);
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 (arg1
)->SetMax(arg2
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_Py_Void();
17706 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
= 0;
17708 wxSlider
*arg1
= (wxSlider
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 char * kwnames
[] = {
17717 (char *) "self",(char *) "lineSize", NULL
17720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17722 if (!SWIG_IsOK(res1
)) {
17723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17725 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17727 if (!SWIG_IsOK(ecode2
)) {
17728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17730 arg2
= static_cast< int >(val2
);
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 (arg1
)->SetLineSize(arg2
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= SWIG_Py_Void();
17744 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
= 0;
17746 wxSlider
*arg1
= (wxSlider
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 char * kwnames
[] = {
17755 (char *) "self",(char *) "pageSize", NULL
17758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17760 if (!SWIG_IsOK(res1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17763 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17765 if (!SWIG_IsOK(ecode2
)) {
17766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17768 arg2
= static_cast< int >(val2
);
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 (arg1
)->SetPageSize(arg2
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= SWIG_Py_Void();
17782 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17783 PyObject
*resultobj
= 0;
17784 wxSlider
*arg1
= (wxSlider
*) 0 ;
17788 PyObject
*swig_obj
[1] ;
17790 if (!args
) SWIG_fail
;
17791 swig_obj
[0] = args
;
17792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17793 if (!SWIG_IsOK(res1
)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17796 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= SWIG_From_int(static_cast< int >(result
));
17810 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17811 PyObject
*resultobj
= 0;
17812 wxSlider
*arg1
= (wxSlider
*) 0 ;
17816 PyObject
*swig_obj
[1] ;
17818 if (!args
) SWIG_fail
;
17819 swig_obj
[0] = args
;
17820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17821 if (!SWIG_IsOK(res1
)) {
17822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17824 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_From_int(static_cast< int >(result
));
17838 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
= 0;
17840 wxSlider
*arg1
= (wxSlider
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 char * kwnames
[] = {
17849 (char *) "self",(char *) "lenPixels", NULL
17852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17854 if (!SWIG_IsOK(res1
)) {
17855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
17857 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17859 if (!SWIG_IsOK(ecode2
)) {
17860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
17862 arg2
= static_cast< int >(val2
);
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->SetThumbLength(arg2
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_Py_Void();
17876 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17877 PyObject
*resultobj
= 0;
17878 wxSlider
*arg1
= (wxSlider
*) 0 ;
17882 PyObject
*swig_obj
[1] ;
17884 if (!args
) SWIG_fail
;
17885 swig_obj
[0] = args
;
17886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17887 if (!SWIG_IsOK(res1
)) {
17888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
17890 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= SWIG_From_int(static_cast< int >(result
));
17904 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
= 0;
17906 wxSlider
*arg1
= (wxSlider
*) 0 ;
17908 int arg3
= (int) 1 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 PyObject
* obj2
= 0 ;
17918 char * kwnames
[] = {
17919 (char *) "self",(char *) "n",(char *) "pos", NULL
17922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17924 if (!SWIG_IsOK(res1
)) {
17925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
17927 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17929 if (!SWIG_IsOK(ecode2
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
17932 arg2
= static_cast< int >(val2
);
17934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17935 if (!SWIG_IsOK(ecode3
)) {
17936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
17938 arg3
= static_cast< int >(val3
);
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 (arg1
)->SetTickFreq(arg2
,arg3
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= SWIG_Py_Void();
17953 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17954 PyObject
*resultobj
= 0;
17955 wxSlider
*arg1
= (wxSlider
*) 0 ;
17959 PyObject
*swig_obj
[1] ;
17961 if (!args
) SWIG_fail
;
17962 swig_obj
[0] = args
;
17963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
17967 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= SWIG_From_int(static_cast< int >(result
));
17981 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17982 PyObject
*resultobj
= 0;
17983 wxSlider
*arg1
= (wxSlider
*) 0 ;
17986 PyObject
*swig_obj
[1] ;
17988 if (!args
) SWIG_fail
;
17989 swig_obj
[0] = args
;
17990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17991 if (!SWIG_IsOK(res1
)) {
17992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
17994 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 (arg1
)->ClearTicks();
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_Py_Void();
18008 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
= 0;
18010 wxSlider
*arg1
= (wxSlider
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char * kwnames
[] = {
18019 (char *) "self",(char *) "tickPos", NULL
18022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18024 if (!SWIG_IsOK(res1
)) {
18025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18027 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18029 if (!SWIG_IsOK(ecode2
)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18032 arg2
= static_cast< int >(val2
);
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 (arg1
)->SetTick(arg2
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= SWIG_Py_Void();
18046 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18047 PyObject
*resultobj
= 0;
18048 wxSlider
*arg1
= (wxSlider
*) 0 ;
18051 PyObject
*swig_obj
[1] ;
18053 if (!args
) SWIG_fail
;
18054 swig_obj
[0] = args
;
18055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18056 if (!SWIG_IsOK(res1
)) {
18057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18059 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 (arg1
)->ClearSel();
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_Py_Void();
18073 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18074 PyObject
*resultobj
= 0;
18075 wxSlider
*arg1
= (wxSlider
*) 0 ;
18079 PyObject
*swig_obj
[1] ;
18081 if (!args
) SWIG_fail
;
18082 swig_obj
[0] = args
;
18083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18084 if (!SWIG_IsOK(res1
)) {
18085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18087 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_From_int(static_cast< int >(result
));
18101 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18102 PyObject
*resultobj
= 0;
18103 wxSlider
*arg1
= (wxSlider
*) 0 ;
18107 PyObject
*swig_obj
[1] ;
18109 if (!args
) SWIG_fail
;
18110 swig_obj
[0] = args
;
18111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18112 if (!SWIG_IsOK(res1
)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18115 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= SWIG_From_int(static_cast< int >(result
));
18129 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
= 0;
18131 wxSlider
*arg1
= (wxSlider
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 PyObject
* obj2
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "self",(char *) "min",(char *) "max", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18149 if (!SWIG_IsOK(res1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18152 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18154 if (!SWIG_IsOK(ecode2
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18157 arg2
= static_cast< int >(val2
);
18158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18159 if (!SWIG_IsOK(ecode3
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18162 arg3
= static_cast< int >(val3
);
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->SetSelection(arg2
,arg3
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_Py_Void();
18176 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
= 0;
18178 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18179 SwigValueWrapper
<wxVisualAttributes
> result
;
18182 PyObject
* obj0
= 0 ;
18183 char * kwnames
[] = {
18184 (char *) "variant", NULL
18187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18190 if (!SWIG_IsOK(ecode1
)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18193 arg1
= static_cast< wxWindowVariant
>(val1
);
18196 if (!wxPyCheckForApp()) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18209 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18212 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18213 return SWIG_Py_Void();
18216 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18217 return SWIG_Python_InitShadowInstance(args
);
18220 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18221 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18226 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18227 PyObject
*pyobj
= 0;
18231 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18233 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18240 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
= 0;
18242 wxWindow
*arg1
= (wxWindow
*) 0 ;
18243 int arg2
= (int) -1 ;
18244 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18245 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18250 long arg6
= (long) 0 ;
18251 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18252 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18253 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18254 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18255 wxToggleButton
*result
= 0 ;
18260 bool temp3
= false ;
18267 bool temp8
= false ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 PyObject
* obj2
= 0 ;
18271 PyObject
* obj3
= 0 ;
18272 PyObject
* obj4
= 0 ;
18273 PyObject
* obj5
= 0 ;
18274 PyObject
* obj6
= 0 ;
18275 PyObject
* obj7
= 0 ;
18276 char * kwnames
[] = {
18277 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18282 if (!SWIG_IsOK(res1
)) {
18283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18288 if (!SWIG_IsOK(ecode2
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18291 arg2
= static_cast< int >(val2
);
18295 arg3
= wxString_in_helper(obj2
);
18296 if (arg3
== NULL
) SWIG_fail
;
18303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18313 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18314 if (!SWIG_IsOK(ecode6
)) {
18315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18317 arg6
= static_cast< long >(val6
);
18320 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18321 if (!SWIG_IsOK(res7
)) {
18322 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18327 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18331 arg8
= wxString_in_helper(obj7
);
18332 if (arg8
== NULL
) SWIG_fail
;
18337 if (!wxPyCheckForApp()) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18366 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18367 PyObject
*resultobj
= 0;
18368 wxToggleButton
*result
= 0 ;
18370 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18372 if (!wxPyCheckForApp()) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (wxToggleButton
*)new wxToggleButton();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18385 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
= 0;
18387 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18388 wxWindow
*arg2
= (wxWindow
*) 0 ;
18389 int arg3
= (int) -1 ;
18390 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18391 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18392 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18393 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18394 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18395 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18396 long arg7
= (long) 0 ;
18397 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18398 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18399 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18400 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18408 bool temp4
= false ;
18415 bool temp9
= false ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 PyObject
* obj2
= 0 ;
18419 PyObject
* obj3
= 0 ;
18420 PyObject
* obj4
= 0 ;
18421 PyObject
* obj5
= 0 ;
18422 PyObject
* obj6
= 0 ;
18423 PyObject
* obj7
= 0 ;
18424 PyObject
* obj8
= 0 ;
18425 char * kwnames
[] = {
18426 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18431 if (!SWIG_IsOK(res1
)) {
18432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18434 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18436 if (!SWIG_IsOK(res2
)) {
18437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18439 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18442 if (!SWIG_IsOK(ecode3
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18445 arg3
= static_cast< int >(val3
);
18449 arg4
= wxString_in_helper(obj3
);
18450 if (arg4
== NULL
) SWIG_fail
;
18457 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18463 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18467 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18468 if (!SWIG_IsOK(ecode7
)) {
18469 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18471 arg7
= static_cast< long >(val7
);
18474 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18475 if (!SWIG_IsOK(res8
)) {
18476 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18481 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18485 arg9
= wxString_in_helper(obj8
);
18486 if (arg9
== NULL
) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18521 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
= 0;
18523 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char * kwnames
[] = {
18532 (char *) "self",(char *) "value", NULL
18535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18537 if (!SWIG_IsOK(res1
)) {
18538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18540 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18541 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18542 if (!SWIG_IsOK(ecode2
)) {
18543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18545 arg2
= static_cast< bool >(val2
);
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 (arg1
)->SetValue(arg2
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_Py_Void();
18559 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18560 PyObject
*resultobj
= 0;
18561 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18565 PyObject
*swig_obj
[1] ;
18567 if (!args
) SWIG_fail
;
18568 swig_obj
[0] = args
;
18569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18570 if (!SWIG_IsOK(res1
)) {
18571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18573 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18589 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
= 0;
18591 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18592 SwigValueWrapper
<wxVisualAttributes
> result
;
18595 PyObject
* obj0
= 0 ;
18596 char * kwnames
[] = {
18597 (char *) "variant", NULL
18600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18602 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18603 if (!SWIG_IsOK(ecode1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18606 arg1
= static_cast< wxWindowVariant
>(val1
);
18609 if (!wxPyCheckForApp()) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18622 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18625 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18626 return SWIG_Py_Void();
18629 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18630 return SWIG_Python_InitShadowInstance(args
);
18633 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18634 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18639 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18640 PyObject
*pyobj
= 0;
18644 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18646 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18653 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18654 PyObject
*resultobj
= 0;
18655 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18659 PyObject
*swig_obj
[1] ;
18661 if (!args
) SWIG_fail
;
18662 swig_obj
[0] = args
;
18663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18664 if (!SWIG_IsOK(res1
)) {
18665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18667 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18681 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
= 0;
18683 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18685 wxWindow
*result
= 0 ;
18690 PyObject
* obj0
= 0 ;
18691 PyObject
* obj1
= 0 ;
18692 char * kwnames
[] = {
18693 (char *) "self",(char *) "n", NULL
18696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18698 if (!SWIG_IsOK(res1
)) {
18699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18701 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18702 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18703 if (!SWIG_IsOK(ecode2
)) {
18704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18706 arg2
= static_cast< size_t >(val2
);
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= wxPyMake_wxObject(result
, 0);
18722 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18723 PyObject
*resultobj
= 0;
18724 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18725 wxWindow
*result
= 0 ;
18728 PyObject
*swig_obj
[1] ;
18730 if (!args
) SWIG_fail
;
18731 swig_obj
[0] = args
;
18732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18733 if (!SWIG_IsOK(res1
)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18736 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= wxPyMake_wxObject(result
, 0);
18752 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18753 PyObject
*resultobj
= 0;
18754 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18758 PyObject
*swig_obj
[1] ;
18760 if (!args
) SWIG_fail
;
18761 swig_obj
[0] = args
;
18762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18763 if (!SWIG_IsOK(res1
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18766 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_From_int(static_cast< int >(result
));
18780 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
= 0;
18782 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18784 wxString
*arg3
= 0 ;
18790 bool temp3
= false ;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 PyObject
* obj2
= 0 ;
18794 char * kwnames
[] = {
18795 (char *) "self",(char *) "n",(char *) "strText", NULL
18798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18803 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18804 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18805 if (!SWIG_IsOK(ecode2
)) {
18806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18808 arg2
= static_cast< size_t >(val2
);
18810 arg3
= wxString_in_helper(obj2
);
18811 if (arg3
== NULL
) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18837 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
= 0;
18839 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 PyObject
* obj1
= 0 ;
18848 char * kwnames
[] = {
18849 (char *) "self",(char *) "n", NULL
18852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18854 if (!SWIG_IsOK(res1
)) {
18855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18857 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18858 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18859 if (!SWIG_IsOK(ecode2
)) {
18860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
18862 arg2
= static_cast< size_t >(val2
);
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18882 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
= 0;
18884 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18885 wxImageList
*arg2
= (wxImageList
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 char * kwnames
[] = {
18893 (char *) "self",(char *) "imageList", NULL
18896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18898 if (!SWIG_IsOK(res1
)) {
18899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18901 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
18903 if (!SWIG_IsOK(res2
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18906 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 (arg1
)->SetImageList(arg2
);
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= SWIG_Py_Void();
18920 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
= 0;
18922 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18923 wxImageList
*arg2
= (wxImageList
*) 0 ;
18927 PyObject
* obj0
= 0 ;
18928 PyObject
* obj1
= 0 ;
18929 char * kwnames
[] = {
18930 (char *) "self",(char *) "imageList", NULL
18933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18935 if (!SWIG_IsOK(res1
)) {
18936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18938 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18939 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
18940 if (!SWIG_IsOK(res2
)) {
18941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 (arg1
)->AssignImageList(arg2
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= SWIG_Py_Void();
18956 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18957 PyObject
*resultobj
= 0;
18958 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18959 wxImageList
*result
= 0 ;
18962 PyObject
*swig_obj
[1] ;
18964 if (!args
) SWIG_fail
;
18965 swig_obj
[0] = args
;
18966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18967 if (!SWIG_IsOK(res1
)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18970 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18986 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
= 0;
18988 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 PyObject
* obj1
= 0 ;
18997 char * kwnames
[] = {
18998 (char *) "self",(char *) "n", NULL
19001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19003 if (!SWIG_IsOK(res1
)) {
19004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19006 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19007 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19008 if (!SWIG_IsOK(ecode2
)) {
19009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19011 arg2
= static_cast< size_t >(val2
);
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= SWIG_From_int(static_cast< int >(result
));
19025 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
= 0;
19027 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 PyObject
* obj2
= 0 ;
19040 char * kwnames
[] = {
19041 (char *) "self",(char *) "n",(char *) "imageId", NULL
19044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19049 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19050 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19051 if (!SWIG_IsOK(ecode2
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19054 arg2
= static_cast< size_t >(val2
);
19055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19056 if (!SWIG_IsOK(ecode3
)) {
19057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19059 arg3
= static_cast< int >(val3
);
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19075 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "size", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19093 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19096 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= SWIG_Py_Void();
19111 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
= 0;
19113 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char * kwnames
[] = {
19122 (char *) "self",(char *) "sizePage", NULL
19125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19127 if (!SWIG_IsOK(res1
)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19130 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19148 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19149 PyObject
*resultobj
= 0;
19150 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19151 unsigned int result
;
19154 PyObject
*swig_obj
[1] ;
19156 if (!args
) SWIG_fail
;
19157 swig_obj
[0] = args
;
19158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19162 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19176 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
= 0;
19178 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19179 unsigned int arg2
;
19182 unsigned int val2
;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char * kwnames
[] = {
19187 (char *) "self",(char *) "internalBorder", NULL
19190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19192 if (!SWIG_IsOK(res1
)) {
19193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19195 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19196 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19197 if (!SWIG_IsOK(ecode2
)) {
19198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19200 arg2
= static_cast< unsigned int >(val2
);
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->SetInternalBorder(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 resultobj
= SWIG_Py_Void();
19214 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19215 PyObject
*resultobj
= 0;
19216 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19220 PyObject
*swig_obj
[1] ;
19222 if (!args
) SWIG_fail
;
19223 swig_obj
[0] = args
;
19224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19225 if (!SWIG_IsOK(res1
)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19228 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19244 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
= 0;
19246 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 char * kwnames
[] = {
19255 (char *) "self",(char *) "margin", NULL
19258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19260 if (!SWIG_IsOK(res1
)) {
19261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19263 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19265 if (!SWIG_IsOK(ecode2
)) {
19266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19268 arg2
= static_cast< int >(val2
);
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 (arg1
)->SetControlMargin(arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= SWIG_Py_Void();
19282 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19283 PyObject
*resultobj
= 0;
19284 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19288 PyObject
*swig_obj
[1] ;
19290 if (!args
) SWIG_fail
;
19291 swig_obj
[0] = args
;
19292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19293 if (!SWIG_IsOK(res1
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19296 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_From_int(static_cast< int >(result
));
19310 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
= 0;
19312 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char * kwnames
[] = {
19321 (char *) "self",(char *) "fit", NULL
19324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19326 if (!SWIG_IsOK(res1
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19329 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19330 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19331 if (!SWIG_IsOK(ecode2
)) {
19332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19334 arg2
= static_cast< bool >(val2
);
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 (arg1
)->SetFitToCurrentPage(arg2
);
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= SWIG_Py_Void();
19348 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19349 PyObject
*resultobj
= 0;
19350 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19354 PyObject
*swig_obj
[1] ;
19356 if (!args
) SWIG_fail
;
19357 swig_obj
[0] = args
;
19358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19359 if (!SWIG_IsOK(res1
)) {
19360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19362 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19378 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19379 PyObject
*resultobj
= 0;
19380 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19381 wxSizer
*result
= 0 ;
19384 PyObject
*swig_obj
[1] ;
19386 if (!args
) SWIG_fail
;
19387 swig_obj
[0] = args
;
19388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19389 if (!SWIG_IsOK(res1
)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19392 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19408 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
= 0;
19410 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char * kwnames
[] = {
19420 (char *) "self",(char *) "n", NULL
19423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19425 if (!SWIG_IsOK(res1
)) {
19426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19428 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19429 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19430 if (!SWIG_IsOK(ecode2
)) {
19431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19433 arg2
= static_cast< size_t >(val2
);
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (bool)(arg1
)->DeletePage(arg2
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19449 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
= 0;
19451 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 char * kwnames
[] = {
19461 (char *) "self",(char *) "n", NULL
19464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19466 if (!SWIG_IsOK(res1
)) {
19467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19469 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19470 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19471 if (!SWIG_IsOK(ecode2
)) {
19472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19474 arg2
= static_cast< size_t >(val2
);
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= (bool)(arg1
)->RemovePage(arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19490 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19491 PyObject
*resultobj
= 0;
19492 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19496 PyObject
*swig_obj
[1] ;
19498 if (!args
) SWIG_fail
;
19499 swig_obj
[0] = args
;
19500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19501 if (!SWIG_IsOK(res1
)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19504 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (bool)(arg1
)->DeleteAllPages();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19520 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
= 0;
19522 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19523 wxWindow
*arg2
= (wxWindow
*) 0 ;
19524 wxString
*arg3
= 0 ;
19525 bool arg4
= (bool) false ;
19526 int arg5
= (int) -1 ;
19532 bool temp3
= false ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 PyObject
* obj2
= 0 ;
19540 PyObject
* obj3
= 0 ;
19541 PyObject
* obj4
= 0 ;
19542 char * kwnames
[] = {
19543 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19551 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19553 if (!SWIG_IsOK(res2
)) {
19554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19556 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19558 arg3
= wxString_in_helper(obj2
);
19559 if (arg3
== NULL
) SWIG_fail
;
19563 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19564 if (!SWIG_IsOK(ecode4
)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19567 arg4
= static_cast< bool >(val4
);
19570 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19571 if (!SWIG_IsOK(ecode5
)) {
19572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19574 arg5
= static_cast< int >(val5
);
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19599 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
= 0;
19601 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19603 wxWindow
*arg3
= (wxWindow
*) 0 ;
19604 wxString
*arg4
= 0 ;
19605 bool arg5
= (bool) false ;
19606 int arg6
= (int) -1 ;
19614 bool temp4
= false ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 PyObject
* obj2
= 0 ;
19622 PyObject
* obj3
= 0 ;
19623 PyObject
* obj4
= 0 ;
19624 PyObject
* obj5
= 0 ;
19625 char * kwnames
[] = {
19626 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19631 if (!SWIG_IsOK(res1
)) {
19632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19634 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19635 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19636 if (!SWIG_IsOK(ecode2
)) {
19637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19639 arg2
= static_cast< size_t >(val2
);
19640 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19641 if (!SWIG_IsOK(res3
)) {
19642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19644 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19646 arg4
= wxString_in_helper(obj3
);
19647 if (arg4
== NULL
) SWIG_fail
;
19651 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19652 if (!SWIG_IsOK(ecode5
)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19655 arg5
= static_cast< bool >(val5
);
19658 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19659 if (!SWIG_IsOK(ecode6
)) {
19660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19662 arg6
= static_cast< int >(val6
);
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19687 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
= 0;
19689 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char * kwnames
[] = {
19699 (char *) "self",(char *) "n", NULL
19702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19704 if (!SWIG_IsOK(res1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19707 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19708 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19709 if (!SWIG_IsOK(ecode2
)) {
19710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19712 arg2
= static_cast< size_t >(val2
);
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (int)(arg1
)->SetSelection(arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= SWIG_From_int(static_cast< int >(result
));
19726 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
= 0;
19728 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19729 bool arg2
= (bool) true ;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 char * kwnames
[] = {
19737 (char *) "self",(char *) "forward", NULL
19740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19742 if (!SWIG_IsOK(res1
)) {
19743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19745 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19747 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19748 if (!SWIG_IsOK(ecode2
)) {
19749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19751 arg2
= static_cast< bool >(val2
);
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 (arg1
)->AdvanceSelection(arg2
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= SWIG_Py_Void();
19766 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
= 0;
19768 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19769 SwigValueWrapper
<wxVisualAttributes
> result
;
19772 PyObject
* obj0
= 0 ;
19773 char * kwnames
[] = {
19774 (char *) "variant", NULL
19777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19780 if (!SWIG_IsOK(ecode1
)) {
19781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19783 arg1
= static_cast< wxWindowVariant
>(val1
);
19786 if (!wxPyCheckForApp()) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19799 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19802 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19803 return SWIG_Py_Void();
19806 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
= 0;
19808 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19809 int arg2
= (int) 0 ;
19810 int arg3
= (int) -1 ;
19811 int arg4
= (int) -1 ;
19812 wxBookCtrlBaseEvent
*result
= 0 ;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 PyObject
* obj2
= 0 ;
19824 PyObject
* obj3
= 0 ;
19825 char * kwnames
[] = {
19826 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19831 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19832 if (!SWIG_IsOK(ecode1
)) {
19833 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19835 arg1
= static_cast< wxEventType
>(val1
);
19838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19839 if (!SWIG_IsOK(ecode2
)) {
19840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19842 arg2
= static_cast< int >(val2
);
19845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19846 if (!SWIG_IsOK(ecode3
)) {
19847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19849 arg3
= static_cast< int >(val3
);
19852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19853 if (!SWIG_IsOK(ecode4
)) {
19854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
19856 arg4
= static_cast< int >(val4
);
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
19871 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19872 PyObject
*resultobj
= 0;
19873 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19877 PyObject
*swig_obj
[1] ;
19879 if (!args
) SWIG_fail
;
19880 swig_obj
[0] = args
;
19881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19882 if (!SWIG_IsOK(res1
)) {
19883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19885 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= SWIG_From_int(static_cast< int >(result
));
19899 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
= 0;
19901 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char * kwnames
[] = {
19910 (char *) "self",(char *) "nSel", NULL
19913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19915 if (!SWIG_IsOK(res1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19918 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19920 if (!SWIG_IsOK(ecode2
)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
19923 arg2
= static_cast< int >(val2
);
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 (arg1
)->SetSelection(arg2
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_Py_Void();
19937 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19938 PyObject
*resultobj
= 0;
19939 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19943 PyObject
*swig_obj
[1] ;
19945 if (!args
) SWIG_fail
;
19946 swig_obj
[0] = args
;
19947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19948 if (!SWIG_IsOK(res1
)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19951 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= SWIG_From_int(static_cast< int >(result
));
19965 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
= 0;
19967 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19973 PyObject
* obj0
= 0 ;
19974 PyObject
* obj1
= 0 ;
19975 char * kwnames
[] = {
19976 (char *) "self",(char *) "nOldSel", NULL
19979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19981 if (!SWIG_IsOK(res1
)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19984 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19986 if (!SWIG_IsOK(ecode2
)) {
19987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
19989 arg2
= static_cast< int >(val2
);
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 (arg1
)->SetOldSelection(arg2
);
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= SWIG_Py_Void();
20003 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20006 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20007 return SWIG_Py_Void();
20010 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20011 return SWIG_Python_InitShadowInstance(args
);
20014 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
= 0;
20016 wxWindow
*arg1
= (wxWindow
*) 0 ;
20017 int arg2
= (int) -1 ;
20018 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20019 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20020 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20021 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20022 long arg5
= (long) 0 ;
20023 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20024 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20025 wxNotebook
*result
= 0 ;
20034 bool temp6
= false ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 PyObject
* obj2
= 0 ;
20038 PyObject
* obj3
= 0 ;
20039 PyObject
* obj4
= 0 ;
20040 PyObject
* obj5
= 0 ;
20041 char * kwnames
[] = {
20042 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20047 if (!SWIG_IsOK(res1
)) {
20048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20050 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20053 if (!SWIG_IsOK(ecode2
)) {
20054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20056 arg2
= static_cast< int >(val2
);
20061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20067 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20071 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20072 if (!SWIG_IsOK(ecode5
)) {
20073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20075 arg5
= static_cast< long >(val5
);
20079 arg6
= wxString_in_helper(obj5
);
20080 if (arg6
== NULL
) SWIG_fail
;
20085 if (!wxPyCheckForApp()) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20106 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20107 PyObject
*resultobj
= 0;
20108 wxNotebook
*result
= 0 ;
20110 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20112 if (!wxPyCheckForApp()) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (wxNotebook
*)new wxNotebook();
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20125 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
= 0;
20127 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20128 wxWindow
*arg2
= (wxWindow
*) 0 ;
20129 int arg3
= (int) -1 ;
20130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20134 long arg6
= (long) 0 ;
20135 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20136 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20148 bool temp7
= false ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 PyObject
* obj2
= 0 ;
20152 PyObject
* obj3
= 0 ;
20153 PyObject
* obj4
= 0 ;
20154 PyObject
* obj5
= 0 ;
20155 PyObject
* obj6
= 0 ;
20156 char * kwnames
[] = {
20157 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20162 if (!SWIG_IsOK(res1
)) {
20163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20165 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20167 if (!SWIG_IsOK(res2
)) {
20168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20173 if (!SWIG_IsOK(ecode3
)) {
20174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20176 arg3
= static_cast< int >(val3
);
20181 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20187 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20191 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20192 if (!SWIG_IsOK(ecode6
)) {
20193 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20195 arg6
= static_cast< long >(val6
);
20199 arg7
= wxString_in_helper(obj6
);
20200 if (arg7
== NULL
) SWIG_fail
;
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20227 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20228 PyObject
*resultobj
= 0;
20229 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20233 PyObject
*swig_obj
[1] ;
20235 if (!args
) SWIG_fail
;
20236 swig_obj
[0] = args
;
20237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20238 if (!SWIG_IsOK(res1
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20241 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_From_int(static_cast< int >(result
));
20255 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
= 0;
20257 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char * kwnames
[] = {
20265 (char *) "self",(char *) "padding", NULL
20268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20270 if (!SWIG_IsOK(res1
)) {
20271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20273 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20276 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 resultobj
= SWIG_Py_Void();
20291 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
= 0;
20293 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char * kwnames
[] = {
20301 (char *) "self",(char *) "sz", NULL
20304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20306 if (!SWIG_IsOK(res1
)) {
20307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20309 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20312 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= SWIG_Py_Void();
20327 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
= 0;
20329 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20330 wxPoint
*arg2
= 0 ;
20331 long *arg3
= (long *) 0 ;
20337 int res3
= SWIG_TMPOBJ
;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 char * kwnames
[] = {
20341 (char *) "self",(char *) "pt", NULL
20345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20347 if (!SWIG_IsOK(res1
)) {
20348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20350 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= SWIG_From_int(static_cast< int >(result
));
20362 if (SWIG_IsTmpObj(res3
)) {
20363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20365 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20374 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 PyObject
*resultobj
= 0;
20376 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20380 PyObject
*swig_obj
[1] ;
20382 if (!args
) SWIG_fail
;
20383 swig_obj
[0] = args
;
20384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20385 if (!SWIG_IsOK(res1
)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20388 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20402 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
= 0;
20404 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20405 SwigValueWrapper
<wxVisualAttributes
> result
;
20408 PyObject
* obj0
= 0 ;
20409 char * kwnames
[] = {
20410 (char *) "variant", NULL
20413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20416 if (!SWIG_IsOK(ecode1
)) {
20417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20419 arg1
= static_cast< wxWindowVariant
>(val1
);
20422 if (!wxPyCheckForApp()) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20435 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20438 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20439 return SWIG_Py_Void();
20442 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20443 return SWIG_Python_InitShadowInstance(args
);
20446 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
= 0;
20448 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20449 int arg2
= (int) 0 ;
20450 int arg3
= (int) -1 ;
20451 int arg4
= (int) -1 ;
20452 wxNotebookEvent
*result
= 0 ;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 PyObject
* obj2
= 0 ;
20464 PyObject
* obj3
= 0 ;
20465 char * kwnames
[] = {
20466 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20471 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20472 if (!SWIG_IsOK(ecode1
)) {
20473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20475 arg1
= static_cast< wxEventType
>(val1
);
20478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20479 if (!SWIG_IsOK(ecode2
)) {
20480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20482 arg2
= static_cast< int >(val2
);
20485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20486 if (!SWIG_IsOK(ecode3
)) {
20487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20489 arg3
= static_cast< int >(val3
);
20492 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20493 if (!SWIG_IsOK(ecode4
)) {
20494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20496 arg4
= static_cast< int >(val4
);
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20511 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20514 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20515 return SWIG_Py_Void();
20518 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20519 return SWIG_Python_InitShadowInstance(args
);
20522 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
= 0;
20524 wxWindow
*arg1
= (wxWindow
*) 0 ;
20525 int arg2
= (int) -1 ;
20526 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20527 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20528 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20529 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20530 long arg5
= (long) 0 ;
20531 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20532 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20533 wxListbook
*result
= 0 ;
20542 bool temp6
= false ;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 PyObject
* obj2
= 0 ;
20546 PyObject
* obj3
= 0 ;
20547 PyObject
* obj4
= 0 ;
20548 PyObject
* obj5
= 0 ;
20549 char * kwnames
[] = {
20550 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20555 if (!SWIG_IsOK(res1
)) {
20556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20558 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20561 if (!SWIG_IsOK(ecode2
)) {
20562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20564 arg2
= static_cast< int >(val2
);
20569 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20575 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20579 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20580 if (!SWIG_IsOK(ecode5
)) {
20581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20583 arg5
= static_cast< long >(val5
);
20587 arg6
= wxString_in_helper(obj5
);
20588 if (arg6
== NULL
) SWIG_fail
;
20593 if (!wxPyCheckForApp()) SWIG_fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20614 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20615 PyObject
*resultobj
= 0;
20616 wxListbook
*result
= 0 ;
20618 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20620 if (!wxPyCheckForApp()) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= (wxListbook
*)new wxListbook();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20633 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
= 0;
20635 wxListbook
*arg1
= (wxListbook
*) 0 ;
20636 wxWindow
*arg2
= (wxWindow
*) 0 ;
20637 int arg3
= (int) -1 ;
20638 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20639 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20640 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20641 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20642 long arg6
= (long) 0 ;
20643 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20644 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20656 bool temp7
= false ;
20657 PyObject
* obj0
= 0 ;
20658 PyObject
* obj1
= 0 ;
20659 PyObject
* obj2
= 0 ;
20660 PyObject
* obj3
= 0 ;
20661 PyObject
* obj4
= 0 ;
20662 PyObject
* obj5
= 0 ;
20663 PyObject
* obj6
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20673 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20675 if (!SWIG_IsOK(res2
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20681 if (!SWIG_IsOK(ecode3
)) {
20682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20684 arg3
= static_cast< int >(val3
);
20689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20699 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20700 if (!SWIG_IsOK(ecode6
)) {
20701 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20703 arg6
= static_cast< long >(val6
);
20707 arg7
= wxString_in_helper(obj6
);
20708 if (arg7
== NULL
) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20735 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20736 PyObject
*resultobj
= 0;
20737 wxListbook
*arg1
= (wxListbook
*) 0 ;
20738 wxListView
*result
= 0 ;
20741 PyObject
*swig_obj
[1] ;
20743 if (!args
) SWIG_fail
;
20744 swig_obj
[0] = args
;
20745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20746 if (!SWIG_IsOK(res1
)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20749 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (wxListView
*)(arg1
)->GetListView();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20763 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20766 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20767 return SWIG_Py_Void();
20770 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20771 return SWIG_Python_InitShadowInstance(args
);
20774 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
= 0;
20776 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20777 int arg2
= (int) 0 ;
20778 int arg3
= (int) -1 ;
20779 int arg4
= (int) -1 ;
20780 wxListbookEvent
*result
= 0 ;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 PyObject
* obj2
= 0 ;
20792 PyObject
* obj3
= 0 ;
20793 char * kwnames
[] = {
20794 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20800 if (!SWIG_IsOK(ecode1
)) {
20801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20803 arg1
= static_cast< wxEventType
>(val1
);
20806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20807 if (!SWIG_IsOK(ecode2
)) {
20808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20810 arg2
= static_cast< int >(val2
);
20813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20814 if (!SWIG_IsOK(ecode3
)) {
20815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20817 arg3
= static_cast< int >(val3
);
20820 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20821 if (!SWIG_IsOK(ecode4
)) {
20822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20824 arg4
= static_cast< int >(val4
);
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20839 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20842 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20843 return SWIG_Py_Void();
20846 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20847 return SWIG_Python_InitShadowInstance(args
);
20850 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
= 0;
20852 wxWindow
*arg1
= (wxWindow
*) 0 ;
20854 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20855 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20856 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20857 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20858 long arg5
= (long) 0 ;
20859 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20860 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20861 wxChoicebook
*result
= 0 ;
20870 bool temp6
= false ;
20871 PyObject
* obj0
= 0 ;
20872 PyObject
* obj1
= 0 ;
20873 PyObject
* obj2
= 0 ;
20874 PyObject
* obj3
= 0 ;
20875 PyObject
* obj4
= 0 ;
20876 PyObject
* obj5
= 0 ;
20877 char * kwnames
[] = {
20878 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20883 if (!SWIG_IsOK(res1
)) {
20884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20888 if (!SWIG_IsOK(ecode2
)) {
20889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
20891 arg2
= static_cast< int >(val2
);
20895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20905 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20906 if (!SWIG_IsOK(ecode5
)) {
20907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
20909 arg5
= static_cast< long >(val5
);
20913 arg6
= wxString_in_helper(obj5
);
20914 if (arg6
== NULL
) SWIG_fail
;
20919 if (!wxPyCheckForApp()) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
20940 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20941 PyObject
*resultobj
= 0;
20942 wxChoicebook
*result
= 0 ;
20944 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
20946 if (!wxPyCheckForApp()) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (wxChoicebook
*)new wxChoicebook();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
20959 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
= 0;
20961 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
20962 wxWindow
*arg2
= (wxWindow
*) 0 ;
20964 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20965 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20966 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20967 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20968 long arg6
= (long) 0 ;
20969 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20970 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20982 bool temp7
= false ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 PyObject
* obj2
= 0 ;
20986 PyObject
* obj3
= 0 ;
20987 PyObject
* obj4
= 0 ;
20988 PyObject
* obj5
= 0 ;
20989 PyObject
* obj6
= 0 ;
20990 char * kwnames
[] = {
20991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
20996 if (!SWIG_IsOK(res1
)) {
20997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
20999 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21001 if (!SWIG_IsOK(res2
)) {
21002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21006 if (!SWIG_IsOK(ecode3
)) {
21007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21009 arg3
= static_cast< int >(val3
);
21013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21023 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21024 if (!SWIG_IsOK(ecode6
)) {
21025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21027 arg6
= static_cast< long >(val6
);
21031 arg7
= wxString_in_helper(obj6
);
21032 if (arg7
== NULL
) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21059 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21060 PyObject
*resultobj
= 0;
21061 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21062 wxChoice
*result
= 0 ;
21065 PyObject
*swig_obj
[1] ;
21067 if (!args
) SWIG_fail
;
21068 swig_obj
[0] = args
;
21069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21070 if (!SWIG_IsOK(res1
)) {
21071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21073 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21087 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21090 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21091 return SWIG_Py_Void();
21094 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21095 return SWIG_Python_InitShadowInstance(args
);
21098 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
= 0;
21100 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21101 int arg2
= (int) 0 ;
21102 int arg3
= (int) -1 ;
21103 int arg4
= (int) -1 ;
21104 wxChoicebookEvent
*result
= 0 ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 PyObject
* obj2
= 0 ;
21116 PyObject
* obj3
= 0 ;
21117 char * kwnames
[] = {
21118 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21123 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21124 if (!SWIG_IsOK(ecode1
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21127 arg1
= static_cast< wxEventType
>(val1
);
21130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21131 if (!SWIG_IsOK(ecode2
)) {
21132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21134 arg2
= static_cast< int >(val2
);
21137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21138 if (!SWIG_IsOK(ecode3
)) {
21139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21141 arg3
= static_cast< int >(val3
);
21144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21145 if (!SWIG_IsOK(ecode4
)) {
21146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21148 arg4
= static_cast< int >(val4
);
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21163 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21166 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21167 return SWIG_Py_Void();
21170 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21171 return SWIG_Python_InitShadowInstance(args
);
21174 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
= 0;
21176 wxWindow
*arg1
= (wxWindow
*) 0 ;
21178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21182 long arg5
= (long) wxBK_DEFAULT
;
21183 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21184 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21185 wxTreebook
*result
= 0 ;
21194 bool temp6
= false ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 PyObject
* obj2
= 0 ;
21198 PyObject
* obj3
= 0 ;
21199 PyObject
* obj4
= 0 ;
21200 PyObject
* obj5
= 0 ;
21201 char * kwnames
[] = {
21202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21207 if (!SWIG_IsOK(res1
)) {
21208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21210 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21212 if (!SWIG_IsOK(ecode2
)) {
21213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21215 arg2
= static_cast< int >(val2
);
21219 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21225 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21229 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21230 if (!SWIG_IsOK(ecode5
)) {
21231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21233 arg5
= static_cast< long >(val5
);
21237 arg6
= wxString_in_helper(obj5
);
21238 if (arg6
== NULL
) SWIG_fail
;
21243 if (!wxPyCheckForApp()) SWIG_fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21264 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21265 PyObject
*resultobj
= 0;
21266 wxTreebook
*result
= 0 ;
21268 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21270 if (!wxPyCheckForApp()) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (wxTreebook
*)new wxTreebook();
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21283 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
= 0;
21285 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21286 wxWindow
*arg2
= (wxWindow
*) 0 ;
21288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21292 long arg6
= (long) wxBK_DEFAULT
;
21293 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21294 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21306 bool temp7
= false ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 PyObject
* obj2
= 0 ;
21310 PyObject
* obj3
= 0 ;
21311 PyObject
* obj4
= 0 ;
21312 PyObject
* obj5
= 0 ;
21313 PyObject
* obj6
= 0 ;
21314 char * kwnames
[] = {
21315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21320 if (!SWIG_IsOK(res1
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21323 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21325 if (!SWIG_IsOK(res2
)) {
21326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21328 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21330 if (!SWIG_IsOK(ecode3
)) {
21331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21333 arg3
= static_cast< int >(val3
);
21337 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21343 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21347 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21348 if (!SWIG_IsOK(ecode6
)) {
21349 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21351 arg6
= static_cast< long >(val6
);
21355 arg7
= wxString_in_helper(obj6
);
21356 if (arg7
== NULL
) SWIG_fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21383 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
= 0;
21385 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21387 wxWindow
*arg3
= (wxWindow
*) 0 ;
21388 wxString
*arg4
= 0 ;
21389 bool arg5
= (bool) false ;
21390 int arg6
= (int) wxNOT_FOUND
;
21398 bool temp4
= false ;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 PyObject
* obj2
= 0 ;
21406 PyObject
* obj3
= 0 ;
21407 PyObject
* obj4
= 0 ;
21408 PyObject
* obj5
= 0 ;
21409 char * kwnames
[] = {
21410 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21415 if (!SWIG_IsOK(res1
)) {
21416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21418 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21419 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21420 if (!SWIG_IsOK(ecode2
)) {
21421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21423 arg2
= static_cast< size_t >(val2
);
21424 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21425 if (!SWIG_IsOK(res3
)) {
21426 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21428 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21430 arg4
= wxString_in_helper(obj3
);
21431 if (arg4
== NULL
) SWIG_fail
;
21435 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21436 if (!SWIG_IsOK(ecode5
)) {
21437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21439 arg5
= static_cast< bool >(val5
);
21442 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21443 if (!SWIG_IsOK(ecode6
)) {
21444 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21446 arg6
= static_cast< int >(val6
);
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21471 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
= 0;
21473 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21474 wxWindow
*arg2
= (wxWindow
*) 0 ;
21475 wxString
*arg3
= 0 ;
21476 bool arg4
= (bool) false ;
21477 int arg5
= (int) wxNOT_FOUND
;
21483 bool temp3
= false ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 PyObject
* obj2
= 0 ;
21491 PyObject
* obj3
= 0 ;
21492 PyObject
* obj4
= 0 ;
21493 char * kwnames
[] = {
21494 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21499 if (!SWIG_IsOK(res1
)) {
21500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21502 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21504 if (!SWIG_IsOK(res2
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21507 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21509 arg3
= wxString_in_helper(obj2
);
21510 if (arg3
== NULL
) SWIG_fail
;
21514 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21515 if (!SWIG_IsOK(ecode4
)) {
21516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21518 arg4
= static_cast< bool >(val4
);
21521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21522 if (!SWIG_IsOK(ecode5
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21525 arg5
= static_cast< int >(val5
);
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21550 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
= 0;
21552 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 char * kwnames
[] = {
21562 (char *) "self",(char *) "pos", NULL
21565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21567 if (!SWIG_IsOK(res1
)) {
21568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21570 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21571 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21572 if (!SWIG_IsOK(ecode2
)) {
21573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21575 arg2
= static_cast< size_t >(val2
);
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21591 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
= 0;
21593 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21595 bool arg3
= (bool) true ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 PyObject
* obj2
= 0 ;
21606 char * kwnames
[] = {
21607 (char *) "self",(char *) "pos",(char *) "expand", NULL
21610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21615 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21616 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21617 if (!SWIG_IsOK(ecode2
)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21620 arg2
= static_cast< size_t >(val2
);
21622 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21623 if (!SWIG_IsOK(ecode3
)) {
21624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21626 arg3
= static_cast< bool >(val3
);
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21643 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
= 0;
21645 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 char * kwnames
[] = {
21655 (char *) "self",(char *) "pos", NULL
21658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21660 if (!SWIG_IsOK(res1
)) {
21661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21663 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21664 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21665 if (!SWIG_IsOK(ecode2
)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21668 arg2
= static_cast< size_t >(val2
);
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (bool)(arg1
)->CollapseNode(arg2
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21684 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
= 0;
21686 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 char * kwnames
[] = {
21696 (char *) "self",(char *) "pos", NULL
21699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21701 if (!SWIG_IsOK(res1
)) {
21702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21704 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21705 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21706 if (!SWIG_IsOK(ecode2
)) {
21707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21709 arg2
= static_cast< size_t >(val2
);
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= SWIG_From_int(static_cast< int >(result
));
21723 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21724 PyObject
*resultobj
= 0;
21725 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21726 wxTreeCtrl
*result
= 0 ;
21729 PyObject
*swig_obj
[1] ;
21731 if (!args
) SWIG_fail
;
21732 swig_obj
[0] = args
;
21733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21734 if (!SWIG_IsOK(res1
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21737 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21751 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21754 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21755 return SWIG_Py_Void();
21758 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21759 return SWIG_Python_InitShadowInstance(args
);
21762 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
= 0;
21764 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21765 int arg2
= (int) 0 ;
21766 int arg3
= (int) wxNOT_FOUND
;
21767 int arg4
= (int) wxNOT_FOUND
;
21768 wxTreebookEvent
*result
= 0 ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 PyObject
* obj2
= 0 ;
21780 PyObject
* obj3
= 0 ;
21781 char * kwnames
[] = {
21782 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21787 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21788 if (!SWIG_IsOK(ecode1
)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21791 arg1
= static_cast< wxEventType
>(val1
);
21794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21795 if (!SWIG_IsOK(ecode2
)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21798 arg2
= static_cast< int >(val2
);
21801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21802 if (!SWIG_IsOK(ecode3
)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21805 arg3
= static_cast< int >(val3
);
21808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21809 if (!SWIG_IsOK(ecode4
)) {
21810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21812 arg4
= static_cast< int >(val4
);
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21827 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21830 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21831 return SWIG_Py_Void();
21834 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21835 return SWIG_Python_InitShadowInstance(args
);
21838 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
= 0;
21840 wxWindow
*arg1
= (wxWindow
*) 0 ;
21842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21846 long arg5
= (long) wxBK_DEFAULT
;
21847 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21848 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21849 wxToolbook
*result
= 0 ;
21858 bool temp6
= false ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 PyObject
* obj2
= 0 ;
21862 PyObject
* obj3
= 0 ;
21863 PyObject
* obj4
= 0 ;
21864 PyObject
* obj5
= 0 ;
21865 char * kwnames
[] = {
21866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21871 if (!SWIG_IsOK(res1
)) {
21872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21874 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21876 if (!SWIG_IsOK(ecode2
)) {
21877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
21879 arg2
= static_cast< int >(val2
);
21883 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21889 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21893 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21894 if (!SWIG_IsOK(ecode5
)) {
21895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
21897 arg5
= static_cast< long >(val5
);
21901 arg6
= wxString_in_helper(obj5
);
21902 if (arg6
== NULL
) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
21927 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21928 PyObject
*resultobj
= 0;
21929 wxToolbook
*result
= 0 ;
21931 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (wxToolbook
*)new wxToolbook();
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
21945 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
= 0;
21947 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21948 wxWindow
*arg2
= (wxWindow
*) 0 ;
21950 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21951 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21952 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21953 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21954 long arg6
= (long) 0 ;
21955 wxString
const &arg7_defvalue
= wxEmptyString
;
21956 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21968 bool temp7
= false ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 PyObject
* obj2
= 0 ;
21972 PyObject
* obj3
= 0 ;
21973 PyObject
* obj4
= 0 ;
21974 PyObject
* obj5
= 0 ;
21975 PyObject
* obj6
= 0 ;
21976 char * kwnames
[] = {
21977 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21982 if (!SWIG_IsOK(res1
)) {
21983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
21985 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21987 if (!SWIG_IsOK(res2
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21992 if (!SWIG_IsOK(ecode3
)) {
21993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
21995 arg3
= static_cast< int >(val3
);
21999 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22005 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22009 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22010 if (!SWIG_IsOK(ecode6
)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22013 arg6
= static_cast< long >(val6
);
22017 arg7
= wxString_in_helper(obj6
);
22018 if (arg7
== NULL
) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22045 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22046 PyObject
*resultobj
= 0;
22047 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22048 wxToolBarBase
*result
= 0 ;
22051 PyObject
*swig_obj
[1] ;
22053 if (!args
) SWIG_fail
;
22054 swig_obj
[0] = args
;
22055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22056 if (!SWIG_IsOK(res1
)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22059 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22067 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22075 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22076 PyObject
*resultobj
= 0;
22077 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22080 PyObject
*swig_obj
[1] ;
22082 if (!args
) SWIG_fail
;
22083 swig_obj
[0] = args
;
22084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22085 if (!SWIG_IsOK(res1
)) {
22086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22088 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_Py_Void();
22102 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22105 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22106 return SWIG_Py_Void();
22109 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22110 return SWIG_Python_InitShadowInstance(args
);
22113 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
= 0;
22115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22116 int arg2
= (int) 0 ;
22117 int arg3
= (int) wxNOT_FOUND
;
22118 int arg4
= (int) wxNOT_FOUND
;
22119 wxToolbookEvent
*result
= 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 PyObject
* obj2
= 0 ;
22131 PyObject
* obj3
= 0 ;
22132 char * kwnames
[] = {
22133 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22139 if (!SWIG_IsOK(ecode1
)) {
22140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22142 arg1
= static_cast< wxEventType
>(val1
);
22145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22146 if (!SWIG_IsOK(ecode2
)) {
22147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22149 arg2
= static_cast< int >(val2
);
22152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22153 if (!SWIG_IsOK(ecode3
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22156 arg3
= static_cast< int >(val3
);
22159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22160 if (!SWIG_IsOK(ecode4
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22163 arg4
= static_cast< int >(val4
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22178 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22181 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22182 return SWIG_Py_Void();
22185 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22186 return SWIG_Python_InitShadowInstance(args
);
22189 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22190 PyObject
*resultobj
= 0;
22191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22195 PyObject
*swig_obj
[1] ;
22197 if (!args
) SWIG_fail
;
22198 swig_obj
[0] = args
;
22199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22200 if (!SWIG_IsOK(res1
)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22203 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (int)(arg1
)->GetId();
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_From_int(static_cast< int >(result
));
22217 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22218 PyObject
*resultobj
= 0;
22219 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22220 wxControl
*result
= 0 ;
22223 PyObject
*swig_obj
[1] ;
22225 if (!args
) SWIG_fail
;
22226 swig_obj
[0] = args
;
22227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22228 if (!SWIG_IsOK(res1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22231 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (wxControl
*)(arg1
)->GetControl();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= wxPyMake_wxObject(result
, 0);
22247 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 PyObject
*resultobj
= 0;
22249 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22250 wxToolBarBase
*result
= 0 ;
22253 PyObject
*swig_obj
[1] ;
22255 if (!args
) SWIG_fail
;
22256 swig_obj
[0] = args
;
22257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22258 if (!SWIG_IsOK(res1
)) {
22259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22261 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22277 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22278 PyObject
*resultobj
= 0;
22279 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22283 PyObject
*swig_obj
[1] ;
22285 if (!args
) SWIG_fail
;
22286 swig_obj
[0] = args
;
22287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22288 if (!SWIG_IsOK(res1
)) {
22289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22291 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 result
= (int)(arg1
)->IsButton();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_From_int(static_cast< int >(result
));
22305 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22306 PyObject
*resultobj
= 0;
22307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22311 PyObject
*swig_obj
[1] ;
22313 if (!args
) SWIG_fail
;
22314 swig_obj
[0] = args
;
22315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22319 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (int)(arg1
)->IsControl();
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_From_int(static_cast< int >(result
));
22333 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22334 PyObject
*resultobj
= 0;
22335 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22339 PyObject
*swig_obj
[1] ;
22341 if (!args
) SWIG_fail
;
22342 swig_obj
[0] = args
;
22343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22347 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (int)(arg1
)->IsSeparator();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_From_int(static_cast< int >(result
));
22361 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22362 PyObject
*resultobj
= 0;
22363 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22367 PyObject
*swig_obj
[1] ;
22369 if (!args
) SWIG_fail
;
22370 swig_obj
[0] = args
;
22371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22372 if (!SWIG_IsOK(res1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22375 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (int)(arg1
)->GetStyle();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_From_int(static_cast< int >(result
));
22389 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22390 PyObject
*resultobj
= 0;
22391 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22395 PyObject
*swig_obj
[1] ;
22397 if (!args
) SWIG_fail
;
22398 swig_obj
[0] = args
;
22399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22400 if (!SWIG_IsOK(res1
)) {
22401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22403 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= (wxItemKind
)(arg1
)->GetKind();
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_From_int(static_cast< int >(result
));
22417 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22418 PyObject
*resultobj
= 0;
22419 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22423 PyObject
*swig_obj
[1] ;
22425 if (!args
) SWIG_fail
;
22426 swig_obj
[0] = args
;
22427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22428 if (!SWIG_IsOK(res1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22431 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= (bool)(arg1
)->IsEnabled();
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22447 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22448 PyObject
*resultobj
= 0;
22449 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22453 PyObject
*swig_obj
[1] ;
22455 if (!args
) SWIG_fail
;
22456 swig_obj
[0] = args
;
22457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22458 if (!SWIG_IsOK(res1
)) {
22459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22461 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= (bool)(arg1
)->IsToggled();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22477 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 PyObject
*resultobj
= 0;
22479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22483 PyObject
*swig_obj
[1] ;
22485 if (!args
) SWIG_fail
;
22486 swig_obj
[0] = args
;
22487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22488 if (!SWIG_IsOK(res1
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22491 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (bool)(arg1
)->CanBeToggled();
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22507 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22508 PyObject
*resultobj
= 0;
22509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22510 wxBitmap
*result
= 0 ;
22513 PyObject
*swig_obj
[1] ;
22515 if (!args
) SWIG_fail
;
22516 swig_obj
[0] = args
;
22517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22518 if (!SWIG_IsOK(res1
)) {
22519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22521 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22526 result
= (wxBitmap
*) &_result_ref
;
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 wxBitmap
* resultptr
= new wxBitmap(*result
);
22533 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22541 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22542 PyObject
*resultobj
= 0;
22543 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22544 wxBitmap
*result
= 0 ;
22547 PyObject
*swig_obj
[1] ;
22549 if (!args
) SWIG_fail
;
22550 swig_obj
[0] = args
;
22551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22552 if (!SWIG_IsOK(res1
)) {
22553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22555 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22560 result
= (wxBitmap
*) &_result_ref
;
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22566 wxBitmap
* resultptr
= new wxBitmap(*result
);
22567 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22575 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22576 PyObject
*resultobj
= 0;
22577 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22581 PyObject
*swig_obj
[1] ;
22583 if (!args
) SWIG_fail
;
22584 swig_obj
[0] = args
;
22585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22586 if (!SWIG_IsOK(res1
)) {
22587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22589 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= (arg1
)->GetBitmap();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22603 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22604 PyObject
*resultobj
= 0;
22605 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22609 PyObject
*swig_obj
[1] ;
22611 if (!args
) SWIG_fail
;
22612 swig_obj
[0] = args
;
22613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22617 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= (arg1
)->GetLabel();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22637 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22638 PyObject
*resultobj
= 0;
22639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22643 PyObject
*swig_obj
[1] ;
22645 if (!args
) SWIG_fail
;
22646 swig_obj
[0] = args
;
22647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22648 if (!SWIG_IsOK(res1
)) {
22649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22651 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= (arg1
)->GetShortHelp();
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22671 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22672 PyObject
*resultobj
= 0;
22673 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22677 PyObject
*swig_obj
[1] ;
22679 if (!args
) SWIG_fail
;
22680 swig_obj
[0] = args
;
22681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22682 if (!SWIG_IsOK(res1
)) {
22683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22685 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 result
= (arg1
)->GetLongHelp();
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22705 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
= 0;
22707 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22714 PyObject
* obj0
= 0 ;
22715 PyObject
* obj1
= 0 ;
22716 char * kwnames
[] = {
22717 (char *) "self",(char *) "enable", NULL
22720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22722 if (!SWIG_IsOK(res1
)) {
22723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22725 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22726 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22727 if (!SWIG_IsOK(ecode2
)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22730 arg2
= static_cast< bool >(val2
);
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= (bool)(arg1
)->Enable(arg2
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22746 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22747 PyObject
*resultobj
= 0;
22748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22751 PyObject
*swig_obj
[1] ;
22753 if (!args
) SWIG_fail
;
22754 swig_obj
[0] = args
;
22755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22756 if (!SWIG_IsOK(res1
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22759 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_Py_Void();
22773 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
= 0;
22775 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 char * kwnames
[] = {
22785 (char *) "self",(char *) "toggle", NULL
22788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22790 if (!SWIG_IsOK(res1
)) {
22791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22793 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22794 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22795 if (!SWIG_IsOK(ecode2
)) {
22796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22798 arg2
= static_cast< bool >(val2
);
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= (bool)(arg1
)->SetToggle(arg2
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22814 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
= 0;
22816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22817 wxString
*arg2
= 0 ;
22821 bool temp2
= false ;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 char * kwnames
[] = {
22825 (char *) "self",(char *) "help", NULL
22828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22830 if (!SWIG_IsOK(res1
)) {
22831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22833 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22835 arg2
= wxString_in_helper(obj1
);
22836 if (arg2
== NULL
) SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22862 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
= 0;
22864 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22865 wxString
*arg2
= 0 ;
22869 bool temp2
= false ;
22870 PyObject
* obj0
= 0 ;
22871 PyObject
* obj1
= 0 ;
22872 char * kwnames
[] = {
22873 (char *) "self",(char *) "help", NULL
22876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22881 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22883 arg2
= wxString_in_helper(obj1
);
22884 if (arg2
== NULL
) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22910 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
= 0;
22912 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22913 wxBitmap
*arg2
= 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char * kwnames
[] = {
22921 (char *) "self",(char *) "bmp", NULL
22924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22929 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22931 if (!SWIG_IsOK(res2
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22937 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_Py_Void();
22951 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
= 0;
22953 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22954 wxBitmap
*arg2
= 0 ;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 char * kwnames
[] = {
22962 (char *) "self",(char *) "bmp", NULL
22965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22967 if (!SWIG_IsOK(res1
)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22970 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22971 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22972 if (!SWIG_IsOK(res2
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22978 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_Py_Void();
22992 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
= 0;
22994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22995 wxString
*arg2
= 0 ;
22998 bool temp2
= false ;
22999 PyObject
* obj0
= 0 ;
23000 PyObject
* obj1
= 0 ;
23001 char * kwnames
[] = {
23002 (char *) "self",(char *) "label", NULL
23005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23007 if (!SWIG_IsOK(res1
)) {
23008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23010 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23012 arg2
= wxString_in_helper(obj1
);
23013 if (arg2
== NULL
) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 (arg1
)->SetLabel((wxString
const &)*arg2
);
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_Py_Void();
23037 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23038 PyObject
*resultobj
= 0;
23039 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23042 PyObject
*swig_obj
[1] ;
23044 if (!args
) SWIG_fail
;
23045 swig_obj
[0] = args
;
23046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23047 if (!SWIG_IsOK(res1
)) {
23048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23050 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_Py_Void();
23064 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
= 0;
23066 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23067 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 char * kwnames
[] = {
23075 (char *) "self",(char *) "tbar", NULL
23078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23083 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23085 if (!SWIG_IsOK(res2
)) {
23086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23088 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 (arg1
)->Attach(arg2
);
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_Py_Void();
23102 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23103 PyObject
*resultobj
= 0;
23104 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23105 PyObject
*result
= 0 ;
23108 PyObject
*swig_obj
[1] ;
23110 if (!args
) SWIG_fail
;
23111 swig_obj
[0] = args
;
23112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23116 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= result
;
23130 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
= 0;
23132 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23133 PyObject
*arg2
= (PyObject
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 char * kwnames
[] = {
23139 (char *) "self",(char *) "clientData", NULL
23142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23144 if (!SWIG_IsOK(res1
)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23147 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 resultobj
= SWIG_Py_Void();
23162 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23165 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23166 return SWIG_Py_Void();
23169 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
= 0;
23171 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23173 wxString
*arg3
= 0 ;
23174 wxBitmap
*arg4
= 0 ;
23175 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23176 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23177 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23178 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23179 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23180 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23182 PyObject
*arg9
= (PyObject
*) NULL
;
23183 wxToolBarToolBase
*result
= 0 ;
23188 bool temp3
= false ;
23195 bool temp7
= false ;
23196 bool temp8
= false ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 PyObject
* obj2
= 0 ;
23200 PyObject
* obj3
= 0 ;
23201 PyObject
* obj4
= 0 ;
23202 PyObject
* obj5
= 0 ;
23203 PyObject
* obj6
= 0 ;
23204 PyObject
* obj7
= 0 ;
23205 PyObject
* obj8
= 0 ;
23206 char * kwnames
[] = {
23207 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23212 if (!SWIG_IsOK(res1
)) {
23213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23215 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23217 if (!SWIG_IsOK(ecode2
)) {
23218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23220 arg2
= static_cast< int >(val2
);
23222 arg3
= wxString_in_helper(obj2
);
23223 if (arg3
== NULL
) SWIG_fail
;
23226 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23227 if (!SWIG_IsOK(res4
)) {
23228 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23233 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23235 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23236 if (!SWIG_IsOK(res5
)) {
23237 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23242 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23245 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23246 if (!SWIG_IsOK(ecode6
)) {
23247 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23249 arg6
= static_cast< wxItemKind
>(val6
);
23253 arg7
= wxString_in_helper(obj6
);
23254 if (arg7
== NULL
) SWIG_fail
;
23260 arg8
= wxString_in_helper(obj7
);
23261 if (arg8
== NULL
) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23307 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
= 0;
23309 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23312 wxString
*arg4
= 0 ;
23313 wxBitmap
*arg5
= 0 ;
23314 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23315 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23316 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23317 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23318 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23319 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23320 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23321 PyObject
*arg10
= (PyObject
*) NULL
;
23322 wxToolBarToolBase
*result
= 0 ;
23329 bool temp4
= false ;
23336 bool temp8
= false ;
23337 bool temp9
= false ;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 PyObject
* obj2
= 0 ;
23341 PyObject
* obj3
= 0 ;
23342 PyObject
* obj4
= 0 ;
23343 PyObject
* obj5
= 0 ;
23344 PyObject
* obj6
= 0 ;
23345 PyObject
* obj7
= 0 ;
23346 PyObject
* obj8
= 0 ;
23347 PyObject
* obj9
= 0 ;
23348 char * kwnames
[] = {
23349 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23357 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23358 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23359 if (!SWIG_IsOK(ecode2
)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23362 arg2
= static_cast< size_t >(val2
);
23363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23364 if (!SWIG_IsOK(ecode3
)) {
23365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23367 arg3
= static_cast< int >(val3
);
23369 arg4
= wxString_in_helper(obj3
);
23370 if (arg4
== NULL
) SWIG_fail
;
23373 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23374 if (!SWIG_IsOK(res5
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23380 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23382 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23383 if (!SWIG_IsOK(res6
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23389 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23392 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23393 if (!SWIG_IsOK(ecode7
)) {
23394 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23396 arg7
= static_cast< wxItemKind
>(val7
);
23400 arg8
= wxString_in_helper(obj7
);
23401 if (arg8
== NULL
) SWIG_fail
;
23407 arg9
= wxString_in_helper(obj8
);
23408 if (arg9
== NULL
) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23454 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
= 0;
23456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23457 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23458 wxToolBarToolBase
*result
= 0 ;
23463 PyObject
* obj0
= 0 ;
23464 PyObject
* obj1
= 0 ;
23465 char * kwnames
[] = {
23466 (char *) "self",(char *) "tool", NULL
23469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23471 if (!SWIG_IsOK(res1
)) {
23472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23474 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23476 if (!SWIG_IsOK(res2
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23479 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23495 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
= 0;
23497 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23499 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23500 wxToolBarToolBase
*result
= 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 PyObject
* obj2
= 0 ;
23510 char * kwnames
[] = {
23511 (char *) "self",(char *) "pos",(char *) "tool", NULL
23514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23519 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23520 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23521 if (!SWIG_IsOK(ecode2
)) {
23522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23524 arg2
= static_cast< size_t >(val2
);
23525 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23526 if (!SWIG_IsOK(res3
)) {
23527 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23529 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23545 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
= 0;
23547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23548 wxControl
*arg2
= (wxControl
*) 0 ;
23549 wxToolBarToolBase
*result
= 0 ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 char * kwnames
[] = {
23557 (char *) "self",(char *) "control", NULL
23560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23562 if (!SWIG_IsOK(res1
)) {
23563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23565 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23567 if (!SWIG_IsOK(res2
)) {
23568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23570 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23586 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
= 0;
23588 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23590 wxControl
*arg3
= (wxControl
*) 0 ;
23591 wxToolBarToolBase
*result
= 0 ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 PyObject
* obj2
= 0 ;
23601 char * kwnames
[] = {
23602 (char *) "self",(char *) "pos",(char *) "control", NULL
23605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23610 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23611 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23612 if (!SWIG_IsOK(ecode2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23615 arg2
= static_cast< size_t >(val2
);
23616 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23617 if (!SWIG_IsOK(res3
)) {
23618 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23620 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23636 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
= 0;
23638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23640 wxControl
*result
= 0 ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 char * kwnames
[] = {
23648 (char *) "self",(char *) "id", NULL
23651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23653 if (!SWIG_IsOK(res1
)) {
23654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23656 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23658 if (!SWIG_IsOK(ecode2
)) {
23659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23661 arg2
= static_cast< int >(val2
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= wxPyMake_wxObject(result
, 0);
23677 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23678 PyObject
*resultobj
= 0;
23679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23680 wxToolBarToolBase
*result
= 0 ;
23683 PyObject
*swig_obj
[1] ;
23685 if (!args
) SWIG_fail
;
23686 swig_obj
[0] = args
;
23687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23688 if (!SWIG_IsOK(res1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23691 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23707 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
= 0;
23709 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23711 wxToolBarToolBase
*result
= 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char * kwnames
[] = {
23719 (char *) "self",(char *) "pos", NULL
23722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23724 if (!SWIG_IsOK(res1
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23727 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23728 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23729 if (!SWIG_IsOK(ecode2
)) {
23730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23732 arg2
= static_cast< size_t >(val2
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23748 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
= 0;
23750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23752 wxToolBarToolBase
*result
= 0 ;
23757 PyObject
* obj0
= 0 ;
23758 PyObject
* obj1
= 0 ;
23759 char * kwnames
[] = {
23760 (char *) "self",(char *) "id", NULL
23763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23765 if (!SWIG_IsOK(res1
)) {
23766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23768 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23770 if (!SWIG_IsOK(ecode2
)) {
23771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23773 arg2
= static_cast< int >(val2
);
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23789 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
= 0;
23791 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 PyObject
* obj1
= 0 ;
23800 char * kwnames
[] = {
23801 (char *) "self",(char *) "pos", NULL
23804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23806 if (!SWIG_IsOK(res1
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23809 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23810 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23811 if (!SWIG_IsOK(ecode2
)) {
23812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23814 arg2
= static_cast< size_t >(val2
);
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23830 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
= 0;
23832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23839 PyObject
* obj0
= 0 ;
23840 PyObject
* obj1
= 0 ;
23841 char * kwnames
[] = {
23842 (char *) "self",(char *) "id", NULL
23845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23847 if (!SWIG_IsOK(res1
)) {
23848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23850 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23852 if (!SWIG_IsOK(ecode2
)) {
23853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23855 arg2
= static_cast< int >(val2
);
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= (bool)(arg1
)->DeleteTool(arg2
);
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23871 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23872 PyObject
*resultobj
= 0;
23873 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23876 PyObject
*swig_obj
[1] ;
23878 if (!args
) SWIG_fail
;
23879 swig_obj
[0] = args
;
23880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23881 if (!SWIG_IsOK(res1
)) {
23882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23884 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 (arg1
)->ClearTools();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_Py_Void();
23898 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23899 PyObject
*resultobj
= 0;
23900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23904 PyObject
*swig_obj
[1] ;
23906 if (!args
) SWIG_fail
;
23907 swig_obj
[0] = args
;
23908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23909 if (!SWIG_IsOK(res1
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23912 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (bool)(arg1
)->Realize();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23928 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
= 0;
23930 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 PyObject
* obj2
= 0 ;
23942 char * kwnames
[] = {
23943 (char *) "self",(char *) "id",(char *) "enable", NULL
23946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23948 if (!SWIG_IsOK(res1
)) {
23949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23951 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23953 if (!SWIG_IsOK(ecode2
)) {
23954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
23956 arg2
= static_cast< int >(val2
);
23957 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23958 if (!SWIG_IsOK(ecode3
)) {
23959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
23961 arg3
= static_cast< bool >(val3
);
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 (arg1
)->EnableTool(arg2
,arg3
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_Py_Void();
23975 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
= 0;
23977 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 PyObject
* obj2
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "self",(char *) "id",(char *) "toggle", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23998 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24000 if (!SWIG_IsOK(ecode2
)) {
24001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24003 arg2
= static_cast< int >(val2
);
24004 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24005 if (!SWIG_IsOK(ecode3
)) {
24006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24008 arg3
= static_cast< bool >(val3
);
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 (arg1
)->ToggleTool(arg2
,arg3
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 resultobj
= SWIG_Py_Void();
24022 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
= 0;
24024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 PyObject
* obj2
= 0 ;
24036 char * kwnames
[] = {
24037 (char *) "self",(char *) "id",(char *) "toggle", NULL
24040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24042 if (!SWIG_IsOK(res1
)) {
24043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24045 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24047 if (!SWIG_IsOK(ecode2
)) {
24048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24050 arg2
= static_cast< int >(val2
);
24051 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24052 if (!SWIG_IsOK(ecode3
)) {
24053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24055 arg3
= static_cast< bool >(val3
);
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->SetToggle(arg2
,arg3
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= SWIG_Py_Void();
24069 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
= 0;
24071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24073 PyObject
*result
= 0 ;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 char * kwnames
[] = {
24081 (char *) "self",(char *) "id", NULL
24084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24086 if (!SWIG_IsOK(res1
)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24089 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24091 if (!SWIG_IsOK(ecode2
)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24094 arg2
= static_cast< int >(val2
);
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= result
;
24108 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
= 0;
24110 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24112 PyObject
*arg3
= (PyObject
*) 0 ;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 PyObject
* obj2
= 0 ;
24120 char * kwnames
[] = {
24121 (char *) "self",(char *) "id",(char *) "clientData", NULL
24124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24126 if (!SWIG_IsOK(res1
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24129 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24131 if (!SWIG_IsOK(ecode2
)) {
24132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24134 arg2
= static_cast< int >(val2
);
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= SWIG_Py_Void();
24149 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
= 0;
24151 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char * kwnames
[] = {
24161 (char *) "self",(char *) "id", NULL
24164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24166 if (!SWIG_IsOK(res1
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24169 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24171 if (!SWIG_IsOK(ecode2
)) {
24172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24174 arg2
= static_cast< int >(val2
);
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= SWIG_From_int(static_cast< int >(result
));
24188 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
= 0;
24190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 char * kwnames
[] = {
24200 (char *) "self",(char *) "id", NULL
24203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24205 if (!SWIG_IsOK(res1
)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24208 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24210 if (!SWIG_IsOK(ecode2
)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24213 arg2
= static_cast< int >(val2
);
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= (bool)(arg1
)->GetToolState(arg2
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24229 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= 0;
24231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char * kwnames
[] = {
24241 (char *) "self",(char *) "id", NULL
24244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24249 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24251 if (!SWIG_IsOK(ecode2
)) {
24252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24254 arg2
= static_cast< int >(val2
);
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24270 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
= 0;
24272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24274 wxString
*arg3
= 0 ;
24279 bool temp3
= false ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 PyObject
* obj2
= 0 ;
24283 char * kwnames
[] = {
24284 (char *) "self",(char *) "id",(char *) "helpString", NULL
24287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24289 if (!SWIG_IsOK(res1
)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24292 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24294 if (!SWIG_IsOK(ecode2
)) {
24295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24297 arg2
= static_cast< int >(val2
);
24299 arg3
= wxString_in_helper(obj2
);
24300 if (arg3
== NULL
) SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_Py_Void();
24324 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= 0;
24326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 char * kwnames
[] = {
24336 (char *) "self",(char *) "id", NULL
24339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24341 if (!SWIG_IsOK(res1
)) {
24342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24344 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24346 if (!SWIG_IsOK(ecode2
)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24349 arg2
= static_cast< int >(val2
);
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 result
= (arg1
)->GetToolShortHelp(arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24369 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
= 0;
24371 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24373 wxString
*arg3
= 0 ;
24378 bool temp3
= false ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24381 PyObject
* obj2
= 0 ;
24382 char * kwnames
[] = {
24383 (char *) "self",(char *) "id",(char *) "helpString", NULL
24386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24388 if (!SWIG_IsOK(res1
)) {
24389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24391 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24393 if (!SWIG_IsOK(ecode2
)) {
24394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24396 arg2
= static_cast< int >(val2
);
24398 arg3
= wxString_in_helper(obj2
);
24399 if (arg3
== NULL
) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= SWIG_Py_Void();
24423 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
= 0;
24425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char * kwnames
[] = {
24435 (char *) "self",(char *) "id", NULL
24438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24443 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24445 if (!SWIG_IsOK(ecode2
)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24448 arg2
= static_cast< int >(val2
);
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (arg1
)->GetToolLongHelp(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24468 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
= 0;
24470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 PyObject
* obj2
= 0 ;
24482 char * kwnames
[] = {
24483 (char *) "self",(char *) "x",(char *) "y", NULL
24486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24488 if (!SWIG_IsOK(res1
)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24491 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24493 if (!SWIG_IsOK(ecode2
)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24496 arg2
= static_cast< int >(val2
);
24497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24498 if (!SWIG_IsOK(ecode3
)) {
24499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24501 arg3
= static_cast< int >(val3
);
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 (arg1
)->SetMargins(arg2
,arg3
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= SWIG_Py_Void();
24515 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
= 0;
24517 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 char * kwnames
[] = {
24525 (char *) "self",(char *) "size", NULL
24528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24530 if (!SWIG_IsOK(res1
)) {
24531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24533 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24536 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= SWIG_Py_Void();
24551 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
= 0;
24553 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 char * kwnames
[] = {
24562 (char *) "self",(char *) "packing", NULL
24565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24567 if (!SWIG_IsOK(res1
)) {
24568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24570 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24572 if (!SWIG_IsOK(ecode2
)) {
24573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24575 arg2
= static_cast< int >(val2
);
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 (arg1
)->SetToolPacking(arg2
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= SWIG_Py_Void();
24589 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= 0;
24591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 char * kwnames
[] = {
24600 (char *) "self",(char *) "separation", NULL
24603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24605 if (!SWIG_IsOK(res1
)) {
24606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24608 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24610 if (!SWIG_IsOK(ecode2
)) {
24611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24613 arg2
= static_cast< int >(val2
);
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 (arg1
)->SetToolSeparation(arg2
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= SWIG_Py_Void();
24627 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24628 PyObject
*resultobj
= 0;
24629 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24633 PyObject
*swig_obj
[1] ;
24635 if (!args
) SWIG_fail
;
24636 swig_obj
[0] = args
;
24637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24641 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (arg1
)->GetToolMargins();
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24655 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24656 PyObject
*resultobj
= 0;
24657 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24661 PyObject
*swig_obj
[1] ;
24663 if (!args
) SWIG_fail
;
24664 swig_obj
[0] = args
;
24665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24666 if (!SWIG_IsOK(res1
)) {
24667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24669 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (arg1
)->GetMargins();
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24683 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24684 PyObject
*resultobj
= 0;
24685 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24689 PyObject
*swig_obj
[1] ;
24691 if (!args
) SWIG_fail
;
24692 swig_obj
[0] = args
;
24693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24694 if (!SWIG_IsOK(res1
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24697 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 result
= (int)(arg1
)->GetToolPacking();
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 resultobj
= SWIG_From_int(static_cast< int >(result
));
24711 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24712 PyObject
*resultobj
= 0;
24713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24717 PyObject
*swig_obj
[1] ;
24719 if (!args
) SWIG_fail
;
24720 swig_obj
[0] = args
;
24721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24722 if (!SWIG_IsOK(res1
)) {
24723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24725 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (int)(arg1
)->GetToolSeparation();
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_From_int(static_cast< int >(result
));
24739 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= 0;
24741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 PyObject
* obj1
= 0 ;
24749 char * kwnames
[] = {
24750 (char *) "self",(char *) "nRows", NULL
24753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24755 if (!SWIG_IsOK(res1
)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24758 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24760 if (!SWIG_IsOK(ecode2
)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24763 arg2
= static_cast< int >(val2
);
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 (arg1
)->SetRows(arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_Py_Void();
24777 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
= 0;
24779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 PyObject
* obj2
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "rows",(char *) "cols", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24800 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24802 if (!SWIG_IsOK(ecode2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24805 arg2
= static_cast< int >(val2
);
24806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24807 if (!SWIG_IsOK(ecode3
)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24810 arg3
= static_cast< int >(val3
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_Py_Void();
24824 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 PyObject
*resultobj
= 0;
24826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24830 PyObject
*swig_obj
[1] ;
24832 if (!args
) SWIG_fail
;
24833 swig_obj
[0] = args
;
24834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24835 if (!SWIG_IsOK(res1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24838 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (int)(arg1
)->GetMaxRows();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_From_int(static_cast< int >(result
));
24852 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24853 PyObject
*resultobj
= 0;
24854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24858 PyObject
*swig_obj
[1] ;
24860 if (!args
) SWIG_fail
;
24861 swig_obj
[0] = args
;
24862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24863 if (!SWIG_IsOK(res1
)) {
24864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24866 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (int)(arg1
)->GetMaxCols();
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_From_int(static_cast< int >(result
));
24880 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
= 0;
24882 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 char * kwnames
[] = {
24890 (char *) "self",(char *) "size", NULL
24893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24895 if (!SWIG_IsOK(res1
)) {
24896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24898 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= SWIG_Py_Void();
24916 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(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_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24930 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 result
= (arg1
)->GetToolBitmapSize();
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_GetToolSize(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_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24958 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 result
= (arg1
)->GetToolSize();
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_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
= 0;
24974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24977 wxToolBarToolBase
*result
= 0 ;
24984 PyObject
* obj0
= 0 ;
24985 PyObject
* obj1
= 0 ;
24986 PyObject
* obj2
= 0 ;
24987 char * kwnames
[] = {
24988 (char *) "self",(char *) "x",(char *) "y", NULL
24991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24993 if (!SWIG_IsOK(res1
)) {
24994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24996 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24998 if (!SWIG_IsOK(ecode2
)) {
24999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25001 arg2
= static_cast< int >(val2
);
25002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25003 if (!SWIG_IsOK(ecode3
)) {
25004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25006 arg3
= static_cast< int >(val3
);
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25014 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25022 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
= 0;
25024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25026 wxToolBarToolBase
*result
= 0 ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char * kwnames
[] = {
25034 (char *) "self",(char *) "toolid", NULL
25037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25039 if (!SWIG_IsOK(res1
)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25042 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25044 if (!SWIG_IsOK(ecode2
)) {
25045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25047 arg2
= static_cast< int >(val2
);
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25063 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25064 PyObject
*resultobj
= 0;
25065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25069 PyObject
*swig_obj
[1] ;
25071 if (!args
) SWIG_fail
;
25072 swig_obj
[0] = args
;
25073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25074 if (!SWIG_IsOK(res1
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25077 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 result
= (bool)(arg1
)->IsVertical();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25093 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25094 PyObject
*resultobj
= 0;
25095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25099 PyObject
*swig_obj
[1] ;
25101 if (!args
) SWIG_fail
;
25102 swig_obj
[0] = args
;
25103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25104 if (!SWIG_IsOK(res1
)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25107 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25121 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25124 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25125 return SWIG_Py_Void();
25128 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
= 0;
25130 wxWindow
*arg1
= (wxWindow
*) 0 ;
25131 int arg2
= (int) -1 ;
25132 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25133 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25134 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25135 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25136 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25137 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25138 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25139 wxToolBar
*result
= 0 ;
25148 bool temp6
= false ;
25149 PyObject
* obj0
= 0 ;
25150 PyObject
* obj1
= 0 ;
25151 PyObject
* obj2
= 0 ;
25152 PyObject
* obj3
= 0 ;
25153 PyObject
* obj4
= 0 ;
25154 PyObject
* obj5
= 0 ;
25155 char * kwnames
[] = {
25156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25161 if (!SWIG_IsOK(res1
)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25167 if (!SWIG_IsOK(ecode2
)) {
25168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25170 arg2
= static_cast< int >(val2
);
25175 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25181 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25185 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25186 if (!SWIG_IsOK(ecode5
)) {
25187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25189 arg5
= static_cast< long >(val5
);
25193 arg6
= wxString_in_helper(obj5
);
25194 if (arg6
== NULL
) SWIG_fail
;
25199 if (!wxPyCheckForApp()) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25220 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25221 PyObject
*resultobj
= 0;
25222 wxToolBar
*result
= 0 ;
25224 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25226 if (!wxPyCheckForApp()) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (wxToolBar
*)new wxToolBar();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25239 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
= 0;
25241 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25242 wxWindow
*arg2
= (wxWindow
*) 0 ;
25243 int arg3
= (int) -1 ;
25244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25248 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25249 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25250 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25262 bool temp7
= false ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 PyObject
* obj2
= 0 ;
25266 PyObject
* obj3
= 0 ;
25267 PyObject
* obj4
= 0 ;
25268 PyObject
* obj5
= 0 ;
25269 PyObject
* obj6
= 0 ;
25270 char * kwnames
[] = {
25271 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25276 if (!SWIG_IsOK(res1
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25279 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25281 if (!SWIG_IsOK(res2
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25287 if (!SWIG_IsOK(ecode3
)) {
25288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25290 arg3
= static_cast< int >(val3
);
25295 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25301 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25305 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25306 if (!SWIG_IsOK(ecode6
)) {
25307 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25309 arg6
= static_cast< long >(val6
);
25313 arg7
= wxString_in_helper(obj6
);
25314 if (arg7
== NULL
) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25341 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
= 0;
25343 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25344 SwigValueWrapper
<wxVisualAttributes
> result
;
25347 PyObject
* obj0
= 0 ;
25348 char * kwnames
[] = {
25349 (char *) "variant", NULL
25352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25354 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25355 if (!SWIG_IsOK(ecode1
)) {
25356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25358 arg1
= static_cast< wxWindowVariant
>(val1
);
25361 if (!wxPyCheckForApp()) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25374 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25377 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25378 return SWIG_Py_Void();
25381 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25382 return SWIG_Python_InitShadowInstance(args
);
25385 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25386 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25391 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25392 PyObject
*pyobj
= 0;
25396 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25398 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25405 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
= 0;
25407 wxColour
const &arg1_defvalue
= wxNullColour
;
25408 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25409 wxColour
const &arg2_defvalue
= wxNullColour
;
25410 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25411 wxFont
const &arg3_defvalue
= wxNullFont
;
25412 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25413 wxListItemAttr
*result
= 0 ;
25418 PyObject
* obj0
= 0 ;
25419 PyObject
* obj1
= 0 ;
25420 PyObject
* obj2
= 0 ;
25421 char * kwnames
[] = {
25422 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25429 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25439 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25440 if (!SWIG_IsOK(res3
)) {
25441 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25446 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25461 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25462 PyObject
*resultobj
= 0;
25463 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25466 PyObject
*swig_obj
[1] ;
25468 if (!args
) SWIG_fail
;
25469 swig_obj
[0] = args
;
25470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25474 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_Py_Void();
25489 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
= 0;
25491 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25492 wxColour
*arg2
= 0 ;
25496 PyObject
* obj0
= 0 ;
25497 PyObject
* obj1
= 0 ;
25498 char * kwnames
[] = {
25499 (char *) "self",(char *) "colText", NULL
25502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25504 if (!SWIG_IsOK(res1
)) {
25505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25507 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_Py_Void();
25525 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
= 0;
25527 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25528 wxColour
*arg2
= 0 ;
25532 PyObject
* obj0
= 0 ;
25533 PyObject
* obj1
= 0 ;
25534 char * kwnames
[] = {
25535 (char *) "self",(char *) "colBack", NULL
25538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25540 if (!SWIG_IsOK(res1
)) {
25541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25543 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_Py_Void();
25561 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
= 0;
25563 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char * kwnames
[] = {
25572 (char *) "self",(char *) "font", NULL
25575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25577 if (!SWIG_IsOK(res1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25580 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25582 if (!SWIG_IsOK(res2
)) {
25583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25588 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 (arg1
)->SetFont((wxFont
const &)*arg2
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_Py_Void();
25602 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25603 PyObject
*resultobj
= 0;
25604 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25608 PyObject
*swig_obj
[1] ;
25610 if (!args
) SWIG_fail
;
25611 swig_obj
[0] = args
;
25612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25613 if (!SWIG_IsOK(res1
)) {
25614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25616 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= (bool)(arg1
)->HasTextColour();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25632 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25633 PyObject
*resultobj
= 0;
25634 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25638 PyObject
*swig_obj
[1] ;
25640 if (!args
) SWIG_fail
;
25641 swig_obj
[0] = args
;
25642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25643 if (!SWIG_IsOK(res1
)) {
25644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25646 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (bool)(arg1
)->HasBackgroundColour();
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25662 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25663 PyObject
*resultobj
= 0;
25664 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25668 PyObject
*swig_obj
[1] ;
25670 if (!args
) SWIG_fail
;
25671 swig_obj
[0] = args
;
25672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25673 if (!SWIG_IsOK(res1
)) {
25674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25676 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (bool)(arg1
)->HasFont();
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25692 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25693 PyObject
*resultobj
= 0;
25694 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25698 PyObject
*swig_obj
[1] ;
25700 if (!args
) SWIG_fail
;
25701 swig_obj
[0] = args
;
25702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25703 if (!SWIG_IsOK(res1
)) {
25704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25706 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (arg1
)->GetTextColour();
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25720 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25721 PyObject
*resultobj
= 0;
25722 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25726 PyObject
*swig_obj
[1] ;
25728 if (!args
) SWIG_fail
;
25729 swig_obj
[0] = args
;
25730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25731 if (!SWIG_IsOK(res1
)) {
25732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25734 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (arg1
)->GetBackgroundColour();
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25741 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25748 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25749 PyObject
*resultobj
= 0;
25750 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25754 PyObject
*swig_obj
[1] ;
25756 if (!args
) SWIG_fail
;
25757 swig_obj
[0] = args
;
25758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25762 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= (arg1
)->GetFont();
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25776 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
= 0;
25778 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25779 wxListItemAttr
*arg2
= 0 ;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 char * kwnames
[] = {
25787 (char *) "self",(char *) "source", NULL
25790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25792 if (!SWIG_IsOK(res1
)) {
25793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25795 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25797 if (!SWIG_IsOK(res2
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25803 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_Py_Void();
25817 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25818 PyObject
*resultobj
= 0;
25819 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25822 PyObject
*swig_obj
[1] ;
25824 if (!args
) SWIG_fail
;
25825 swig_obj
[0] = args
;
25826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25827 if (!SWIG_IsOK(res1
)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25830 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 wxListItemAttr_Destroy(arg1
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= SWIG_Py_Void();
25844 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25847 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25848 return SWIG_Py_Void();
25851 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25852 return SWIG_Python_InitShadowInstance(args
);
25855 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25856 PyObject
*resultobj
= 0;
25857 wxListItem
*result
= 0 ;
25859 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (wxListItem
*)new wxListItem();
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
25875 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25876 PyObject
*resultobj
= 0;
25877 wxListItem
*arg1
= (wxListItem
*) 0 ;
25880 PyObject
*swig_obj
[1] ;
25882 if (!args
) SWIG_fail
;
25883 swig_obj
[0] = args
;
25884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
25888 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= SWIG_Py_Void();
25903 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25904 PyObject
*resultobj
= 0;
25905 wxListItem
*arg1
= (wxListItem
*) 0 ;
25908 PyObject
*swig_obj
[1] ;
25910 if (!args
) SWIG_fail
;
25911 swig_obj
[0] = args
;
25912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
25916 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_Py_Void();
25930 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25931 PyObject
*resultobj
= 0;
25932 wxListItem
*arg1
= (wxListItem
*) 0 ;
25935 PyObject
*swig_obj
[1] ;
25937 if (!args
) SWIG_fail
;
25938 swig_obj
[0] = args
;
25939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25940 if (!SWIG_IsOK(res1
)) {
25941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
25943 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 (arg1
)->ClearAttributes();
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_Py_Void();
25957 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
= 0;
25959 wxListItem
*arg1
= (wxListItem
*) 0 ;
25965 PyObject
* obj0
= 0 ;
25966 PyObject
* obj1
= 0 ;
25967 char * kwnames
[] = {
25968 (char *) "self",(char *) "mask", NULL
25971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25973 if (!SWIG_IsOK(res1
)) {
25974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
25976 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25977 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25978 if (!SWIG_IsOK(ecode2
)) {
25979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
25981 arg2
= static_cast< long >(val2
);
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 (arg1
)->SetMask(arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_Py_Void();
25995 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
= 0;
25997 wxListItem
*arg1
= (wxListItem
*) 0 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj1
= 0 ;
26005 char * kwnames
[] = {
26006 (char *) "self",(char *) "id", NULL
26009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26011 if (!SWIG_IsOK(res1
)) {
26012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26014 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26016 if (!SWIG_IsOK(ecode2
)) {
26017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26019 arg2
= static_cast< long >(val2
);
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 (arg1
)->SetId(arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 resultobj
= SWIG_Py_Void();
26033 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
= 0;
26035 wxListItem
*arg1
= (wxListItem
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char * kwnames
[] = {
26044 (char *) "self",(char *) "col", NULL
26047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26052 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26054 if (!SWIG_IsOK(ecode2
)) {
26055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26057 arg2
= static_cast< int >(val2
);
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->SetColumn(arg2
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_Py_Void();
26071 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
= 0;
26073 wxListItem
*arg1
= (wxListItem
*) 0 ;
26079 PyObject
* obj0
= 0 ;
26080 PyObject
* obj1
= 0 ;
26081 char * kwnames
[] = {
26082 (char *) "self",(char *) "state", NULL
26085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26090 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26091 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26092 if (!SWIG_IsOK(ecode2
)) {
26093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26095 arg2
= static_cast< long >(val2
);
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 (arg1
)->SetState(arg2
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_Py_Void();
26109 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
= 0;
26111 wxListItem
*arg1
= (wxListItem
*) 0 ;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj1
= 0 ;
26119 char * kwnames
[] = {
26120 (char *) "self",(char *) "stateMask", NULL
26123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26125 if (!SWIG_IsOK(res1
)) {
26126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26128 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26129 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26130 if (!SWIG_IsOK(ecode2
)) {
26131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26133 arg2
= static_cast< long >(val2
);
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 (arg1
)->SetStateMask(arg2
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= SWIG_Py_Void();
26147 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
= 0;
26149 wxListItem
*arg1
= (wxListItem
*) 0 ;
26150 wxString
*arg2
= 0 ;
26153 bool temp2
= false ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char * kwnames
[] = {
26157 (char *) "self",(char *) "text", NULL
26160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26162 if (!SWIG_IsOK(res1
)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26167 arg2
= wxString_in_helper(obj1
);
26168 if (arg2
== NULL
) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->SetText((wxString
const &)*arg2
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_Py_Void();
26192 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
= 0;
26194 wxListItem
*arg1
= (wxListItem
*) 0 ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 char * kwnames
[] = {
26203 (char *) "self",(char *) "image", NULL
26206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26211 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26213 if (!SWIG_IsOK(ecode2
)) {
26214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26216 arg2
= static_cast< int >(val2
);
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 (arg1
)->SetImage(arg2
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_Py_Void();
26230 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
= 0;
26232 wxListItem
*arg1
= (wxListItem
*) 0 ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 char * kwnames
[] = {
26241 (char *) "self",(char *) "data", NULL
26244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26249 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26250 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26251 if (!SWIG_IsOK(ecode2
)) {
26252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26254 arg2
= static_cast< long >(val2
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 (arg1
)->SetData(arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= SWIG_Py_Void();
26268 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
= 0;
26270 wxListItem
*arg1
= (wxListItem
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char * kwnames
[] = {
26279 (char *) "self",(char *) "width", NULL
26282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26284 if (!SWIG_IsOK(res1
)) {
26285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26287 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26289 if (!SWIG_IsOK(ecode2
)) {
26290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26292 arg2
= static_cast< int >(val2
);
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 (arg1
)->SetWidth(arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_Py_Void();
26306 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
= 0;
26308 wxListItem
*arg1
= (wxListItem
*) 0 ;
26309 wxListColumnFormat arg2
;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 char * kwnames
[] = {
26317 (char *) "self",(char *) "align", NULL
26320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26322 if (!SWIG_IsOK(res1
)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26325 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26327 if (!SWIG_IsOK(ecode2
)) {
26328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26330 arg2
= static_cast< wxListColumnFormat
>(val2
);
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 (arg1
)->SetAlign(arg2
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_Py_Void();
26344 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
= 0;
26346 wxListItem
*arg1
= (wxListItem
*) 0 ;
26347 wxColour
*arg2
= 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char * kwnames
[] = {
26354 (char *) "self",(char *) "colText", NULL
26357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26362 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26380 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
= 0;
26382 wxListItem
*arg1
= (wxListItem
*) 0 ;
26383 wxColour
*arg2
= 0 ;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 char * kwnames
[] = {
26390 (char *) "self",(char *) "colBack", NULL
26393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26398 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxListItem
*arg1
= (wxListItem
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char * kwnames
[] = {
26427 (char *) "self",(char *) "font", NULL
26430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26435 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26437 if (!SWIG_IsOK(res2
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26443 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 (arg1
)->SetFont((wxFont
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_Py_Void();
26457 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 PyObject
*resultobj
= 0;
26459 wxListItem
*arg1
= (wxListItem
*) 0 ;
26463 PyObject
*swig_obj
[1] ;
26465 if (!args
) SWIG_fail
;
26466 swig_obj
[0] = args
;
26467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26471 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (long)(arg1
)->GetMask();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= SWIG_From_long(static_cast< long >(result
));
26485 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26486 PyObject
*resultobj
= 0;
26487 wxListItem
*arg1
= (wxListItem
*) 0 ;
26491 PyObject
*swig_obj
[1] ;
26493 if (!args
) SWIG_fail
;
26494 swig_obj
[0] = args
;
26495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26496 if (!SWIG_IsOK(res1
)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26499 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (long)(arg1
)->GetId();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= SWIG_From_long(static_cast< long >(result
));
26513 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26514 PyObject
*resultobj
= 0;
26515 wxListItem
*arg1
= (wxListItem
*) 0 ;
26519 PyObject
*swig_obj
[1] ;
26521 if (!args
) SWIG_fail
;
26522 swig_obj
[0] = args
;
26523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26524 if (!SWIG_IsOK(res1
)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26527 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 result
= (int)(arg1
)->GetColumn();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_From_int(static_cast< int >(result
));
26541 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26542 PyObject
*resultobj
= 0;
26543 wxListItem
*arg1
= (wxListItem
*) 0 ;
26547 PyObject
*swig_obj
[1] ;
26549 if (!args
) SWIG_fail
;
26550 swig_obj
[0] = args
;
26551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26555 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= (long)(arg1
)->GetState();
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= SWIG_From_long(static_cast< long >(result
));
26569 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26570 PyObject
*resultobj
= 0;
26571 wxListItem
*arg1
= (wxListItem
*) 0 ;
26572 wxString
*result
= 0 ;
26575 PyObject
*swig_obj
[1] ;
26577 if (!args
) SWIG_fail
;
26578 swig_obj
[0] = args
;
26579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26583 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 wxString
const &_result_ref
= (arg1
)->GetText();
26588 result
= (wxString
*) &_result_ref
;
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26597 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26606 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26607 PyObject
*resultobj
= 0;
26608 wxListItem
*arg1
= (wxListItem
*) 0 ;
26612 PyObject
*swig_obj
[1] ;
26614 if (!args
) SWIG_fail
;
26615 swig_obj
[0] = args
;
26616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26620 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 result
= (int)(arg1
)->GetImage();
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 resultobj
= SWIG_From_int(static_cast< int >(result
));
26634 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26635 PyObject
*resultobj
= 0;
26636 wxListItem
*arg1
= (wxListItem
*) 0 ;
26640 PyObject
*swig_obj
[1] ;
26642 if (!args
) SWIG_fail
;
26643 swig_obj
[0] = args
;
26644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26645 if (!SWIG_IsOK(res1
)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26648 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 result
= (long)(arg1
)->GetData();
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_From_long(static_cast< long >(result
));
26662 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 PyObject
*resultobj
= 0;
26664 wxListItem
*arg1
= (wxListItem
*) 0 ;
26668 PyObject
*swig_obj
[1] ;
26670 if (!args
) SWIG_fail
;
26671 swig_obj
[0] = args
;
26672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26676 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (int)(arg1
)->GetWidth();
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= SWIG_From_int(static_cast< int >(result
));
26690 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26691 PyObject
*resultobj
= 0;
26692 wxListItem
*arg1
= (wxListItem
*) 0 ;
26693 wxListColumnFormat result
;
26696 PyObject
*swig_obj
[1] ;
26698 if (!args
) SWIG_fail
;
26699 swig_obj
[0] = args
;
26700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26704 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 resultobj
= SWIG_From_int(static_cast< int >(result
));
26718 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26719 PyObject
*resultobj
= 0;
26720 wxListItem
*arg1
= (wxListItem
*) 0 ;
26721 wxListItemAttr
*result
= 0 ;
26724 PyObject
*swig_obj
[1] ;
26726 if (!args
) SWIG_fail
;
26727 swig_obj
[0] = args
;
26728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26729 if (!SWIG_IsOK(res1
)) {
26730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26732 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26746 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(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_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26760 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (bool)(arg1
)->HasAttributes();
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26776 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26777 PyObject
*resultobj
= 0;
26778 wxListItem
*arg1
= (wxListItem
*) 0 ;
26782 PyObject
*swig_obj
[1] ;
26784 if (!args
) SWIG_fail
;
26785 swig_obj
[0] = args
;
26786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26787 if (!SWIG_IsOK(res1
)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26790 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26804 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26805 PyObject
*resultobj
= 0;
26806 wxListItem
*arg1
= (wxListItem
*) 0 ;
26810 PyObject
*swig_obj
[1] ;
26812 if (!args
) SWIG_fail
;
26813 swig_obj
[0] = args
;
26814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26815 if (!SWIG_IsOK(res1
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26818 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26832 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26833 PyObject
*resultobj
= 0;
26834 wxListItem
*arg1
= (wxListItem
*) 0 ;
26838 PyObject
*swig_obj
[1] ;
26840 if (!args
) SWIG_fail
;
26841 swig_obj
[0] = args
;
26842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26843 if (!SWIG_IsOK(res1
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26846 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= ((wxListItem
const *)arg1
)->GetFont();
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26860 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26861 PyObject
*resultobj
= 0;
26862 wxListItem
*arg1
= (wxListItem
*) 0 ;
26868 PyObject
*swig_obj
[2] ;
26870 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
26871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26872 if (!SWIG_IsOK(res1
)) {
26873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26875 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26876 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26877 if (!SWIG_IsOK(ecode2
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
26880 arg2
= static_cast< long >(val2
);
26881 if (arg1
) (arg1
)->m_mask
= arg2
;
26883 resultobj
= SWIG_Py_Void();
26890 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26891 PyObject
*resultobj
= 0;
26892 wxListItem
*arg1
= (wxListItem
*) 0 ;
26896 PyObject
*swig_obj
[1] ;
26898 if (!args
) SWIG_fail
;
26899 swig_obj
[0] = args
;
26900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26901 if (!SWIG_IsOK(res1
)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26904 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26905 result
= (long) ((arg1
)->m_mask
);
26906 resultobj
= SWIG_From_long(static_cast< long >(result
));
26913 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26914 PyObject
*resultobj
= 0;
26915 wxListItem
*arg1
= (wxListItem
*) 0 ;
26921 PyObject
*swig_obj
[2] ;
26923 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
26924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26925 if (!SWIG_IsOK(res1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26928 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26929 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26930 if (!SWIG_IsOK(ecode2
)) {
26931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
26933 arg2
= static_cast< long >(val2
);
26934 if (arg1
) (arg1
)->m_itemId
= arg2
;
26936 resultobj
= SWIG_Py_Void();
26943 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26944 PyObject
*resultobj
= 0;
26945 wxListItem
*arg1
= (wxListItem
*) 0 ;
26949 PyObject
*swig_obj
[1] ;
26951 if (!args
) SWIG_fail
;
26952 swig_obj
[0] = args
;
26953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26954 if (!SWIG_IsOK(res1
)) {
26955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26957 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26958 result
= (long) ((arg1
)->m_itemId
);
26959 resultobj
= SWIG_From_long(static_cast< long >(result
));
26966 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 PyObject
*resultobj
= 0;
26968 wxListItem
*arg1
= (wxListItem
*) 0 ;
26974 PyObject
*swig_obj
[2] ;
26976 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
26977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26978 if (!SWIG_IsOK(res1
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26981 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26982 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
26983 if (!SWIG_IsOK(ecode2
)) {
26984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
26986 arg2
= static_cast< int >(val2
);
26987 if (arg1
) (arg1
)->m_col
= arg2
;
26989 resultobj
= SWIG_Py_Void();
26996 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26997 PyObject
*resultobj
= 0;
26998 wxListItem
*arg1
= (wxListItem
*) 0 ;
27002 PyObject
*swig_obj
[1] ;
27004 if (!args
) SWIG_fail
;
27005 swig_obj
[0] = args
;
27006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27007 if (!SWIG_IsOK(res1
)) {
27008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27010 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27011 result
= (int) ((arg1
)->m_col
);
27012 resultobj
= SWIG_From_int(static_cast< int >(result
));
27019 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27020 PyObject
*resultobj
= 0;
27021 wxListItem
*arg1
= (wxListItem
*) 0 ;
27027 PyObject
*swig_obj
[2] ;
27029 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27034 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27035 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27036 if (!SWIG_IsOK(ecode2
)) {
27037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27039 arg2
= static_cast< long >(val2
);
27040 if (arg1
) (arg1
)->m_state
= arg2
;
27042 resultobj
= SWIG_Py_Void();
27049 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27050 PyObject
*resultobj
= 0;
27051 wxListItem
*arg1
= (wxListItem
*) 0 ;
27055 PyObject
*swig_obj
[1] ;
27057 if (!args
) SWIG_fail
;
27058 swig_obj
[0] = args
;
27059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27060 if (!SWIG_IsOK(res1
)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27063 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27064 result
= (long) ((arg1
)->m_state
);
27065 resultobj
= SWIG_From_long(static_cast< long >(result
));
27072 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27073 PyObject
*resultobj
= 0;
27074 wxListItem
*arg1
= (wxListItem
*) 0 ;
27080 PyObject
*swig_obj
[2] ;
27082 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27084 if (!SWIG_IsOK(res1
)) {
27085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27087 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27088 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27089 if (!SWIG_IsOK(ecode2
)) {
27090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27092 arg2
= static_cast< long >(val2
);
27093 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27095 resultobj
= SWIG_Py_Void();
27102 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27103 PyObject
*resultobj
= 0;
27104 wxListItem
*arg1
= (wxListItem
*) 0 ;
27108 PyObject
*swig_obj
[1] ;
27110 if (!args
) SWIG_fail
;
27111 swig_obj
[0] = args
;
27112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27113 if (!SWIG_IsOK(res1
)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27116 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27117 result
= (long) ((arg1
)->m_stateMask
);
27118 resultobj
= SWIG_From_long(static_cast< long >(result
));
27125 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27126 PyObject
*resultobj
= 0;
27127 wxListItem
*arg1
= (wxListItem
*) 0 ;
27128 wxString
*arg2
= (wxString
*) 0 ;
27131 bool temp2
= false ;
27132 PyObject
*swig_obj
[2] ;
27134 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27136 if (!SWIG_IsOK(res1
)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27139 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27141 arg2
= wxString_in_helper(swig_obj
[1]);
27142 if (arg2
== NULL
) SWIG_fail
;
27145 if (arg1
) (arg1
)->m_text
= *arg2
;
27147 resultobj
= SWIG_Py_Void();
27162 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27163 PyObject
*resultobj
= 0;
27164 wxListItem
*arg1
= (wxListItem
*) 0 ;
27165 wxString
*result
= 0 ;
27168 PyObject
*swig_obj
[1] ;
27170 if (!args
) SWIG_fail
;
27171 swig_obj
[0] = args
;
27172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27173 if (!SWIG_IsOK(res1
)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27176 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27177 result
= (wxString
*)& ((arg1
)->m_text
);
27180 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27182 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27191 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27192 PyObject
*resultobj
= 0;
27193 wxListItem
*arg1
= (wxListItem
*) 0 ;
27199 PyObject
*swig_obj
[2] ;
27201 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27203 if (!SWIG_IsOK(res1
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27206 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27207 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27208 if (!SWIG_IsOK(ecode2
)) {
27209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27211 arg2
= static_cast< int >(val2
);
27212 if (arg1
) (arg1
)->m_image
= arg2
;
27214 resultobj
= SWIG_Py_Void();
27221 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27222 PyObject
*resultobj
= 0;
27223 wxListItem
*arg1
= (wxListItem
*) 0 ;
27227 PyObject
*swig_obj
[1] ;
27229 if (!args
) SWIG_fail
;
27230 swig_obj
[0] = args
;
27231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27232 if (!SWIG_IsOK(res1
)) {
27233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27235 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27236 result
= (int) ((arg1
)->m_image
);
27237 resultobj
= SWIG_From_int(static_cast< int >(result
));
27244 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxListItem
*arg1
= (wxListItem
*) 0 ;
27252 PyObject
*swig_obj
[2] ;
27254 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27256 if (!SWIG_IsOK(res1
)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27259 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27260 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27261 if (!SWIG_IsOK(ecode2
)) {
27262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27264 arg2
= static_cast< long >(val2
);
27265 if (arg1
) (arg1
)->m_data
= arg2
;
27267 resultobj
= SWIG_Py_Void();
27274 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27275 PyObject
*resultobj
= 0;
27276 wxListItem
*arg1
= (wxListItem
*) 0 ;
27280 PyObject
*swig_obj
[1] ;
27282 if (!args
) SWIG_fail
;
27283 swig_obj
[0] = args
;
27284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27288 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27289 result
= (long) ((arg1
)->m_data
);
27290 resultobj
= SWIG_From_long(static_cast< long >(result
));
27297 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27298 PyObject
*resultobj
= 0;
27299 wxListItem
*arg1
= (wxListItem
*) 0 ;
27305 PyObject
*swig_obj
[2] ;
27307 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27309 if (!SWIG_IsOK(res1
)) {
27310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27312 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27313 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27314 if (!SWIG_IsOK(ecode2
)) {
27315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27317 arg2
= static_cast< int >(val2
);
27318 if (arg1
) (arg1
)->m_format
= arg2
;
27320 resultobj
= SWIG_Py_Void();
27327 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27328 PyObject
*resultobj
= 0;
27329 wxListItem
*arg1
= (wxListItem
*) 0 ;
27333 PyObject
*swig_obj
[1] ;
27335 if (!args
) SWIG_fail
;
27336 swig_obj
[0] = args
;
27337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27341 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27342 result
= (int) ((arg1
)->m_format
);
27343 resultobj
= SWIG_From_int(static_cast< int >(result
));
27350 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27351 PyObject
*resultobj
= 0;
27352 wxListItem
*arg1
= (wxListItem
*) 0 ;
27358 PyObject
*swig_obj
[2] ;
27360 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27362 if (!SWIG_IsOK(res1
)) {
27363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27365 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27366 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27367 if (!SWIG_IsOK(ecode2
)) {
27368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27370 arg2
= static_cast< int >(val2
);
27371 if (arg1
) (arg1
)->m_width
= arg2
;
27373 resultobj
= SWIG_Py_Void();
27380 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27381 PyObject
*resultobj
= 0;
27382 wxListItem
*arg1
= (wxListItem
*) 0 ;
27386 PyObject
*swig_obj
[1] ;
27388 if (!args
) SWIG_fail
;
27389 swig_obj
[0] = args
;
27390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27391 if (!SWIG_IsOK(res1
)) {
27392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27394 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27395 result
= (int) ((arg1
)->m_width
);
27396 resultobj
= SWIG_From_int(static_cast< int >(result
));
27403 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27406 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27407 return SWIG_Py_Void();
27410 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27411 return SWIG_Python_InitShadowInstance(args
);
27414 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
= 0;
27416 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27417 int arg2
= (int) 0 ;
27418 wxListEvent
*result
= 0 ;
27423 PyObject
* obj0
= 0 ;
27424 PyObject
* obj1
= 0 ;
27425 char * kwnames
[] = {
27426 (char *) "commandType",(char *) "id", NULL
27429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27432 if (!SWIG_IsOK(ecode1
)) {
27433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27435 arg1
= static_cast< wxEventType
>(val1
);
27438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27439 if (!SWIG_IsOK(ecode2
)) {
27440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27442 arg2
= static_cast< int >(val2
);
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27457 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27458 PyObject
*resultobj
= 0;
27459 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27465 PyObject
*swig_obj
[2] ;
27467 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27469 if (!SWIG_IsOK(res1
)) {
27470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27472 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27473 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27474 if (!SWIG_IsOK(ecode2
)) {
27475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27477 arg2
= static_cast< int >(val2
);
27478 if (arg1
) (arg1
)->m_code
= arg2
;
27480 resultobj
= SWIG_Py_Void();
27487 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27488 PyObject
*resultobj
= 0;
27489 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27493 PyObject
*swig_obj
[1] ;
27495 if (!args
) SWIG_fail
;
27496 swig_obj
[0] = args
;
27497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27501 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27502 result
= (int) ((arg1
)->m_code
);
27503 resultobj
= SWIG_From_int(static_cast< int >(result
));
27510 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27511 PyObject
*resultobj
= 0;
27512 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27518 PyObject
*swig_obj
[2] ;
27520 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27522 if (!SWIG_IsOK(res1
)) {
27523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27525 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27526 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27527 if (!SWIG_IsOK(ecode2
)) {
27528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27530 arg2
= static_cast< long >(val2
);
27531 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27533 resultobj
= SWIG_Py_Void();
27540 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27541 PyObject
*resultobj
= 0;
27542 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27546 PyObject
*swig_obj
[1] ;
27548 if (!args
) SWIG_fail
;
27549 swig_obj
[0] = args
;
27550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27551 if (!SWIG_IsOK(res1
)) {
27552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27554 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27555 result
= (long) ((arg1
)->m_oldItemIndex
);
27556 resultobj
= SWIG_From_long(static_cast< long >(result
));
27563 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27564 PyObject
*resultobj
= 0;
27565 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27571 PyObject
*swig_obj
[2] ;
27573 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27575 if (!SWIG_IsOK(res1
)) {
27576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27578 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27579 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27580 if (!SWIG_IsOK(ecode2
)) {
27581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27583 arg2
= static_cast< long >(val2
);
27584 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27586 resultobj
= SWIG_Py_Void();
27593 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27594 PyObject
*resultobj
= 0;
27595 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27599 PyObject
*swig_obj
[1] ;
27601 if (!args
) SWIG_fail
;
27602 swig_obj
[0] = args
;
27603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27604 if (!SWIG_IsOK(res1
)) {
27605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27607 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27608 result
= (long) ((arg1
)->m_itemIndex
);
27609 resultobj
= SWIG_From_long(static_cast< long >(result
));
27616 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27617 PyObject
*resultobj
= 0;
27618 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27624 PyObject
*swig_obj
[2] ;
27626 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27628 if (!SWIG_IsOK(res1
)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27631 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27632 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27633 if (!SWIG_IsOK(ecode2
)) {
27634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27636 arg2
= static_cast< int >(val2
);
27637 if (arg1
) (arg1
)->m_col
= arg2
;
27639 resultobj
= SWIG_Py_Void();
27646 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27647 PyObject
*resultobj
= 0;
27648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27652 PyObject
*swig_obj
[1] ;
27654 if (!args
) SWIG_fail
;
27655 swig_obj
[0] = args
;
27656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27657 if (!SWIG_IsOK(res1
)) {
27658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27660 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27661 result
= (int) ((arg1
)->m_col
);
27662 resultobj
= SWIG_From_int(static_cast< int >(result
));
27669 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27670 PyObject
*resultobj
= 0;
27671 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27672 wxPoint
*arg2
= (wxPoint
*) 0 ;
27677 PyObject
*swig_obj
[2] ;
27679 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27681 if (!SWIG_IsOK(res1
)) {
27682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27684 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27685 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27686 if (!SWIG_IsOK(res2
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27689 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27690 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27692 resultobj
= SWIG_Py_Void();
27699 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27700 PyObject
*resultobj
= 0;
27701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27702 wxPoint
*result
= 0 ;
27705 PyObject
*swig_obj
[1] ;
27707 if (!args
) SWIG_fail
;
27708 swig_obj
[0] = args
;
27709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27710 if (!SWIG_IsOK(res1
)) {
27711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27713 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27714 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27722 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27723 PyObject
*resultobj
= 0;
27724 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27725 wxListItem
*result
= 0 ;
27728 PyObject
*swig_obj
[1] ;
27730 if (!args
) SWIG_fail
;
27731 swig_obj
[0] = args
;
27732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27736 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27737 result
= (wxListItem
*)& ((arg1
)->m_item
);
27739 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27747 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27748 PyObject
*resultobj
= 0;
27749 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27753 PyObject
*swig_obj
[1] ;
27755 if (!args
) SWIG_fail
;
27756 swig_obj
[0] = args
;
27757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27761 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 result
= (int)(arg1
)->GetKeyCode();
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_From_int(static_cast< int >(result
));
27775 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27781 PyObject
*swig_obj
[1] ;
27783 if (!args
) SWIG_fail
;
27784 swig_obj
[0] = args
;
27785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27789 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 result
= (long)(arg1
)->GetIndex();
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 resultobj
= SWIG_From_long(static_cast< long >(result
));
27803 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 PyObject
*resultobj
= 0;
27805 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27809 PyObject
*swig_obj
[1] ;
27811 if (!args
) SWIG_fail
;
27812 swig_obj
[0] = args
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27817 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 result
= (int)(arg1
)->GetColumn();
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= SWIG_From_int(static_cast< int >(result
));
27831 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27832 PyObject
*resultobj
= 0;
27833 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27837 PyObject
*swig_obj
[1] ;
27839 if (!args
) SWIG_fail
;
27840 swig_obj
[0] = args
;
27841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27842 if (!SWIG_IsOK(res1
)) {
27843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27845 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 result
= (arg1
)->GetPoint();
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27859 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27862 wxString
*result
= 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
27873 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 wxString
const &_result_ref
= (arg1
)->GetLabel();
27878 result
= (wxString
*) &_result_ref
;
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27896 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27897 PyObject
*resultobj
= 0;
27898 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27899 wxString
*result
= 0 ;
27902 PyObject
*swig_obj
[1] ;
27904 if (!args
) SWIG_fail
;
27905 swig_obj
[0] = args
;
27906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27907 if (!SWIG_IsOK(res1
)) {
27908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
27910 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 wxString
const &_result_ref
= (arg1
)->GetText();
27915 result
= (wxString
*) &_result_ref
;
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27924 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27933 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27934 PyObject
*resultobj
= 0;
27935 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27939 PyObject
*swig_obj
[1] ;
27941 if (!args
) SWIG_fail
;
27942 swig_obj
[0] = args
;
27943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27944 if (!SWIG_IsOK(res1
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
27947 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27950 result
= (int)(arg1
)->GetImage();
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_From_int(static_cast< int >(result
));
27961 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27962 PyObject
*resultobj
= 0;
27963 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27967 PyObject
*swig_obj
[1] ;
27969 if (!args
) SWIG_fail
;
27970 swig_obj
[0] = args
;
27971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27972 if (!SWIG_IsOK(res1
)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
27975 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= (long)(arg1
)->GetData();
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= SWIG_From_long(static_cast< long >(result
));
27989 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27990 PyObject
*resultobj
= 0;
27991 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27995 PyObject
*swig_obj
[1] ;
27997 if (!args
) SWIG_fail
;
27998 swig_obj
[0] = args
;
27999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28003 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 result
= (long)(arg1
)->GetMask();
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 resultobj
= SWIG_From_long(static_cast< long >(result
));
28017 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28018 PyObject
*resultobj
= 0;
28019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28020 wxListItem
*result
= 0 ;
28023 PyObject
*swig_obj
[1] ;
28025 if (!args
) SWIG_fail
;
28026 swig_obj
[0] = args
;
28027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28028 if (!SWIG_IsOK(res1
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28031 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28036 result
= (wxListItem
*) &_result_ref
;
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28048 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28049 PyObject
*resultobj
= 0;
28050 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28054 PyObject
*swig_obj
[1] ;
28056 if (!args
) SWIG_fail
;
28057 swig_obj
[0] = args
;
28058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28059 if (!SWIG_IsOK(res1
)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28062 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28065 result
= (long)(arg1
)->GetCacheFrom();
28066 wxPyEndAllowThreads(__tstate
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28069 resultobj
= SWIG_From_long(static_cast< long >(result
));
28076 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28077 PyObject
*resultobj
= 0;
28078 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28082 PyObject
*swig_obj
[1] ;
28084 if (!args
) SWIG_fail
;
28085 swig_obj
[0] = args
;
28086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28087 if (!SWIG_IsOK(res1
)) {
28088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28090 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 result
= (long)(arg1
)->GetCacheTo();
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= SWIG_From_long(static_cast< long >(result
));
28104 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28105 PyObject
*resultobj
= 0;
28106 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28110 PyObject
*swig_obj
[1] ;
28112 if (!args
) SWIG_fail
;
28113 swig_obj
[0] = args
;
28114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28115 if (!SWIG_IsOK(res1
)) {
28116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28118 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28121 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28134 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
= 0;
28136 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char * kwnames
[] = {
28145 (char *) "self",(char *) "editCancelled", NULL
28148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28150 if (!SWIG_IsOK(res1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28153 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28154 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28155 if (!SWIG_IsOK(ecode2
)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28158 arg2
= static_cast< bool >(val2
);
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 (arg1
)->SetEditCanceled(arg2
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= SWIG_Py_Void();
28172 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28175 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28176 return SWIG_Py_Void();
28179 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28180 return SWIG_Python_InitShadowInstance(args
);
28183 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
= 0;
28185 wxWindow
*arg1
= (wxWindow
*) 0 ;
28186 int arg2
= (int) -1 ;
28187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28189 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28190 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28191 long arg5
= (long) wxLC_ICON
;
28192 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28193 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28194 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28195 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28196 wxPyListCtrl
*result
= 0 ;
28207 bool temp7
= false ;
28208 PyObject
* obj0
= 0 ;
28209 PyObject
* obj1
= 0 ;
28210 PyObject
* obj2
= 0 ;
28211 PyObject
* obj3
= 0 ;
28212 PyObject
* obj4
= 0 ;
28213 PyObject
* obj5
= 0 ;
28214 PyObject
* obj6
= 0 ;
28215 char * kwnames
[] = {
28216 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28221 if (!SWIG_IsOK(res1
)) {
28222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28227 if (!SWIG_IsOK(ecode2
)) {
28228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28230 arg2
= static_cast< int >(val2
);
28235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28241 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28245 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28246 if (!SWIG_IsOK(ecode5
)) {
28247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28249 arg5
= static_cast< long >(val5
);
28252 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28253 if (!SWIG_IsOK(res6
)) {
28254 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28259 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28263 arg7
= wxString_in_helper(obj6
);
28264 if (arg7
== NULL
) SWIG_fail
;
28269 if (!wxPyCheckForApp()) SWIG_fail
;
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28271 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28290 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28291 PyObject
*resultobj
= 0;
28292 wxPyListCtrl
*result
= 0 ;
28294 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28296 if (!wxPyCheckForApp()) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28309 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
= 0;
28311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28312 wxWindow
*arg2
= (wxWindow
*) 0 ;
28313 int arg3
= (int) -1 ;
28314 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28315 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28316 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28317 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28318 long arg6
= (long) wxLC_ICON
;
28319 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28320 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28321 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28322 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28336 bool temp8
= false ;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 PyObject
* obj2
= 0 ;
28340 PyObject
* obj3
= 0 ;
28341 PyObject
* obj4
= 0 ;
28342 PyObject
* obj5
= 0 ;
28343 PyObject
* obj6
= 0 ;
28344 PyObject
* obj7
= 0 ;
28345 char * kwnames
[] = {
28346 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28351 if (!SWIG_IsOK(res1
)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28354 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28356 if (!SWIG_IsOK(res2
)) {
28357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28359 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28362 if (!SWIG_IsOK(ecode3
)) {
28363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28365 arg3
= static_cast< int >(val3
);
28370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28380 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28381 if (!SWIG_IsOK(ecode6
)) {
28382 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28384 arg6
= static_cast< long >(val6
);
28387 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28388 if (!SWIG_IsOK(res7
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28394 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28398 arg8
= wxString_in_helper(obj7
);
28399 if (arg8
== NULL
) SWIG_fail
;
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28426 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
= 0;
28428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28429 PyObject
*arg2
= (PyObject
*) 0 ;
28430 PyObject
*arg3
= (PyObject
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 PyObject
* obj2
= 0 ;
28436 char * kwnames
[] = {
28437 (char *) "self",(char *) "self",(char *) "_class", NULL
28440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28442 if (!SWIG_IsOK(res1
)) {
28443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28445 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= SWIG_Py_Void();
28461 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
= 0;
28463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28465 wxListItem
*result
= 0 ;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char * kwnames
[] = {
28473 (char *) "self",(char *) "col", NULL
28476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28481 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28483 if (!SWIG_IsOK(ecode2
)) {
28484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28486 arg2
= static_cast< int >(val2
);
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28502 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
= 0;
28504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28506 wxListItem
*arg3
= 0 ;
28514 PyObject
* obj0
= 0 ;
28515 PyObject
* obj1
= 0 ;
28516 PyObject
* obj2
= 0 ;
28517 char * kwnames
[] = {
28518 (char *) "self",(char *) "col",(char *) "item", NULL
28521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28523 if (!SWIG_IsOK(res1
)) {
28524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28526 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28528 if (!SWIG_IsOK(ecode2
)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28531 arg2
= static_cast< int >(val2
);
28532 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28533 if (!SWIG_IsOK(res3
)) {
28534 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28539 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28555 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28556 PyObject
*resultobj
= 0;
28557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 char * kwnames
[] = {
28567 (char *) "self",(char *) "col", NULL
28570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28572 if (!SWIG_IsOK(res1
)) {
28573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28575 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28577 if (!SWIG_IsOK(ecode2
)) {
28578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28580 arg2
= static_cast< int >(val2
);
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_From_int(static_cast< int >(result
));
28594 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
= 0;
28596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28606 PyObject
* obj0
= 0 ;
28607 PyObject
* obj1
= 0 ;
28608 PyObject
* obj2
= 0 ;
28609 char * kwnames
[] = {
28610 (char *) "self",(char *) "col",(char *) "width", NULL
28613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28615 if (!SWIG_IsOK(res1
)) {
28616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28620 if (!SWIG_IsOK(ecode2
)) {
28621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28623 arg2
= static_cast< int >(val2
);
28624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28625 if (!SWIG_IsOK(ecode3
)) {
28626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28628 arg3
= static_cast< int >(val3
);
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28644 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28645 PyObject
*resultobj
= 0;
28646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28650 PyObject
*swig_obj
[1] ;
28652 if (!args
) SWIG_fail
;
28653 swig_obj
[0] = args
;
28654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28658 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= SWIG_From_int(static_cast< int >(result
));
28672 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28673 PyObject
*resultobj
= 0;
28674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28678 PyObject
*swig_obj
[1] ;
28680 if (!args
) SWIG_fail
;
28681 swig_obj
[0] = args
;
28682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28683 if (!SWIG_IsOK(res1
)) {
28684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28686 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28700 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28701 PyObject
*resultobj
= 0;
28702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28703 wxTextCtrl
*result
= 0 ;
28706 PyObject
*swig_obj
[1] ;
28708 if (!args
) SWIG_fail
;
28709 swig_obj
[0] = args
;
28710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28711 if (!SWIG_IsOK(res1
)) {
28712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28714 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= wxPyMake_wxObject(result
, 0);
28730 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
= 0;
28732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28734 int arg3
= (int) 0 ;
28735 wxListItem
*result
= 0 ;
28742 PyObject
* obj0
= 0 ;
28743 PyObject
* obj1
= 0 ;
28744 PyObject
* obj2
= 0 ;
28745 char * kwnames
[] = {
28746 (char *) "self",(char *) "itemId",(char *) "col", NULL
28749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28751 if (!SWIG_IsOK(res1
)) {
28752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28756 if (!SWIG_IsOK(ecode2
)) {
28757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28759 arg2
= static_cast< long >(val2
);
28761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28762 if (!SWIG_IsOK(ecode3
)) {
28763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28765 arg3
= static_cast< int >(val3
);
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28782 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28783 PyObject
*resultobj
= 0;
28784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28785 wxListItem
*arg2
= 0 ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 char * kwnames
[] = {
28794 (char *) "self",(char *) "info", NULL
28797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28799 if (!SWIG_IsOK(res1
)) {
28800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28802 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28804 if (!SWIG_IsOK(res2
)) {
28805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28810 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (bool)(arg1
)->SetItem(*arg2
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28826 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
= 0;
28828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28831 wxString
*arg4
= 0 ;
28832 int arg5
= (int) -1 ;
28840 bool temp4
= false ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 PyObject
* obj2
= 0 ;
28846 PyObject
* obj3
= 0 ;
28847 PyObject
* obj4
= 0 ;
28848 char * kwnames
[] = {
28849 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28854 if (!SWIG_IsOK(res1
)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28857 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28858 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28859 if (!SWIG_IsOK(ecode2
)) {
28860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
28862 arg2
= static_cast< long >(val2
);
28863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28864 if (!SWIG_IsOK(ecode3
)) {
28865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
28867 arg3
= static_cast< int >(val3
);
28869 arg4
= wxString_in_helper(obj3
);
28870 if (arg4
== NULL
) SWIG_fail
;
28874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28875 if (!SWIG_IsOK(ecode5
)) {
28876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
28878 arg5
= static_cast< int >(val5
);
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 resultobj
= SWIG_From_long(static_cast< long >(result
));
28901 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
= 0;
28903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28913 PyObject
* obj0
= 0 ;
28914 PyObject
* obj1
= 0 ;
28915 PyObject
* obj2
= 0 ;
28916 char * kwnames
[] = {
28917 (char *) "self",(char *) "item",(char *) "stateMask", NULL
28920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28922 if (!SWIG_IsOK(res1
)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28925 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28926 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28927 if (!SWIG_IsOK(ecode2
)) {
28928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
28930 arg2
= static_cast< long >(val2
);
28931 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28932 if (!SWIG_IsOK(ecode3
)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
28935 arg3
= static_cast< long >(val3
);
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= SWIG_From_int(static_cast< int >(result
));
28949 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28950 PyObject
*resultobj
= 0;
28951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 PyObject
* obj2
= 0 ;
28967 PyObject
* obj3
= 0 ;
28968 char * kwnames
[] = {
28969 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
28972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28974 if (!SWIG_IsOK(res1
)) {
28975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28977 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28979 if (!SWIG_IsOK(ecode2
)) {
28980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
28982 arg2
= static_cast< long >(val2
);
28983 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28984 if (!SWIG_IsOK(ecode3
)) {
28985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
28987 arg3
= static_cast< long >(val3
);
28988 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28989 if (!SWIG_IsOK(ecode4
)) {
28990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
28992 arg4
= static_cast< long >(val4
);
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29008 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
= 0;
29010 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29013 int arg4
= (int) -1 ;
29023 PyObject
* obj0
= 0 ;
29024 PyObject
* obj1
= 0 ;
29025 PyObject
* obj2
= 0 ;
29026 PyObject
* obj3
= 0 ;
29027 char * kwnames
[] = {
29028 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29033 if (!SWIG_IsOK(res1
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29036 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29037 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29038 if (!SWIG_IsOK(ecode2
)) {
29039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29041 arg2
= static_cast< long >(val2
);
29042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29043 if (!SWIG_IsOK(ecode3
)) {
29044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29046 arg3
= static_cast< int >(val3
);
29048 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29049 if (!SWIG_IsOK(ecode4
)) {
29050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29052 arg4
= static_cast< int >(val4
);
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29069 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
= 0;
29071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29084 PyObject
* obj0
= 0 ;
29085 PyObject
* obj1
= 0 ;
29086 PyObject
* obj2
= 0 ;
29087 PyObject
* obj3
= 0 ;
29088 char * kwnames
[] = {
29089 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29094 if (!SWIG_IsOK(res1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29097 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29099 if (!SWIG_IsOK(ecode2
)) {
29100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29102 arg2
= static_cast< long >(val2
);
29103 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29104 if (!SWIG_IsOK(ecode3
)) {
29105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29107 arg3
= static_cast< long >(val3
);
29108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29109 if (!SWIG_IsOK(ecode4
)) {
29110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29112 arg4
= static_cast< int >(val4
);
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29128 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
= 0;
29130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29137 PyObject
* obj0
= 0 ;
29138 PyObject
* obj1
= 0 ;
29139 char * kwnames
[] = {
29140 (char *) "self",(char *) "item", NULL
29143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29145 if (!SWIG_IsOK(res1
)) {
29146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29148 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29149 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29150 if (!SWIG_IsOK(ecode2
)) {
29151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29153 arg2
= static_cast< long >(val2
);
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29173 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
= 0;
29175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29177 wxString
*arg3
= 0 ;
29182 bool temp3
= false ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 PyObject
* obj2
= 0 ;
29186 char * kwnames
[] = {
29187 (char *) "self",(char *) "item",(char *) "str", NULL
29190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29192 if (!SWIG_IsOK(res1
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29195 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29196 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29197 if (!SWIG_IsOK(ecode2
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29200 arg2
= static_cast< long >(val2
);
29202 arg3
= wxString_in_helper(obj2
);
29203 if (arg3
== NULL
) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_Py_Void();
29227 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29228 PyObject
*resultobj
= 0;
29229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29236 PyObject
* obj0
= 0 ;
29237 PyObject
* obj1
= 0 ;
29238 char * kwnames
[] = {
29239 (char *) "self",(char *) "item", NULL
29242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29244 if (!SWIG_IsOK(res1
)) {
29245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29247 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29248 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29249 if (!SWIG_IsOK(ecode2
)) {
29250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29252 arg2
= static_cast< long >(val2
);
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= SWIG_From_long(static_cast< long >(result
));
29266 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
= 0;
29268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 PyObject
* obj2
= 0 ;
29281 char * kwnames
[] = {
29282 (char *) "self",(char *) "item",(char *) "data", NULL
29285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29287 if (!SWIG_IsOK(res1
)) {
29288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29290 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29291 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29292 if (!SWIG_IsOK(ecode2
)) {
29293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29295 arg2
= static_cast< long >(val2
);
29296 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29297 if (!SWIG_IsOK(ecode3
)) {
29298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29300 arg3
= static_cast< long >(val3
);
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29316 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
= 0;
29318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29325 PyObject
* obj0
= 0 ;
29326 PyObject
* obj1
= 0 ;
29327 char * kwnames
[] = {
29328 (char *) "self",(char *) "item", NULL
29331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29333 if (!SWIG_IsOK(res1
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29336 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29337 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29338 if (!SWIG_IsOK(ecode2
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29341 arg2
= static_cast< long >(val2
);
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29355 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29359 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29367 PyObject
* obj0
= 0 ;
29368 PyObject
* obj1
= 0 ;
29369 PyObject
* obj2
= 0 ;
29370 char * kwnames
[] = {
29371 (char *) "self",(char *) "item",(char *) "code", NULL
29374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29376 if (!SWIG_IsOK(res1
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29379 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29380 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29381 if (!SWIG_IsOK(ecode2
)) {
29382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29384 arg2
= static_cast< long >(val2
);
29386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29387 if (!SWIG_IsOK(ecode3
)) {
29388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29390 arg3
= static_cast< int >(val3
);
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29405 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29406 PyObject
*resultobj
= 0;
29407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29409 wxPoint
*arg3
= 0 ;
29416 PyObject
* obj0
= 0 ;
29417 PyObject
* obj1
= 0 ;
29418 PyObject
* obj2
= 0 ;
29419 char * kwnames
[] = {
29420 (char *) "self",(char *) "item",(char *) "pos", NULL
29423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29428 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29429 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29430 if (!SWIG_IsOK(ecode2
)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29433 arg2
= static_cast< long >(val2
);
29436 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29441 wxPyEndAllowThreads(__tstate
);
29442 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29453 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29454 PyObject
*resultobj
= 0;
29455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29459 PyObject
*swig_obj
[1] ;
29461 if (!args
) SWIG_fail
;
29462 swig_obj
[0] = args
;
29463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29464 if (!SWIG_IsOK(res1
)) {
29465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29467 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= SWIG_From_int(static_cast< int >(result
));
29481 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29482 PyObject
*resultobj
= 0;
29483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29487 PyObject
*swig_obj
[1] ;
29489 if (!args
) SWIG_fail
;
29490 swig_obj
[0] = args
;
29491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_From_int(static_cast< int >(result
));
29509 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29510 PyObject
*resultobj
= 0;
29511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29515 PyObject
*swig_obj
[1] ;
29517 if (!args
) SWIG_fail
;
29518 swig_obj
[0] = args
;
29519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29520 if (!SWIG_IsOK(res1
)) {
29521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29523 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29537 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
= 0;
29539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29541 bool arg3
= (bool) false ;
29548 PyObject
* obj0
= 0 ;
29549 PyObject
* obj1
= 0 ;
29550 PyObject
* obj2
= 0 ;
29551 char * kwnames
[] = {
29552 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29557 if (!SWIG_IsOK(res1
)) {
29558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29560 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29562 if (!SWIG_IsOK(ecode2
)) {
29563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29565 arg2
= static_cast< int >(val2
);
29567 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29568 if (!SWIG_IsOK(ecode3
)) {
29569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29571 arg3
= static_cast< bool >(val3
);
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 (arg1
)->SetItemSpacing(arg2
,arg3
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29587 PyObject
*resultobj
= 0;
29588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29592 PyObject
*swig_obj
[1] ;
29594 if (!args
) SWIG_fail
;
29595 swig_obj
[0] = args
;
29596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29597 if (!SWIG_IsOK(res1
)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29600 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= SWIG_From_int(static_cast< int >(result
));
29614 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29615 PyObject
*resultobj
= 0;
29616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29620 PyObject
*swig_obj
[1] ;
29622 if (!args
) SWIG_fail
;
29623 swig_obj
[0] = args
;
29624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29625 if (!SWIG_IsOK(res1
)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29628 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29635 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29642 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29643 PyObject
*resultobj
= 0;
29644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29645 wxColour
*arg2
= 0 ;
29649 PyObject
* obj0
= 0 ;
29650 PyObject
* obj1
= 0 ;
29651 char * kwnames
[] = {
29652 (char *) "self",(char *) "col", NULL
29655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29657 if (!SWIG_IsOK(res1
)) {
29658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29663 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= SWIG_Py_Void();
29678 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29679 PyObject
*resultobj
= 0;
29680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29684 PyObject
*swig_obj
[1] ;
29686 if (!args
) SWIG_fail
;
29687 swig_obj
[0] = args
;
29688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29689 if (!SWIG_IsOK(res1
)) {
29690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29692 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29696 wxPyEndAllowThreads(__tstate
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29699 resultobj
= SWIG_From_long(static_cast< long >(result
));
29706 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29707 PyObject
*resultobj
= 0;
29708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29710 bool arg3
= (bool) true ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 PyObject
* obj2
= 0 ;
29720 char * kwnames
[] = {
29721 (char *) "self",(char *) "style",(char *) "add", NULL
29724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29726 if (!SWIG_IsOK(res1
)) {
29727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29729 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29730 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29731 if (!SWIG_IsOK(ecode2
)) {
29732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29734 arg2
= static_cast< long >(val2
);
29736 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29737 if (!SWIG_IsOK(ecode3
)) {
29738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29740 arg3
= static_cast< bool >(val3
);
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 (arg1
)->SetSingleStyle(arg2
,arg3
);
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 resultobj
= SWIG_Py_Void();
29755 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
= 0;
29757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29759 int arg3
= (int) wxLIST_NEXT_ALL
;
29760 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 PyObject
* obj2
= 0 ;
29773 PyObject
* obj3
= 0 ;
29774 char * kwnames
[] = {
29775 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29783 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29784 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29785 if (!SWIG_IsOK(ecode2
)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29788 arg2
= static_cast< long >(val2
);
29790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29791 if (!SWIG_IsOK(ecode3
)) {
29792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29794 arg3
= static_cast< int >(val3
);
29797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29798 if (!SWIG_IsOK(ecode4
)) {
29799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29801 arg4
= static_cast< int >(val4
);
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= SWIG_From_long(static_cast< long >(result
));
29816 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
= 0;
29818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29820 wxImageList
*result
= 0 ;
29825 PyObject
* obj0
= 0 ;
29826 PyObject
* obj1
= 0 ;
29827 char * kwnames
[] = {
29828 (char *) "self",(char *) "which", NULL
29831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29833 if (!SWIG_IsOK(res1
)) {
29834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29836 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29838 if (!SWIG_IsOK(ecode2
)) {
29839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29841 arg2
= static_cast< int >(val2
);
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29857 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
= 0;
29859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29860 wxImageList
*arg2
= (wxImageList
*) 0 ;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 PyObject
* obj2
= 0 ;
29871 char * kwnames
[] = {
29872 (char *) "self",(char *) "imageList",(char *) "which", NULL
29875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29877 if (!SWIG_IsOK(res1
)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29880 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
29882 if (!SWIG_IsOK(res2
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29885 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
29886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29887 if (!SWIG_IsOK(ecode3
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
29890 arg3
= static_cast< int >(val3
);
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 (arg1
)->SetImageList(arg2
,arg3
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= SWIG_Py_Void();
29904 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
= 0;
29906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29907 wxImageList
*arg2
= (wxImageList
*) 0 ;
29914 PyObject
* obj0
= 0 ;
29915 PyObject
* obj1
= 0 ;
29916 PyObject
* obj2
= 0 ;
29917 char * kwnames
[] = {
29918 (char *) "self",(char *) "imageList",(char *) "which", NULL
29921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29923 if (!SWIG_IsOK(res1
)) {
29924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29926 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29927 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
29928 if (!SWIG_IsOK(res2
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29932 if (!SWIG_IsOK(ecode3
)) {
29933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
29935 arg3
= static_cast< int >(val3
);
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 (arg1
)->AssignImageList(arg2
,arg3
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_Py_Void();
29949 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29950 PyObject
*resultobj
= 0;
29951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29955 PyObject
*swig_obj
[1] ;
29957 if (!args
) SWIG_fail
;
29958 swig_obj
[0] = args
;
29959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29960 if (!SWIG_IsOK(res1
)) {
29961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29963 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29979 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29980 PyObject
*resultobj
= 0;
29981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29985 PyObject
*swig_obj
[1] ;
29987 if (!args
) SWIG_fail
;
29988 swig_obj
[0] = args
;
29989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29993 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30009 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
= 0;
30011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30017 PyObject
* obj0
= 0 ;
30018 PyObject
* obj1
= 0 ;
30019 char * kwnames
[] = {
30020 (char *) "self",(char *) "item", NULL
30023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30025 if (!SWIG_IsOK(res1
)) {
30026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30028 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30029 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30030 if (!SWIG_IsOK(ecode2
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30033 arg2
= static_cast< long >(val2
);
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 (arg1
)->RefreshItem(arg2
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= SWIG_Py_Void();
30047 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
= 0;
30049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 PyObject
* obj2
= 0 ;
30061 char * kwnames
[] = {
30062 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30067 if (!SWIG_IsOK(res1
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30070 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30071 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30072 if (!SWIG_IsOK(ecode2
)) {
30073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30075 arg2
= static_cast< long >(val2
);
30076 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30077 if (!SWIG_IsOK(ecode3
)) {
30078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30080 arg3
= static_cast< long >(val3
);
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 (arg1
)->RefreshItems(arg2
,arg3
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 resultobj
= SWIG_Py_Void();
30094 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30095 PyObject
*resultobj
= 0;
30096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30097 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 char * kwnames
[] = {
30106 (char *) "self",(char *) "flag", NULL
30109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30111 if (!SWIG_IsOK(res1
)) {
30112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30114 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30117 if (!SWIG_IsOK(ecode2
)) {
30118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30120 arg2
= static_cast< int >(val2
);
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= (bool)(arg1
)->Arrange(arg2
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30137 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
= 0;
30139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 char * kwnames
[] = {
30149 (char *) "self",(char *) "item", NULL
30152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30154 if (!SWIG_IsOK(res1
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30157 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30159 if (!SWIG_IsOK(ecode2
)) {
30160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30162 arg2
= static_cast< long >(val2
);
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 result
= (bool)(arg1
)->DeleteItem(arg2
);
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30178 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30179 PyObject
*resultobj
= 0;
30180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30184 PyObject
*swig_obj
[1] ;
30186 if (!args
) SWIG_fail
;
30187 swig_obj
[0] = args
;
30188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30189 if (!SWIG_IsOK(res1
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30192 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (bool)(arg1
)->DeleteAllItems();
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30208 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 char * kwnames
[] = {
30220 (char *) "self",(char *) "col", NULL
30223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30228 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30230 if (!SWIG_IsOK(ecode2
)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30233 arg2
= static_cast< int >(val2
);
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30249 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30250 PyObject
*resultobj
= 0;
30251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30255 PyObject
*swig_obj
[1] ;
30257 if (!args
) SWIG_fail
;
30258 swig_obj
[0] = args
;
30259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30260 if (!SWIG_IsOK(res1
)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30263 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 result
= (bool)(arg1
)->DeleteAllColumns();
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30279 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30280 PyObject
*resultobj
= 0;
30281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30284 PyObject
*swig_obj
[1] ;
30286 if (!args
) SWIG_fail
;
30287 swig_obj
[0] = args
;
30288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30289 if (!SWIG_IsOK(res1
)) {
30290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30292 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30295 (arg1
)->ClearAll();
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= SWIG_Py_Void();
30306 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
= 0;
30308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30314 PyObject
* obj0
= 0 ;
30315 PyObject
* obj1
= 0 ;
30316 char * kwnames
[] = {
30317 (char *) "self",(char *) "item", NULL
30320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30322 if (!SWIG_IsOK(res1
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30325 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30326 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30327 if (!SWIG_IsOK(ecode2
)) {
30328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30330 arg2
= static_cast< long >(val2
);
30332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 (arg1
)->EditLabel(arg2
);
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 resultobj
= SWIG_Py_Void();
30344 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30345 PyObject
*resultobj
= 0;
30346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30353 PyObject
* obj0
= 0 ;
30354 PyObject
* obj1
= 0 ;
30355 char * kwnames
[] = {
30356 (char *) "self",(char *) "item", NULL
30359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30361 if (!SWIG_IsOK(res1
)) {
30362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30364 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30365 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30366 if (!SWIG_IsOK(ecode2
)) {
30367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30369 arg2
= static_cast< long >(val2
);
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30385 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
= 0;
30387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30389 wxString
*arg3
= 0 ;
30390 bool arg4
= (bool) false ;
30396 bool temp3
= false ;
30399 PyObject
* obj0
= 0 ;
30400 PyObject
* obj1
= 0 ;
30401 PyObject
* obj2
= 0 ;
30402 PyObject
* obj3
= 0 ;
30403 char * kwnames
[] = {
30404 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30409 if (!SWIG_IsOK(res1
)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30412 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30413 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30414 if (!SWIG_IsOK(ecode2
)) {
30415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30417 arg2
= static_cast< long >(val2
);
30419 arg3
= wxString_in_helper(obj2
);
30420 if (arg3
== NULL
) SWIG_fail
;
30424 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30425 if (!SWIG_IsOK(ecode4
)) {
30426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30428 arg4
= static_cast< bool >(val4
);
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30432 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= SWIG_From_long(static_cast< long >(result
));
30451 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= 0;
30453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 PyObject
* obj2
= 0 ;
30466 char * kwnames
[] = {
30467 (char *) "self",(char *) "start",(char *) "data", NULL
30470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30472 if (!SWIG_IsOK(res1
)) {
30473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30475 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30476 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30477 if (!SWIG_IsOK(ecode2
)) {
30478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30480 arg2
= static_cast< long >(val2
);
30481 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30482 if (!SWIG_IsOK(ecode3
)) {
30483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30485 arg3
= static_cast< long >(val3
);
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30492 resultobj
= SWIG_From_long(static_cast< long >(result
));
30499 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30500 PyObject
*resultobj
= 0;
30501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30503 wxPoint
*arg3
= 0 ;
30513 PyObject
* obj0
= 0 ;
30514 PyObject
* obj1
= 0 ;
30515 PyObject
* obj2
= 0 ;
30516 PyObject
* obj3
= 0 ;
30517 char * kwnames
[] = {
30518 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30523 if (!SWIG_IsOK(res1
)) {
30524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30526 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30527 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30528 if (!SWIG_IsOK(ecode2
)) {
30529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30531 arg2
= static_cast< long >(val2
);
30534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30536 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30537 if (!SWIG_IsOK(ecode4
)) {
30538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30540 arg4
= static_cast< int >(val4
);
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_From_long(static_cast< long >(result
));
30554 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
= 0;
30556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30557 wxPoint
*arg2
= 0 ;
30564 int res3
= SWIG_TMPOBJ
;
30565 PyObject
* obj0
= 0 ;
30566 PyObject
* obj1
= 0 ;
30567 char * kwnames
[] = {
30568 (char *) "self",(char *) "point", NULL
30572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30574 if (!SWIG_IsOK(res1
)) {
30575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30577 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30584 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30588 resultobj
= SWIG_From_long(static_cast< long >(result
));
30589 if (SWIG_IsTmpObj(res3
)) {
30590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30592 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30601 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
= 0;
30603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30604 wxListItem
*arg2
= 0 ;
30610 PyObject
* obj0
= 0 ;
30611 PyObject
* obj1
= 0 ;
30612 char * kwnames
[] = {
30613 (char *) "self",(char *) "info", NULL
30616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30618 if (!SWIG_IsOK(res1
)) {
30619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30621 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30623 if (!SWIG_IsOK(res2
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30629 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 result
= (long)(arg1
)->InsertItem(*arg2
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 resultobj
= SWIG_From_long(static_cast< long >(result
));
30643 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
= 0;
30645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30647 wxString
*arg3
= 0 ;
30648 int arg4
= (int) -1 ;
30654 bool temp3
= false ;
30657 PyObject
* obj0
= 0 ;
30658 PyObject
* obj1
= 0 ;
30659 PyObject
* obj2
= 0 ;
30660 PyObject
* obj3
= 0 ;
30661 char * kwnames
[] = {
30662 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30667 if (!SWIG_IsOK(res1
)) {
30668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30670 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30672 if (!SWIG_IsOK(ecode2
)) {
30673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30675 arg2
= static_cast< long >(val2
);
30677 arg3
= wxString_in_helper(obj2
);
30678 if (arg3
== NULL
) SWIG_fail
;
30682 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30683 if (!SWIG_IsOK(ecode4
)) {
30684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30686 arg4
= static_cast< int >(val4
);
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 resultobj
= SWIG_From_long(static_cast< long >(result
));
30709 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
= 0;
30711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 PyObject
* obj2
= 0 ;
30724 char * kwnames
[] = {
30725 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30730 if (!SWIG_IsOK(res1
)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30734 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30735 if (!SWIG_IsOK(ecode2
)) {
30736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30738 arg2
= static_cast< long >(val2
);
30739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30740 if (!SWIG_IsOK(ecode3
)) {
30741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30743 arg3
= static_cast< int >(val3
);
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= SWIG_From_long(static_cast< long >(result
));
30757 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
= 0;
30759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30761 wxString
*arg3
= 0 ;
30768 bool temp3
= false ;
30771 PyObject
* obj0
= 0 ;
30772 PyObject
* obj1
= 0 ;
30773 PyObject
* obj2
= 0 ;
30774 PyObject
* obj3
= 0 ;
30775 char * kwnames
[] = {
30776 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30781 if (!SWIG_IsOK(res1
)) {
30782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30784 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30785 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30786 if (!SWIG_IsOK(ecode2
)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30789 arg2
= static_cast< long >(val2
);
30791 arg3
= wxString_in_helper(obj2
);
30792 if (arg3
== NULL
) SWIG_fail
;
30795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30796 if (!SWIG_IsOK(ecode4
)) {
30797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30799 arg4
= static_cast< int >(val4
);
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= SWIG_From_long(static_cast< long >(result
));
30821 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
= 0;
30823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30825 wxListItem
*arg3
= 0 ;
30833 PyObject
* obj0
= 0 ;
30834 PyObject
* obj1
= 0 ;
30835 PyObject
* obj2
= 0 ;
30836 char * kwnames
[] = {
30837 (char *) "self",(char *) "col",(char *) "info", NULL
30840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30842 if (!SWIG_IsOK(res1
)) {
30843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30845 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30846 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30847 if (!SWIG_IsOK(ecode2
)) {
30848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30850 arg2
= static_cast< long >(val2
);
30851 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30852 if (!SWIG_IsOK(res3
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30858 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30865 resultobj
= SWIG_From_long(static_cast< long >(result
));
30872 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
= 0;
30874 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30876 wxString
*arg3
= 0 ;
30877 int arg4
= (int) wxLIST_FORMAT_LEFT
;
30878 int arg5
= (int) -1 ;
30884 bool temp3
= false ;
30889 PyObject
* obj0
= 0 ;
30890 PyObject
* obj1
= 0 ;
30891 PyObject
* obj2
= 0 ;
30892 PyObject
* obj3
= 0 ;
30893 PyObject
* obj4
= 0 ;
30894 char * kwnames
[] = {
30895 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
30898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30903 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30904 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30905 if (!SWIG_IsOK(ecode2
)) {
30906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
30908 arg2
= static_cast< long >(val2
);
30910 arg3
= wxString_in_helper(obj2
);
30911 if (arg3
== NULL
) SWIG_fail
;
30915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30916 if (!SWIG_IsOK(ecode4
)) {
30917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
30919 arg4
= static_cast< int >(val4
);
30922 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30923 if (!SWIG_IsOK(ecode5
)) {
30924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
30926 arg5
= static_cast< int >(val5
);
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30934 resultobj
= SWIG_From_long(static_cast< long >(result
));
30949 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30950 PyObject
*resultobj
= 0;
30951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30957 PyObject
* obj0
= 0 ;
30958 PyObject
* obj1
= 0 ;
30959 char * kwnames
[] = {
30960 (char *) "self",(char *) "count", NULL
30963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30965 if (!SWIG_IsOK(res1
)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30968 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30969 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30970 if (!SWIG_IsOK(ecode2
)) {
30971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
30973 arg2
= static_cast< long >(val2
);
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 (arg1
)->SetItemCount(arg2
);
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= SWIG_Py_Void();
30987 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
= 0;
30989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 PyObject
* obj2
= 0 ;
31002 char * kwnames
[] = {
31003 (char *) "self",(char *) "dx",(char *) "dy", NULL
31006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31008 if (!SWIG_IsOK(res1
)) {
31009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31011 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31013 if (!SWIG_IsOK(ecode2
)) {
31014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31016 arg2
= static_cast< int >(val2
);
31017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31018 if (!SWIG_IsOK(ecode3
)) {
31019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31021 arg3
= static_cast< int >(val3
);
31023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31024 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31025 wxPyEndAllowThreads(__tstate
);
31026 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31037 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31038 PyObject
*resultobj
= 0;
31039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31041 wxColour
*arg3
= 0 ;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 PyObject
* obj2
= 0 ;
31050 char * kwnames
[] = {
31051 (char *) "self",(char *) "item",(char *) "col", NULL
31054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31056 if (!SWIG_IsOK(res1
)) {
31057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31059 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31061 if (!SWIG_IsOK(ecode2
)) {
31062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31064 arg2
= static_cast< long >(val2
);
31067 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= SWIG_Py_Void();
31082 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31083 PyObject
*resultobj
= 0;
31084 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 char * kwnames
[] = {
31094 (char *) "self",(char *) "item", NULL
31097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31099 if (!SWIG_IsOK(res1
)) {
31100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31102 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31103 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31104 if (!SWIG_IsOK(ecode2
)) {
31105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31107 arg2
= static_cast< long >(val2
);
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31121 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
= 0;
31123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31125 wxColour
*arg3
= 0 ;
31131 PyObject
* obj0
= 0 ;
31132 PyObject
* obj1
= 0 ;
31133 PyObject
* obj2
= 0 ;
31134 char * kwnames
[] = {
31135 (char *) "self",(char *) "item",(char *) "col", NULL
31138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31140 if (!SWIG_IsOK(res1
)) {
31141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31143 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31145 if (!SWIG_IsOK(ecode2
)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31148 arg2
= static_cast< long >(val2
);
31151 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 resultobj
= SWIG_Py_Void();
31166 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31167 PyObject
*resultobj
= 0;
31168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31175 PyObject
* obj0
= 0 ;
31176 PyObject
* obj1
= 0 ;
31177 char * kwnames
[] = {
31178 (char *) "self",(char *) "item", NULL
31181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31183 if (!SWIG_IsOK(res1
)) {
31184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31187 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31188 if (!SWIG_IsOK(ecode2
)) {
31189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31191 arg2
= static_cast< long >(val2
);
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31205 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
= 0;
31207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31216 PyObject
* obj0
= 0 ;
31217 PyObject
* obj1
= 0 ;
31218 PyObject
* obj2
= 0 ;
31219 char * kwnames
[] = {
31220 (char *) "self",(char *) "item",(char *) "f", NULL
31223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31225 if (!SWIG_IsOK(res1
)) {
31226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31228 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31229 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31230 if (!SWIG_IsOK(ecode2
)) {
31231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31233 arg2
= static_cast< long >(val2
);
31234 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31235 if (!SWIG_IsOK(res3
)) {
31236 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31241 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 resultobj
= SWIG_Py_Void();
31255 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
= 0;
31257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31264 PyObject
* obj0
= 0 ;
31265 PyObject
* obj1
= 0 ;
31266 char * kwnames
[] = {
31267 (char *) "self",(char *) "item", NULL
31270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31272 if (!SWIG_IsOK(res1
)) {
31273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31275 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31276 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31277 if (!SWIG_IsOK(ecode2
)) {
31278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31280 arg2
= static_cast< long >(val2
);
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31294 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
= 0;
31296 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31297 PyObject
*arg2
= (PyObject
*) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char * kwnames
[] = {
31304 (char *) "self",(char *) "func", NULL
31307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31309 if (!SWIG_IsOK(res1
)) {
31310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31312 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31316 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31317 wxPyEndAllowThreads(__tstate
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31329 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31330 PyObject
*resultobj
= 0;
31331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31332 wxWindow
*result
= 0 ;
31335 PyObject
*swig_obj
[1] ;
31337 if (!args
) SWIG_fail
;
31338 swig_obj
[0] = args
;
31339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31340 if (!SWIG_IsOK(res1
)) {
31341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31343 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= wxPyMake_wxObject(result
, 0);
31359 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31360 PyObject
*resultobj
= 0;
31361 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31362 SwigValueWrapper
<wxVisualAttributes
> result
;
31365 PyObject
* obj0
= 0 ;
31366 char * kwnames
[] = {
31367 (char *) "variant", NULL
31370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31373 if (!SWIG_IsOK(ecode1
)) {
31374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31376 arg1
= static_cast< wxWindowVariant
>(val1
);
31379 if (!wxPyCheckForApp()) SWIG_fail
;
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31392 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31395 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31396 return SWIG_Py_Void();
31399 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31400 return SWIG_Python_InitShadowInstance(args
);
31403 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
= 0;
31405 wxWindow
*arg1
= (wxWindow
*) 0 ;
31406 int arg2
= (int) -1 ;
31407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31411 long arg5
= (long) wxLC_REPORT
;
31412 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31413 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31414 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31415 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31416 wxListView
*result
= 0 ;
31427 bool temp7
= false ;
31428 PyObject
* obj0
= 0 ;
31429 PyObject
* obj1
= 0 ;
31430 PyObject
* obj2
= 0 ;
31431 PyObject
* obj3
= 0 ;
31432 PyObject
* obj4
= 0 ;
31433 PyObject
* obj5
= 0 ;
31434 PyObject
* obj6
= 0 ;
31435 char * kwnames
[] = {
31436 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31441 if (!SWIG_IsOK(res1
)) {
31442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31444 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31447 if (!SWIG_IsOK(ecode2
)) {
31448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31450 arg2
= static_cast< int >(val2
);
31455 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31461 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31465 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31466 if (!SWIG_IsOK(ecode5
)) {
31467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31469 arg5
= static_cast< long >(val5
);
31472 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31473 if (!SWIG_IsOK(res6
)) {
31474 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31479 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31483 arg7
= wxString_in_helper(obj6
);
31484 if (arg7
== NULL
) SWIG_fail
;
31489 if (!wxPyCheckForApp()) SWIG_fail
;
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31492 wxPyEndAllowThreads(__tstate
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31510 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31511 PyObject
*resultobj
= 0;
31512 wxListView
*result
= 0 ;
31514 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31516 if (!wxPyCheckForApp()) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 result
= (wxListView
*)new wxListView();
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31529 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31530 PyObject
*resultobj
= 0;
31531 wxListView
*arg1
= (wxListView
*) 0 ;
31532 wxWindow
*arg2
= (wxWindow
*) 0 ;
31533 int arg3
= (int) -1 ;
31534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31538 long arg6
= (long) wxLC_REPORT
;
31539 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31540 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31541 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31542 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31556 bool temp8
= false ;
31557 PyObject
* obj0
= 0 ;
31558 PyObject
* obj1
= 0 ;
31559 PyObject
* obj2
= 0 ;
31560 PyObject
* obj3
= 0 ;
31561 PyObject
* obj4
= 0 ;
31562 PyObject
* obj5
= 0 ;
31563 PyObject
* obj6
= 0 ;
31564 PyObject
* obj7
= 0 ;
31565 char * kwnames
[] = {
31566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31571 if (!SWIG_IsOK(res1
)) {
31572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31574 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31576 if (!SWIG_IsOK(res2
)) {
31577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31582 if (!SWIG_IsOK(ecode3
)) {
31583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31585 arg3
= static_cast< int >(val3
);
31590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31600 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31601 if (!SWIG_IsOK(ecode6
)) {
31602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31604 arg6
= static_cast< long >(val6
);
31607 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31608 if (!SWIG_IsOK(res7
)) {
31609 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31614 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31618 arg8
= wxString_in_helper(obj7
);
31619 if (arg8
== NULL
) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31646 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
= 0;
31648 wxListView
*arg1
= (wxListView
*) 0 ;
31650 bool arg3
= (bool) true ;
31657 PyObject
* obj0
= 0 ;
31658 PyObject
* obj1
= 0 ;
31659 PyObject
* obj2
= 0 ;
31660 char * kwnames
[] = {
31661 (char *) "self",(char *) "n",(char *) "on", NULL
31664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31666 if (!SWIG_IsOK(res1
)) {
31667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31669 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31670 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31671 if (!SWIG_IsOK(ecode2
)) {
31672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31674 arg2
= static_cast< long >(val2
);
31676 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31677 if (!SWIG_IsOK(ecode3
)) {
31678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31680 arg3
= static_cast< bool >(val3
);
31683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31684 (arg1
)->Select(arg2
,arg3
);
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31688 resultobj
= SWIG_Py_Void();
31695 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
= 0;
31697 wxListView
*arg1
= (wxListView
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 PyObject
* obj1
= 0 ;
31705 char * kwnames
[] = {
31706 (char *) "self",(char *) "index", NULL
31709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31711 if (!SWIG_IsOK(res1
)) {
31712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31714 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31715 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31716 if (!SWIG_IsOK(ecode2
)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31719 arg2
= static_cast< long >(val2
);
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 (arg1
)->Focus(arg2
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_Py_Void();
31733 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31734 PyObject
*resultobj
= 0;
31735 wxListView
*arg1
= (wxListView
*) 0 ;
31739 PyObject
*swig_obj
[1] ;
31741 if (!args
) SWIG_fail
;
31742 swig_obj
[0] = args
;
31743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31744 if (!SWIG_IsOK(res1
)) {
31745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31747 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31750 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= SWIG_From_long(static_cast< long >(result
));
31761 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
= 0;
31763 wxListView
*arg1
= (wxListView
*) 0 ;
31770 PyObject
* obj0
= 0 ;
31771 PyObject
* obj1
= 0 ;
31772 char * kwnames
[] = {
31773 (char *) "self",(char *) "item", NULL
31776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31778 if (!SWIG_IsOK(res1
)) {
31779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31781 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31782 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31783 if (!SWIG_IsOK(ecode2
)) {
31784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31786 arg2
= static_cast< long >(val2
);
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 resultobj
= SWIG_From_long(static_cast< long >(result
));
31800 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31801 PyObject
*resultobj
= 0;
31802 wxListView
*arg1
= (wxListView
*) 0 ;
31806 PyObject
*swig_obj
[1] ;
31808 if (!args
) SWIG_fail
;
31809 swig_obj
[0] = args
;
31810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31811 if (!SWIG_IsOK(res1
)) {
31812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31814 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31817 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 resultobj
= SWIG_From_long(static_cast< long >(result
));
31828 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
= 0;
31830 wxListView
*arg1
= (wxListView
*) 0 ;
31837 PyObject
* obj0
= 0 ;
31838 PyObject
* obj1
= 0 ;
31839 char * kwnames
[] = {
31840 (char *) "self",(char *) "index", NULL
31843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31845 if (!SWIG_IsOK(res1
)) {
31846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31848 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31849 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31850 if (!SWIG_IsOK(ecode2
)) {
31851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31853 arg2
= static_cast< long >(val2
);
31855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31856 result
= (bool)(arg1
)->IsSelected(arg2
);
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31869 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
= 0;
31871 wxListView
*arg1
= (wxListView
*) 0 ;
31880 PyObject
* obj0
= 0 ;
31881 PyObject
* obj1
= 0 ;
31882 PyObject
* obj2
= 0 ;
31883 char * kwnames
[] = {
31884 (char *) "self",(char *) "col",(char *) "image", NULL
31887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31889 if (!SWIG_IsOK(res1
)) {
31890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31892 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31894 if (!SWIG_IsOK(ecode2
)) {
31895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
31897 arg2
= static_cast< int >(val2
);
31898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31899 if (!SWIG_IsOK(ecode3
)) {
31900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
31902 arg3
= static_cast< int >(val3
);
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 (arg1
)->SetColumnImage(arg2
,arg3
);
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= SWIG_Py_Void();
31916 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= 0;
31918 wxListView
*arg1
= (wxListView
*) 0 ;
31924 PyObject
* obj0
= 0 ;
31925 PyObject
* obj1
= 0 ;
31926 char * kwnames
[] = {
31927 (char *) "self",(char *) "col", NULL
31930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31932 if (!SWIG_IsOK(res1
)) {
31933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31935 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31937 if (!SWIG_IsOK(ecode2
)) {
31938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
31940 arg2
= static_cast< int >(val2
);
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 (arg1
)->ClearColumnImage(arg2
);
31944 wxPyEndAllowThreads(__tstate
);
31945 if (PyErr_Occurred()) SWIG_fail
;
31947 resultobj
= SWIG_Py_Void();
31954 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31957 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
31958 return SWIG_Py_Void();
31961 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31962 return SWIG_Python_InitShadowInstance(args
);
31965 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
31966 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
31971 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
31972 PyObject
*pyobj
= 0;
31976 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
31978 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
31985 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31986 PyObject
*resultobj
= 0;
31987 wxTreeItemId
*result
= 0 ;
31989 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= (wxTreeItemId
*)new wxTreeItemId();
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32003 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32004 PyObject
*resultobj
= 0;
32005 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32008 PyObject
*swig_obj
[1] ;
32010 if (!args
) SWIG_fail
;
32011 swig_obj
[0] = args
;
32012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32013 if (!SWIG_IsOK(res1
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32016 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 wxPyEndAllowThreads(__tstate
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32024 resultobj
= SWIG_Py_Void();
32031 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32032 PyObject
*resultobj
= 0;
32033 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32037 PyObject
*swig_obj
[1] ;
32039 if (!args
) SWIG_fail
;
32040 swig_obj
[0] = args
;
32041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32042 if (!SWIG_IsOK(res1
)) {
32043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32045 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32048 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32061 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32062 PyObject
*resultobj
= 0;
32063 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32064 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32070 PyObject
* obj0
= 0 ;
32071 PyObject
* obj1
= 0 ;
32072 char * kwnames
[] = {
32073 (char *) "self",(char *) "other", NULL
32076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32078 if (!SWIG_IsOK(res1
)) {
32079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32081 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32083 if (!SWIG_IsOK(res2
)) {
32084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32086 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32089 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32102 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32103 PyObject
*resultobj
= 0;
32104 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32105 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32111 PyObject
* obj0
= 0 ;
32112 PyObject
* obj1
= 0 ;
32113 char * kwnames
[] = {
32114 (char *) "self",(char *) "other", NULL
32117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32119 if (!SWIG_IsOK(res1
)) {
32120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32122 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32124 if (!SWIG_IsOK(res2
)) {
32125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32127 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32130 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32143 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32144 PyObject
*resultobj
= 0;
32145 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32146 void *arg2
= (void *) 0 ;
32150 PyObject
*swig_obj
[2] ;
32152 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32154 if (!SWIG_IsOK(res1
)) {
32155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32157 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32158 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32159 if (!SWIG_IsOK(res2
)) {
32160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32162 if (arg1
) (arg1
)->m_pItem
= arg2
;
32164 resultobj
= SWIG_Py_Void();
32171 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32172 PyObject
*resultobj
= 0;
32173 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32177 PyObject
*swig_obj
[1] ;
32179 if (!args
) SWIG_fail
;
32180 swig_obj
[0] = args
;
32181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32182 if (!SWIG_IsOK(res1
)) {
32183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32185 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32186 result
= (void *) ((arg1
)->m_pItem
);
32187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32194 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32197 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32198 return SWIG_Py_Void();
32201 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32202 return SWIG_Python_InitShadowInstance(args
);
32205 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32206 PyObject
*resultobj
= 0;
32207 PyObject
*arg1
= (PyObject
*) NULL
;
32208 wxPyTreeItemData
*result
= 0 ;
32209 PyObject
* obj0
= 0 ;
32210 char * kwnames
[] = {
32211 (char *) "obj", NULL
32214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32220 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32231 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32232 PyObject
*resultobj
= 0;
32233 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32236 PyObject
*swig_obj
[1] ;
32238 if (!args
) SWIG_fail
;
32239 swig_obj
[0] = args
;
32240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32241 if (!SWIG_IsOK(res1
)) {
32242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32244 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= SWIG_Py_Void();
32259 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32260 PyObject
*resultobj
= 0;
32261 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32262 PyObject
*result
= 0 ;
32265 PyObject
*swig_obj
[1] ;
32267 if (!args
) SWIG_fail
;
32268 swig_obj
[0] = args
;
32269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32270 if (!SWIG_IsOK(res1
)) {
32271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32273 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 result
= (PyObject
*)(arg1
)->GetData();
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= result
;
32287 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32288 PyObject
*resultobj
= 0;
32289 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32290 PyObject
*arg2
= (PyObject
*) 0 ;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 char * kwnames
[] = {
32296 (char *) "self",(char *) "obj", NULL
32299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32301 if (!SWIG_IsOK(res1
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32304 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32308 (arg1
)->SetData(arg2
);
32309 wxPyEndAllowThreads(__tstate
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32312 resultobj
= SWIG_Py_Void();
32319 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32320 PyObject
*resultobj
= 0;
32321 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32322 wxTreeItemId
*result
= 0 ;
32325 PyObject
*swig_obj
[1] ;
32327 if (!args
) SWIG_fail
;
32328 swig_obj
[0] = args
;
32329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32330 if (!SWIG_IsOK(res1
)) {
32331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32333 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32338 result
= (wxTreeItemId
*) &_result_ref
;
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32350 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32351 PyObject
*resultobj
= 0;
32352 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32353 wxTreeItemId
*arg2
= 0 ;
32358 PyObject
* obj0
= 0 ;
32359 PyObject
* obj1
= 0 ;
32360 char * kwnames
[] = {
32361 (char *) "self",(char *) "id", NULL
32364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32366 if (!SWIG_IsOK(res1
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32369 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32371 if (!SWIG_IsOK(res2
)) {
32372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32377 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32381 wxPyEndAllowThreads(__tstate
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32384 resultobj
= SWIG_Py_Void();
32391 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32392 PyObject
*resultobj
= 0;
32393 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32396 PyObject
*swig_obj
[1] ;
32398 if (!args
) SWIG_fail
;
32399 swig_obj
[0] = args
;
32400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32401 if (!SWIG_IsOK(res1
)) {
32402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32404 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 wxPyTreeItemData_Destroy(arg1
);
32408 wxPyEndAllowThreads(__tstate
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32411 resultobj
= SWIG_Py_Void();
32418 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32422 return SWIG_Py_Void();
32425 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32426 return SWIG_Python_InitShadowInstance(args
);
32429 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
= 0;
32431 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32432 int arg2
= (int) 0 ;
32433 wxTreeEvent
*result
= 0 ;
32438 PyObject
* obj0
= 0 ;
32439 PyObject
* obj1
= 0 ;
32440 char * kwnames
[] = {
32441 (char *) "commandType",(char *) "id", NULL
32444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32447 if (!SWIG_IsOK(ecode1
)) {
32448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32450 arg1
= static_cast< wxEventType
>(val1
);
32453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32454 if (!SWIG_IsOK(ecode2
)) {
32455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32457 arg2
= static_cast< int >(val2
);
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32462 wxPyEndAllowThreads(__tstate
);
32463 if (PyErr_Occurred()) SWIG_fail
;
32465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32472 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32473 PyObject
*resultobj
= 0;
32474 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32475 wxTreeItemId result
;
32478 PyObject
*swig_obj
[1] ;
32480 if (!args
) SWIG_fail
;
32481 swig_obj
[0] = args
;
32482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32483 if (!SWIG_IsOK(res1
)) {
32484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32486 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32490 wxPyEndAllowThreads(__tstate
);
32491 if (PyErr_Occurred()) SWIG_fail
;
32493 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32500 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32501 PyObject
*resultobj
= 0;
32502 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32503 wxTreeItemId
*arg2
= 0 ;
32508 PyObject
* obj0
= 0 ;
32509 PyObject
* obj1
= 0 ;
32510 char * kwnames
[] = {
32511 (char *) "self",(char *) "item", NULL
32514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32519 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32521 if (!SWIG_IsOK(res2
)) {
32522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32527 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32531 wxPyEndAllowThreads(__tstate
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32534 resultobj
= SWIG_Py_Void();
32541 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32542 PyObject
*resultobj
= 0;
32543 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32544 wxTreeItemId result
;
32547 PyObject
*swig_obj
[1] ;
32549 if (!args
) SWIG_fail
;
32550 swig_obj
[0] = args
;
32551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32552 if (!SWIG_IsOK(res1
)) {
32553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32555 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32562 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32569 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32570 PyObject
*resultobj
= 0;
32571 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32572 wxTreeItemId
*arg2
= 0 ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 char * kwnames
[] = {
32580 (char *) "self",(char *) "item", NULL
32583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32585 if (!SWIG_IsOK(res1
)) {
32586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32588 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32590 if (!SWIG_IsOK(res2
)) {
32591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32596 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32600 wxPyEndAllowThreads(__tstate
);
32601 if (PyErr_Occurred()) SWIG_fail
;
32603 resultobj
= SWIG_Py_Void();
32610 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32611 PyObject
*resultobj
= 0;
32612 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32616 PyObject
*swig_obj
[1] ;
32618 if (!args
) SWIG_fail
;
32619 swig_obj
[0] = args
;
32620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32621 if (!SWIG_IsOK(res1
)) {
32622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32624 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32628 wxPyEndAllowThreads(__tstate
);
32629 if (PyErr_Occurred()) SWIG_fail
;
32631 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32638 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32639 PyObject
*resultobj
= 0;
32640 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32641 wxPoint
*arg2
= 0 ;
32645 PyObject
* obj0
= 0 ;
32646 PyObject
* obj1
= 0 ;
32647 char * kwnames
[] = {
32648 (char *) "self",(char *) "pt", NULL
32651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32653 if (!SWIG_IsOK(res1
)) {
32654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32656 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32663 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32664 wxPyEndAllowThreads(__tstate
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32667 resultobj
= SWIG_Py_Void();
32674 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32675 PyObject
*resultobj
= 0;
32676 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32677 wxKeyEvent
*result
= 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_wxTreeEvent
, 0 | 0 );
32685 if (!SWIG_IsOK(res1
)) {
32686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32688 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32693 result
= (wxKeyEvent
*) &_result_ref
;
32695 wxPyEndAllowThreads(__tstate
);
32696 if (PyErr_Occurred()) SWIG_fail
;
32698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32705 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 PyObject
*resultobj
= 0;
32707 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32711 PyObject
*swig_obj
[1] ;
32713 if (!args
) SWIG_fail
;
32714 swig_obj
[0] = args
;
32715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32716 if (!SWIG_IsOK(res1
)) {
32717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32719 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= SWIG_From_int(static_cast< int >(result
));
32733 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
= 0;
32735 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32736 wxKeyEvent
*arg2
= 0 ;
32741 PyObject
* obj0
= 0 ;
32742 PyObject
* obj1
= 0 ;
32743 char * kwnames
[] = {
32744 (char *) "self",(char *) "evt", NULL
32747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32749 if (!SWIG_IsOK(res1
)) {
32750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32752 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32754 if (!SWIG_IsOK(res2
)) {
32755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32760 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32767 resultobj
= SWIG_Py_Void();
32774 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32775 PyObject
*resultobj
= 0;
32776 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32777 wxString
*result
= 0 ;
32780 PyObject
*swig_obj
[1] ;
32782 if (!args
) SWIG_fail
;
32783 swig_obj
[0] = args
;
32784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32785 if (!SWIG_IsOK(res1
)) {
32786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32788 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32792 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32793 result
= (wxString
*) &_result_ref
;
32795 wxPyEndAllowThreads(__tstate
);
32796 if (PyErr_Occurred()) SWIG_fail
;
32800 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32802 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32811 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32812 PyObject
*resultobj
= 0;
32813 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32814 wxString
*arg2
= 0 ;
32817 bool temp2
= false ;
32818 PyObject
* obj0
= 0 ;
32819 PyObject
* obj1
= 0 ;
32820 char * kwnames
[] = {
32821 (char *) "self",(char *) "label", NULL
32824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32826 if (!SWIG_IsOK(res1
)) {
32827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32829 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32831 arg2
= wxString_in_helper(obj1
);
32832 if (arg2
== NULL
) SWIG_fail
;
32836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32837 (arg1
)->SetLabel((wxString
const &)*arg2
);
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= SWIG_Py_Void();
32856 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32857 PyObject
*resultobj
= 0;
32858 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32862 PyObject
*swig_obj
[1] ;
32864 if (!args
) SWIG_fail
;
32865 swig_obj
[0] = args
;
32866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32867 if (!SWIG_IsOK(res1
)) {
32868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32870 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32886 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
= 0;
32888 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32894 PyObject
* obj0
= 0 ;
32895 PyObject
* obj1
= 0 ;
32896 char * kwnames
[] = {
32897 (char *) "self",(char *) "editCancelled", NULL
32900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32902 if (!SWIG_IsOK(res1
)) {
32903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32905 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32906 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32907 if (!SWIG_IsOK(ecode2
)) {
32908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
32910 arg2
= static_cast< bool >(val2
);
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 (arg1
)->SetEditCanceled(arg2
);
32914 wxPyEndAllowThreads(__tstate
);
32915 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= SWIG_Py_Void();
32924 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32925 PyObject
*resultobj
= 0;
32926 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32927 wxString
*arg2
= 0 ;
32930 bool temp2
= false ;
32931 PyObject
* obj0
= 0 ;
32932 PyObject
* obj1
= 0 ;
32933 char * kwnames
[] = {
32934 (char *) "self",(char *) "toolTip", NULL
32937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32939 if (!SWIG_IsOK(res1
)) {
32940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32942 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32944 arg2
= wxString_in_helper(obj1
);
32945 if (arg2
== NULL
) SWIG_fail
;
32949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32950 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= SWIG_Py_Void();
32969 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32970 PyObject
*resultobj
= 0;
32971 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32975 PyObject
*swig_obj
[1] ;
32977 if (!args
) SWIG_fail
;
32978 swig_obj
[0] = args
;
32979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32980 if (!SWIG_IsOK(res1
)) {
32981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32983 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= (arg1
)->GetToolTip();
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33003 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33006 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33007 return SWIG_Py_Void();
33010 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33011 return SWIG_Python_InitShadowInstance(args
);
33014 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33015 PyObject
*resultobj
= 0;
33016 wxWindow
*arg1
= (wxWindow
*) 0 ;
33017 int arg2
= (int) -1 ;
33018 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33019 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33020 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33021 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33022 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33023 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33024 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33025 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33026 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33027 wxPyTreeCtrl
*result
= 0 ;
33038 bool temp7
= false ;
33039 PyObject
* obj0
= 0 ;
33040 PyObject
* obj1
= 0 ;
33041 PyObject
* obj2
= 0 ;
33042 PyObject
* obj3
= 0 ;
33043 PyObject
* obj4
= 0 ;
33044 PyObject
* obj5
= 0 ;
33045 PyObject
* obj6
= 0 ;
33046 char * kwnames
[] = {
33047 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33052 if (!SWIG_IsOK(res1
)) {
33053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33058 if (!SWIG_IsOK(ecode2
)) {
33059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33061 arg2
= static_cast< int >(val2
);
33066 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33072 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33076 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33077 if (!SWIG_IsOK(ecode5
)) {
33078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33080 arg5
= static_cast< long >(val5
);
33083 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33084 if (!SWIG_IsOK(res6
)) {
33085 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33090 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33094 arg7
= wxString_in_helper(obj6
);
33095 if (arg7
== NULL
) SWIG_fail
;
33100 if (!wxPyCheckForApp()) SWIG_fail
;
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33103 wxPyEndAllowThreads(__tstate
);
33104 if (PyErr_Occurred()) SWIG_fail
;
33106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33121 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33122 PyObject
*resultobj
= 0;
33123 wxPyTreeCtrl
*result
= 0 ;
33125 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33127 if (!wxPyCheckForApp()) SWIG_fail
;
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33140 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
= 0;
33142 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33143 wxWindow
*arg2
= (wxWindow
*) 0 ;
33144 int arg3
= (int) -1 ;
33145 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33146 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33147 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33148 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33149 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33150 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33151 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33152 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33153 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33167 bool temp8
= false ;
33168 PyObject
* obj0
= 0 ;
33169 PyObject
* obj1
= 0 ;
33170 PyObject
* obj2
= 0 ;
33171 PyObject
* obj3
= 0 ;
33172 PyObject
* obj4
= 0 ;
33173 PyObject
* obj5
= 0 ;
33174 PyObject
* obj6
= 0 ;
33175 PyObject
* obj7
= 0 ;
33176 char * kwnames
[] = {
33177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33182 if (!SWIG_IsOK(res1
)) {
33183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33185 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33187 if (!SWIG_IsOK(res2
)) {
33188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33193 if (!SWIG_IsOK(ecode3
)) {
33194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33196 arg3
= static_cast< int >(val3
);
33201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33212 if (!SWIG_IsOK(ecode6
)) {
33213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33215 arg6
= static_cast< long >(val6
);
33218 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33219 if (!SWIG_IsOK(res7
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33225 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33229 arg8
= wxString_in_helper(obj7
);
33230 if (arg8
== NULL
) SWIG_fail
;
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33257 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33258 PyObject
*resultobj
= 0;
33259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33260 PyObject
*arg2
= (PyObject
*) 0 ;
33261 PyObject
*arg3
= (PyObject
*) 0 ;
33264 PyObject
* obj0
= 0 ;
33265 PyObject
* obj1
= 0 ;
33266 PyObject
* obj2
= 0 ;
33267 char * kwnames
[] = {
33268 (char *) "self",(char *) "self",(char *) "_class", NULL
33271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33273 if (!SWIG_IsOK(res1
)) {
33274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33276 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33281 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33282 wxPyEndAllowThreads(__tstate
);
33283 if (PyErr_Occurred()) SWIG_fail
;
33285 resultobj
= SWIG_Py_Void();
33292 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33293 PyObject
*resultobj
= 0;
33294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33295 unsigned int result
;
33298 PyObject
*swig_obj
[1] ;
33300 if (!args
) SWIG_fail
;
33301 swig_obj
[0] = args
;
33302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33303 if (!SWIG_IsOK(res1
)) {
33304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33306 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33309 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33310 wxPyEndAllowThreads(__tstate
);
33311 if (PyErr_Occurred()) SWIG_fail
;
33313 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33320 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33321 PyObject
*resultobj
= 0;
33322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33323 unsigned int result
;
33326 PyObject
*swig_obj
[1] ;
33328 if (!args
) SWIG_fail
;
33329 swig_obj
[0] = args
;
33330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33331 if (!SWIG_IsOK(res1
)) {
33332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33334 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33337 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33341 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33348 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33349 PyObject
*resultobj
= 0;
33350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33351 unsigned int arg2
;
33354 unsigned int val2
;
33356 PyObject
* obj0
= 0 ;
33357 PyObject
* obj1
= 0 ;
33358 char * kwnames
[] = {
33359 (char *) "self",(char *) "indent", NULL
33362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33364 if (!SWIG_IsOK(res1
)) {
33365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33367 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33368 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33369 if (!SWIG_IsOK(ecode2
)) {
33370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33372 arg2
= static_cast< unsigned int >(val2
);
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 (arg1
)->SetIndent(arg2
);
33376 wxPyEndAllowThreads(__tstate
);
33377 if (PyErr_Occurred()) SWIG_fail
;
33379 resultobj
= SWIG_Py_Void();
33386 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33387 PyObject
*resultobj
= 0;
33388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33389 unsigned int result
;
33392 PyObject
*swig_obj
[1] ;
33394 if (!args
) SWIG_fail
;
33395 swig_obj
[0] = args
;
33396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33397 if (!SWIG_IsOK(res1
)) {
33398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33403 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33407 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33414 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33415 PyObject
*resultobj
= 0;
33416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33417 unsigned int arg2
;
33420 unsigned int val2
;
33422 PyObject
* obj0
= 0 ;
33423 PyObject
* obj1
= 0 ;
33424 char * kwnames
[] = {
33425 (char *) "self",(char *) "spacing", NULL
33428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33430 if (!SWIG_IsOK(res1
)) {
33431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33433 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33434 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33435 if (!SWIG_IsOK(ecode2
)) {
33436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33438 arg2
= static_cast< unsigned int >(val2
);
33440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33441 (arg1
)->SetSpacing(arg2
);
33442 wxPyEndAllowThreads(__tstate
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33445 resultobj
= SWIG_Py_Void();
33452 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33453 PyObject
*resultobj
= 0;
33454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33455 wxImageList
*result
= 0 ;
33458 PyObject
*swig_obj
[1] ;
33460 if (!args
) SWIG_fail
;
33461 swig_obj
[0] = args
;
33462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33463 if (!SWIG_IsOK(res1
)) {
33464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33466 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33470 wxPyEndAllowThreads(__tstate
);
33471 if (PyErr_Occurred()) SWIG_fail
;
33474 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33482 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33483 PyObject
*resultobj
= 0;
33484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33485 wxImageList
*result
= 0 ;
33488 PyObject
*swig_obj
[1] ;
33490 if (!args
) SWIG_fail
;
33491 swig_obj
[0] = args
;
33492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33493 if (!SWIG_IsOK(res1
)) {
33494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33496 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33499 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33500 wxPyEndAllowThreads(__tstate
);
33501 if (PyErr_Occurred()) SWIG_fail
;
33504 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33512 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
= 0;
33514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33515 wxImageList
*arg2
= (wxImageList
*) 0 ;
33520 PyObject
* obj0
= 0 ;
33521 PyObject
* obj1
= 0 ;
33522 char * kwnames
[] = {
33523 (char *) "self",(char *) "imageList", NULL
33526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33528 if (!SWIG_IsOK(res1
)) {
33529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33531 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33533 if (!SWIG_IsOK(res2
)) {
33534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33536 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33539 (arg1
)->SetImageList(arg2
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33543 resultobj
= SWIG_Py_Void();
33550 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
= 0;
33552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33553 wxImageList
*arg2
= (wxImageList
*) 0 ;
33558 PyObject
* obj0
= 0 ;
33559 PyObject
* obj1
= 0 ;
33560 char * kwnames
[] = {
33561 (char *) "self",(char *) "imageList", NULL
33564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33566 if (!SWIG_IsOK(res1
)) {
33567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33569 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33571 if (!SWIG_IsOK(res2
)) {
33572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33574 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33577 (arg1
)->SetStateImageList(arg2
);
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33581 resultobj
= SWIG_Py_Void();
33588 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33589 PyObject
*resultobj
= 0;
33590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33591 wxImageList
*arg2
= (wxImageList
*) 0 ;
33595 PyObject
* obj0
= 0 ;
33596 PyObject
* obj1
= 0 ;
33597 char * kwnames
[] = {
33598 (char *) "self",(char *) "imageList", NULL
33601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33603 if (!SWIG_IsOK(res1
)) {
33604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33606 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33607 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33608 if (!SWIG_IsOK(res2
)) {
33609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33613 (arg1
)->AssignImageList(arg2
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 resultobj
= SWIG_Py_Void();
33624 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33625 PyObject
*resultobj
= 0;
33626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33627 wxImageList
*arg2
= (wxImageList
*) 0 ;
33631 PyObject
* obj0
= 0 ;
33632 PyObject
* obj1
= 0 ;
33633 char * kwnames
[] = {
33634 (char *) "self",(char *) "imageList", NULL
33637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33639 if (!SWIG_IsOK(res1
)) {
33640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33642 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33643 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33644 if (!SWIG_IsOK(res2
)) {
33645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33649 (arg1
)->AssignStateImageList(arg2
);
33650 wxPyEndAllowThreads(__tstate
);
33651 if (PyErr_Occurred()) SWIG_fail
;
33653 resultobj
= SWIG_Py_Void();
33660 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33661 PyObject
*resultobj
= 0;
33662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33663 wxTreeItemId
*arg2
= 0 ;
33669 PyObject
* obj0
= 0 ;
33670 PyObject
* obj1
= 0 ;
33671 char * kwnames
[] = {
33672 (char *) "self",(char *) "item", NULL
33675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33677 if (!SWIG_IsOK(res1
)) {
33678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33680 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33682 if (!SWIG_IsOK(res2
)) {
33683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33688 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33691 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33692 wxPyEndAllowThreads(__tstate
);
33693 if (PyErr_Occurred()) SWIG_fail
;
33697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33708 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33709 PyObject
*resultobj
= 0;
33710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33711 wxTreeItemId
*arg2
= 0 ;
33712 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33720 PyObject
* obj0
= 0 ;
33721 PyObject
* obj1
= 0 ;
33722 PyObject
* obj2
= 0 ;
33723 char * kwnames
[] = {
33724 (char *) "self",(char *) "item",(char *) "which", NULL
33727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33729 if (!SWIG_IsOK(res1
)) {
33730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33732 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33734 if (!SWIG_IsOK(res2
)) {
33735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33740 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33743 if (!SWIG_IsOK(ecode3
)) {
33744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33746 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33750 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33751 wxPyEndAllowThreads(__tstate
);
33752 if (PyErr_Occurred()) SWIG_fail
;
33754 resultobj
= SWIG_From_int(static_cast< int >(result
));
33761 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33762 PyObject
*resultobj
= 0;
33763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33764 wxTreeItemId
*arg2
= 0 ;
33765 wxPyTreeItemData
*result
= 0 ;
33770 PyObject
* obj0
= 0 ;
33771 PyObject
* obj1
= 0 ;
33772 char * kwnames
[] = {
33773 (char *) "self",(char *) "item", NULL
33776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33778 if (!SWIG_IsOK(res1
)) {
33779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33781 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33783 if (!SWIG_IsOK(res2
)) {
33784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33789 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33793 wxPyEndAllowThreads(__tstate
);
33794 if (PyErr_Occurred()) SWIG_fail
;
33796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33803 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
= 0;
33805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33806 wxTreeItemId
*arg2
= 0 ;
33807 PyObject
*result
= 0 ;
33812 PyObject
* obj0
= 0 ;
33813 PyObject
* obj1
= 0 ;
33814 char * kwnames
[] = {
33815 (char *) "self",(char *) "item", NULL
33818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33820 if (!SWIG_IsOK(res1
)) {
33821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33823 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33825 if (!SWIG_IsOK(res2
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33831 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33834 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33835 wxPyEndAllowThreads(__tstate
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33838 resultobj
= result
;
33845 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33846 PyObject
*resultobj
= 0;
33847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33848 wxTreeItemId
*arg2
= 0 ;
33854 PyObject
* obj0
= 0 ;
33855 PyObject
* obj1
= 0 ;
33856 char * kwnames
[] = {
33857 (char *) "self",(char *) "item", NULL
33860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33862 if (!SWIG_IsOK(res1
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33865 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33867 if (!SWIG_IsOK(res2
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33873 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33880 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33887 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33888 PyObject
*resultobj
= 0;
33889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33890 wxTreeItemId
*arg2
= 0 ;
33896 PyObject
* obj0
= 0 ;
33897 PyObject
* obj1
= 0 ;
33898 char * kwnames
[] = {
33899 (char *) "self",(char *) "item", NULL
33902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33904 if (!SWIG_IsOK(res1
)) {
33905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33907 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33909 if (!SWIG_IsOK(res2
)) {
33910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33915 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33929 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33930 PyObject
*resultobj
= 0;
33931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33932 wxTreeItemId
*arg2
= 0 ;
33938 PyObject
* obj0
= 0 ;
33939 PyObject
* obj1
= 0 ;
33940 char * kwnames
[] = {
33941 (char *) "self",(char *) "item", NULL
33944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33946 if (!SWIG_IsOK(res1
)) {
33947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33949 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33951 if (!SWIG_IsOK(res2
)) {
33952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33957 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33964 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
33971 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33972 PyObject
*resultobj
= 0;
33973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33974 wxTreeItemId
*arg2
= 0 ;
33975 wxString
*arg3
= 0 ;
33980 bool temp3
= false ;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 PyObject
* obj2
= 0 ;
33984 char * kwnames
[] = {
33985 (char *) "self",(char *) "item",(char *) "text", NULL
33988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33990 if (!SWIG_IsOK(res1
)) {
33991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33993 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33995 if (!SWIG_IsOK(res2
)) {
33996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34001 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34003 arg3
= wxString_in_helper(obj2
);
34004 if (arg3
== NULL
) SWIG_fail
;
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34010 wxPyEndAllowThreads(__tstate
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34013 resultobj
= SWIG_Py_Void();
34028 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34029 PyObject
*resultobj
= 0;
34030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34031 wxTreeItemId
*arg2
= 0 ;
34033 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 PyObject
* obj2
= 0 ;
34045 PyObject
* obj3
= 0 ;
34046 char * kwnames
[] = {
34047 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34052 if (!SWIG_IsOK(res1
)) {
34053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34057 if (!SWIG_IsOK(res2
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34065 if (!SWIG_IsOK(ecode3
)) {
34066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34068 arg3
= static_cast< int >(val3
);
34070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34071 if (!SWIG_IsOK(ecode4
)) {
34072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34074 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 resultobj
= SWIG_Py_Void();
34089 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
= 0;
34091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34092 wxTreeItemId
*arg2
= 0 ;
34093 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34099 PyObject
* obj0
= 0 ;
34100 PyObject
* obj1
= 0 ;
34101 PyObject
* obj2
= 0 ;
34102 char * kwnames
[] = {
34103 (char *) "self",(char *) "item",(char *) "data", NULL
34106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34108 if (!SWIG_IsOK(res1
)) {
34109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34111 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34113 if (!SWIG_IsOK(res2
)) {
34114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34119 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34120 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34121 if (!SWIG_IsOK(res3
)) {
34122 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34126 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34127 wxPyEndAllowThreads(__tstate
);
34128 if (PyErr_Occurred()) SWIG_fail
;
34130 resultobj
= SWIG_Py_Void();
34137 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34138 PyObject
*resultobj
= 0;
34139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34140 wxTreeItemId
*arg2
= 0 ;
34141 PyObject
*arg3
= (PyObject
*) 0 ;
34146 PyObject
* obj0
= 0 ;
34147 PyObject
* obj1
= 0 ;
34148 PyObject
* obj2
= 0 ;
34149 char * kwnames
[] = {
34150 (char *) "self",(char *) "item",(char *) "obj", NULL
34153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34155 if (!SWIG_IsOK(res1
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34160 if (!SWIG_IsOK(res2
)) {
34161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34166 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34170 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 resultobj
= SWIG_Py_Void();
34181 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34182 PyObject
*resultobj
= 0;
34183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34184 wxTreeItemId
*arg2
= 0 ;
34185 bool arg3
= (bool) true ;
34192 PyObject
* obj0
= 0 ;
34193 PyObject
* obj1
= 0 ;
34194 PyObject
* obj2
= 0 ;
34195 char * kwnames
[] = {
34196 (char *) "self",(char *) "item",(char *) "has", NULL
34199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34201 if (!SWIG_IsOK(res1
)) {
34202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34204 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34206 if (!SWIG_IsOK(res2
)) {
34207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34212 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34214 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34215 if (!SWIG_IsOK(ecode3
)) {
34216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34218 arg3
= static_cast< bool >(val3
);
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 resultobj
= SWIG_Py_Void();
34233 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
= 0;
34235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34236 wxTreeItemId
*arg2
= 0 ;
34237 bool arg3
= (bool) true ;
34244 PyObject
* obj0
= 0 ;
34245 PyObject
* obj1
= 0 ;
34246 PyObject
* obj2
= 0 ;
34247 char * kwnames
[] = {
34248 (char *) "self",(char *) "item",(char *) "bold", NULL
34251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34253 if (!SWIG_IsOK(res1
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34256 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34258 if (!SWIG_IsOK(res2
)) {
34259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34264 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34266 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34267 if (!SWIG_IsOK(ecode3
)) {
34268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34270 arg3
= static_cast< bool >(val3
);
34273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34274 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34278 resultobj
= SWIG_Py_Void();
34285 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
= 0;
34287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34288 wxTreeItemId
*arg2
= 0 ;
34289 bool arg3
= (bool) true ;
34296 PyObject
* obj0
= 0 ;
34297 PyObject
* obj1
= 0 ;
34298 PyObject
* obj2
= 0 ;
34299 char * kwnames
[] = {
34300 (char *) "self",(char *) "item",(char *) "highlight", NULL
34303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34305 if (!SWIG_IsOK(res1
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34308 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34310 if (!SWIG_IsOK(res2
)) {
34311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34316 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34318 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34319 if (!SWIG_IsOK(ecode3
)) {
34320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34322 arg3
= static_cast< bool >(val3
);
34325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34326 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34327 wxPyEndAllowThreads(__tstate
);
34328 if (PyErr_Occurred()) SWIG_fail
;
34330 resultobj
= SWIG_Py_Void();
34337 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34338 PyObject
*resultobj
= 0;
34339 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34340 wxTreeItemId
*arg2
= 0 ;
34341 wxColour
*arg3
= 0 ;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 PyObject
* obj2
= 0 ;
34350 char * kwnames
[] = {
34351 (char *) "self",(char *) "item",(char *) "col", NULL
34354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34356 if (!SWIG_IsOK(res1
)) {
34357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34361 if (!SWIG_IsOK(res2
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34370 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34375 wxPyEndAllowThreads(__tstate
);
34376 if (PyErr_Occurred()) SWIG_fail
;
34378 resultobj
= SWIG_Py_Void();
34385 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
= 0;
34387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34388 wxTreeItemId
*arg2
= 0 ;
34389 wxColour
*arg3
= 0 ;
34395 PyObject
* obj0
= 0 ;
34396 PyObject
* obj1
= 0 ;
34397 PyObject
* obj2
= 0 ;
34398 char * kwnames
[] = {
34399 (char *) "self",(char *) "item",(char *) "col", NULL
34402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34404 if (!SWIG_IsOK(res1
)) {
34405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34407 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34409 if (!SWIG_IsOK(res2
)) {
34410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34415 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34418 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34422 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34423 wxPyEndAllowThreads(__tstate
);
34424 if (PyErr_Occurred()) SWIG_fail
;
34426 resultobj
= SWIG_Py_Void();
34433 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34434 PyObject
*resultobj
= 0;
34435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34436 wxTreeItemId
*arg2
= 0 ;
34444 PyObject
* obj0
= 0 ;
34445 PyObject
* obj1
= 0 ;
34446 PyObject
* obj2
= 0 ;
34447 char * kwnames
[] = {
34448 (char *) "self",(char *) "item",(char *) "font", NULL
34451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34453 if (!SWIG_IsOK(res1
)) {
34454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34456 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34458 if (!SWIG_IsOK(res2
)) {
34459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34464 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34465 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34466 if (!SWIG_IsOK(res3
)) {
34467 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34472 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34475 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34476 wxPyEndAllowThreads(__tstate
);
34477 if (PyErr_Occurred()) SWIG_fail
;
34479 resultobj
= SWIG_Py_Void();
34486 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
= 0;
34488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34489 wxTreeItemId
*arg2
= 0 ;
34495 PyObject
* obj0
= 0 ;
34496 PyObject
* obj1
= 0 ;
34497 char * kwnames
[] = {
34498 (char *) "self",(char *) "item", NULL
34501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34503 if (!SWIG_IsOK(res1
)) {
34504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34506 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34508 if (!SWIG_IsOK(res2
)) {
34509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34514 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34518 wxPyEndAllowThreads(__tstate
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34530 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34531 PyObject
*resultobj
= 0;
34532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34533 wxTreeItemId
*arg2
= 0 ;
34539 PyObject
* obj0
= 0 ;
34540 PyObject
* obj1
= 0 ;
34541 char * kwnames
[] = {
34542 (char *) "self",(char *) "item", NULL
34545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34547 if (!SWIG_IsOK(res1
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34550 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34552 if (!SWIG_IsOK(res2
)) {
34553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34558 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34561 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34562 wxPyEndAllowThreads(__tstate
);
34563 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34574 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34575 PyObject
*resultobj
= 0;
34576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34577 wxTreeItemId
*arg2
= 0 ;
34583 PyObject
* obj0
= 0 ;
34584 PyObject
* obj1
= 0 ;
34585 char * kwnames
[] = {
34586 (char *) "self",(char *) "item", NULL
34589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34591 if (!SWIG_IsOK(res1
)) {
34592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34594 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34596 if (!SWIG_IsOK(res2
)) {
34597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34602 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34605 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34618 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34619 PyObject
*resultobj
= 0;
34620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34621 wxTreeItemId
*arg2
= 0 ;
34627 PyObject
* obj0
= 0 ;
34628 PyObject
* obj1
= 0 ;
34629 char * kwnames
[] = {
34630 (char *) "self",(char *) "item", NULL
34633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34635 if (!SWIG_IsOK(res1
)) {
34636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34638 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34640 if (!SWIG_IsOK(res2
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34646 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34649 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34650 wxPyEndAllowThreads(__tstate
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34662 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
= 0;
34664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34665 wxTreeItemId
*arg2
= 0 ;
34671 PyObject
* obj0
= 0 ;
34672 PyObject
* obj1
= 0 ;
34673 char * kwnames
[] = {
34674 (char *) "self",(char *) "item", NULL
34677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34679 if (!SWIG_IsOK(res1
)) {
34680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34682 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34684 if (!SWIG_IsOK(res2
)) {
34685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34690 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34693 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34694 wxPyEndAllowThreads(__tstate
);
34695 if (PyErr_Occurred()) SWIG_fail
;
34698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34706 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34707 PyObject
*resultobj
= 0;
34708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34709 wxTreeItemId
*arg2
= 0 ;
34710 bool arg3
= (bool) true ;
34718 PyObject
* obj0
= 0 ;
34719 PyObject
* obj1
= 0 ;
34720 PyObject
* obj2
= 0 ;
34721 char * kwnames
[] = {
34722 (char *) "self",(char *) "item",(char *) "recursively", NULL
34725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34727 if (!SWIG_IsOK(res1
)) {
34728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34730 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34732 if (!SWIG_IsOK(res2
)) {
34733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34738 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34740 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34741 if (!SWIG_IsOK(ecode3
)) {
34742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34744 arg3
= static_cast< bool >(val3
);
34747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34749 wxPyEndAllowThreads(__tstate
);
34750 if (PyErr_Occurred()) SWIG_fail
;
34752 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34759 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34760 PyObject
*resultobj
= 0;
34761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34762 wxTreeItemId result
;
34765 PyObject
*swig_obj
[1] ;
34767 if (!args
) SWIG_fail
;
34768 swig_obj
[0] = args
;
34769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34770 if (!SWIG_IsOK(res1
)) {
34771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34776 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34787 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34788 PyObject
*resultobj
= 0;
34789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34790 wxTreeItemId result
;
34793 PyObject
*swig_obj
[1] ;
34795 if (!args
) SWIG_fail
;
34796 swig_obj
[0] = args
;
34797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34798 if (!SWIG_IsOK(res1
)) {
34799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34801 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34804 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34805 wxPyEndAllowThreads(__tstate
);
34806 if (PyErr_Occurred()) SWIG_fail
;
34808 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34815 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34816 PyObject
*resultobj
= 0;
34817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34818 PyObject
*result
= 0 ;
34821 PyObject
*swig_obj
[1] ;
34823 if (!args
) SWIG_fail
;
34824 swig_obj
[0] = args
;
34825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34826 if (!SWIG_IsOK(res1
)) {
34827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34829 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34832 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 resultobj
= result
;
34843 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
= 0;
34845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34846 wxTreeItemId
*arg2
= 0 ;
34847 wxTreeItemId result
;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 char * kwnames
[] = {
34855 (char *) "self",(char *) "item", NULL
34858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34860 if (!SWIG_IsOK(res1
)) {
34861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34863 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34865 if (!SWIG_IsOK(res2
)) {
34866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34871 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34874 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
34875 wxPyEndAllowThreads(__tstate
);
34876 if (PyErr_Occurred()) SWIG_fail
;
34878 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34885 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34886 PyObject
*resultobj
= 0;
34887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34888 wxTreeItemId
*arg2
= 0 ;
34889 PyObject
*result
= 0 ;
34894 PyObject
* obj0
= 0 ;
34895 PyObject
* obj1
= 0 ;
34896 char * kwnames
[] = {
34897 (char *) "self",(char *) "item", NULL
34900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34902 if (!SWIG_IsOK(res1
)) {
34903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34905 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34907 if (!SWIG_IsOK(res2
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34913 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= result
;
34927 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
= 0;
34929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34930 wxTreeItemId
*arg2
= 0 ;
34931 void *arg3
= (void *) 0 ;
34932 PyObject
*result
= 0 ;
34938 PyObject
* obj0
= 0 ;
34939 PyObject
* obj1
= 0 ;
34940 PyObject
* obj2
= 0 ;
34941 char * kwnames
[] = {
34942 (char *) "self",(char *) "item",(char *) "cookie", NULL
34945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34947 if (!SWIG_IsOK(res1
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34950 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34952 if (!SWIG_IsOK(res2
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34958 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34959 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
34960 if (!SWIG_IsOK(res3
)) {
34961 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34969 resultobj
= result
;
34976 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
= 0;
34978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34979 wxTreeItemId
*arg2
= 0 ;
34980 wxTreeItemId result
;
34985 PyObject
* obj0
= 0 ;
34986 PyObject
* obj1
= 0 ;
34987 char * kwnames
[] = {
34988 (char *) "self",(char *) "item", NULL
34991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34993 if (!SWIG_IsOK(res1
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34996 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34998 if (!SWIG_IsOK(res2
)) {
34999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35004 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35007 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35011 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35018 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35019 PyObject
*resultobj
= 0;
35020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35021 wxTreeItemId
*arg2
= 0 ;
35022 wxTreeItemId result
;
35027 PyObject
* obj0
= 0 ;
35028 PyObject
* obj1
= 0 ;
35029 char * kwnames
[] = {
35030 (char *) "self",(char *) "item", NULL
35033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35035 if (!SWIG_IsOK(res1
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35038 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35040 if (!SWIG_IsOK(res2
)) {
35041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35046 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35049 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35060 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
= 0;
35062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35063 wxTreeItemId
*arg2
= 0 ;
35064 wxTreeItemId result
;
35069 PyObject
* obj0
= 0 ;
35070 PyObject
* obj1
= 0 ;
35071 char * kwnames
[] = {
35072 (char *) "self",(char *) "item", NULL
35075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35077 if (!SWIG_IsOK(res1
)) {
35078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35082 if (!SWIG_IsOK(res2
)) {
35083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35088 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35092 wxPyEndAllowThreads(__tstate
);
35093 if (PyErr_Occurred()) SWIG_fail
;
35095 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35102 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35103 PyObject
*resultobj
= 0;
35104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35105 wxTreeItemId result
;
35108 PyObject
*swig_obj
[1] ;
35110 if (!args
) SWIG_fail
;
35111 swig_obj
[0] = args
;
35112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35113 if (!SWIG_IsOK(res1
)) {
35114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35116 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35120 wxPyEndAllowThreads(__tstate
);
35121 if (PyErr_Occurred()) SWIG_fail
;
35123 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35130 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35131 PyObject
*resultobj
= 0;
35132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35133 wxTreeItemId
*arg2
= 0 ;
35134 wxTreeItemId result
;
35139 PyObject
* obj0
= 0 ;
35140 PyObject
* obj1
= 0 ;
35141 char * kwnames
[] = {
35142 (char *) "self",(char *) "item", NULL
35145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35147 if (!SWIG_IsOK(res1
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35150 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35152 if (!SWIG_IsOK(res2
)) {
35153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35158 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35161 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35162 wxPyEndAllowThreads(__tstate
);
35163 if (PyErr_Occurred()) SWIG_fail
;
35165 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35172 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35173 PyObject
*resultobj
= 0;
35174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35175 wxTreeItemId
*arg2
= 0 ;
35176 wxTreeItemId result
;
35181 PyObject
* obj0
= 0 ;
35182 PyObject
* obj1
= 0 ;
35183 char * kwnames
[] = {
35184 (char *) "self",(char *) "item", NULL
35187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35189 if (!SWIG_IsOK(res1
)) {
35190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35192 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35194 if (!SWIG_IsOK(res2
)) {
35195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35200 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35203 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35214 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35215 PyObject
*resultobj
= 0;
35216 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35217 wxString
*arg2
= 0 ;
35218 int arg3
= (int) -1 ;
35219 int arg4
= (int) -1 ;
35220 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35221 wxTreeItemId result
;
35224 bool temp2
= false ;
35230 PyObject
* obj0
= 0 ;
35231 PyObject
* obj1
= 0 ;
35232 PyObject
* obj2
= 0 ;
35233 PyObject
* obj3
= 0 ;
35234 PyObject
* obj4
= 0 ;
35235 char * kwnames
[] = {
35236 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35241 if (!SWIG_IsOK(res1
)) {
35242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35244 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35246 arg2
= wxString_in_helper(obj1
);
35247 if (arg2
== NULL
) SWIG_fail
;
35251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35252 if (!SWIG_IsOK(ecode3
)) {
35253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35255 arg3
= static_cast< int >(val3
);
35258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35259 if (!SWIG_IsOK(ecode4
)) {
35260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35262 arg4
= static_cast< int >(val4
);
35265 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35266 if (!SWIG_IsOK(res5
)) {
35267 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35272 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35276 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35291 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35292 PyObject
*resultobj
= 0;
35293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35294 wxTreeItemId
*arg2
= 0 ;
35295 wxString
*arg3
= 0 ;
35296 int arg4
= (int) -1 ;
35297 int arg5
= (int) -1 ;
35298 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35299 wxTreeItemId result
;
35304 bool temp3
= false ;
35310 PyObject
* obj0
= 0 ;
35311 PyObject
* obj1
= 0 ;
35312 PyObject
* obj2
= 0 ;
35313 PyObject
* obj3
= 0 ;
35314 PyObject
* obj4
= 0 ;
35315 PyObject
* obj5
= 0 ;
35316 char * kwnames
[] = {
35317 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35322 if (!SWIG_IsOK(res1
)) {
35323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35325 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35327 if (!SWIG_IsOK(res2
)) {
35328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35333 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35335 arg3
= wxString_in_helper(obj2
);
35336 if (arg3
== NULL
) SWIG_fail
;
35340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35341 if (!SWIG_IsOK(ecode4
)) {
35342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35344 arg4
= static_cast< int >(val4
);
35347 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35348 if (!SWIG_IsOK(ecode5
)) {
35349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35351 arg5
= static_cast< int >(val5
);
35354 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35355 if (!SWIG_IsOK(res6
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35380 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35381 PyObject
*resultobj
= 0;
35382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35383 wxTreeItemId
*arg2
= 0 ;
35384 wxTreeItemId
*arg3
= 0 ;
35385 wxString
*arg4
= 0 ;
35386 int arg5
= (int) -1 ;
35387 int arg6
= (int) -1 ;
35388 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35389 wxTreeItemId result
;
35396 bool temp4
= false ;
35402 PyObject
* obj0
= 0 ;
35403 PyObject
* obj1
= 0 ;
35404 PyObject
* obj2
= 0 ;
35405 PyObject
* obj3
= 0 ;
35406 PyObject
* obj4
= 0 ;
35407 PyObject
* obj5
= 0 ;
35408 PyObject
* obj6
= 0 ;
35409 char * kwnames
[] = {
35410 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35415 if (!SWIG_IsOK(res1
)) {
35416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35418 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35420 if (!SWIG_IsOK(res2
)) {
35421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35426 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35427 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35428 if (!SWIG_IsOK(res3
)) {
35429 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35434 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35436 arg4
= wxString_in_helper(obj3
);
35437 if (arg4
== NULL
) SWIG_fail
;
35441 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35442 if (!SWIG_IsOK(ecode5
)) {
35443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35445 arg5
= static_cast< int >(val5
);
35448 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35449 if (!SWIG_IsOK(ecode6
)) {
35450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35452 arg6
= static_cast< int >(val6
);
35455 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35456 if (!SWIG_IsOK(res7
)) {
35457 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35462 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35463 wxPyEndAllowThreads(__tstate
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35466 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35481 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
= 0;
35483 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35484 wxTreeItemId
*arg2
= 0 ;
35486 wxString
*arg4
= 0 ;
35487 int arg5
= (int) -1 ;
35488 int arg6
= (int) -1 ;
35489 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35490 wxTreeItemId result
;
35497 bool temp4
= false ;
35503 PyObject
* obj0
= 0 ;
35504 PyObject
* obj1
= 0 ;
35505 PyObject
* obj2
= 0 ;
35506 PyObject
* obj3
= 0 ;
35507 PyObject
* obj4
= 0 ;
35508 PyObject
* obj5
= 0 ;
35509 PyObject
* obj6
= 0 ;
35510 char * kwnames
[] = {
35511 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35516 if (!SWIG_IsOK(res1
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35519 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35521 if (!SWIG_IsOK(res2
)) {
35522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35527 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35528 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35529 if (!SWIG_IsOK(ecode3
)) {
35530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35532 arg3
= static_cast< size_t >(val3
);
35534 arg4
= wxString_in_helper(obj3
);
35535 if (arg4
== NULL
) SWIG_fail
;
35539 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35540 if (!SWIG_IsOK(ecode5
)) {
35541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35543 arg5
= static_cast< int >(val5
);
35546 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35547 if (!SWIG_IsOK(ecode6
)) {
35548 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35550 arg6
= static_cast< int >(val6
);
35553 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35554 if (!SWIG_IsOK(res7
)) {
35555 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35560 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35561 wxPyEndAllowThreads(__tstate
);
35562 if (PyErr_Occurred()) SWIG_fail
;
35564 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35579 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35580 PyObject
*resultobj
= 0;
35581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35582 wxTreeItemId
*arg2
= 0 ;
35583 wxString
*arg3
= 0 ;
35584 int arg4
= (int) -1 ;
35585 int arg5
= (int) -1 ;
35586 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35587 wxTreeItemId result
;
35592 bool temp3
= false ;
35598 PyObject
* obj0
= 0 ;
35599 PyObject
* obj1
= 0 ;
35600 PyObject
* obj2
= 0 ;
35601 PyObject
* obj3
= 0 ;
35602 PyObject
* obj4
= 0 ;
35603 PyObject
* obj5
= 0 ;
35604 char * kwnames
[] = {
35605 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35610 if (!SWIG_IsOK(res1
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35613 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35615 if (!SWIG_IsOK(res2
)) {
35616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35621 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35623 arg3
= wxString_in_helper(obj2
);
35624 if (arg3
== NULL
) SWIG_fail
;
35628 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35629 if (!SWIG_IsOK(ecode4
)) {
35630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35632 arg4
= static_cast< int >(val4
);
35635 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35636 if (!SWIG_IsOK(ecode5
)) {
35637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35639 arg5
= static_cast< int >(val5
);
35642 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35643 if (!SWIG_IsOK(res6
)) {
35644 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35650 wxPyEndAllowThreads(__tstate
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35653 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35668 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35669 PyObject
*resultobj
= 0;
35670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35671 wxTreeItemId
*arg2
= 0 ;
35676 PyObject
* obj0
= 0 ;
35677 PyObject
* obj1
= 0 ;
35678 char * kwnames
[] = {
35679 (char *) "self",(char *) "item", NULL
35682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35684 if (!SWIG_IsOK(res1
)) {
35685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35687 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35689 if (!SWIG_IsOK(res2
)) {
35690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35695 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35698 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 resultobj
= SWIG_Py_Void();
35709 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
= 0;
35711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35712 wxTreeItemId
*arg2
= 0 ;
35717 PyObject
* obj0
= 0 ;
35718 PyObject
* obj1
= 0 ;
35719 char * kwnames
[] = {
35720 (char *) "self",(char *) "item", NULL
35723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35725 if (!SWIG_IsOK(res1
)) {
35726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35728 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35730 if (!SWIG_IsOK(res2
)) {
35731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35736 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= SWIG_Py_Void();
35750 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35751 PyObject
*resultobj
= 0;
35752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35755 PyObject
*swig_obj
[1] ;
35757 if (!args
) SWIG_fail
;
35758 swig_obj
[0] = args
;
35759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35760 if (!SWIG_IsOK(res1
)) {
35761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35763 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35766 (arg1
)->DeleteAllItems();
35767 wxPyEndAllowThreads(__tstate
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35770 resultobj
= SWIG_Py_Void();
35777 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35778 PyObject
*resultobj
= 0;
35779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35780 wxTreeItemId
*arg2
= 0 ;
35785 PyObject
* obj0
= 0 ;
35786 PyObject
* obj1
= 0 ;
35787 char * kwnames
[] = {
35788 (char *) "self",(char *) "item", NULL
35791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35793 if (!SWIG_IsOK(res1
)) {
35794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35796 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35798 if (!SWIG_IsOK(res2
)) {
35799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35804 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35807 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35811 resultobj
= SWIG_Py_Void();
35818 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35819 PyObject
*resultobj
= 0;
35820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35821 wxTreeItemId
*arg2
= 0 ;
35826 PyObject
* obj0
= 0 ;
35827 PyObject
* obj1
= 0 ;
35828 char * kwnames
[] = {
35829 (char *) "self",(char *) "item", NULL
35832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35834 if (!SWIG_IsOK(res1
)) {
35835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35837 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35839 if (!SWIG_IsOK(res2
)) {
35840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35845 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35848 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 resultobj
= SWIG_Py_Void();
35859 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35860 PyObject
*resultobj
= 0;
35861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35862 wxTreeItemId
*arg2
= 0 ;
35867 PyObject
* obj0
= 0 ;
35868 PyObject
* obj1
= 0 ;
35869 char * kwnames
[] = {
35870 (char *) "self",(char *) "item", NULL
35873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35875 if (!SWIG_IsOK(res1
)) {
35876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35878 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35880 if (!SWIG_IsOK(res2
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35886 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
35890 wxPyEndAllowThreads(__tstate
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35893 resultobj
= SWIG_Py_Void();
35900 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35901 PyObject
*resultobj
= 0;
35902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35903 wxTreeItemId
*arg2
= 0 ;
35908 PyObject
* obj0
= 0 ;
35909 PyObject
* obj1
= 0 ;
35910 char * kwnames
[] = {
35911 (char *) "self",(char *) "item", NULL
35914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35916 if (!SWIG_IsOK(res1
)) {
35917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35919 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35921 if (!SWIG_IsOK(res2
)) {
35922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35927 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35930 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 resultobj
= SWIG_Py_Void();
35941 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35942 PyObject
*resultobj
= 0;
35943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35946 PyObject
*swig_obj
[1] ;
35948 if (!args
) SWIG_fail
;
35949 swig_obj
[0] = args
;
35950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35951 if (!SWIG_IsOK(res1
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35954 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35957 (arg1
)->Unselect();
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 resultobj
= SWIG_Py_Void();
35968 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35969 PyObject
*resultobj
= 0;
35970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35971 wxTreeItemId
*arg2
= 0 ;
35976 PyObject
* obj0
= 0 ;
35977 PyObject
* obj1
= 0 ;
35978 char * kwnames
[] = {
35979 (char *) "self",(char *) "item", NULL
35982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35984 if (!SWIG_IsOK(res1
)) {
35985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35987 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35989 if (!SWIG_IsOK(res2
)) {
35990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35995 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= SWIG_Py_Void();
36009 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36010 PyObject
*resultobj
= 0;
36011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36014 PyObject
*swig_obj
[1] ;
36016 if (!args
) SWIG_fail
;
36017 swig_obj
[0] = args
;
36018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36019 if (!SWIG_IsOK(res1
)) {
36020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36022 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36025 (arg1
)->UnselectAll();
36026 wxPyEndAllowThreads(__tstate
);
36027 if (PyErr_Occurred()) SWIG_fail
;
36029 resultobj
= SWIG_Py_Void();
36036 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36037 PyObject
*resultobj
= 0;
36038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36039 wxTreeItemId
*arg2
= 0 ;
36040 bool arg3
= (bool) true ;
36047 PyObject
* obj0
= 0 ;
36048 PyObject
* obj1
= 0 ;
36049 PyObject
* obj2
= 0 ;
36050 char * kwnames
[] = {
36051 (char *) "self",(char *) "item",(char *) "select", NULL
36054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36056 if (!SWIG_IsOK(res1
)) {
36057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36059 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36061 if (!SWIG_IsOK(res2
)) {
36062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36067 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36069 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36070 if (!SWIG_IsOK(ecode3
)) {
36071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36073 arg3
= static_cast< bool >(val3
);
36076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36077 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36078 wxPyEndAllowThreads(__tstate
);
36079 if (PyErr_Occurred()) SWIG_fail
;
36081 resultobj
= SWIG_Py_Void();
36088 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36089 PyObject
*resultobj
= 0;
36090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36091 wxTreeItemId
*arg2
= 0 ;
36096 PyObject
* obj0
= 0 ;
36097 PyObject
* obj1
= 0 ;
36098 char * kwnames
[] = {
36099 (char *) "self",(char *) "item", NULL
36102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36104 if (!SWIG_IsOK(res1
)) {
36105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36109 if (!SWIG_IsOK(res2
)) {
36110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36115 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36118 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36122 resultobj
= SWIG_Py_Void();
36129 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36130 PyObject
*resultobj
= 0;
36131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36132 wxTreeItemId
*arg2
= 0 ;
36137 PyObject
* obj0
= 0 ;
36138 PyObject
* obj1
= 0 ;
36139 char * kwnames
[] = {
36140 (char *) "self",(char *) "item", NULL
36143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36145 if (!SWIG_IsOK(res1
)) {
36146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36150 if (!SWIG_IsOK(res2
)) {
36151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36163 resultobj
= SWIG_Py_Void();
36170 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36171 PyObject
*resultobj
= 0;
36172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36173 wxTreeItemId
*arg2
= 0 ;
36178 PyObject
* obj0
= 0 ;
36179 PyObject
* obj1
= 0 ;
36180 char * kwnames
[] = {
36181 (char *) "self",(char *) "item", NULL
36184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36186 if (!SWIG_IsOK(res1
)) {
36187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36189 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36191 if (!SWIG_IsOK(res2
)) {
36192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36197 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36200 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36201 wxPyEndAllowThreads(__tstate
);
36202 if (PyErr_Occurred()) SWIG_fail
;
36204 resultobj
= SWIG_Py_Void();
36211 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36212 PyObject
*resultobj
= 0;
36213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36214 wxTreeItemId
*arg2
= 0 ;
36219 PyObject
* obj0
= 0 ;
36220 PyObject
* obj1
= 0 ;
36221 char * kwnames
[] = {
36222 (char *) "self",(char *) "item", NULL
36225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36227 if (!SWIG_IsOK(res1
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36230 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36232 if (!SWIG_IsOK(res2
)) {
36233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36238 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 resultobj
= SWIG_Py_Void();
36252 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36253 PyObject
*resultobj
= 0;
36254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36255 wxTextCtrl
*result
= 0 ;
36258 PyObject
*swig_obj
[1] ;
36260 if (!args
) SWIG_fail
;
36261 swig_obj
[0] = args
;
36262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36263 if (!SWIG_IsOK(res1
)) {
36264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36266 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36269 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36270 wxPyEndAllowThreads(__tstate
);
36271 if (PyErr_Occurred()) SWIG_fail
;
36274 resultobj
= wxPyMake_wxObject(result
, 0);
36282 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36283 PyObject
*resultobj
= 0;
36284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36285 wxTreeItemId
*arg2
= 0 ;
36290 PyObject
* obj0
= 0 ;
36291 PyObject
* obj1
= 0 ;
36292 char * kwnames
[] = {
36293 (char *) "self",(char *) "item", NULL
36296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36298 if (!SWIG_IsOK(res1
)) {
36299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36301 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36303 if (!SWIG_IsOK(res2
)) {
36304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36309 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36312 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36313 wxPyEndAllowThreads(__tstate
);
36314 if (PyErr_Occurred()) SWIG_fail
;
36316 resultobj
= SWIG_Py_Void();
36323 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36324 PyObject
*resultobj
= 0;
36325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36326 wxPoint
*arg2
= 0 ;
36328 wxTreeItemId result
;
36333 int res3
= SWIG_TMPOBJ
;
36334 PyObject
* obj0
= 0 ;
36335 PyObject
* obj1
= 0 ;
36336 char * kwnames
[] = {
36337 (char *) "self",(char *) "point", NULL
36341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36343 if (!SWIG_IsOK(res1
)) {
36344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36346 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36353 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36354 wxPyEndAllowThreads(__tstate
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36357 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36358 if (SWIG_IsTmpObj(res3
)) {
36359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36361 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36370 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36371 PyObject
*resultobj
= 0;
36372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36373 wxTreeItemId
*arg2
= 0 ;
36374 bool arg3
= (bool) false ;
36375 PyObject
*result
= 0 ;
36382 PyObject
* obj0
= 0 ;
36383 PyObject
* obj1
= 0 ;
36384 PyObject
* obj2
= 0 ;
36385 char * kwnames
[] = {
36386 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36391 if (!SWIG_IsOK(res1
)) {
36392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36394 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36396 if (!SWIG_IsOK(res2
)) {
36397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36402 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36404 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36405 if (!SWIG_IsOK(ecode3
)) {
36406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36408 arg3
= static_cast< bool >(val3
);
36411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36412 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36413 wxPyEndAllowThreads(__tstate
);
36414 if (PyErr_Occurred()) SWIG_fail
;
36416 resultobj
= result
;
36423 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36424 PyObject
*resultobj
= 0;
36425 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36426 SwigValueWrapper
<wxVisualAttributes
> result
;
36429 PyObject
* obj0
= 0 ;
36430 char * kwnames
[] = {
36431 (char *) "variant", NULL
36434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36437 if (!SWIG_IsOK(ecode1
)) {
36438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36440 arg1
= static_cast< wxWindowVariant
>(val1
);
36443 if (!wxPyCheckForApp()) SWIG_fail
;
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36446 wxPyEndAllowThreads(__tstate
);
36447 if (PyErr_Occurred()) SWIG_fail
;
36449 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36456 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36459 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36460 return SWIG_Py_Void();
36463 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36464 return SWIG_Python_InitShadowInstance(args
);
36467 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36468 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36473 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36474 PyObject
*pyobj
= 0;
36478 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36480 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36487 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36488 PyObject
*resultobj
= 0;
36489 wxWindow
*arg1
= (wxWindow
*) 0 ;
36490 int arg2
= (int) (int)-1 ;
36491 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36492 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36497 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36498 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36499 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36500 int arg8
= (int) 0 ;
36501 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36502 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36503 wxGenericDirCtrl
*result
= 0 ;
36508 bool temp3
= false ;
36513 bool temp7
= false ;
36516 bool temp9
= false ;
36517 PyObject
* obj0
= 0 ;
36518 PyObject
* obj1
= 0 ;
36519 PyObject
* obj2
= 0 ;
36520 PyObject
* obj3
= 0 ;
36521 PyObject
* obj4
= 0 ;
36522 PyObject
* obj5
= 0 ;
36523 PyObject
* obj6
= 0 ;
36524 PyObject
* obj7
= 0 ;
36525 PyObject
* obj8
= 0 ;
36526 char * kwnames
[] = {
36527 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36532 if (!SWIG_IsOK(res1
)) {
36533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36538 if (!SWIG_IsOK(ecode2
)) {
36539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36541 arg2
= static_cast< int >(val2
);
36545 arg3
= wxString_in_helper(obj2
);
36546 if (arg3
== NULL
) SWIG_fail
;
36553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36563 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36564 if (!SWIG_IsOK(ecode6
)) {
36565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36567 arg6
= static_cast< long >(val6
);
36571 arg7
= wxString_in_helper(obj6
);
36572 if (arg7
== NULL
) SWIG_fail
;
36577 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36578 if (!SWIG_IsOK(ecode8
)) {
36579 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36581 arg8
= static_cast< int >(val8
);
36585 arg9
= wxString_in_helper(obj8
);
36586 if (arg9
== NULL
) SWIG_fail
;
36591 if (!wxPyCheckForApp()) SWIG_fail
;
36592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36593 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36628 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36629 PyObject
*resultobj
= 0;
36630 wxGenericDirCtrl
*result
= 0 ;
36632 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36634 if (!wxPyCheckForApp()) SWIG_fail
;
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36637 wxPyEndAllowThreads(__tstate
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36647 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36648 PyObject
*resultobj
= 0;
36649 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36650 wxWindow
*arg2
= (wxWindow
*) 0 ;
36651 int arg3
= (int) (int)-1 ;
36652 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36653 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36654 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36655 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36656 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36657 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36658 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36659 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36660 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36661 int arg9
= (int) 0 ;
36662 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36663 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36671 bool temp4
= false ;
36676 bool temp8
= false ;
36679 bool temp10
= false ;
36680 PyObject
* obj0
= 0 ;
36681 PyObject
* obj1
= 0 ;
36682 PyObject
* obj2
= 0 ;
36683 PyObject
* obj3
= 0 ;
36684 PyObject
* obj4
= 0 ;
36685 PyObject
* obj5
= 0 ;
36686 PyObject
* obj6
= 0 ;
36687 PyObject
* obj7
= 0 ;
36688 PyObject
* obj8
= 0 ;
36689 PyObject
* obj9
= 0 ;
36690 char * kwnames
[] = {
36691 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36696 if (!SWIG_IsOK(res1
)) {
36697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36699 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36701 if (!SWIG_IsOK(res2
)) {
36702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36707 if (!SWIG_IsOK(ecode3
)) {
36708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36710 arg3
= static_cast< int >(val3
);
36714 arg4
= wxString_in_helper(obj3
);
36715 if (arg4
== NULL
) SWIG_fail
;
36722 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36728 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36732 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36733 if (!SWIG_IsOK(ecode7
)) {
36734 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36736 arg7
= static_cast< long >(val7
);
36740 arg8
= wxString_in_helper(obj7
);
36741 if (arg8
== NULL
) SWIG_fail
;
36746 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36747 if (!SWIG_IsOK(ecode9
)) {
36748 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36750 arg9
= static_cast< int >(val9
);
36754 arg10
= wxString_in_helper(obj9
);
36755 if (arg10
== NULL
) SWIG_fail
;
36760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36761 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36762 wxPyEndAllowThreads(__tstate
);
36763 if (PyErr_Occurred()) SWIG_fail
;
36766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36798 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36799 PyObject
*resultobj
= 0;
36800 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36801 wxString
*arg2
= 0 ;
36805 bool temp2
= false ;
36806 PyObject
* obj0
= 0 ;
36807 PyObject
* obj1
= 0 ;
36808 char * kwnames
[] = {
36809 (char *) "self",(char *) "path", NULL
36812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36814 if (!SWIG_IsOK(res1
)) {
36815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36817 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36819 arg2
= wxString_in_helper(obj1
);
36820 if (arg2
== NULL
) SWIG_fail
;
36824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36825 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
36826 wxPyEndAllowThreads(__tstate
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36846 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36847 PyObject
*resultobj
= 0;
36848 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36852 PyObject
*swig_obj
[1] ;
36854 if (!args
) SWIG_fail
;
36855 swig_obj
[0] = args
;
36856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36857 if (!SWIG_IsOK(res1
)) {
36858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36860 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36863 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
36864 wxPyEndAllowThreads(__tstate
);
36865 if (PyErr_Occurred()) SWIG_fail
;
36869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36880 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36881 PyObject
*resultobj
= 0;
36882 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36883 wxString
*arg2
= 0 ;
36886 bool temp2
= false ;
36887 PyObject
* obj0
= 0 ;
36888 PyObject
* obj1
= 0 ;
36889 char * kwnames
[] = {
36890 (char *) "self",(char *) "path", NULL
36893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36895 if (!SWIG_IsOK(res1
)) {
36896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36898 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36900 arg2
= wxString_in_helper(obj1
);
36901 if (arg2
== NULL
) SWIG_fail
;
36905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36906 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
36907 wxPyEndAllowThreads(__tstate
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36910 resultobj
= SWIG_Py_Void();
36925 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36926 PyObject
*resultobj
= 0;
36927 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36931 PyObject
*swig_obj
[1] ;
36933 if (!args
) SWIG_fail
;
36934 swig_obj
[0] = args
;
36935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36936 if (!SWIG_IsOK(res1
)) {
36937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36939 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36959 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36960 PyObject
*resultobj
= 0;
36961 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36965 PyObject
*swig_obj
[1] ;
36967 if (!args
) SWIG_fail
;
36968 swig_obj
[0] = args
;
36969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36970 if (!SWIG_IsOK(res1
)) {
36971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36973 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36976 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
36977 wxPyEndAllowThreads(__tstate
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36993 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36994 PyObject
*resultobj
= 0;
36995 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36996 wxString
*arg2
= 0 ;
36999 bool temp2
= false ;
37000 PyObject
* obj0
= 0 ;
37001 PyObject
* obj1
= 0 ;
37002 char * kwnames
[] = {
37003 (char *) "self",(char *) "path", NULL
37006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37008 if (!SWIG_IsOK(res1
)) {
37009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37011 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37013 arg2
= wxString_in_helper(obj1
);
37014 if (arg2
== NULL
) SWIG_fail
;
37018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37019 (arg1
)->SetPath((wxString
const &)*arg2
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37023 resultobj
= SWIG_Py_Void();
37038 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
= 0;
37040 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37046 PyObject
* obj0
= 0 ;
37047 PyObject
* obj1
= 0 ;
37048 char * kwnames
[] = {
37049 (char *) "self",(char *) "show", NULL
37052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37054 if (!SWIG_IsOK(res1
)) {
37055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37057 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37058 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37059 if (!SWIG_IsOK(ecode2
)) {
37060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37062 arg2
= static_cast< bool >(val2
);
37064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37065 (arg1
)->ShowHidden(arg2
);
37066 wxPyEndAllowThreads(__tstate
);
37067 if (PyErr_Occurred()) SWIG_fail
;
37069 resultobj
= SWIG_Py_Void();
37076 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37077 PyObject
*resultobj
= 0;
37078 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37082 PyObject
*swig_obj
[1] ;
37084 if (!args
) SWIG_fail
;
37085 swig_obj
[0] = args
;
37086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37087 if (!SWIG_IsOK(res1
)) {
37088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37090 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37093 result
= (bool)(arg1
)->GetShowHidden();
37094 wxPyEndAllowThreads(__tstate
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37106 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37107 PyObject
*resultobj
= 0;
37108 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37112 PyObject
*swig_obj
[1] ;
37114 if (!args
) SWIG_fail
;
37115 swig_obj
[0] = args
;
37116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37117 if (!SWIG_IsOK(res1
)) {
37118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37120 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37123 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37124 wxPyEndAllowThreads(__tstate
);
37125 if (PyErr_Occurred()) SWIG_fail
;
37129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37140 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
= 0;
37142 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37143 wxString
*arg2
= 0 ;
37146 bool temp2
= false ;
37147 PyObject
* obj0
= 0 ;
37148 PyObject
* obj1
= 0 ;
37149 char * kwnames
[] = {
37150 (char *) "self",(char *) "filter", NULL
37153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37155 if (!SWIG_IsOK(res1
)) {
37156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37158 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37160 arg2
= wxString_in_helper(obj1
);
37161 if (arg2
== NULL
) SWIG_fail
;
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37166 (arg1
)->SetFilter((wxString
const &)*arg2
);
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37170 resultobj
= SWIG_Py_Void();
37185 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37186 PyObject
*resultobj
= 0;
37187 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37191 PyObject
*swig_obj
[1] ;
37193 if (!args
) SWIG_fail
;
37194 swig_obj
[0] = args
;
37195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37196 if (!SWIG_IsOK(res1
)) {
37197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37199 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37202 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37203 wxPyEndAllowThreads(__tstate
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37206 resultobj
= SWIG_From_int(static_cast< int >(result
));
37213 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
= 0;
37215 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37221 PyObject
* obj0
= 0 ;
37222 PyObject
* obj1
= 0 ;
37223 char * kwnames
[] = {
37224 (char *) "self",(char *) "n", NULL
37227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37229 if (!SWIG_IsOK(res1
)) {
37230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37232 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37234 if (!SWIG_IsOK(ecode2
)) {
37235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37237 arg2
= static_cast< int >(val2
);
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 (arg1
)->SetFilterIndex(arg2
);
37241 wxPyEndAllowThreads(__tstate
);
37242 if (PyErr_Occurred()) SWIG_fail
;
37244 resultobj
= SWIG_Py_Void();
37251 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37252 PyObject
*resultobj
= 0;
37253 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37254 wxTreeItemId result
;
37257 PyObject
*swig_obj
[1] ;
37259 if (!args
) SWIG_fail
;
37260 swig_obj
[0] = args
;
37261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37262 if (!SWIG_IsOK(res1
)) {
37263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37265 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37268 result
= (arg1
)->GetRootId();
37269 wxPyEndAllowThreads(__tstate
);
37270 if (PyErr_Occurred()) SWIG_fail
;
37272 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37279 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37280 PyObject
*resultobj
= 0;
37281 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37282 wxPyTreeCtrl
*result
= 0 ;
37285 PyObject
*swig_obj
[1] ;
37287 if (!args
) SWIG_fail
;
37288 swig_obj
[0] = args
;
37289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37290 if (!SWIG_IsOK(res1
)) {
37291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37293 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37296 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37297 wxPyEndAllowThreads(__tstate
);
37298 if (PyErr_Occurred()) SWIG_fail
;
37301 resultobj
= wxPyMake_wxObject(result
, 0);
37309 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37310 PyObject
*resultobj
= 0;
37311 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37312 wxDirFilterListCtrl
*result
= 0 ;
37315 PyObject
*swig_obj
[1] ;
37317 if (!args
) SWIG_fail
;
37318 swig_obj
[0] = args
;
37319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37320 if (!SWIG_IsOK(res1
)) {
37321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37323 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37326 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37327 wxPyEndAllowThreads(__tstate
);
37328 if (PyErr_Occurred()) SWIG_fail
;
37330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37337 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37338 PyObject
*resultobj
= 0;
37339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37340 wxTreeItemId arg2
;
37341 wxString
*arg3
= 0 ;
37343 wxTreeItemId result
;
37348 bool temp3
= false ;
37350 int res4
= SWIG_TMPOBJ
;
37351 PyObject
* obj0
= 0 ;
37352 PyObject
* obj1
= 0 ;
37353 PyObject
* obj2
= 0 ;
37354 char * kwnames
[] = {
37355 (char *) "self",(char *) "parentId",(char *) "path", NULL
37359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37361 if (!SWIG_IsOK(res1
)) {
37362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37364 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37367 if (!SWIG_IsOK(res2
)) {
37368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37373 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37375 if (SWIG_IsNewObj(res2
)) delete temp
;
37379 arg3
= wxString_in_helper(obj2
);
37380 if (arg3
== NULL
) SWIG_fail
;
37384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37385 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37390 if (SWIG_IsTmpObj(res4
)) {
37391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37393 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37410 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37411 PyObject
*resultobj
= 0;
37412 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37415 PyObject
*swig_obj
[1] ;
37417 if (!args
) SWIG_fail
;
37418 swig_obj
[0] = args
;
37419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37420 if (!SWIG_IsOK(res1
)) {
37421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37423 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37426 (arg1
)->DoResize();
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37430 resultobj
= SWIG_Py_Void();
37437 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37438 PyObject
*resultobj
= 0;
37439 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37442 PyObject
*swig_obj
[1] ;
37444 if (!args
) SWIG_fail
;
37445 swig_obj
[0] = args
;
37446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37447 if (!SWIG_IsOK(res1
)) {
37448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37450 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37453 (arg1
)->ReCreateTree();
37454 wxPyEndAllowThreads(__tstate
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37457 resultobj
= SWIG_Py_Void();
37464 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37467 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37468 return SWIG_Py_Void();
37471 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37472 return SWIG_Python_InitShadowInstance(args
);
37475 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37476 PyObject
*resultobj
= 0;
37477 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37478 int arg2
= (int) (int)-1 ;
37479 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37480 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37481 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37482 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37483 long arg5
= (long) 0 ;
37484 wxDirFilterListCtrl
*result
= 0 ;
37493 PyObject
* obj0
= 0 ;
37494 PyObject
* obj1
= 0 ;
37495 PyObject
* obj2
= 0 ;
37496 PyObject
* obj3
= 0 ;
37497 PyObject
* obj4
= 0 ;
37498 char * kwnames
[] = {
37499 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37507 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37510 if (!SWIG_IsOK(ecode2
)) {
37511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37513 arg2
= static_cast< int >(val2
);
37518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37524 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37528 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37529 if (!SWIG_IsOK(ecode5
)) {
37530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37532 arg5
= static_cast< long >(val5
);
37535 if (!wxPyCheckForApp()) SWIG_fail
;
37536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37537 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37538 wxPyEndAllowThreads(__tstate
);
37539 if (PyErr_Occurred()) SWIG_fail
;
37541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37548 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37549 PyObject
*resultobj
= 0;
37550 wxDirFilterListCtrl
*result
= 0 ;
37552 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37554 if (!wxPyCheckForApp()) SWIG_fail
;
37555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37556 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37557 wxPyEndAllowThreads(__tstate
);
37558 if (PyErr_Occurred()) SWIG_fail
;
37560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37567 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37568 PyObject
*resultobj
= 0;
37569 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37570 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37571 int arg3
= (int) (int)-1 ;
37572 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37573 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37574 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37575 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37576 long arg6
= (long) 0 ;
37588 PyObject
* obj0
= 0 ;
37589 PyObject
* obj1
= 0 ;
37590 PyObject
* obj2
= 0 ;
37591 PyObject
* obj3
= 0 ;
37592 PyObject
* obj4
= 0 ;
37593 PyObject
* obj5
= 0 ;
37594 char * kwnames
[] = {
37595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37600 if (!SWIG_IsOK(res1
)) {
37601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37603 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37605 if (!SWIG_IsOK(res2
)) {
37606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37608 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37611 if (!SWIG_IsOK(ecode3
)) {
37612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37614 arg3
= static_cast< int >(val3
);
37619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37629 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37630 if (!SWIG_IsOK(ecode6
)) {
37631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37633 arg6
= static_cast< long >(val6
);
37636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37638 wxPyEndAllowThreads(__tstate
);
37639 if (PyErr_Occurred()) SWIG_fail
;
37642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37650 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37651 PyObject
*resultobj
= 0;
37652 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37653 wxString
*arg2
= 0 ;
37657 bool temp2
= false ;
37660 PyObject
* obj0
= 0 ;
37661 PyObject
* obj1
= 0 ;
37662 PyObject
* obj2
= 0 ;
37663 char * kwnames
[] = {
37664 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37669 if (!SWIG_IsOK(res1
)) {
37670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37672 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37674 arg2
= wxString_in_helper(obj1
);
37675 if (arg2
== NULL
) SWIG_fail
;
37678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37679 if (!SWIG_IsOK(ecode3
)) {
37680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37682 arg3
= static_cast< int >(val3
);
37684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37685 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37686 wxPyEndAllowThreads(__tstate
);
37687 if (PyErr_Occurred()) SWIG_fail
;
37689 resultobj
= SWIG_Py_Void();
37704 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37707 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37708 return SWIG_Py_Void();
37711 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37712 return SWIG_Python_InitShadowInstance(args
);
37715 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37716 PyObject
*resultobj
= 0;
37717 wxWindow
*arg1
= (wxWindow
*) 0 ;
37718 int arg2
= (int) (int)-1 ;
37719 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37720 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37721 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37722 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37723 long arg5
= (long) 0 ;
37724 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37725 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37726 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37727 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37728 wxPyControl
*result
= 0 ;
37739 bool temp7
= false ;
37740 PyObject
* obj0
= 0 ;
37741 PyObject
* obj1
= 0 ;
37742 PyObject
* obj2
= 0 ;
37743 PyObject
* obj3
= 0 ;
37744 PyObject
* obj4
= 0 ;
37745 PyObject
* obj5
= 0 ;
37746 PyObject
* obj6
= 0 ;
37747 char * kwnames
[] = {
37748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37753 if (!SWIG_IsOK(res1
)) {
37754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37759 if (!SWIG_IsOK(ecode2
)) {
37760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37762 arg2
= static_cast< int >(val2
);
37767 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37773 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37777 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37778 if (!SWIG_IsOK(ecode5
)) {
37779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
37781 arg5
= static_cast< long >(val5
);
37784 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
37785 if (!SWIG_IsOK(res6
)) {
37786 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37791 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
37795 arg7
= wxString_in_helper(obj6
);
37796 if (arg7
== NULL
) SWIG_fail
;
37801 if (!wxPyCheckForApp()) SWIG_fail
;
37802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37803 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
37822 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37823 PyObject
*resultobj
= 0;
37824 wxPyControl
*result
= 0 ;
37826 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
37828 if (!wxPyCheckForApp()) SWIG_fail
;
37829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37830 result
= (wxPyControl
*)new wxPyControl();
37831 wxPyEndAllowThreads(__tstate
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
37841 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37842 PyObject
*resultobj
= 0;
37843 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37844 PyObject
*arg2
= (PyObject
*) 0 ;
37845 PyObject
*arg3
= (PyObject
*) 0 ;
37848 PyObject
* obj0
= 0 ;
37849 PyObject
* obj1
= 0 ;
37850 PyObject
* obj2
= 0 ;
37851 char * kwnames
[] = {
37852 (char *) "self",(char *) "self",(char *) "_class", NULL
37855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37857 if (!SWIG_IsOK(res1
)) {
37858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
37860 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37865 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37866 wxPyEndAllowThreads(__tstate
);
37867 if (PyErr_Occurred()) SWIG_fail
;
37869 resultobj
= SWIG_Py_Void();
37876 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37877 PyObject
*resultobj
= 0;
37878 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37883 PyObject
* obj0
= 0 ;
37884 PyObject
* obj1
= 0 ;
37885 char * kwnames
[] = {
37886 (char *) "self",(char *) "size", NULL
37889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37891 if (!SWIG_IsOK(res1
)) {
37892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37894 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37897 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37901 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
37902 wxPyEndAllowThreads(__tstate
);
37903 if (PyErr_Occurred()) SWIG_fail
;
37905 resultobj
= SWIG_Py_Void();
37912 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37913 PyObject
*resultobj
= 0;
37914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37915 wxDC
*arg2
= (wxDC
*) 0 ;
37921 PyObject
* obj0
= 0 ;
37922 PyObject
* obj1
= 0 ;
37923 char * kwnames
[] = {
37924 (char *) "self",(char *) "dc", NULL
37927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37929 if (!SWIG_IsOK(res1
)) {
37930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
37932 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
37934 if (!SWIG_IsOK(res2
)) {
37935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
37937 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37940 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
37941 wxPyEndAllowThreads(__tstate
);
37942 if (PyErr_Occurred()) SWIG_fail
;
37945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37953 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37954 PyObject
*resultobj
= 0;
37955 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37970 PyObject
* obj0
= 0 ;
37971 PyObject
* obj1
= 0 ;
37972 PyObject
* obj2
= 0 ;
37973 PyObject
* obj3
= 0 ;
37974 PyObject
* obj4
= 0 ;
37975 char * kwnames
[] = {
37976 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37981 if (!SWIG_IsOK(res1
)) {
37982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
37984 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37986 if (!SWIG_IsOK(ecode2
)) {
37987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
37989 arg2
= static_cast< int >(val2
);
37990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37991 if (!SWIG_IsOK(ecode3
)) {
37992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
37994 arg3
= static_cast< int >(val3
);
37995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37996 if (!SWIG_IsOK(ecode4
)) {
37997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
37999 arg4
= static_cast< int >(val4
);
38000 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38001 if (!SWIG_IsOK(ecode5
)) {
38002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38004 arg5
= static_cast< int >(val5
);
38006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38007 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38008 wxPyEndAllowThreads(__tstate
);
38009 if (PyErr_Occurred()) SWIG_fail
;
38011 resultobj
= SWIG_Py_Void();
38018 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38019 PyObject
*resultobj
= 0;
38020 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38025 int arg6
= (int) wxSIZE_AUTO
;
38038 PyObject
* obj0
= 0 ;
38039 PyObject
* obj1
= 0 ;
38040 PyObject
* obj2
= 0 ;
38041 PyObject
* obj3
= 0 ;
38042 PyObject
* obj4
= 0 ;
38043 PyObject
* obj5
= 0 ;
38044 char * kwnames
[] = {
38045 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38050 if (!SWIG_IsOK(res1
)) {
38051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38053 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38055 if (!SWIG_IsOK(ecode2
)) {
38056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38058 arg2
= static_cast< int >(val2
);
38059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38060 if (!SWIG_IsOK(ecode3
)) {
38061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38063 arg3
= static_cast< int >(val3
);
38064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38065 if (!SWIG_IsOK(ecode4
)) {
38066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38068 arg4
= static_cast< int >(val4
);
38069 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38070 if (!SWIG_IsOK(ecode5
)) {
38071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38073 arg5
= static_cast< int >(val5
);
38075 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38076 if (!SWIG_IsOK(ecode6
)) {
38077 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38079 arg6
= static_cast< int >(val6
);
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38084 wxPyEndAllowThreads(__tstate
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= SWIG_Py_Void();
38094 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38095 PyObject
*resultobj
= 0;
38096 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38105 PyObject
* obj0
= 0 ;
38106 PyObject
* obj1
= 0 ;
38107 PyObject
* obj2
= 0 ;
38108 char * kwnames
[] = {
38109 (char *) "self",(char *) "width",(char *) "height", NULL
38112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38114 if (!SWIG_IsOK(res1
)) {
38115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38117 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38119 if (!SWIG_IsOK(ecode2
)) {
38120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38122 arg2
= static_cast< int >(val2
);
38123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38124 if (!SWIG_IsOK(ecode3
)) {
38125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38127 arg3
= static_cast< int >(val3
);
38129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38130 (arg1
)->DoSetClientSize(arg2
,arg3
);
38131 wxPyEndAllowThreads(__tstate
);
38132 if (PyErr_Occurred()) SWIG_fail
;
38134 resultobj
= SWIG_Py_Void();
38141 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38142 PyObject
*resultobj
= 0;
38143 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38152 PyObject
* obj0
= 0 ;
38153 PyObject
* obj1
= 0 ;
38154 PyObject
* obj2
= 0 ;
38155 char * kwnames
[] = {
38156 (char *) "self",(char *) "x",(char *) "y", NULL
38159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38161 if (!SWIG_IsOK(res1
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38164 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38166 if (!SWIG_IsOK(ecode2
)) {
38167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38169 arg2
= static_cast< int >(val2
);
38170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38171 if (!SWIG_IsOK(ecode3
)) {
38172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38174 arg3
= static_cast< int >(val3
);
38176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38177 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38178 wxPyEndAllowThreads(__tstate
);
38179 if (PyErr_Occurred()) SWIG_fail
;
38181 resultobj
= SWIG_Py_Void();
38188 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38189 PyObject
*resultobj
= 0;
38190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38191 int *arg2
= (int *) 0 ;
38192 int *arg3
= (int *) 0 ;
38196 int res2
= SWIG_TMPOBJ
;
38198 int res3
= SWIG_TMPOBJ
;
38199 PyObject
*swig_obj
[1] ;
38203 if (!args
) SWIG_fail
;
38204 swig_obj
[0] = args
;
38205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38206 if (!SWIG_IsOK(res1
)) {
38207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38209 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38212 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38213 wxPyEndAllowThreads(__tstate
);
38214 if (PyErr_Occurred()) SWIG_fail
;
38216 resultobj
= SWIG_Py_Void();
38217 if (SWIG_IsTmpObj(res2
)) {
38218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38220 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38223 if (SWIG_IsTmpObj(res3
)) {
38224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38235 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38236 PyObject
*resultobj
= 0;
38237 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38238 int *arg2
= (int *) 0 ;
38239 int *arg3
= (int *) 0 ;
38243 int res2
= SWIG_TMPOBJ
;
38245 int res3
= SWIG_TMPOBJ
;
38246 PyObject
*swig_obj
[1] ;
38250 if (!args
) SWIG_fail
;
38251 swig_obj
[0] = args
;
38252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38253 if (!SWIG_IsOK(res1
)) {
38254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38256 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38260 wxPyEndAllowThreads(__tstate
);
38261 if (PyErr_Occurred()) SWIG_fail
;
38263 resultobj
= SWIG_Py_Void();
38264 if (SWIG_IsTmpObj(res2
)) {
38265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38267 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38270 if (SWIG_IsTmpObj(res3
)) {
38271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38273 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38282 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38283 PyObject
*resultobj
= 0;
38284 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38285 int *arg2
= (int *) 0 ;
38286 int *arg3
= (int *) 0 ;
38290 int res2
= SWIG_TMPOBJ
;
38292 int res3
= SWIG_TMPOBJ
;
38293 PyObject
*swig_obj
[1] ;
38297 if (!args
) SWIG_fail
;
38298 swig_obj
[0] = args
;
38299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38300 if (!SWIG_IsOK(res1
)) {
38301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38303 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38306 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38307 wxPyEndAllowThreads(__tstate
);
38308 if (PyErr_Occurred()) SWIG_fail
;
38310 resultobj
= SWIG_Py_Void();
38311 if (SWIG_IsTmpObj(res2
)) {
38312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38314 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38317 if (SWIG_IsTmpObj(res3
)) {
38318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38320 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38329 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38330 PyObject
*resultobj
= 0;
38331 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38335 PyObject
*swig_obj
[1] ;
38337 if (!args
) SWIG_fail
;
38338 swig_obj
[0] = args
;
38339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38340 if (!SWIG_IsOK(res1
)) {
38341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38343 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38346 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38347 wxPyEndAllowThreads(__tstate
);
38348 if (PyErr_Occurred()) SWIG_fail
;
38350 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38357 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38358 PyObject
*resultobj
= 0;
38359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38363 PyObject
*swig_obj
[1] ;
38365 if (!args
) SWIG_fail
;
38366 swig_obj
[0] = args
;
38367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38368 if (!SWIG_IsOK(res1
)) {
38369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38371 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38374 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38375 wxPyEndAllowThreads(__tstate
);
38376 if (PyErr_Occurred()) SWIG_fail
;
38378 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38385 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38386 PyObject
*resultobj
= 0;
38387 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38388 SwigValueWrapper
<wxVisualAttributes
> result
;
38391 PyObject
*swig_obj
[1] ;
38393 if (!args
) SWIG_fail
;
38394 swig_obj
[0] = args
;
38395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38396 if (!SWIG_IsOK(res1
)) {
38397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38399 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38402 result
= (arg1
)->GetDefaultAttributes();
38403 wxPyEndAllowThreads(__tstate
);
38404 if (PyErr_Occurred()) SWIG_fail
;
38406 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38413 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38414 PyObject
*resultobj
= 0;
38415 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38418 PyObject
*swig_obj
[1] ;
38420 if (!args
) SWIG_fail
;
38421 swig_obj
[0] = args
;
38422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38423 if (!SWIG_IsOK(res1
)) {
38424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38426 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38429 (arg1
)->OnInternalIdle();
38430 wxPyEndAllowThreads(__tstate
);
38431 if (PyErr_Occurred()) SWIG_fail
;
38433 resultobj
= SWIG_Py_Void();
38440 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38443 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38444 return SWIG_Py_Void();
38447 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38448 return SWIG_Python_InitShadowInstance(args
);
38451 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38452 PyObject
*resultobj
= 0;
38453 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38454 int arg2
= (int) 0 ;
38455 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38456 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38457 wxHelpEvent
*result
= 0 ;
38463 PyObject
* obj0
= 0 ;
38464 PyObject
* obj1
= 0 ;
38465 PyObject
* obj2
= 0 ;
38466 char * kwnames
[] = {
38467 (char *) "type",(char *) "winid",(char *) "pt", NULL
38470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38472 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38473 if (!SWIG_IsOK(ecode1
)) {
38474 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38476 arg1
= static_cast< wxEventType
>(val1
);
38479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38480 if (!SWIG_IsOK(ecode2
)) {
38481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38483 arg2
= static_cast< int >(val2
);
38488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38494 wxPyEndAllowThreads(__tstate
);
38495 if (PyErr_Occurred()) SWIG_fail
;
38497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38504 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38505 PyObject
*resultobj
= 0;
38506 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38510 PyObject
*swig_obj
[1] ;
38512 if (!args
) SWIG_fail
;
38513 swig_obj
[0] = args
;
38514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38515 if (!SWIG_IsOK(res1
)) {
38516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38518 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38521 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38522 wxPyEndAllowThreads(__tstate
);
38523 if (PyErr_Occurred()) SWIG_fail
;
38525 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38532 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38533 PyObject
*resultobj
= 0;
38534 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38535 wxPoint
*arg2
= 0 ;
38539 PyObject
* obj0
= 0 ;
38540 PyObject
* obj1
= 0 ;
38541 char * kwnames
[] = {
38542 (char *) "self",(char *) "pos", NULL
38545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38547 if (!SWIG_IsOK(res1
)) {
38548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38550 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38557 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38558 wxPyEndAllowThreads(__tstate
);
38559 if (PyErr_Occurred()) SWIG_fail
;
38561 resultobj
= SWIG_Py_Void();
38568 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38569 PyObject
*resultobj
= 0;
38570 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38571 wxString
*result
= 0 ;
38574 PyObject
*swig_obj
[1] ;
38576 if (!args
) SWIG_fail
;
38577 swig_obj
[0] = args
;
38578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38579 if (!SWIG_IsOK(res1
)) {
38580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38582 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38586 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38587 result
= (wxString
*) &_result_ref
;
38589 wxPyEndAllowThreads(__tstate
);
38590 if (PyErr_Occurred()) SWIG_fail
;
38594 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38596 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38605 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38606 PyObject
*resultobj
= 0;
38607 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38608 wxString
*arg2
= 0 ;
38611 bool temp2
= false ;
38612 PyObject
* obj0
= 0 ;
38613 PyObject
* obj1
= 0 ;
38614 char * kwnames
[] = {
38615 (char *) "self",(char *) "link", NULL
38618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38620 if (!SWIG_IsOK(res1
)) {
38621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38623 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38625 arg2
= wxString_in_helper(obj1
);
38626 if (arg2
== NULL
) SWIG_fail
;
38630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38631 (arg1
)->SetLink((wxString
const &)*arg2
);
38632 wxPyEndAllowThreads(__tstate
);
38633 if (PyErr_Occurred()) SWIG_fail
;
38635 resultobj
= SWIG_Py_Void();
38650 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38651 PyObject
*resultobj
= 0;
38652 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38653 wxString
*result
= 0 ;
38656 PyObject
*swig_obj
[1] ;
38658 if (!args
) SWIG_fail
;
38659 swig_obj
[0] = args
;
38660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38661 if (!SWIG_IsOK(res1
)) {
38662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38664 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38668 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38669 result
= (wxString
*) &_result_ref
;
38671 wxPyEndAllowThreads(__tstate
);
38672 if (PyErr_Occurred()) SWIG_fail
;
38676 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38678 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38687 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38688 PyObject
*resultobj
= 0;
38689 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38690 wxString
*arg2
= 0 ;
38693 bool temp2
= false ;
38694 PyObject
* obj0
= 0 ;
38695 PyObject
* obj1
= 0 ;
38696 char * kwnames
[] = {
38697 (char *) "self",(char *) "target", NULL
38700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38702 if (!SWIG_IsOK(res1
)) {
38703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38705 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38707 arg2
= wxString_in_helper(obj1
);
38708 if (arg2
== NULL
) SWIG_fail
;
38712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38713 (arg1
)->SetTarget((wxString
const &)*arg2
);
38714 wxPyEndAllowThreads(__tstate
);
38715 if (PyErr_Occurred()) SWIG_fail
;
38717 resultobj
= SWIG_Py_Void();
38732 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38735 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38736 return SWIG_Py_Void();
38739 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38740 return SWIG_Python_InitShadowInstance(args
);
38743 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38744 PyObject
*resultobj
= 0;
38745 wxWindow
*arg1
= (wxWindow
*) NULL
;
38746 bool arg2
= (bool) true ;
38747 wxContextHelp
*result
= 0 ;
38752 PyObject
* obj0
= 0 ;
38753 PyObject
* obj1
= 0 ;
38754 char * kwnames
[] = {
38755 (char *) "window",(char *) "doNow", NULL
38758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38761 if (!SWIG_IsOK(res1
)) {
38762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
38764 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38768 if (!SWIG_IsOK(ecode2
)) {
38769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
38771 arg2
= static_cast< bool >(val2
);
38774 if (!wxPyCheckForApp()) SWIG_fail
;
38775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38776 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
38777 wxPyEndAllowThreads(__tstate
);
38778 if (PyErr_Occurred()) SWIG_fail
;
38780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
38787 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38788 PyObject
*resultobj
= 0;
38789 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38792 PyObject
*swig_obj
[1] ;
38794 if (!args
) SWIG_fail
;
38795 swig_obj
[0] = args
;
38796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
38797 if (!SWIG_IsOK(res1
)) {
38798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38800 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38808 resultobj
= SWIG_Py_Void();
38815 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38816 PyObject
*resultobj
= 0;
38817 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38818 wxWindow
*arg2
= (wxWindow
*) NULL
;
38824 PyObject
* obj0
= 0 ;
38825 PyObject
* obj1
= 0 ;
38826 char * kwnames
[] = {
38827 (char *) "self",(char *) "window", NULL
38830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38832 if (!SWIG_IsOK(res1
)) {
38833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38835 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38838 if (!SWIG_IsOK(res2
)) {
38839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
38841 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38845 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
38846 wxPyEndAllowThreads(__tstate
);
38847 if (PyErr_Occurred()) SWIG_fail
;
38850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38858 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38859 PyObject
*resultobj
= 0;
38860 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38864 PyObject
*swig_obj
[1] ;
38866 if (!args
) SWIG_fail
;
38867 swig_obj
[0] = args
;
38868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38869 if (!SWIG_IsOK(res1
)) {
38870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38872 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38875 result
= (bool)(arg1
)->EndContextHelp();
38876 wxPyEndAllowThreads(__tstate
);
38877 if (PyErr_Occurred()) SWIG_fail
;
38880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38888 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38891 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
38892 return SWIG_Py_Void();
38895 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38896 return SWIG_Python_InitShadowInstance(args
);
38899 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38900 PyObject
*resultobj
= 0;
38901 wxWindow
*arg1
= (wxWindow
*) 0 ;
38902 int arg2
= (int) wxID_CONTEXT_HELP
;
38903 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38904 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38905 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38906 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38907 long arg5
= (long) wxBU_AUTODRAW
;
38908 wxContextHelpButton
*result
= 0 ;
38917 PyObject
* obj0
= 0 ;
38918 PyObject
* obj1
= 0 ;
38919 PyObject
* obj2
= 0 ;
38920 PyObject
* obj3
= 0 ;
38921 PyObject
* obj4
= 0 ;
38922 char * kwnames
[] = {
38923 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38928 if (!SWIG_IsOK(res1
)) {
38929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
38931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38934 if (!SWIG_IsOK(ecode2
)) {
38935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
38937 arg2
= static_cast< int >(val2
);
38942 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38948 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38952 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38953 if (!SWIG_IsOK(ecode5
)) {
38954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
38956 arg5
= static_cast< long >(val5
);
38959 if (!wxPyCheckForApp()) SWIG_fail
;
38960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38961 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38962 wxPyEndAllowThreads(__tstate
);
38963 if (PyErr_Occurred()) SWIG_fail
;
38965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
38972 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38975 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
38976 return SWIG_Py_Void();
38979 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38980 return SWIG_Python_InitShadowInstance(args
);
38983 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38984 PyObject
*resultobj
= 0;
38985 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38988 PyObject
*swig_obj
[1] ;
38990 if (!args
) SWIG_fail
;
38991 swig_obj
[0] = args
;
38992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
38993 if (!SWIG_IsOK(res1
)) {
38994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
38996 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
38998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39001 wxPyEndAllowThreads(__tstate
);
39002 if (PyErr_Occurred()) SWIG_fail
;
39004 resultobj
= SWIG_Py_Void();
39011 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39012 PyObject
*resultobj
= 0;
39013 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39014 wxHelpProvider
*result
= 0 ;
39016 PyObject
* obj0
= 0 ;
39017 char * kwnames
[] = {
39018 (char *) "helpProvider", NULL
39021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39022 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39023 if (!SWIG_IsOK(res1
)) {
39024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39028 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39029 wxPyEndAllowThreads(__tstate
);
39030 if (PyErr_Occurred()) SWIG_fail
;
39032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39039 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39040 PyObject
*resultobj
= 0;
39041 wxHelpProvider
*result
= 0 ;
39043 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39046 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39047 wxPyEndAllowThreads(__tstate
);
39048 if (PyErr_Occurred()) SWIG_fail
;
39050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39057 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39058 PyObject
*resultobj
= 0;
39059 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39060 wxWindow
*arg2
= (wxWindow
*) 0 ;
39066 PyObject
* obj0
= 0 ;
39067 PyObject
* obj1
= 0 ;
39068 char * kwnames
[] = {
39069 (char *) "self",(char *) "window", NULL
39072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39074 if (!SWIG_IsOK(res1
)) {
39075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39077 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39079 if (!SWIG_IsOK(res2
)) {
39080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39085 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39086 wxPyEndAllowThreads(__tstate
);
39087 if (PyErr_Occurred()) SWIG_fail
;
39091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39102 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39103 PyObject
*resultobj
= 0;
39104 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39105 wxWindow
*arg2
= (wxWindow
*) 0 ;
39111 PyObject
* obj0
= 0 ;
39112 PyObject
* obj1
= 0 ;
39113 char * kwnames
[] = {
39114 (char *) "self",(char *) "window", NULL
39117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39119 if (!SWIG_IsOK(res1
)) {
39120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39122 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39124 if (!SWIG_IsOK(res2
)) {
39125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39127 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39130 result
= (bool)(arg1
)->ShowHelp(arg2
);
39131 wxPyEndAllowThreads(__tstate
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39143 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
= 0;
39145 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39146 wxWindow
*arg2
= (wxWindow
*) 0 ;
39147 wxString
*arg3
= 0 ;
39152 bool temp3
= false ;
39153 PyObject
* obj0
= 0 ;
39154 PyObject
* obj1
= 0 ;
39155 PyObject
* obj2
= 0 ;
39156 char * kwnames
[] = {
39157 (char *) "self",(char *) "window",(char *) "text", NULL
39160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39162 if (!SWIG_IsOK(res1
)) {
39163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39165 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39167 if (!SWIG_IsOK(res2
)) {
39168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39172 arg3
= wxString_in_helper(obj2
);
39173 if (arg3
== NULL
) SWIG_fail
;
39177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39178 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39179 wxPyEndAllowThreads(__tstate
);
39180 if (PyErr_Occurred()) SWIG_fail
;
39182 resultobj
= SWIG_Py_Void();
39197 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
= 0;
39199 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39201 wxString
*arg3
= 0 ;
39206 bool temp3
= false ;
39207 PyObject
* obj0
= 0 ;
39208 PyObject
* obj1
= 0 ;
39209 PyObject
* obj2
= 0 ;
39210 char * kwnames
[] = {
39211 (char *) "self",(char *) "id",(char *) "text", NULL
39214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39216 if (!SWIG_IsOK(res1
)) {
39217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39219 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39221 if (!SWIG_IsOK(ecode2
)) {
39222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39224 arg2
= static_cast< int >(val2
);
39226 arg3
= wxString_in_helper(obj2
);
39227 if (arg3
== NULL
) SWIG_fail
;
39231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39232 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39233 wxPyEndAllowThreads(__tstate
);
39234 if (PyErr_Occurred()) SWIG_fail
;
39236 resultobj
= SWIG_Py_Void();
39251 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39252 PyObject
*resultobj
= 0;
39253 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39254 wxWindow
*arg2
= (wxWindow
*) 0 ;
39259 PyObject
* obj0
= 0 ;
39260 PyObject
* obj1
= 0 ;
39261 char * kwnames
[] = {
39262 (char *) "self",(char *) "window", NULL
39265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39267 if (!SWIG_IsOK(res1
)) {
39268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39270 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39272 if (!SWIG_IsOK(res2
)) {
39273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39275 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39278 (arg1
)->RemoveHelp(arg2
);
39279 wxPyEndAllowThreads(__tstate
);
39280 if (PyErr_Occurred()) SWIG_fail
;
39282 resultobj
= SWIG_Py_Void();
39289 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39290 PyObject
*resultobj
= 0;
39291 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39294 PyObject
*swig_obj
[1] ;
39296 if (!args
) SWIG_fail
;
39297 swig_obj
[0] = args
;
39298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39299 if (!SWIG_IsOK(res1
)) {
39300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39302 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39305 wxHelpProvider_Destroy(arg1
);
39306 wxPyEndAllowThreads(__tstate
);
39307 if (PyErr_Occurred()) SWIG_fail
;
39309 resultobj
= SWIG_Py_Void();
39316 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39319 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39320 return SWIG_Py_Void();
39323 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39324 PyObject
*resultobj
= 0;
39325 wxSimpleHelpProvider
*result
= 0 ;
39327 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39330 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39331 wxPyEndAllowThreads(__tstate
);
39332 if (PyErr_Occurred()) SWIG_fail
;
39334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39341 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39344 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39345 return SWIG_Py_Void();
39348 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39349 return SWIG_Python_InitShadowInstance(args
);
39352 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39353 PyObject
*resultobj
= 0;
39354 wxBitmap
*arg1
= 0 ;
39355 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39356 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39357 wxGenericDragImage
*result
= 0 ;
39362 PyObject
* obj0
= 0 ;
39363 PyObject
* obj1
= 0 ;
39364 char * kwnames
[] = {
39365 (char *) "image",(char *) "cursor", NULL
39368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39369 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39370 if (!SWIG_IsOK(res1
)) {
39371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39376 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39379 if (!SWIG_IsOK(res2
)) {
39380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39385 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39388 if (!wxPyCheckForApp()) SWIG_fail
;
39389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39390 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39391 wxPyEndAllowThreads(__tstate
);
39392 if (PyErr_Occurred()) SWIG_fail
;
39394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39401 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39402 PyObject
*resultobj
= 0;
39404 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39405 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39406 wxGenericDragImage
*result
= 0 ;
39411 PyObject
* obj0
= 0 ;
39412 PyObject
* obj1
= 0 ;
39413 char * kwnames
[] = {
39414 (char *) "image",(char *) "cursor", NULL
39417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39418 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39419 if (!SWIG_IsOK(res1
)) {
39420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39425 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39428 if (!SWIG_IsOK(res2
)) {
39429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39434 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39437 if (!wxPyCheckForApp()) SWIG_fail
;
39438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39439 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39440 wxPyEndAllowThreads(__tstate
);
39441 if (PyErr_Occurred()) SWIG_fail
;
39443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39450 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39451 PyObject
*resultobj
= 0;
39452 wxString
*arg1
= 0 ;
39453 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39454 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39455 wxGenericDragImage
*result
= 0 ;
39456 bool temp1
= false ;
39459 PyObject
* obj0
= 0 ;
39460 PyObject
* obj1
= 0 ;
39461 char * kwnames
[] = {
39462 (char *) "str",(char *) "cursor", NULL
39465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39467 arg1
= wxString_in_helper(obj0
);
39468 if (arg1
== NULL
) SWIG_fail
;
39472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39473 if (!SWIG_IsOK(res2
)) {
39474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39479 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39482 if (!wxPyCheckForApp()) SWIG_fail
;
39483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39484 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39485 wxPyEndAllowThreads(__tstate
);
39486 if (PyErr_Occurred()) SWIG_fail
;
39488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39503 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39504 PyObject
*resultobj
= 0;
39505 wxPyTreeCtrl
*arg1
= 0 ;
39506 wxTreeItemId
*arg2
= 0 ;
39507 wxGenericDragImage
*result
= 0 ;
39512 PyObject
* obj0
= 0 ;
39513 PyObject
* obj1
= 0 ;
39514 char * kwnames
[] = {
39515 (char *) "treeCtrl",(char *) "id", NULL
39518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39519 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39520 if (!SWIG_IsOK(res1
)) {
39521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39528 if (!SWIG_IsOK(res2
)) {
39529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39534 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39536 if (!wxPyCheckForApp()) SWIG_fail
;
39537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39538 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39539 wxPyEndAllowThreads(__tstate
);
39540 if (PyErr_Occurred()) SWIG_fail
;
39542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39549 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39550 PyObject
*resultobj
= 0;
39551 wxPyListCtrl
*arg1
= 0 ;
39553 wxGenericDragImage
*result
= 0 ;
39558 PyObject
* obj0
= 0 ;
39559 PyObject
* obj1
= 0 ;
39560 char * kwnames
[] = {
39561 (char *) "listCtrl",(char *) "id", NULL
39564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39565 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39566 if (!SWIG_IsOK(res1
)) {
39567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39572 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39573 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39574 if (!SWIG_IsOK(ecode2
)) {
39575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39577 arg2
= static_cast< long >(val2
);
39579 if (!wxPyCheckForApp()) SWIG_fail
;
39580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39581 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39582 wxPyEndAllowThreads(__tstate
);
39583 if (PyErr_Occurred()) SWIG_fail
;
39585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39592 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39593 PyObject
*resultobj
= 0;
39594 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39597 PyObject
*swig_obj
[1] ;
39599 if (!args
) SWIG_fail
;
39600 swig_obj
[0] = args
;
39601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39602 if (!SWIG_IsOK(res1
)) {
39603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39605 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39610 wxPyEndAllowThreads(__tstate
);
39611 if (PyErr_Occurred()) SWIG_fail
;
39613 resultobj
= SWIG_Py_Void();
39620 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39621 PyObject
*resultobj
= 0;
39622 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39623 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39628 PyObject
* obj0
= 0 ;
39629 PyObject
* obj1
= 0 ;
39630 char * kwnames
[] = {
39631 (char *) "self",(char *) "bitmap", NULL
39634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39636 if (!SWIG_IsOK(res1
)) {
39637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39639 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39641 if (!SWIG_IsOK(res2
)) {
39642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39644 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39647 (arg1
)->SetBackingBitmap(arg2
);
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39651 resultobj
= SWIG_Py_Void();
39658 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39659 PyObject
*resultobj
= 0;
39660 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39661 wxPoint
*arg2
= 0 ;
39662 wxWindow
*arg3
= (wxWindow
*) 0 ;
39663 bool arg4
= (bool) false ;
39664 wxRect
*arg5
= (wxRect
*) NULL
;
39675 PyObject
* obj0
= 0 ;
39676 PyObject
* obj1
= 0 ;
39677 PyObject
* obj2
= 0 ;
39678 PyObject
* obj3
= 0 ;
39679 PyObject
* obj4
= 0 ;
39680 char * kwnames
[] = {
39681 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39686 if (!SWIG_IsOK(res1
)) {
39687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39689 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39694 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39695 if (!SWIG_IsOK(res3
)) {
39696 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39698 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39700 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39701 if (!SWIG_IsOK(ecode4
)) {
39702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39704 arg4
= static_cast< bool >(val4
);
39707 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39708 if (!SWIG_IsOK(res5
)) {
39709 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39711 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39715 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39716 wxPyEndAllowThreads(__tstate
);
39717 if (PyErr_Occurred()) SWIG_fail
;
39720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39728 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39729 PyObject
*resultobj
= 0;
39730 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39731 wxPoint
*arg2
= 0 ;
39732 wxWindow
*arg3
= (wxWindow
*) 0 ;
39733 wxWindow
*arg4
= (wxWindow
*) 0 ;
39742 PyObject
* obj0
= 0 ;
39743 PyObject
* obj1
= 0 ;
39744 PyObject
* obj2
= 0 ;
39745 PyObject
* obj3
= 0 ;
39746 char * kwnames
[] = {
39747 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39752 if (!SWIG_IsOK(res1
)) {
39753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39755 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39760 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39761 if (!SWIG_IsOK(res3
)) {
39762 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
39764 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39765 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39766 if (!SWIG_IsOK(res4
)) {
39767 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
39769 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
39771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39772 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
39773 wxPyEndAllowThreads(__tstate
);
39774 if (PyErr_Occurred()) SWIG_fail
;
39777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39785 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39786 PyObject
*resultobj
= 0;
39787 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39791 PyObject
*swig_obj
[1] ;
39793 if (!args
) SWIG_fail
;
39794 swig_obj
[0] = args
;
39795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39796 if (!SWIG_IsOK(res1
)) {
39797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39799 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39802 result
= (bool)(arg1
)->EndDrag();
39803 wxPyEndAllowThreads(__tstate
);
39804 if (PyErr_Occurred()) SWIG_fail
;
39807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39815 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39816 PyObject
*resultobj
= 0;
39817 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39818 wxPoint
*arg2
= 0 ;
39823 PyObject
* obj0
= 0 ;
39824 PyObject
* obj1
= 0 ;
39825 char * kwnames
[] = {
39826 (char *) "self",(char *) "pt", NULL
39829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39831 if (!SWIG_IsOK(res1
)) {
39832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39834 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39841 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
39842 wxPyEndAllowThreads(__tstate
);
39843 if (PyErr_Occurred()) SWIG_fail
;
39846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39854 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39855 PyObject
*resultobj
= 0;
39856 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39860 PyObject
*swig_obj
[1] ;
39862 if (!args
) SWIG_fail
;
39863 swig_obj
[0] = args
;
39864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39865 if (!SWIG_IsOK(res1
)) {
39866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39868 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39871 result
= (bool)(arg1
)->Show();
39872 wxPyEndAllowThreads(__tstate
);
39873 if (PyErr_Occurred()) SWIG_fail
;
39876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39884 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39885 PyObject
*resultobj
= 0;
39886 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39890 PyObject
*swig_obj
[1] ;
39892 if (!args
) SWIG_fail
;
39893 swig_obj
[0] = args
;
39894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39895 if (!SWIG_IsOK(res1
)) {
39896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39898 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39901 result
= (bool)(arg1
)->Hide();
39902 wxPyEndAllowThreads(__tstate
);
39903 if (PyErr_Occurred()) SWIG_fail
;
39906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39914 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39915 PyObject
*resultobj
= 0;
39916 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39917 wxPoint
*arg2
= 0 ;
39922 PyObject
* obj0
= 0 ;
39923 PyObject
* obj1
= 0 ;
39924 char * kwnames
[] = {
39925 (char *) "self",(char *) "pos", NULL
39928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39930 if (!SWIG_IsOK(res1
)) {
39931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39933 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39940 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
39941 wxPyEndAllowThreads(__tstate
);
39942 if (PyErr_Occurred()) SWIG_fail
;
39944 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
39951 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39952 PyObject
*resultobj
= 0;
39953 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39955 wxPoint
*arg3
= 0 ;
39962 PyObject
* obj0
= 0 ;
39963 PyObject
* obj1
= 0 ;
39964 PyObject
* obj2
= 0 ;
39965 char * kwnames
[] = {
39966 (char *) "self",(char *) "dc",(char *) "pos", NULL
39969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39971 if (!SWIG_IsOK(res1
)) {
39972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39974 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
39976 if (!SWIG_IsOK(res2
)) {
39977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
39980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
39982 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39985 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39989 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
39990 wxPyEndAllowThreads(__tstate
);
39991 if (PyErr_Occurred()) SWIG_fail
;
39994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40002 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40003 PyObject
*resultobj
= 0;
40004 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40006 wxMemoryDC
*arg3
= 0 ;
40018 PyObject
* obj0
= 0 ;
40019 PyObject
* obj1
= 0 ;
40020 PyObject
* obj2
= 0 ;
40021 PyObject
* obj3
= 0 ;
40022 PyObject
* obj4
= 0 ;
40023 char * kwnames
[] = {
40024 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40029 if (!SWIG_IsOK(res1
)) {
40030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40032 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40034 if (!SWIG_IsOK(res2
)) {
40035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40040 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40041 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40042 if (!SWIG_IsOK(res3
)) {
40043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40048 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40051 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40055 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40059 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40072 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40073 PyObject
*resultobj
= 0;
40074 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40075 wxPoint
*arg2
= 0 ;
40076 wxPoint
*arg3
= 0 ;
40088 PyObject
* obj0
= 0 ;
40089 PyObject
* obj1
= 0 ;
40090 PyObject
* obj2
= 0 ;
40091 PyObject
* obj3
= 0 ;
40092 PyObject
* obj4
= 0 ;
40093 char * kwnames
[] = {
40094 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40099 if (!SWIG_IsOK(res1
)) {
40100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40102 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40109 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40111 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40112 if (!SWIG_IsOK(ecode4
)) {
40113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40115 arg4
= static_cast< bool >(val4
);
40116 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40117 if (!SWIG_IsOK(ecode5
)) {
40118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40120 arg5
= static_cast< bool >(val5
);
40122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40123 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40124 wxPyEndAllowThreads(__tstate
);
40125 if (PyErr_Occurred()) SWIG_fail
;
40128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40136 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40139 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40140 return SWIG_Py_Void();
40143 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40144 return SWIG_Python_InitShadowInstance(args
);
40147 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40148 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40153 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40154 PyObject
*pyobj
= 0;
40158 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40160 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40167 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40168 PyObject
*resultobj
= 0;
40169 wxWindow
*arg1
= (wxWindow
*) 0 ;
40170 int arg2
= (int) -1 ;
40171 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40172 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40173 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40174 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40175 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40176 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40177 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40178 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40179 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40180 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40182 wxDatePickerCtrl
*result
= 0 ;
40195 bool temp8
= false ;
40196 PyObject
* obj0
= 0 ;
40197 PyObject
* obj1
= 0 ;
40198 PyObject
* obj2
= 0 ;
40199 PyObject
* obj3
= 0 ;
40200 PyObject
* obj4
= 0 ;
40201 PyObject
* obj5
= 0 ;
40202 PyObject
* obj6
= 0 ;
40203 PyObject
* obj7
= 0 ;
40204 char * kwnames
[] = {
40205 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40210 if (!SWIG_IsOK(res1
)) {
40211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40216 if (!SWIG_IsOK(ecode2
)) {
40217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40219 arg2
= static_cast< int >(val2
);
40222 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40223 if (!SWIG_IsOK(res3
)) {
40224 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40229 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40234 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40240 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40244 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40245 if (!SWIG_IsOK(ecode6
)) {
40246 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40248 arg6
= static_cast< long >(val6
);
40251 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40252 if (!SWIG_IsOK(res7
)) {
40253 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40258 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40262 arg8
= wxString_in_helper(obj7
);
40263 if (arg8
== NULL
) SWIG_fail
;
40268 if (!wxPyCheckForApp()) SWIG_fail
;
40269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40270 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40271 wxPyEndAllowThreads(__tstate
);
40272 if (PyErr_Occurred()) SWIG_fail
;
40274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40289 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40290 PyObject
*resultobj
= 0;
40291 wxDatePickerCtrl
*result
= 0 ;
40293 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40295 if (!wxPyCheckForApp()) SWIG_fail
;
40296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40297 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40298 wxPyEndAllowThreads(__tstate
);
40299 if (PyErr_Occurred()) SWIG_fail
;
40301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40308 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40309 PyObject
*resultobj
= 0;
40310 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40311 wxWindow
*arg2
= (wxWindow
*) 0 ;
40312 int arg3
= (int) -1 ;
40313 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40314 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40315 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40316 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40317 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40318 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40319 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40320 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40321 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40322 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40323 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40339 bool temp9
= false ;
40340 PyObject
* obj0
= 0 ;
40341 PyObject
* obj1
= 0 ;
40342 PyObject
* obj2
= 0 ;
40343 PyObject
* obj3
= 0 ;
40344 PyObject
* obj4
= 0 ;
40345 PyObject
* obj5
= 0 ;
40346 PyObject
* obj6
= 0 ;
40347 PyObject
* obj7
= 0 ;
40348 PyObject
* obj8
= 0 ;
40349 char * kwnames
[] = {
40350 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40355 if (!SWIG_IsOK(res1
)) {
40356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40358 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40359 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40360 if (!SWIG_IsOK(res2
)) {
40361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40363 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40366 if (!SWIG_IsOK(ecode3
)) {
40367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40369 arg3
= static_cast< int >(val3
);
40372 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40373 if (!SWIG_IsOK(res4
)) {
40374 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40379 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40384 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40390 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40394 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40395 if (!SWIG_IsOK(ecode7
)) {
40396 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40398 arg7
= static_cast< long >(val7
);
40401 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40402 if (!SWIG_IsOK(res8
)) {
40403 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40408 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40412 arg9
= wxString_in_helper(obj8
);
40413 if (arg9
== NULL
) SWIG_fail
;
40418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40419 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40420 wxPyEndAllowThreads(__tstate
);
40421 if (PyErr_Occurred()) SWIG_fail
;
40424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40440 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40441 PyObject
*resultobj
= 0;
40442 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40443 wxDateTime
*arg2
= 0 ;
40448 PyObject
* obj0
= 0 ;
40449 PyObject
* obj1
= 0 ;
40450 char * kwnames
[] = {
40451 (char *) "self",(char *) "dt", NULL
40454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40456 if (!SWIG_IsOK(res1
)) {
40457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40459 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40461 if (!SWIG_IsOK(res2
)) {
40462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40467 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40470 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40471 wxPyEndAllowThreads(__tstate
);
40472 if (PyErr_Occurred()) SWIG_fail
;
40474 resultobj
= SWIG_Py_Void();
40481 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40482 PyObject
*resultobj
= 0;
40483 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40487 PyObject
*swig_obj
[1] ;
40489 if (!args
) SWIG_fail
;
40490 swig_obj
[0] = args
;
40491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40492 if (!SWIG_IsOK(res1
)) {
40493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40495 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40498 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40499 wxPyEndAllowThreads(__tstate
);
40500 if (PyErr_Occurred()) SWIG_fail
;
40502 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40509 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40510 PyObject
*resultobj
= 0;
40511 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40512 wxDateTime
*arg2
= 0 ;
40513 wxDateTime
*arg3
= 0 ;
40520 PyObject
* obj0
= 0 ;
40521 PyObject
* obj1
= 0 ;
40522 PyObject
* obj2
= 0 ;
40523 char * kwnames
[] = {
40524 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40529 if (!SWIG_IsOK(res1
)) {
40530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40532 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40534 if (!SWIG_IsOK(res2
)) {
40535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40540 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40541 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40542 if (!SWIG_IsOK(res3
)) {
40543 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40548 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40551 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40552 wxPyEndAllowThreads(__tstate
);
40553 if (PyErr_Occurred()) SWIG_fail
;
40555 resultobj
= SWIG_Py_Void();
40562 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40563 PyObject
*resultobj
= 0;
40564 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40568 PyObject
*swig_obj
[1] ;
40570 if (!args
) SWIG_fail
;
40571 swig_obj
[0] = args
;
40572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40573 if (!SWIG_IsOK(res1
)) {
40574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40576 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40579 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40580 wxPyEndAllowThreads(__tstate
);
40581 if (PyErr_Occurred()) SWIG_fail
;
40583 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40590 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40591 PyObject
*resultobj
= 0;
40592 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40596 PyObject
*swig_obj
[1] ;
40598 if (!args
) SWIG_fail
;
40599 swig_obj
[0] = args
;
40600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40601 if (!SWIG_IsOK(res1
)) {
40602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40604 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40607 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40608 wxPyEndAllowThreads(__tstate
);
40609 if (PyErr_Occurred()) SWIG_fail
;
40611 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40618 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40621 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40622 return SWIG_Py_Void();
40625 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40626 return SWIG_Python_InitShadowInstance(args
);
40629 static PyMethodDef SwigMethods
[] = {
40630 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40631 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40632 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40633 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40634 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40635 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40636 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40637 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40638 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40639 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40640 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40641 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40642 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40643 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40644 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40645 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40646 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40647 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40648 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40649 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40650 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40651 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40652 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40653 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40654 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40655 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40656 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40657 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40658 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40659 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40660 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40661 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40662 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40663 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40664 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40665 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40666 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40667 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40668 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40669 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40670 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40671 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40672 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40673 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40675 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40676 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40678 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40679 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40680 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40681 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40682 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40683 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40684 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40685 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40686 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40687 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40688 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40689 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40690 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40691 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40692 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40693 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40694 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40696 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40697 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40698 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40699 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40700 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40701 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40702 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40703 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40704 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40705 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40706 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40707 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40708 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40709 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40710 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40711 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40712 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40713 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40714 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40715 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40717 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40719 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40720 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40721 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40722 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40724 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40727 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40728 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40729 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40730 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40731 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40732 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40733 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40735 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40736 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40738 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40742 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40743 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40745 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40747 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40748 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40749 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40750 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40751 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40752 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40753 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40754 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40756 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40757 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40758 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40760 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40761 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40762 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
40765 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
40770 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
40776 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
40777 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
40779 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40780 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
40783 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
40784 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
40786 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
40787 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
40796 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
40797 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
40798 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
40799 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
40800 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
40801 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
40802 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
40804 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
40805 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
40806 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
40807 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
40808 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
40809 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
40810 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
40811 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
40812 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
40813 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
40815 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
40816 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
40818 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
40820 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
40825 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
40826 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
40827 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
40828 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
40829 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
40830 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
40831 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
40832 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
40837 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
40838 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
40846 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
40852 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
40853 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
40854 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
40855 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
40856 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
40857 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
40858 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
40859 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
40860 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
40861 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
40863 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
40864 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
40865 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
40867 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
40872 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
40873 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
40875 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
40876 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
40877 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
40878 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
40879 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
40881 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
40883 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
40884 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
40885 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
40886 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
40887 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
40890 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
40891 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
40893 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
40895 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
40896 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
40897 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
40902 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
40904 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
40905 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
40907 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
40909 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
40913 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
40914 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
40917 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
40918 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
40920 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
40922 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
40923 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
40925 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
40928 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
40929 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
40931 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
40939 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
40940 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
40943 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
40944 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
40946 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
40948 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
40951 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
40952 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
40954 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
40956 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
40959 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
40960 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
40965 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
40966 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
40968 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
40970 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
40971 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
40973 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
40974 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
40975 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
40978 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
40979 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
40981 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
40984 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
40986 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
40987 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
40988 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
40990 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
40991 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
40996 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41001 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41003 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
41005 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41007 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
41008 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41011 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41017 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41019 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41021 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41023 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41024 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41026 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41028 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41032 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41034 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41035 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41037 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41038 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41040 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41042 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41043 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41044 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41046 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41047 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41049 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41051 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41052 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41053 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41055 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41056 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41058 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41066 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41067 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41068 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41070 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41071 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41073 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41075 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41076 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41077 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41078 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41080 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41081 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41082 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41083 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41084 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41085 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41086 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41087 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41088 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41089 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41090 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41091 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41092 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41093 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41094 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41095 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41096 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41097 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41098 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41100 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41107 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41109 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41111 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41119 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41124 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41125 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41142 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41143 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41144 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41145 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41148 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41149 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41151 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41152 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41155 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41156 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41157 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41159 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41162 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41163 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41165 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41169 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41170 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41171 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41172 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41173 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41174 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41176 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41177 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41178 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41179 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41180 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41181 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41182 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41196 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41197 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41198 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41199 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41200 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41201 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41202 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41203 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41204 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41205 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41206 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41207 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41208 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41209 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41210 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41211 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41212 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41213 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41214 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41215 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41216 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41217 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41218 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41219 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41220 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41221 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41222 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41223 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41224 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41225 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41226 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41227 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41228 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41229 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41230 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41231 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41233 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41234 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41235 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41236 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41237 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41238 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41239 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41240 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41241 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41242 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41243 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41244 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41245 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41246 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41247 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41248 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41249 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41250 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41251 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41252 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41253 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41254 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41255 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41256 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41258 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41259 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41261 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41268 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41269 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41270 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41285 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41286 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41287 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41289 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41290 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41292 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41298 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41299 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41304 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41306 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41307 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41329 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41331 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41332 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41334 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41338 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41340 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41344 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41345 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41346 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41347 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41348 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41351 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41352 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41353 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41354 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41356 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41357 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41359 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41361 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41362 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41363 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41365 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41367 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41369 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41371 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41372 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41374 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41376 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41379 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41380 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41381 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41383 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41386 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41387 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41389 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41391 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41392 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41420 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41421 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41422 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41429 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41439 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41444 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41446 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41452 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41457 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41458 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41460 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41463 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41465 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41466 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41469 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41470 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41472 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41474 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41475 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41476 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41478 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41479 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41480 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41481 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41483 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41486 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41487 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41489 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41497 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41498 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41499 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41500 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41501 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41502 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41503 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41504 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41505 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41507 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41509 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41511 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41513 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41514 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41516 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41518 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41519 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41520 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41522 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41523 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41524 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41526 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41532 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41533 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41534 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41535 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41536 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41542 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41546 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41548 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41549 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41554 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41555 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41557 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41560 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41562 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41563 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41564 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41565 { NULL
, NULL
, 0, NULL
}
41569 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41571 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41572 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41574 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41575 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41577 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41578 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41580 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41581 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41583 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41584 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41586 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41587 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41589 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41590 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41592 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41593 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41595 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41596 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41598 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41601 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41604 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41605 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41607 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41608 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41610 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41611 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41613 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41614 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41616 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41617 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41619 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41620 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41622 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41623 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41625 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41626 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41628 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41629 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41631 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41632 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41634 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41635 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41637 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41638 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41640 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41641 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41643 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41644 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41646 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41647 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41649 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41650 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41652 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41653 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41655 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41656 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41658 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41659 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41661 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41662 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41664 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41665 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41667 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41668 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41670 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41671 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41673 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41674 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41676 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41677 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41679 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41680 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41682 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41683 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41685 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41688 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41689 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41691 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41692 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41694 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41695 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41697 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41700 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41701 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41703 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41704 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41706 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41707 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41709 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41710 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41712 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41713 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
41715 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41716 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41718 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41719 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41721 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41722 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41724 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41725 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41727 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41728 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41730 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41731 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41733 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41734 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41736 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41737 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41739 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41740 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41742 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41743 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41745 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41746 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41748 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41749 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41751 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41752 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41754 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41755 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41757 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
41758 return (void *)((wxControl
*) ((wxComboBox
*) x
));
41760 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
41761 return (void *)((wxControl
*) ((wxPyControl
*) x
));
41763 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
41764 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
41766 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
41767 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
41769 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41770 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41772 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
41773 return (void *)((wxControl
*) ((wxGauge
*) x
));
41775 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
41776 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
41778 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
41779 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41781 static void *_p_wxListbookTo_p_wxControl(void *x
) {
41782 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
41784 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
41785 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
41787 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
41788 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
41790 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
41791 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
41793 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
41794 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41796 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
41797 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41799 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
41800 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41802 static void *_p_wxListViewTo_p_wxControl(void *x
) {
41803 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
41805 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
41806 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
41808 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
41809 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
41811 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
41812 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
41814 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
41815 return (void *)((wxControl
*) ((wxStaticText
*) x
));
41817 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
41818 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
41820 static void *_p_wxSliderTo_p_wxControl(void *x
) {
41821 return (void *)((wxControl
*) ((wxSlider
*) x
));
41823 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
41824 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
41826 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
41827 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
41829 static void *_p_wxButtonTo_p_wxControl(void *x
) {
41830 return (void *)((wxControl
*) ((wxButton
*) x
));
41832 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
41833 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
41835 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
41836 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41838 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
41839 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
41841 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
41842 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
41844 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
41845 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
41847 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
41848 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41850 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
41851 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41853 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
41854 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41856 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
41857 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
41859 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
41860 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41862 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
41863 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41865 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
41866 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41868 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
41869 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41871 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
41872 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41874 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
41875 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41877 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
41878 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41880 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
41881 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
41883 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
41884 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
41886 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
41887 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
41889 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
41890 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
41892 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41893 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41895 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
41896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
41898 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41899 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41901 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41902 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41904 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
41905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
41907 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41908 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41910 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
41911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
41913 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
41914 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
41916 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
41917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
41919 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41920 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41922 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41923 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41925 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
41926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
41928 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
41929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
41931 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
41932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
41934 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
41935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41937 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
41938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
41940 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41941 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41943 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
41944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
41946 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
41947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
41949 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41952 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
41953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
41955 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
41956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
41958 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
41959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41961 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
41962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
41964 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
41965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
41967 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
41968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
41970 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
41971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
41973 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
41974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41976 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
41977 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
41979 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
41980 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
41982 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
41983 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
41985 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
41986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
41988 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
41989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
41991 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
41992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
41994 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
41995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
41997 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
41998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42000 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42001 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42003 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42006 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42009 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42012 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42013 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42015 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42018 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42021 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42024 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42025 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42027 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42028 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42030 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42031 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42033 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42034 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42036 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42037 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42039 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42040 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42042 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42045 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42046 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42048 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42049 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42051 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42054 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42055 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42057 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42060 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42061 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42063 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42064 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42066 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42067 return (void *)((wxObject
*) ((wxSizer
*) x
));
42069 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42070 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42072 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42075 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42078 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42081 static void *_p_wxEventTo_p_wxObject(void *x
) {
42082 return (void *)((wxObject
*) ((wxEvent
*) x
));
42084 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42085 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42087 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42088 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42090 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42091 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42093 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42096 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42099 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42102 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42103 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42105 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42106 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42108 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42109 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42111 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42112 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42114 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42115 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42117 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42118 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42120 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42123 static void *_p_wxControlTo_p_wxObject(void *x
) {
42124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42126 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42129 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42132 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42135 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42138 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42141 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42142 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42144 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42147 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42148 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42150 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42151 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42153 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42156 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42159 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42162 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42165 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42166 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42168 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42169 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42171 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42174 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42177 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42178 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42180 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42183 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42186 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42187 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42189 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42192 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42193 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42195 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42198 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42199 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42201 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42202 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42204 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42205 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42207 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42208 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42210 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42211 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42213 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42214 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42216 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42219 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42220 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42222 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42225 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42226 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42228 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42229 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42231 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42232 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42234 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42235 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42237 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42238 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42240 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42241 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42243 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42244 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42246 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42247 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42249 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42250 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42252 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42255 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42256 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42258 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42259 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42261 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42264 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42265 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42267 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42270 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42273 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42276 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42279 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42282 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42285 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42288 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42289 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42291 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42292 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42294 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42297 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42300 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42303 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42306 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42307 return (void *)((wxObject
*) ((wxListItem
*) x
));
42309 static void *_p_wxImageTo_p_wxObject(void *x
) {
42310 return (void *)((wxObject
*) ((wxImage
*) x
));
42312 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42313 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42315 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42318 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42319 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42321 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42324 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42327 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42330 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42333 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42336 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42339 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42342 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42343 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42345 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42346 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42348 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42349 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42351 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42352 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42354 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42357 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42358 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42360 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42363 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42364 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42366 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42367 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42369 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42370 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42372 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42373 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42375 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42376 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42378 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42381 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42384 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42385 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42387 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42388 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42390 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42393 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42394 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42396 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42397 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42399 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42402 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42405 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42408 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42409 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42411 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42414 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42417 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42418 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42420 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42421 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42423 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42424 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42426 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42427 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42429 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42430 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42432 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42433 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42435 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42436 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42438 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42439 return (void *)((wxWindow
*) ((wxControl
*) x
));
42441 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42442 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42444 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42445 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42447 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42448 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
42450 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42451 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42453 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42454 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42456 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42457 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42459 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42460 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42462 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42463 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42465 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42466 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42468 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42469 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42471 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42472 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42474 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42475 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42477 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42478 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42480 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42481 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42483 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42484 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42486 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42487 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42489 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42490 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42492 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42493 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42495 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42496 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42498 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42499 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42501 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42502 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42504 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42505 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42507 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42508 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42510 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42511 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42513 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42514 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42516 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42517 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42519 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42520 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42522 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42523 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42525 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42526 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42528 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42529 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42531 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42532 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42534 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42535 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42537 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42538 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42540 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42541 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42543 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42544 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42546 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42547 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42549 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42550 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42552 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42553 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42555 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42556 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42558 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42559 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42561 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42562 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42564 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42565 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42567 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42568 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42570 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42571 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42573 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42574 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42576 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42577 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42579 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42580 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42582 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42583 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42585 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42586 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42588 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42589 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42591 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42592 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42594 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42595 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42597 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42598 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42600 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42601 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42603 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42604 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42606 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42607 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42609 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42610 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42612 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42613 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42615 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42616 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42618 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42619 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42621 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42622 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42624 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42625 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42627 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42628 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42629 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};
42630 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42631 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42632 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42633 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42634 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42635 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42636 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42637 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42638 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42639 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42640 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42641 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42642 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42643 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42644 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42645 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42646 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42647 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42648 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42649 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42650 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42651 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42652 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42653 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42654 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42655 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42656 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42657 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42658 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42659 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42660 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42661 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42662 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42663 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42664 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42665 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42666 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42667 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42668 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42669 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42670 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42671 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42672 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42673 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42674 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42675 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42676 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42677 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42678 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42679 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42680 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42681 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42682 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42683 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42684 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42685 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42686 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42687 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42688 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42689 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42690 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42691 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42692 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42693 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42694 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42695 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42696 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42697 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42698 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42699 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42700 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42701 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42702 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42703 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42704 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42705 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42706 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42707 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42708 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42709 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42710 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42711 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42712 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42713 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42714 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42715 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42716 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42717 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42718 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42719 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42720 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42721 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42722 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42723 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42724 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42725 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42726 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42727 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42728 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42729 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42730 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42731 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42732 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42733 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42734 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42735 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42736 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42737 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42738 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42739 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42740 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42741 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42742 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42743 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42744 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42745 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42746 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42747 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42748 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42749 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42750 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42751 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
42752 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
42753 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
42754 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
42755 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
42756 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
42757 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
42758 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
42759 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
42760 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
42761 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
42762 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
42763 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
42764 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
42765 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
42766 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
42767 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
42768 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
42769 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
42770 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
42771 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
42772 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
42773 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
42774 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
42775 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
42776 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
42777 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
42778 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
42779 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
42780 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
42781 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
42782 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
42783 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
42784 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
42785 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
42786 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
42787 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
42788 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
42789 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
42791 static swig_type_info
*swig_type_initial
[] = {
42794 &_swigt__p_form_ops_t
,
42797 &_swigt__p_unsigned_char
,
42798 &_swigt__p_unsigned_int
,
42799 &_swigt__p_unsigned_long
,
42801 &_swigt__p_wxANIHandler
,
42802 &_swigt__p_wxAcceleratorTable
,
42803 &_swigt__p_wxActivateEvent
,
42804 &_swigt__p_wxArrayInt
,
42805 &_swigt__p_wxArrayString
,
42806 &_swigt__p_wxBMPHandler
,
42807 &_swigt__p_wxBitmap
,
42808 &_swigt__p_wxBitmapButton
,
42809 &_swigt__p_wxBookCtrlBase
,
42810 &_swigt__p_wxBookCtrlBaseEvent
,
42811 &_swigt__p_wxBoxSizer
,
42812 &_swigt__p_wxButton
,
42813 &_swigt__p_wxCURHandler
,
42814 &_swigt__p_wxCheckBox
,
42815 &_swigt__p_wxCheckListBox
,
42816 &_swigt__p_wxChildFocusEvent
,
42817 &_swigt__p_wxChoice
,
42818 &_swigt__p_wxChoicebook
,
42819 &_swigt__p_wxChoicebookEvent
,
42820 &_swigt__p_wxCloseEvent
,
42821 &_swigt__p_wxColour
,
42822 &_swigt__p_wxComboBox
,
42823 &_swigt__p_wxCommandEvent
,
42824 &_swigt__p_wxContextHelp
,
42825 &_swigt__p_wxContextHelpButton
,
42826 &_swigt__p_wxContextMenuEvent
,
42827 &_swigt__p_wxControl
,
42828 &_swigt__p_wxControlWithItems
,
42829 &_swigt__p_wxCursor
,
42831 &_swigt__p_wxDateEvent
,
42832 &_swigt__p_wxDatePickerCtrl
,
42833 &_swigt__p_wxDateTime
,
42834 &_swigt__p_wxDirFilterListCtrl
,
42835 &_swigt__p_wxDisplayChangedEvent
,
42836 &_swigt__p_wxDropFilesEvent
,
42837 &_swigt__p_wxDuplexMode
,
42838 &_swigt__p_wxEraseEvent
,
42839 &_swigt__p_wxEvent
,
42840 &_swigt__p_wxEvtHandler
,
42841 &_swigt__p_wxFSFile
,
42842 &_swigt__p_wxFileSystem
,
42843 &_swigt__p_wxFlexGridSizer
,
42844 &_swigt__p_wxFocusEvent
,
42846 &_swigt__p_wxGBSizerItem
,
42847 &_swigt__p_wxGIFHandler
,
42848 &_swigt__p_wxGauge
,
42849 &_swigt__p_wxGenericDirCtrl
,
42850 &_swigt__p_wxGenericDragImage
,
42851 &_swigt__p_wxGridBagSizer
,
42852 &_swigt__p_wxGridSizer
,
42853 &_swigt__p_wxHelpEvent
,
42854 &_swigt__p_wxHelpProvider
,
42855 &_swigt__p_wxICOHandler
,
42857 &_swigt__p_wxIconizeEvent
,
42858 &_swigt__p_wxIdleEvent
,
42859 &_swigt__p_wxImage
,
42860 &_swigt__p_wxImageHandler
,
42861 &_swigt__p_wxImageList
,
42862 &_swigt__p_wxIndividualLayoutConstraint
,
42863 &_swigt__p_wxInitDialogEvent
,
42864 &_swigt__p_wxItemContainer
,
42865 &_swigt__p_wxJPEGHandler
,
42866 &_swigt__p_wxKeyEvent
,
42867 &_swigt__p_wxLayoutConstraints
,
42868 &_swigt__p_wxListBox
,
42869 &_swigt__p_wxListEvent
,
42870 &_swigt__p_wxListItem
,
42871 &_swigt__p_wxListItemAttr
,
42872 &_swigt__p_wxListView
,
42873 &_swigt__p_wxListbook
,
42874 &_swigt__p_wxListbookEvent
,
42875 &_swigt__p_wxMaximizeEvent
,
42876 &_swigt__p_wxMemoryDC
,
42878 &_swigt__p_wxMenuBar
,
42879 &_swigt__p_wxMenuEvent
,
42880 &_swigt__p_wxMenuItem
,
42881 &_swigt__p_wxMouseCaptureChangedEvent
,
42882 &_swigt__p_wxMouseEvent
,
42883 &_swigt__p_wxMoveEvent
,
42884 &_swigt__p_wxNavigationKeyEvent
,
42885 &_swigt__p_wxNcPaintEvent
,
42886 &_swigt__p_wxNotebook
,
42887 &_swigt__p_wxNotebookEvent
,
42888 &_swigt__p_wxNotifyEvent
,
42889 &_swigt__p_wxObject
,
42890 &_swigt__p_wxPCXHandler
,
42891 &_swigt__p_wxPNGHandler
,
42892 &_swigt__p_wxPNMHandler
,
42893 &_swigt__p_wxPaintEvent
,
42894 &_swigt__p_wxPaletteChangedEvent
,
42895 &_swigt__p_wxPaperSize
,
42896 &_swigt__p_wxPoint
,
42897 &_swigt__p_wxPyApp
,
42898 &_swigt__p_wxPyCommandEvent
,
42899 &_swigt__p_wxPyControl
,
42900 &_swigt__p_wxPyEvent
,
42901 &_swigt__p_wxPyImageHandler
,
42902 &_swigt__p_wxPyListCtrl
,
42903 &_swigt__p_wxPySizer
,
42904 &_swigt__p_wxPyTreeCtrl
,
42905 &_swigt__p_wxPyTreeItemData
,
42906 &_swigt__p_wxPyValidator
,
42907 &_swigt__p_wxQueryNewPaletteEvent
,
42908 &_swigt__p_wxRadioBox
,
42909 &_swigt__p_wxRadioButton
,
42911 &_swigt__p_wxScrollBar
,
42912 &_swigt__p_wxScrollEvent
,
42913 &_swigt__p_wxScrollWinEvent
,
42914 &_swigt__p_wxSetCursorEvent
,
42915 &_swigt__p_wxShowEvent
,
42916 &_swigt__p_wxSimpleHelpProvider
,
42918 &_swigt__p_wxSizeEvent
,
42919 &_swigt__p_wxSizer
,
42920 &_swigt__p_wxSizerItem
,
42921 &_swigt__p_wxSlider
,
42922 &_swigt__p_wxSpinButton
,
42923 &_swigt__p_wxSpinCtrl
,
42924 &_swigt__p_wxSpinEvent
,
42925 &_swigt__p_wxStaticBitmap
,
42926 &_swigt__p_wxStaticBox
,
42927 &_swigt__p_wxStaticBoxSizer
,
42928 &_swigt__p_wxStaticLine
,
42929 &_swigt__p_wxStaticText
,
42930 &_swigt__p_wxStdDialogButtonSizer
,
42931 &_swigt__p_wxString
,
42932 &_swigt__p_wxSysColourChangedEvent
,
42933 &_swigt__p_wxTIFFHandler
,
42934 &_swigt__p_wxTextAttr
,
42935 &_swigt__p_wxTextCtrl
,
42936 &_swigt__p_wxTextUrlEvent
,
42937 &_swigt__p_wxToggleButton
,
42938 &_swigt__p_wxToolBar
,
42939 &_swigt__p_wxToolBarBase
,
42940 &_swigt__p_wxToolBarToolBase
,
42941 &_swigt__p_wxToolbook
,
42942 &_swigt__p_wxToolbookEvent
,
42943 &_swigt__p_wxTreeCtrl
,
42944 &_swigt__p_wxTreeEvent
,
42945 &_swigt__p_wxTreeItemId
,
42946 &_swigt__p_wxTreebook
,
42947 &_swigt__p_wxTreebookEvent
,
42948 &_swigt__p_wxUpdateUIEvent
,
42949 &_swigt__p_wxValidator
,
42950 &_swigt__p_wxVisualAttributes
,
42951 &_swigt__p_wxWindow
,
42952 &_swigt__p_wxWindowCreateEvent
,
42953 &_swigt__p_wxWindowDestroyEvent
,
42954 &_swigt__p_wxXPMHandler
,
42957 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
42958 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
42959 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
42960 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
42961 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
42962 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
42963 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
42964 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
42965 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
42966 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
42967 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
42968 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
42969 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}};
42970 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}};
42971 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}};
42972 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}};
42973 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
42974 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
42975 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
42976 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
42977 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42978 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
42979 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
42980 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42981 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
42982 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
42983 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
42984 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
42985 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
42986 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
42987 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
42988 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
42989 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
42990 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
42991 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}};
42992 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
42993 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
42994 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
42995 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42996 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
42997 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42998 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
42999 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43000 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43001 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43002 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43003 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43004 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43005 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43006 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43007 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43008 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43009 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43010 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43011 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43012 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43013 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43014 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43015 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43016 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43017 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43018 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43019 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43020 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43021 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43022 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43023 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
43024 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43025 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43026 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43027 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43028 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}};
43029 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43030 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43031 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43032 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43033 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43034 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}};
43035 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43036 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43037 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}};
43038 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43039 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}};
43040 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43041 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43042 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43043 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43044 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43045 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43046 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43047 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43048 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43049 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43050 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}};
43051 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43052 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43053 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43054 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43055 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43056 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43057 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43058 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43059 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43060 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43061 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43062 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43063 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43064 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43065 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43066 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43067 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43068 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43069 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43070 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43071 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43072 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43073 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43074 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43075 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43076 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43077 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43078 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43079 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43080 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43081 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
43082 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43083 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43084 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43085 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}};
43086 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43087 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43088 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43089 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43090 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43091 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43092 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43093 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43094 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43095 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43096 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43097 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43098 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43099 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43100 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43101 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43102 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43103 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43104 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43105 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43106 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43107 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43108 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}};
43109 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43110 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43111 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43112 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43113 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43114 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43115 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43116 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43117 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}};
43118 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43119 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}};
43121 static swig_cast_info
*swig_cast_initial
[] = {
43124 _swigc__p_form_ops_t
,
43127 _swigc__p_unsigned_char
,
43128 _swigc__p_unsigned_int
,
43129 _swigc__p_unsigned_long
,
43131 _swigc__p_wxANIHandler
,
43132 _swigc__p_wxAcceleratorTable
,
43133 _swigc__p_wxActivateEvent
,
43134 _swigc__p_wxArrayInt
,
43135 _swigc__p_wxArrayString
,
43136 _swigc__p_wxBMPHandler
,
43137 _swigc__p_wxBitmap
,
43138 _swigc__p_wxBitmapButton
,
43139 _swigc__p_wxBookCtrlBase
,
43140 _swigc__p_wxBookCtrlBaseEvent
,
43141 _swigc__p_wxBoxSizer
,
43142 _swigc__p_wxButton
,
43143 _swigc__p_wxCURHandler
,
43144 _swigc__p_wxCheckBox
,
43145 _swigc__p_wxCheckListBox
,
43146 _swigc__p_wxChildFocusEvent
,
43147 _swigc__p_wxChoice
,
43148 _swigc__p_wxChoicebook
,
43149 _swigc__p_wxChoicebookEvent
,
43150 _swigc__p_wxCloseEvent
,
43151 _swigc__p_wxColour
,
43152 _swigc__p_wxComboBox
,
43153 _swigc__p_wxCommandEvent
,
43154 _swigc__p_wxContextHelp
,
43155 _swigc__p_wxContextHelpButton
,
43156 _swigc__p_wxContextMenuEvent
,
43157 _swigc__p_wxControl
,
43158 _swigc__p_wxControlWithItems
,
43159 _swigc__p_wxCursor
,
43161 _swigc__p_wxDateEvent
,
43162 _swigc__p_wxDatePickerCtrl
,
43163 _swigc__p_wxDateTime
,
43164 _swigc__p_wxDirFilterListCtrl
,
43165 _swigc__p_wxDisplayChangedEvent
,
43166 _swigc__p_wxDropFilesEvent
,
43167 _swigc__p_wxDuplexMode
,
43168 _swigc__p_wxEraseEvent
,
43170 _swigc__p_wxEvtHandler
,
43171 _swigc__p_wxFSFile
,
43172 _swigc__p_wxFileSystem
,
43173 _swigc__p_wxFlexGridSizer
,
43174 _swigc__p_wxFocusEvent
,
43176 _swigc__p_wxGBSizerItem
,
43177 _swigc__p_wxGIFHandler
,
43179 _swigc__p_wxGenericDirCtrl
,
43180 _swigc__p_wxGenericDragImage
,
43181 _swigc__p_wxGridBagSizer
,
43182 _swigc__p_wxGridSizer
,
43183 _swigc__p_wxHelpEvent
,
43184 _swigc__p_wxHelpProvider
,
43185 _swigc__p_wxICOHandler
,
43187 _swigc__p_wxIconizeEvent
,
43188 _swigc__p_wxIdleEvent
,
43190 _swigc__p_wxImageHandler
,
43191 _swigc__p_wxImageList
,
43192 _swigc__p_wxIndividualLayoutConstraint
,
43193 _swigc__p_wxInitDialogEvent
,
43194 _swigc__p_wxItemContainer
,
43195 _swigc__p_wxJPEGHandler
,
43196 _swigc__p_wxKeyEvent
,
43197 _swigc__p_wxLayoutConstraints
,
43198 _swigc__p_wxListBox
,
43199 _swigc__p_wxListEvent
,
43200 _swigc__p_wxListItem
,
43201 _swigc__p_wxListItemAttr
,
43202 _swigc__p_wxListView
,
43203 _swigc__p_wxListbook
,
43204 _swigc__p_wxListbookEvent
,
43205 _swigc__p_wxMaximizeEvent
,
43206 _swigc__p_wxMemoryDC
,
43208 _swigc__p_wxMenuBar
,
43209 _swigc__p_wxMenuEvent
,
43210 _swigc__p_wxMenuItem
,
43211 _swigc__p_wxMouseCaptureChangedEvent
,
43212 _swigc__p_wxMouseEvent
,
43213 _swigc__p_wxMoveEvent
,
43214 _swigc__p_wxNavigationKeyEvent
,
43215 _swigc__p_wxNcPaintEvent
,
43216 _swigc__p_wxNotebook
,
43217 _swigc__p_wxNotebookEvent
,
43218 _swigc__p_wxNotifyEvent
,
43219 _swigc__p_wxObject
,
43220 _swigc__p_wxPCXHandler
,
43221 _swigc__p_wxPNGHandler
,
43222 _swigc__p_wxPNMHandler
,
43223 _swigc__p_wxPaintEvent
,
43224 _swigc__p_wxPaletteChangedEvent
,
43225 _swigc__p_wxPaperSize
,
43228 _swigc__p_wxPyCommandEvent
,
43229 _swigc__p_wxPyControl
,
43230 _swigc__p_wxPyEvent
,
43231 _swigc__p_wxPyImageHandler
,
43232 _swigc__p_wxPyListCtrl
,
43233 _swigc__p_wxPySizer
,
43234 _swigc__p_wxPyTreeCtrl
,
43235 _swigc__p_wxPyTreeItemData
,
43236 _swigc__p_wxPyValidator
,
43237 _swigc__p_wxQueryNewPaletteEvent
,
43238 _swigc__p_wxRadioBox
,
43239 _swigc__p_wxRadioButton
,
43241 _swigc__p_wxScrollBar
,
43242 _swigc__p_wxScrollEvent
,
43243 _swigc__p_wxScrollWinEvent
,
43244 _swigc__p_wxSetCursorEvent
,
43245 _swigc__p_wxShowEvent
,
43246 _swigc__p_wxSimpleHelpProvider
,
43248 _swigc__p_wxSizeEvent
,
43250 _swigc__p_wxSizerItem
,
43251 _swigc__p_wxSlider
,
43252 _swigc__p_wxSpinButton
,
43253 _swigc__p_wxSpinCtrl
,
43254 _swigc__p_wxSpinEvent
,
43255 _swigc__p_wxStaticBitmap
,
43256 _swigc__p_wxStaticBox
,
43257 _swigc__p_wxStaticBoxSizer
,
43258 _swigc__p_wxStaticLine
,
43259 _swigc__p_wxStaticText
,
43260 _swigc__p_wxStdDialogButtonSizer
,
43261 _swigc__p_wxString
,
43262 _swigc__p_wxSysColourChangedEvent
,
43263 _swigc__p_wxTIFFHandler
,
43264 _swigc__p_wxTextAttr
,
43265 _swigc__p_wxTextCtrl
,
43266 _swigc__p_wxTextUrlEvent
,
43267 _swigc__p_wxToggleButton
,
43268 _swigc__p_wxToolBar
,
43269 _swigc__p_wxToolBarBase
,
43270 _swigc__p_wxToolBarToolBase
,
43271 _swigc__p_wxToolbook
,
43272 _swigc__p_wxToolbookEvent
,
43273 _swigc__p_wxTreeCtrl
,
43274 _swigc__p_wxTreeEvent
,
43275 _swigc__p_wxTreeItemId
,
43276 _swigc__p_wxTreebook
,
43277 _swigc__p_wxTreebookEvent
,
43278 _swigc__p_wxUpdateUIEvent
,
43279 _swigc__p_wxValidator
,
43280 _swigc__p_wxVisualAttributes
,
43281 _swigc__p_wxWindow
,
43282 _swigc__p_wxWindowCreateEvent
,
43283 _swigc__p_wxWindowDestroyEvent
,
43284 _swigc__p_wxXPMHandler
,
43288 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43290 static swig_const_info swig_const_table
[] = {
43291 {0, 0, 0, 0.0, 0, 0}};
43296 /* -----------------------------------------------------------------------------
43297 * Type initialization:
43298 * This problem is tough by the requirement that no dynamic
43299 * memory is used. Also, since swig_type_info structures store pointers to
43300 * swig_cast_info structures and swig_cast_info structures store pointers back
43301 * to swig_type_info structures, we need some lookup code at initialization.
43302 * The idea is that swig generates all the structures that are needed.
43303 * The runtime then collects these partially filled structures.
43304 * The SWIG_InitializeModule function takes these initial arrays out of
43305 * swig_module, and does all the lookup, filling in the swig_module.types
43306 * array with the correct data and linking the correct swig_cast_info
43307 * structures together.
43309 * The generated swig_type_info structures are assigned staticly to an initial
43310 * array. We just loop though that array, and handle each type individually.
43311 * First we lookup if this type has been already loaded, and if so, use the
43312 * loaded structure instead of the generated one. Then we have to fill in the
43313 * cast linked list. The cast data is initially stored in something like a
43314 * two-dimensional array. Each row corresponds to a type (there are the same
43315 * number of rows as there are in the swig_type_initial array). Each entry in
43316 * a column is one of the swig_cast_info structures for that type.
43317 * The cast_initial array is actually an array of arrays, because each row has
43318 * a variable number of columns. So to actually build the cast linked list,
43319 * we find the array of casts associated with the type, and loop through it
43320 * adding the casts to the list. The one last trick we need to do is making
43321 * sure the type pointer in the swig_cast_info struct is correct.
43323 * First off, we lookup the cast->type name to see if it is already loaded.
43324 * There are three cases to handle:
43325 * 1) If the cast->type has already been loaded AND the type we are adding
43326 * casting info to has not been loaded (it is in this module), THEN we
43327 * replace the cast->type pointer with the type pointer that has already
43329 * 2) If BOTH types (the one we are adding casting info to, and the
43330 * cast->type) are loaded, THEN the cast info has already been loaded by
43331 * the previous module so we just ignore it.
43332 * 3) Finally, if cast->type has not already been loaded, then we add that
43333 * swig_cast_info to the linked list (because the cast->type) pointer will
43335 * ----------------------------------------------------------------------------- */
43345 #define SWIGRUNTIME_DEBUG
43349 SWIG_InitializeModule(void *clientdata
) {
43351 swig_module_info
*module_head
;
43352 static int init_run
= 0;
43354 clientdata
= clientdata
;
43356 if (init_run
) return;
43359 /* Initialize the swig_module */
43360 swig_module
.type_initial
= swig_type_initial
;
43361 swig_module
.cast_initial
= swig_cast_initial
;
43363 /* Try and load any already created modules */
43364 module_head
= SWIG_GetModule(clientdata
);
43366 swig_module
.next
= module_head
->next
;
43367 module_head
->next
= &swig_module
;
43369 /* This is the first module loaded */
43370 swig_module
.next
= &swig_module
;
43371 SWIG_SetModule(clientdata
, &swig_module
);
43374 /* Now work on filling in swig_module.types */
43375 #ifdef SWIGRUNTIME_DEBUG
43376 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43378 for (i
= 0; i
< swig_module
.size
; ++i
) {
43379 swig_type_info
*type
= 0;
43380 swig_type_info
*ret
;
43381 swig_cast_info
*cast
;
43383 #ifdef SWIGRUNTIME_DEBUG
43384 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43387 /* if there is another module already loaded */
43388 if (swig_module
.next
!= &swig_module
) {
43389 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43392 /* Overwrite clientdata field */
43393 #ifdef SWIGRUNTIME_DEBUG
43394 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43396 if (swig_module
.type_initial
[i
]->clientdata
) {
43397 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43398 #ifdef SWIGRUNTIME_DEBUG
43399 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43403 type
= swig_module
.type_initial
[i
];
43406 /* Insert casting types */
43407 cast
= swig_module
.cast_initial
[i
];
43408 while (cast
->type
) {
43409 /* Don't need to add information already in the list */
43411 #ifdef SWIGRUNTIME_DEBUG
43412 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43414 if (swig_module
.next
!= &swig_module
) {
43415 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43416 #ifdef SWIGRUNTIME_DEBUG
43417 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43421 if (type
== swig_module
.type_initial
[i
]) {
43422 #ifdef SWIGRUNTIME_DEBUG
43423 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43428 /* Check for casting already in the list */
43429 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43430 #ifdef SWIGRUNTIME_DEBUG
43431 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43433 if (!ocast
) ret
= 0;
43438 #ifdef SWIGRUNTIME_DEBUG
43439 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43442 type
->cast
->prev
= cast
;
43443 cast
->next
= type
->cast
;
43449 /* Set entry in modules->types array equal to the type */
43450 swig_module
.types
[i
] = type
;
43452 swig_module
.types
[i
] = 0;
43454 #ifdef SWIGRUNTIME_DEBUG
43455 printf("**** SWIG_InitializeModule: Cast List ******\n");
43456 for (i
= 0; i
< swig_module
.size
; ++i
) {
43458 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43459 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43460 while (cast
->type
) {
43461 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43465 printf("---- Total casts: %d\n",j
);
43467 printf("**** SWIG_InitializeModule: Cast List ******\n");
43471 /* This function will propagate the clientdata field of type to
43472 * any new swig_type_info structures that have been added into the list
43473 * of equivalent types. It is like calling
43474 * SWIG_TypeClientData(type, clientdata) a second time.
43477 SWIG_PropagateClientData(void) {
43479 swig_cast_info
*equiv
;
43480 static int init_run
= 0;
43482 if (init_run
) return;
43485 for (i
= 0; i
< swig_module
.size
; i
++) {
43486 if (swig_module
.types
[i
]->clientdata
) {
43487 equiv
= swig_module
.types
[i
]->cast
;
43489 if (!equiv
->converter
) {
43490 if (equiv
->type
&& !equiv
->type
->clientdata
)
43491 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43493 equiv
= equiv
->next
;
43513 /* Python-specific SWIG API */
43514 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43515 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43516 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43518 /* -----------------------------------------------------------------------------
43519 * global variable support code.
43520 * ----------------------------------------------------------------------------- */
43522 typedef struct swig_globalvar
{
43523 char *name
; /* Name of global variable */
43524 PyObject
*(*get_attr
)(void); /* Return the current value */
43525 int (*set_attr
)(PyObject
*); /* Set the value */
43526 struct swig_globalvar
*next
;
43529 typedef struct swig_varlinkobject
{
43531 swig_globalvar
*vars
;
43532 } swig_varlinkobject
;
43534 SWIGINTERN PyObject
*
43535 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43536 return PyString_FromString("<Swig global variables>");
43539 SWIGINTERN PyObject
*
43540 swig_varlink_str(swig_varlinkobject
*v
) {
43541 PyObject
*str
= PyString_FromString("(");
43542 swig_globalvar
*var
;
43543 for (var
= v
->vars
; var
; var
=var
->next
) {
43544 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43545 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43547 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43552 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43553 PyObject
*str
= swig_varlink_str(v
);
43554 fprintf(fp
,"Swig global variables ");
43555 fprintf(fp
,"%s\n", PyString_AsString(str
));
43561 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43562 swig_globalvar
*var
= v
->vars
;
43564 swig_globalvar
*n
= var
->next
;
43571 SWIGINTERN PyObject
*
43572 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43573 PyObject
*res
= NULL
;
43574 swig_globalvar
*var
= v
->vars
;
43576 if (strcmp(var
->name
,n
) == 0) {
43577 res
= (*var
->get_attr
)();
43582 if (res
== NULL
&& !PyErr_Occurred()) {
43583 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43589 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43591 swig_globalvar
*var
= v
->vars
;
43593 if (strcmp(var
->name
,n
) == 0) {
43594 res
= (*var
->set_attr
)(p
);
43599 if (res
== 1 && !PyErr_Occurred()) {
43600 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43605 SWIGINTERN PyTypeObject
*
43606 swig_varlink_type(void) {
43607 static char varlink__doc__
[] = "Swig var link object";
43608 static PyTypeObject varlink_type
;
43609 static int type_init
= 0;
43611 const PyTypeObject tmp
43613 PyObject_HEAD_INIT(NULL
)
43614 0, /* Number of items in variable part (ob_size) */
43615 (char *)"swigvarlink", /* Type name (tp_name) */
43616 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43617 0, /* Itemsize (tp_itemsize) */
43618 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43619 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43620 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43621 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43622 0, /* tp_compare */
43623 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43624 0, /* tp_as_number */
43625 0, /* tp_as_sequence */
43626 0, /* tp_as_mapping */
43629 (reprfunc
)swig_varlink_str
, /* tp_str */
43630 0, /* tp_getattro */
43631 0, /* tp_setattro */
43632 0, /* tp_as_buffer */
43634 varlink__doc__
, /* tp_doc */
43635 0, /* tp_traverse */
43637 0, /* tp_richcompare */
43638 0, /* tp_weaklistoffset */
43639 #if PY_VERSION_HEX >= 0x02020000
43640 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43642 #if PY_VERSION_HEX >= 0x02030000
43645 #ifdef COUNT_ALLOCS
43646 0,0,0,0 /* tp_alloc -> tp_next */
43649 varlink_type
= tmp
;
43650 varlink_type
.ob_type
= &PyType_Type
;
43653 return &varlink_type
;
43656 /* Create a variable linking object for use later */
43657 SWIGINTERN PyObject
*
43658 SWIG_Python_newvarlink(void) {
43659 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43663 return ((PyObject
*) result
);
43667 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43668 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43669 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43671 size_t size
= strlen(name
)+1;
43672 gv
->name
= (char *)malloc(size
);
43674 strncpy(gv
->name
,name
,size
);
43675 gv
->get_attr
= get_attr
;
43676 gv
->set_attr
= set_attr
;
43677 gv
->next
= v
->vars
;
43683 SWIGINTERN PyObject
*
43685 static PyObject
*_SWIG_globals
= 0;
43686 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43687 return _SWIG_globals
;
43690 /* -----------------------------------------------------------------------------
43691 * constants/methods manipulation
43692 * ----------------------------------------------------------------------------- */
43694 /* Install Constants */
43696 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43699 for (i
= 0; constants
[i
].type
; ++i
) {
43700 switch(constants
[i
].type
) {
43701 case SWIG_PY_POINTER
:
43702 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43704 case SWIG_PY_BINARY
:
43705 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43712 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43718 /* -----------------------------------------------------------------------------*/
43719 /* Fix SwigMethods to carry the callback ptrs when needed */
43720 /* -----------------------------------------------------------------------------*/
43723 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43724 swig_const_info
*const_table
,
43725 swig_type_info
**types
,
43726 swig_type_info
**types_initial
) {
43728 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43729 char *c
= methods
[i
].ml_doc
;
43730 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43732 swig_const_info
*ci
= 0;
43733 char *name
= c
+ 10;
43734 for (j
= 0; const_table
[j
].type
; ++j
) {
43735 if (strncmp(const_table
[j
].name
, name
,
43736 strlen(const_table
[j
].name
)) == 0) {
43737 ci
= &(const_table
[j
]);
43742 size_t shift
= (ci
->ptype
) - types
;
43743 swig_type_info
*ty
= types_initial
[shift
];
43744 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43745 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43746 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43749 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43751 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
43753 strncpy(buff
, "swig_ptr: ", 10);
43755 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
43756 methods
[i
].ml_doc
= ndoc
;
43768 /* -----------------------------------------------------------------------------*
43769 * Partial Init method
43770 * -----------------------------------------------------------------------------*/
43775 SWIGEXPORT
void SWIG_init(void) {
43778 /* Fix SwigMethods to carry the callback ptrs when needed */
43779 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
43781 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43782 d
= PyModule_GetDict(m
);
43784 SWIG_InitializeModule(0);
43785 SWIG_InstallConstants(d
,swig_const_table
);
43788 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
43789 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
43790 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
43791 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
43792 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
43793 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
43794 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
43795 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
43796 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
43797 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
43798 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
43799 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
43800 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
43801 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
43802 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
43803 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
43804 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
43805 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
43806 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
43807 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
43808 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
43809 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
43810 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
43811 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
43812 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
43813 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
43814 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
43815 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
43816 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
43817 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
43818 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
43819 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
43820 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
43821 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
43822 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
43823 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
43824 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
43825 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
43826 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
43827 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
43828 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
43829 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
43830 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
43831 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
43832 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
43833 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
43834 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
43835 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
43836 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
43837 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
43838 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
43839 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
43840 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
43841 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
43842 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
43843 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
43844 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
43845 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
43846 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
43847 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
43848 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
43849 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
43850 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
43851 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
43852 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
43853 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
43854 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
43855 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
43856 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
43857 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
43858 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
43859 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
43860 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
43861 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
43862 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
43863 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
43864 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
43865 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
43866 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
43867 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
43868 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
43869 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
43870 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
43871 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
43872 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
43873 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
43874 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
43875 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
43876 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
43877 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
43878 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
43879 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
43880 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
43881 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
43882 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
43883 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
43884 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
43885 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
43886 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
43887 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
43888 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
43889 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
43890 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
43891 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
43892 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
43893 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
43894 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
43895 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
43896 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
43897 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
43898 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
43899 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
43900 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
43901 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
43902 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
43903 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
43904 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
43905 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
43906 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
43907 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
43908 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
43909 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
43910 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
43911 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
43912 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
43913 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
43914 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
43915 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
43916 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
43917 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
43918 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
43919 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
43920 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
43921 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
43922 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
43923 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
43924 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
43925 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
43926 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
43927 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
43928 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
43929 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
43930 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
43931 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
43932 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
43933 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
43934 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
43935 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
43936 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
43937 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
43938 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
43939 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
43940 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
43941 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
43942 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
43943 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
43944 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
43945 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
43946 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
43947 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
43948 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
43949 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
43950 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
43951 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
43952 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
43953 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
43954 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
43955 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
43956 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
43957 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
43958 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
43959 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
43960 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
43961 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
43962 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
43963 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
43964 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
43965 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
43966 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
43967 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
43968 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
43969 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
43970 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
43971 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
43972 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
43973 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
43974 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
43975 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
43976 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
43977 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
43978 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
43979 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
43980 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
43981 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
43982 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
43983 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
43984 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
43985 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
43986 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
43987 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
43988 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
43989 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
43990 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
43991 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
43992 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
43993 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
43994 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
43995 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
43996 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
43997 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
43998 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
43999 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44000 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44001 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44002 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44003 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44004 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44005 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44006 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44007 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44008 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44009 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44010 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44011 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44012 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44013 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44014 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44015 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44016 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44017 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44018 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44019 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44020 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44021 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44022 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44023 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44024 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44025 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44026 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44027 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44028 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44029 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44030 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44031 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44032 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44033 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44034 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44036 // Map renamed classes back to their common name for OOR
44037 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44039 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44040 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44041 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44042 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44043 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44044 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44045 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44046 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44047 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44048 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44049 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44050 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44051 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44052 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44053 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44054 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44055 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44056 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44057 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44058 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44059 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44060 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44061 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44062 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44063 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44064 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44065 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44066 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44067 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44068 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44069 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44070 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44071 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44072 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44073 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44074 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44075 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44076 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44077 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44078 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44079 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44080 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44081 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44082 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44083 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44084 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44085 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44086 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44087 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44088 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44092 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44093 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44095 // Map renamed classes back to their common name for OOR
44096 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44097 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44099 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44100 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44101 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44102 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44103 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44104 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44105 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44106 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44107 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44108 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44110 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44112 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44113 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44114 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44115 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44116 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44117 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));