1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
2491 #define SWIGTYPE_p_wxColour swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxCursor swig_types[37]
2500 #define SWIGTYPE_p_wxDC swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
2509 #define SWIGTYPE_p_wxEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
2511 #define SWIGTYPE_p_wxFSFile swig_types[49]
2512 #define SWIGTYPE_p_wxFileSystem swig_types[50]
2513 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
2515 #define SWIGTYPE_p_wxFont swig_types[53]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
2518 #define SWIGTYPE_p_wxGauge swig_types[56]
2519 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[60]
2523 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
2524 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
2525 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2526 #define SWIGTYPE_p_wxIcon swig_types[64]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
2529 #define SWIGTYPE_p_wxImage swig_types[67]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[68]
2531 #define SWIGTYPE_p_wxImageList swig_types[69]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
2538 #define SWIGTYPE_p_wxListBox swig_types[76]
2539 #define SWIGTYPE_p_wxListEvent swig_types[77]
2540 #define SWIGTYPE_p_wxListItem swig_types[78]
2541 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
2542 #define SWIGTYPE_p_wxListView swig_types[80]
2543 #define SWIGTYPE_p_wxListbook swig_types[81]
2544 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
2545 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
2547 #define SWIGTYPE_p_wxMenu swig_types[85]
2548 #define SWIGTYPE_p_wxMenuBar swig_types[86]
2549 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMenuItem swig_types[88]
2551 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
2554 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNotebook swig_types[94]
2557 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxObject swig_types[97]
2560 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2566 #define SWIGTYPE_p_wxPoint swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyControl swig_types[107]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
2573 #define SWIGTYPE_p_wxPySizer swig_types[111]
2574 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[114]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
2578 #define SWIGTYPE_p_wxRadioBox swig_types[116]
2579 #define SWIGTYPE_p_wxRadioButton swig_types[117]
2580 #define SWIGTYPE_p_wxRect swig_types[118]
2581 #define SWIGTYPE_p_wxScrollBar swig_types[119]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[123]
2586 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
2587 #define SWIGTYPE_p_wxSize swig_types[125]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSizer swig_types[127]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[128]
2591 #define SWIGTYPE_p_wxSlider swig_types[129]
2592 #define SWIGTYPE_p_wxSpinButton swig_types[130]
2593 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
2594 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBox swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxStaticLine swig_types[136]
2599 #define SWIGTYPE_p_wxStaticText swig_types[137]
2600 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
2601 #define SWIGTYPE_p_wxString swig_types[139]
2602 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2603 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2604 #define SWIGTYPE_p_wxTextAttr swig_types[142]
2605 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
2606 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
2607 #define SWIGTYPE_p_wxToggleButton swig_types[145]
2608 #define SWIGTYPE_p_wxToolBar swig_types[146]
2609 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolbook swig_types[149]
2612 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
2615 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
2616 #define SWIGTYPE_p_wxTreebook swig_types[154]
2617 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _controls_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_controls_
2652 #define SWIG_name "_controls_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2731 const wxArrayString wxPyEmptyStringArray
;
2733 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2735 #define SWIG_From_long PyInt_FromLong
2738 SWIGINTERNINLINE PyObject
*
2739 SWIG_From_int (int value
)
2741 return SWIG_From_long (value
);
2747 # define LLONG_MIN LONG_LONG_MIN
2750 # define LLONG_MAX LONG_LONG_MAX
2753 # define ULLONG_MAX ULONG_LONG_MAX
2758 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2760 if (PyNumber_Check(obj
)) {
2761 if (val
) *val
= PyInt_AsLong(obj
);
2764 return SWIG_TypeError
;
2769 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2772 int res
= SWIG_AsVal_long (obj
, &v
);
2773 if (SWIG_IsOK(res
)) {
2774 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2775 return SWIG_OverflowError
;
2777 if (val
) *val
= static_cast< int >(v
);
2783 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2786 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2788 if (obj
== Py_True
) {
2789 if (val
) *val
= true;
2791 } else if (obj
== Py_False
) {
2792 if (val
) *val
= false;
2796 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2797 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2802 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2803 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2804 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2805 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2806 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2807 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2809 #include <wx/checklst.h>
2812 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2813 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 self
->Insert(item
, pos
, data
);
2818 self
->Insert(item
, pos
);
2820 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2822 self
->GetSelections(lst
);
2823 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2824 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
2825 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2829 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2831 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2832 self
->GetItem(item
)->SetTextColour(c
);
2835 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2837 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2838 self
->GetItem(item
)->SetBackgroundColour(c
);
2841 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2843 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2844 self
->GetItem(item
)->SetFont(f
);
2847 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2850 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2853 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2854 return SWIG_TypeError
;
2857 *val
= (unsigned long)v
;
2861 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2862 self
->AppendText(text
);
2864 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2865 return self
->GetValue().Mid(from
, to
- from
);
2867 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2868 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2869 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2870 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2871 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2873 SWIGINTERNINLINE PyObject
*
2874 SWIG_From_unsigned_SS_long (unsigned long value
)
2876 return (value
> LONG_MAX
) ?
2877 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2881 SWIGINTERNINLINE PyObject
*
2882 SWIG_From_size_t (size_t value
)
2884 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2888 #include <wx/slider.h>
2891 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2892 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2894 #if !wxUSE_TOGGLEBTN
2895 // implement dummy items for platforms that don't have this class
2897 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2899 class wxToggleButton
: public wxControl
2902 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2903 const wxPoint
&, const wxSize
&, long,
2904 const wxValidator
&, const wxString
&)
2905 { wxPyRaiseNotImplemented(); }
2908 { wxPyRaiseNotImplemented(); }
2912 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2914 SWIGINTERNINLINE
int
2915 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2918 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2919 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2923 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2924 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2925 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2927 Py_INCREF(udata
->m_obj
);
2928 return udata
->m_obj
;
2934 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2935 self
->SetClientData(new wxPyUserData(clientData
));
2937 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2938 wxPyUserData
* udata
= NULL
;
2939 if (clientData
&& clientData
!= Py_None
)
2940 udata
= new wxPyUserData(clientData
);
2941 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2942 shortHelp
, longHelp
, udata
);
2944 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2945 wxPyUserData
* udata
= NULL
;
2946 if (clientData
&& clientData
!= Py_None
)
2947 udata
= new wxPyUserData(clientData
);
2948 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2949 shortHelp
, longHelp
, udata
);
2951 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2952 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2954 Py_INCREF(udata
->m_obj
);
2955 return udata
->m_obj
;
2961 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2962 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2965 #include <wx/listctrl.h>
2967 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2968 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2969 // Python aware sorting function for wxPyListCtrl
2970 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2972 PyObject
* func
= (PyObject
*)funcPtr
;
2973 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2975 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2976 PyObject
* result
= PyEval_CallObject(func
, args
);
2979 retval
= PyInt_AsLong(result
);
2983 wxPyEndBlockThreads(blocked
);
2987 // C++ Version of a Python aware class
2988 class wxPyListCtrl
: public wxListCtrl
{
2989 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
2991 wxPyListCtrl() : wxListCtrl() {}
2992 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
2996 const wxValidator
& validator
,
2997 const wxString
& name
) :
2998 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3000 bool Create(wxWindow
* parent
, wxWindowID id
,
3004 const wxValidator
& validator
,
3005 const wxString
& name
) {
3006 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3009 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3010 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3012 // use the virtual version to avoid a confusing assert in the base class
3013 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3014 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3019 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3021 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3022 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3023 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3024 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3027 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3029 item
.SetMask( wxLIST_MASK_STATE
|
3037 if (self
->GetColumn(col
, item
))
3038 return new wxListItem(item
);
3042 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3043 wxListItem
* info
= new wxListItem
;
3044 info
->m_itemId
= itemId
;
3046 info
->m_mask
= 0xFFFF;
3047 self
->GetItem(*info
);
3050 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3052 self
->GetItemPosition(item
, pos
);
3055 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3057 self
->GetItemRect(item
, rect
, code
);
3060 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3061 if (!PyCallable_Check(func
))
3063 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3065 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3073 #include <wx/treectrl.h>
3074 #include "wx/wxPython/pytree.h"
3076 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3077 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3078 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3079 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3080 // C++ version of Python aware wxTreeCtrl
3081 class wxPyTreeCtrl
: public wxTreeCtrl
{
3082 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3084 wxPyTreeCtrl() : wxTreeCtrl() {}
3085 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3089 const wxValidator
& validator
,
3090 const wxString
& name
) :
3091 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3093 bool Create(wxWindow
*parent
, wxWindowID id
,
3097 const wxValidator
& validator
,
3098 const wxString
& name
) {
3099 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3103 int OnCompareItems(const wxTreeItemId
& item1
,
3104 const wxTreeItemId
& item2
) {
3107 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3108 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3109 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3110 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3111 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3115 wxPyEndBlockThreads(blocked
);
3117 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3123 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3127 SWIGINTERNINLINE PyObject
*
3128 SWIG_From_unsigned_SS_int (unsigned int value
)
3130 return SWIG_From_unsigned_SS_long (value
);
3135 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3138 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3139 if (SWIG_IsOK(res
)) {
3140 if ((v
> UINT_MAX
)) {
3141 return SWIG_OverflowError
;
3143 if (val
) *val
= static_cast< unsigned int >(v
);
3149 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3150 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3152 data
= new wxPyTreeItemData();
3153 data
->SetId(item
); // set the id
3154 self
->SetItemData(item
, data
);
3158 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3159 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3161 data
= new wxPyTreeItemData();
3162 data
->SetId(item
); // set the id
3163 self
->SetItemData(item
, data
);
3165 return data
->GetData();
3167 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3168 data
->SetId(item
); // set the id
3169 self
->SetItemData(item
, data
);
3171 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3172 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3174 data
= new wxPyTreeItemData(obj
);
3175 data
->SetId(item
); // set the id
3176 self
->SetItemData(item
, data
);
3180 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 PyObject
* rval
= PyList_New(0);
3183 wxArrayTreeItemIds array
;
3185 num
= self
->GetSelections(array
);
3186 for (x
=0; x
< num
; x
++) {
3187 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3188 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3189 PyList_Append(rval
, item
);
3192 wxPyEndBlockThreads(blocked
);
3195 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3197 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 PyObject
* tup
= PyTuple_New(2);
3200 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3201 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3202 wxPyEndBlockThreads(blocked
);
3205 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3206 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 PyObject
* tup
= PyTuple_New(2);
3209 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3210 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3211 wxPyEndBlockThreads(blocked
);
3214 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3216 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 wxRect
* r
= new wxRect(rect
);
3219 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3220 wxPyEndBlockThreads(blocked
);
3226 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3228 SWIGINTERNINLINE PyObject
*
3229 SWIG_From_bool (bool value
)
3231 return PyBool_FromLong(value
? 1 : 0);
3234 // C++ version of Python aware wxControl
3235 class wxPyControl
: public wxControl
3237 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3239 wxPyControl() : wxControl() {}
3240 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3241 const wxPoint
& pos
= wxDefaultPosition
,
3242 const wxSize
& size
= wxDefaultSize
,
3244 const wxValidator
& validator
=wxDefaultValidator
,
3245 const wxString
& name
= wxPyControlNameStr
)
3246 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3248 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3250 bool DoEraseBackground(wxDC
* dc
) {
3252 return wxWindow::DoEraseBackground(dc
->GetHDC());
3254 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3260 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3261 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3262 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3263 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3265 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3266 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3267 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3269 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3270 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3272 DEC_PYCALLBACK__(InitDialog
);
3273 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3274 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3275 DEC_PYCALLBACK_BOOL_(Validate
);
3277 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3278 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3279 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3281 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3282 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3284 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3285 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3287 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3289 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3294 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3296 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3297 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3298 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3299 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3301 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3302 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3303 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3305 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3306 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3308 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3309 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3310 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3311 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3313 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3314 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3315 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3317 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3318 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3320 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3321 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3323 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3325 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3329 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3331 #include <wx/generic/dragimgg.h>
3333 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3334 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3336 self
->GetRange(&rv
, NULL
);
3339 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3341 self
->GetRange(NULL
, &rv
);
3347 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3348 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3353 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3354 PyObject
*pyobj
= 0;
3358 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3360 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3367 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
= 0;
3369 wxWindow
*arg1
= (wxWindow
*) 0 ;
3370 int arg2
= (int) -1 ;
3371 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3372 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3377 long arg6
= (long) 0 ;
3378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3380 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3382 wxButton
*result
= 0 ;
3387 bool temp3
= false ;
3394 bool temp8
= false ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3397 PyObject
* obj2
= 0 ;
3398 PyObject
* obj3
= 0 ;
3399 PyObject
* obj4
= 0 ;
3400 PyObject
* obj5
= 0 ;
3401 PyObject
* obj6
= 0 ;
3402 PyObject
* obj7
= 0 ;
3403 char * kwnames
[] = {
3404 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3409 if (!SWIG_IsOK(res1
)) {
3410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3415 if (!SWIG_IsOK(ecode2
)) {
3416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3418 arg2
= static_cast< int >(val2
);
3422 arg3
= wxString_in_helper(obj2
);
3423 if (arg3
== NULL
) SWIG_fail
;
3430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3440 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3441 if (!SWIG_IsOK(ecode6
)) {
3442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3444 arg6
= static_cast< long >(val6
);
3447 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3448 if (!SWIG_IsOK(res7
)) {
3449 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3454 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3458 arg8
= wxString_in_helper(obj7
);
3459 if (arg8
== NULL
) SWIG_fail
;
3464 if (!wxPyCheckForApp()) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3493 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3494 PyObject
*resultobj
= 0;
3495 wxButton
*result
= 0 ;
3497 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3499 if (!wxPyCheckForApp()) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (wxButton
*)new wxButton();
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3512 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
= 0;
3514 wxButton
*arg1
= (wxButton
*) 0 ;
3515 wxWindow
*arg2
= (wxWindow
*) 0 ;
3516 int arg3
= (int) -1 ;
3517 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3518 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3519 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3520 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3521 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3522 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3523 long arg7
= (long) 0 ;
3524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3526 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3535 bool temp4
= false ;
3542 bool temp9
= false ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3545 PyObject
* obj2
= 0 ;
3546 PyObject
* obj3
= 0 ;
3547 PyObject
* obj4
= 0 ;
3548 PyObject
* obj5
= 0 ;
3549 PyObject
* obj6
= 0 ;
3550 PyObject
* obj7
= 0 ;
3551 PyObject
* obj8
= 0 ;
3552 char * kwnames
[] = {
3553 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3558 if (!SWIG_IsOK(res1
)) {
3559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3561 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3563 if (!SWIG_IsOK(res2
)) {
3564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3569 if (!SWIG_IsOK(ecode3
)) {
3570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3572 arg3
= static_cast< int >(val3
);
3576 arg4
= wxString_in_helper(obj3
);
3577 if (arg4
== NULL
) SWIG_fail
;
3584 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3590 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3594 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3595 if (!SWIG_IsOK(ecode7
)) {
3596 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3598 arg7
= static_cast< long >(val7
);
3601 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3602 if (!SWIG_IsOK(res8
)) {
3603 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3608 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3612 arg9
= wxString_in_helper(obj8
);
3613 if (arg9
== NULL
) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3648 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3649 PyObject
*resultobj
= 0;
3650 wxButton
*arg1
= (wxButton
*) 0 ;
3653 PyObject
*swig_obj
[1] ;
3655 if (!args
) SWIG_fail
;
3657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3658 if (!SWIG_IsOK(res1
)) {
3659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3661 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 (arg1
)->SetDefault();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= SWIG_Py_Void();
3675 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3676 PyObject
*resultobj
= 0;
3679 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= wxButton::GetDefaultSize();
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3693 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
= 0;
3695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3696 SwigValueWrapper
<wxVisualAttributes
> result
;
3699 PyObject
* obj0
= 0 ;
3700 char * kwnames
[] = {
3701 (char *) "variant", NULL
3704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3707 if (!SWIG_IsOK(ecode1
)) {
3708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3710 arg1
= static_cast< wxWindowVariant
>(val1
);
3713 if (!wxPyCheckForApp()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= wxButton::GetClassDefaultAttributes(arg1
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3726 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3729 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3730 return SWIG_Py_Void();
3733 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 return SWIG_Python_InitShadowInstance(args
);
3737 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
= 0;
3739 wxWindow
*arg1
= (wxWindow
*) 0 ;
3740 int arg2
= (int) -1 ;
3741 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3742 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3747 long arg6
= (long) wxBU_AUTODRAW
;
3748 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3749 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3750 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3751 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3752 wxBitmapButton
*result
= 0 ;
3765 bool temp8
= false ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3768 PyObject
* obj2
= 0 ;
3769 PyObject
* obj3
= 0 ;
3770 PyObject
* obj4
= 0 ;
3771 PyObject
* obj5
= 0 ;
3772 PyObject
* obj6
= 0 ;
3773 PyObject
* obj7
= 0 ;
3774 char * kwnames
[] = {
3775 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3780 if (!SWIG_IsOK(res1
)) {
3781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3786 if (!SWIG_IsOK(ecode2
)) {
3787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3789 arg2
= static_cast< int >(val2
);
3792 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3793 if (!SWIG_IsOK(res3
)) {
3794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3799 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3814 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3815 if (!SWIG_IsOK(ecode6
)) {
3816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3818 arg6
= static_cast< long >(val6
);
3821 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3822 if (!SWIG_IsOK(res7
)) {
3823 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3828 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3832 arg8
= wxString_in_helper(obj7
);
3833 if (arg8
== NULL
) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3859 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3860 PyObject
*resultobj
= 0;
3861 wxBitmapButton
*result
= 0 ;
3863 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxBitmapButton
*)new wxBitmapButton();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3878 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
= 0;
3880 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3881 wxWindow
*arg2
= (wxWindow
*) 0 ;
3882 int arg3
= (int) -1 ;
3883 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3884 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3885 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3886 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3887 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3888 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3889 long arg7
= (long) wxBU_AUTODRAW
;
3890 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3891 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3892 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3893 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3909 bool temp9
= false ;
3910 PyObject
* obj0
= 0 ;
3911 PyObject
* obj1
= 0 ;
3912 PyObject
* obj2
= 0 ;
3913 PyObject
* obj3
= 0 ;
3914 PyObject
* obj4
= 0 ;
3915 PyObject
* obj5
= 0 ;
3916 PyObject
* obj6
= 0 ;
3917 PyObject
* obj7
= 0 ;
3918 PyObject
* obj8
= 0 ;
3919 char * kwnames
[] = {
3920 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3925 if (!SWIG_IsOK(res1
)) {
3926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3928 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3930 if (!SWIG_IsOK(res2
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3936 if (!SWIG_IsOK(ecode3
)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3939 arg3
= static_cast< int >(val3
);
3942 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3943 if (!SWIG_IsOK(res4
)) {
3944 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3949 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3954 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3960 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3964 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3965 if (!SWIG_IsOK(ecode7
)) {
3966 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3968 arg7
= static_cast< long >(val7
);
3971 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3972 if (!SWIG_IsOK(res8
)) {
3973 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3978 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3982 arg9
= wxString_in_helper(obj8
);
3983 if (arg9
== NULL
) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4010 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4011 PyObject
*resultobj
= 0;
4012 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4016 PyObject
*swig_obj
[1] ;
4018 if (!args
) SWIG_fail
;
4020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4021 if (!SWIG_IsOK(res1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4024 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (arg1
)->GetBitmapLabel();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4038 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 PyObject
*resultobj
= 0;
4040 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4044 PyObject
*swig_obj
[1] ;
4046 if (!args
) SWIG_fail
;
4048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4049 if (!SWIG_IsOK(res1
)) {
4050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4052 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (arg1
)->GetBitmapDisabled();
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4066 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4067 PyObject
*resultobj
= 0;
4068 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4072 PyObject
*swig_obj
[1] ;
4074 if (!args
) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4080 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (arg1
)->GetBitmapFocus();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4094 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4095 PyObject
*resultobj
= 0;
4096 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4100 PyObject
*swig_obj
[1] ;
4102 if (!args
) SWIG_fail
;
4104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4105 if (!SWIG_IsOK(res1
)) {
4106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4108 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (arg1
)->GetBitmapSelected();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4122 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4123 PyObject
*resultobj
= 0;
4124 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4128 PyObject
*swig_obj
[1] ;
4130 if (!args
) SWIG_fail
;
4132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4133 if (!SWIG_IsOK(res1
)) {
4134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4136 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (arg1
)->GetBitmapHover();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4150 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
= 0;
4152 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4153 wxBitmap
*arg2
= 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 char * kwnames
[] = {
4161 (char *) "self",(char *) "bitmap", NULL
4164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4166 if (!SWIG_IsOK(res1
)) {
4167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4169 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4171 if (!SWIG_IsOK(res2
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4177 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_Py_Void();
4191 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
= 0;
4193 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4194 wxBitmap
*arg2
= 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4201 char * kwnames
[] = {
4202 (char *) "self",(char *) "bitmap", NULL
4205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4207 if (!SWIG_IsOK(res1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4210 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4212 if (!SWIG_IsOK(res2
)) {
4213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4218 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_Py_Void();
4232 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4235 wxBitmap
*arg2
= 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 char * kwnames
[] = {
4243 (char *) "self",(char *) "bitmap", NULL
4246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4251 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4253 if (!SWIG_IsOK(res2
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4259 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_Py_Void();
4273 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
= 0;
4275 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4276 wxBitmap
*arg2
= 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 char * kwnames
[] = {
4284 (char *) "self",(char *) "bitmap", NULL
4287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4292 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4294 if (!SWIG_IsOK(res2
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4300 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_Py_Void();
4314 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
= 0;
4316 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4317 wxBitmap
*arg2
= 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4324 char * kwnames
[] = {
4325 (char *) "self",(char *) "hover", NULL
4328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4330 if (!SWIG_IsOK(res1
)) {
4331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4333 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4335 if (!SWIG_IsOK(res2
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4341 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_Py_Void();
4355 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= 0;
4357 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 PyObject
* obj2
= 0 ;
4369 char * kwnames
[] = {
4370 (char *) "self",(char *) "x",(char *) "y", NULL
4373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4378 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4380 if (!SWIG_IsOK(ecode2
)) {
4381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4383 arg2
= static_cast< int >(val2
);
4384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4385 if (!SWIG_IsOK(ecode3
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4388 arg3
= static_cast< int >(val3
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 (arg1
)->SetMargins(arg2
,arg3
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_Py_Void();
4402 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4403 PyObject
*resultobj
= 0;
4404 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4408 PyObject
*swig_obj
[1] ;
4410 if (!args
) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4416 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_From_int(static_cast< int >(result
));
4430 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4431 PyObject
*resultobj
= 0;
4432 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4436 PyObject
*swig_obj
[1] ;
4438 if (!args
) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4444 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_From_int(static_cast< int >(result
));
4458 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4461 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4462 return SWIG_Py_Void();
4465 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4466 return SWIG_Python_InitShadowInstance(args
);
4469 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4470 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4475 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4476 PyObject
*pyobj
= 0;
4480 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4482 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4489 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
= 0;
4491 wxWindow
*arg1
= (wxWindow
*) 0 ;
4492 int arg2
= (int) -1 ;
4493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4499 long arg6
= (long) 0 ;
4500 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4501 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4502 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4504 wxCheckBox
*result
= 0 ;
4509 bool temp3
= false ;
4516 bool temp8
= false ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 PyObject
* obj2
= 0 ;
4520 PyObject
* obj3
= 0 ;
4521 PyObject
* obj4
= 0 ;
4522 PyObject
* obj5
= 0 ;
4523 PyObject
* obj6
= 0 ;
4524 PyObject
* obj7
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4537 if (!SWIG_IsOK(ecode2
)) {
4538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4540 arg2
= static_cast< int >(val2
);
4544 arg3
= wxString_in_helper(obj2
);
4545 if (arg3
== NULL
) SWIG_fail
;
4552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4562 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4563 if (!SWIG_IsOK(ecode6
)) {
4564 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4566 arg6
= static_cast< long >(val6
);
4569 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4570 if (!SWIG_IsOK(res7
)) {
4571 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4576 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4580 arg8
= wxString_in_helper(obj7
);
4581 if (arg8
== NULL
) SWIG_fail
;
4586 if (!wxPyCheckForApp()) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4615 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4616 PyObject
*resultobj
= 0;
4617 wxCheckBox
*result
= 0 ;
4619 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4621 if (!wxPyCheckForApp()) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxCheckBox
*)new wxCheckBox();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4634 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= 0;
4636 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4637 wxWindow
*arg2
= (wxWindow
*) 0 ;
4638 int arg3
= (int) -1 ;
4639 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4640 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4641 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4642 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4643 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4644 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4645 long arg7
= (long) 0 ;
4646 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4647 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4648 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4649 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4657 bool temp4
= false ;
4664 bool temp9
= false ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4667 PyObject
* obj2
= 0 ;
4668 PyObject
* obj3
= 0 ;
4669 PyObject
* obj4
= 0 ;
4670 PyObject
* obj5
= 0 ;
4671 PyObject
* obj6
= 0 ;
4672 PyObject
* obj7
= 0 ;
4673 PyObject
* obj8
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4683 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4685 if (!SWIG_IsOK(res2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4691 if (!SWIG_IsOK(ecode3
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4694 arg3
= static_cast< int >(val3
);
4698 arg4
= wxString_in_helper(obj3
);
4699 if (arg4
== NULL
) SWIG_fail
;
4706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4716 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4717 if (!SWIG_IsOK(ecode7
)) {
4718 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4720 arg7
= static_cast< long >(val7
);
4723 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4724 if (!SWIG_IsOK(res8
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4730 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4734 arg9
= wxString_in_helper(obj8
);
4735 if (arg9
== NULL
) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4770 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4771 PyObject
*resultobj
= 0;
4772 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4776 PyObject
*swig_obj
[1] ;
4778 if (!args
) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4784 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 result
= (bool)(arg1
)->GetValue();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->IsChecked();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
= 0;
4832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4840 char * kwnames
[] = {
4841 (char *) "self",(char *) "state", NULL
4844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4849 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4850 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4851 if (!SWIG_IsOK(ecode2
)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4854 arg2
= static_cast< bool >(val2
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 (arg1
)->SetValue(arg2
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_Py_Void();
4868 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4869 PyObject
*resultobj
= 0;
4870 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4871 wxCheckBoxState result
;
4874 PyObject
*swig_obj
[1] ;
4876 if (!args
) SWIG_fail
;
4878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4879 if (!SWIG_IsOK(res1
)) {
4880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4882 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_From_int(static_cast< int >(result
));
4896 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
= 0;
4898 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4899 wxCheckBoxState arg2
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 char * kwnames
[] = {
4907 (char *) "self",(char *) "state", NULL
4910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4912 if (!SWIG_IsOK(res1
)) {
4913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4915 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4917 if (!SWIG_IsOK(ecode2
)) {
4918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4920 arg2
= static_cast< wxCheckBoxState
>(val2
);
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 (arg1
)->Set3StateValue(arg2
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_Py_Void();
4934 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4935 PyObject
*resultobj
= 0;
4936 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4940 PyObject
*swig_obj
[1] ;
4942 if (!args
) SWIG_fail
;
4944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4945 if (!SWIG_IsOK(res1
)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4948 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4964 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4966 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4970 PyObject
*swig_obj
[1] ;
4972 if (!args
) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4994 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
= 0;
4996 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4997 SwigValueWrapper
<wxVisualAttributes
> result
;
5000 PyObject
* obj0
= 0 ;
5001 char * kwnames
[] = {
5002 (char *) "variant", NULL
5005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5008 if (!SWIG_IsOK(ecode1
)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5011 arg1
= static_cast< wxWindowVariant
>(val1
);
5014 if (!wxPyCheckForApp()) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5027 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5030 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5031 return SWIG_Py_Void();
5034 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5035 return SWIG_Python_InitShadowInstance(args
);
5038 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5039 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5044 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5045 PyObject
*pyobj
= 0;
5049 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5051 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5058 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
= 0;
5060 wxWindow
*arg1
= (wxWindow
*) 0 ;
5061 int arg2
= (int) -1 ;
5062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5066 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5067 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5068 long arg6
= (long) 0 ;
5069 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5070 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5071 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5072 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5073 wxChoice
*result
= 0 ;
5080 bool temp5
= false ;
5085 bool temp8
= false ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 PyObject
* obj2
= 0 ;
5089 PyObject
* obj3
= 0 ;
5090 PyObject
* obj4
= 0 ;
5091 PyObject
* obj5
= 0 ;
5092 PyObject
* obj6
= 0 ;
5093 PyObject
* obj7
= 0 ;
5094 char * kwnames
[] = {
5095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5106 if (!SWIG_IsOK(ecode2
)) {
5107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5109 arg2
= static_cast< int >(val2
);
5114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5125 if (! PySequence_Check(obj4
)) {
5126 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5129 arg5
= new wxArrayString
;
5131 int i
, len
=PySequence_Length(obj4
);
5132 for (i
=0; i
<len
; i
++) {
5133 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5134 wxString
* s
= wxString_in_helper(item
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5143 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5144 if (!SWIG_IsOK(ecode6
)) {
5145 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5147 arg6
= static_cast< long >(val6
);
5150 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5151 if (!SWIG_IsOK(res7
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5157 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5161 arg8
= wxString_in_helper(obj7
);
5162 if (arg8
== NULL
) SWIG_fail
;
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5175 if (temp5
) delete arg5
;
5184 if (temp5
) delete arg5
;
5194 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5195 PyObject
*resultobj
= 0;
5196 wxChoice
*result
= 0 ;
5198 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5200 if (!wxPyCheckForApp()) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (wxChoice
*)new wxChoice();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5213 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
= 0;
5215 wxChoice
*arg1
= (wxChoice
*) 0 ;
5216 wxWindow
*arg2
= (wxWindow
*) 0 ;
5217 int arg3
= (int) -1 ;
5218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5222 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5223 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5224 long arg7
= (long) 0 ;
5225 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5226 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5227 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5228 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5238 bool temp6
= false ;
5243 bool temp9
= false ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5246 PyObject
* obj2
= 0 ;
5247 PyObject
* obj3
= 0 ;
5248 PyObject
* obj4
= 0 ;
5249 PyObject
* obj5
= 0 ;
5250 PyObject
* obj6
= 0 ;
5251 PyObject
* obj7
= 0 ;
5252 PyObject
* obj8
= 0 ;
5253 char * kwnames
[] = {
5254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5259 if (!SWIG_IsOK(res1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5262 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5264 if (!SWIG_IsOK(res2
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5267 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5270 if (!SWIG_IsOK(ecode3
)) {
5271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5273 arg3
= static_cast< int >(val3
);
5278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5289 if (! PySequence_Check(obj5
)) {
5290 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5293 arg6
= new wxArrayString
;
5295 int i
, len
=PySequence_Length(obj5
);
5296 for (i
=0; i
<len
; i
++) {
5297 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5298 wxString
* s
= wxString_in_helper(item
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5307 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5308 if (!SWIG_IsOK(ecode7
)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5311 arg7
= static_cast< long >(val7
);
5314 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5315 if (!SWIG_IsOK(res8
)) {
5316 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5321 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5325 arg9
= wxString_in_helper(obj8
);
5326 if (arg9
== NULL
) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5340 if (temp6
) delete arg6
;
5349 if (temp6
) delete arg6
;
5359 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5360 PyObject
*resultobj
= 0;
5361 wxChoice
*arg1
= (wxChoice
*) 0 ;
5365 PyObject
*swig_obj
[1] ;
5367 if (!args
) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5373 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_From_int(static_cast< int >(result
));
5387 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
= 0;
5389 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5390 SwigValueWrapper
<wxVisualAttributes
> result
;
5393 PyObject
* obj0
= 0 ;
5394 char * kwnames
[] = {
5395 (char *) "variant", NULL
5398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5401 if (!SWIG_IsOK(ecode1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5404 arg1
= static_cast< wxWindowVariant
>(val1
);
5407 if (!wxPyCheckForApp()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5420 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5423 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5424 return SWIG_Py_Void();
5427 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5428 return SWIG_Python_InitShadowInstance(args
);
5431 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5432 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5437 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5438 PyObject
*pyobj
= 0;
5442 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5444 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5451 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
= 0;
5453 wxWindow
*arg1
= (wxWindow
*) 0 ;
5454 int arg2
= (int) -1 ;
5455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5461 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5462 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5463 long arg7
= (long) 0 ;
5464 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5465 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5466 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5467 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5468 wxComboBox
*result
= 0 ;
5473 bool temp3
= false ;
5476 bool temp6
= false ;
5481 bool temp9
= false ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5485 PyObject
* obj3
= 0 ;
5486 PyObject
* obj4
= 0 ;
5487 PyObject
* obj5
= 0 ;
5488 PyObject
* obj6
= 0 ;
5489 PyObject
* obj7
= 0 ;
5490 PyObject
* obj8
= 0 ;
5491 char * kwnames
[] = {
5492 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5497 if (!SWIG_IsOK(res1
)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5503 if (!SWIG_IsOK(ecode2
)) {
5504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5506 arg2
= static_cast< int >(val2
);
5510 arg3
= wxString_in_helper(obj2
);
5511 if (arg3
== NULL
) SWIG_fail
;
5518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5529 if (! PySequence_Check(obj5
)) {
5530 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5533 arg6
= new wxArrayString
;
5535 int i
, len
=PySequence_Length(obj5
);
5536 for (i
=0; i
<len
; i
++) {
5537 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5538 wxString
* s
= wxString_in_helper(item
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5547 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5548 if (!SWIG_IsOK(ecode7
)) {
5549 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5551 arg7
= static_cast< long >(val7
);
5554 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5555 if (!SWIG_IsOK(res8
)) {
5556 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5561 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5565 arg9
= wxString_in_helper(obj8
);
5566 if (arg9
== NULL
) SWIG_fail
;
5571 if (!wxPyCheckForApp()) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5583 if (temp6
) delete arg6
;
5596 if (temp6
) delete arg6
;
5606 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5607 PyObject
*resultobj
= 0;
5608 wxComboBox
*result
= 0 ;
5610 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5612 if (!wxPyCheckForApp()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (wxComboBox
*)new wxComboBox();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5625 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5628 wxWindow
*arg2
= (wxWindow
*) 0 ;
5629 int arg3
= (int) -1 ;
5630 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5631 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5632 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5633 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5634 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5635 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5636 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5637 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5638 long arg8
= (long) 0 ;
5639 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5640 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5641 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5642 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5650 bool temp4
= false ;
5653 bool temp7
= false ;
5658 bool temp10
= false ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5661 PyObject
* obj2
= 0 ;
5662 PyObject
* obj3
= 0 ;
5663 PyObject
* obj4
= 0 ;
5664 PyObject
* obj5
= 0 ;
5665 PyObject
* obj6
= 0 ;
5666 PyObject
* obj7
= 0 ;
5667 PyObject
* obj8
= 0 ;
5668 PyObject
* obj9
= 0 ;
5669 char * kwnames
[] = {
5670 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5675 if (!SWIG_IsOK(res1
)) {
5676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5678 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5680 if (!SWIG_IsOK(res2
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5686 if (!SWIG_IsOK(ecode3
)) {
5687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5689 arg3
= static_cast< int >(val3
);
5693 arg4
= wxString_in_helper(obj3
);
5694 if (arg4
== NULL
) SWIG_fail
;
5701 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5707 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5712 if (! PySequence_Check(obj6
)) {
5713 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5716 arg7
= new wxArrayString
;
5718 int i
, len
=PySequence_Length(obj6
);
5719 for (i
=0; i
<len
; i
++) {
5720 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5721 wxString
* s
= wxString_in_helper(item
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5730 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5731 if (!SWIG_IsOK(ecode8
)) {
5732 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5734 arg8
= static_cast< long >(val8
);
5737 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5738 if (!SWIG_IsOK(res9
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5744 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5748 arg10
= wxString_in_helper(obj9
);
5749 if (arg10
== NULL
) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5767 if (temp7
) delete arg7
;
5780 if (temp7
) delete arg7
;
5790 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5791 PyObject
*resultobj
= 0;
5792 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5796 PyObject
*swig_obj
[1] ;
5798 if (!args
) SWIG_fail
;
5800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5801 if (!SWIG_IsOK(res1
)) {
5802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5804 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= ((wxComboBox
const *)arg1
)->GetValue();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5824 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
= 0;
5826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 wxString
*arg2
= 0 ;
5830 bool temp2
= false ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "value", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5842 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5844 arg2
= wxString_in_helper(obj1
);
5845 if (arg2
== NULL
) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 (arg1
)->SetValue((wxString
const &)*arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_Py_Void();
5869 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5870 PyObject
*resultobj
= 0;
5871 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5874 PyObject
*swig_obj
[1] ;
5876 if (!args
) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5882 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5901 PyObject
*swig_obj
[1] ;
5903 if (!args
) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5909 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_Py_Void();
5923 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5924 PyObject
*resultobj
= 0;
5925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5928 PyObject
*swig_obj
[1] ;
5930 if (!args
) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5936 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
= 0;
5952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5960 char * kwnames
[] = {
5961 (char *) "self",(char *) "pos", NULL
5964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5969 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5971 if (!SWIG_IsOK(ecode2
)) {
5972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5974 arg2
= static_cast< long >(val2
);
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 (arg1
)->SetInsertionPoint(arg2
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_Py_Void();
5988 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5989 PyObject
*resultobj
= 0;
5990 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5994 PyObject
*swig_obj
[1] ;
5996 if (!args
) SWIG_fail
;
5998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5999 if (!SWIG_IsOK(res1
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6002 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_From_long(static_cast< long >(result
));
6016 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6017 PyObject
*resultobj
= 0;
6018 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6022 PyObject
*swig_obj
[1] ;
6024 if (!args
) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6030 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_From_long(static_cast< long >(result
));
6044 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
= 0;
6046 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6049 wxString
*arg4
= 0 ;
6056 bool temp4
= false ;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6060 PyObject
* obj3
= 0 ;
6061 char * kwnames
[] = {
6062 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
6065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6070 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6071 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6075 arg2
= static_cast< long >(val2
);
6076 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6077 if (!SWIG_IsOK(ecode3
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6080 arg3
= static_cast< long >(val3
);
6082 arg4
= wxString_in_helper(obj3
);
6083 if (arg4
== NULL
) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_Py_Void();
6107 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
= 0;
6109 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6120 PyObject
* obj2
= 0 ;
6121 char * kwnames
[] = {
6122 (char *) "self",(char *) "_from",(char *) "to", NULL
6125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6127 if (!SWIG_IsOK(res1
)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6130 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6131 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6132 if (!SWIG_IsOK(ecode2
)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6135 arg2
= static_cast< long >(val2
);
6136 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6137 if (!SWIG_IsOK(ecode3
)) {
6138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6140 arg3
= static_cast< long >(val3
);
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->SetSelection(arg2
,arg3
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_Py_Void();
6154 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6155 PyObject
*resultobj
= 0;
6156 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6157 long *arg2
= (long *) 0 ;
6158 long *arg3
= (long *) 0 ;
6162 int res2
= SWIG_TMPOBJ
;
6164 int res3
= SWIG_TMPOBJ
;
6165 PyObject
*swig_obj
[1] ;
6169 if (!args
) SWIG_fail
;
6171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6172 if (!SWIG_IsOK(res1
)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6175 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->GetSelection(arg2
,arg3
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6183 if (SWIG_IsTmpObj(res2
)) {
6184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6186 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6189 if (SWIG_IsTmpObj(res3
)) {
6190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6192 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6201 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6202 PyObject
*resultobj
= 0;
6203 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6207 PyObject
*swig_obj
[1] ;
6209 if (!args
) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6215 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_From_int(static_cast< int >(result
));
6229 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
= 0;
6231 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6232 wxString
*arg2
= 0 ;
6236 bool temp2
= false ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6239 char * kwnames
[] = {
6240 (char *) "self",(char *) "string", NULL
6243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6245 if (!SWIG_IsOK(res1
)) {
6246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6248 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6250 arg2
= wxString_in_helper(obj1
);
6251 if (arg2
== NULL
) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6277 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
= 0;
6279 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6286 PyObject
* obj1
= 0 ;
6287 char * kwnames
[] = {
6288 (char *) "self",(char *) "editable", NULL
6291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6293 if (!SWIG_IsOK(res1
)) {
6294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6296 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6297 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6298 if (!SWIG_IsOK(ecode2
)) {
6299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6301 arg2
= static_cast< bool >(val2
);
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 (arg1
)->SetEditable(arg2
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 resultobj
= SWIG_Py_Void();
6315 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6316 PyObject
*resultobj
= 0;
6317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6320 PyObject
*swig_obj
[1] ;
6322 if (!args
) SWIG_fail
;
6324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6325 if (!SWIG_IsOK(res1
)) {
6326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6328 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 (arg1
)->SetInsertionPointEnd();
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= SWIG_Py_Void();
6342 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
= 0;
6344 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6354 PyObject
* obj1
= 0 ;
6355 PyObject
* obj2
= 0 ;
6356 char * kwnames
[] = {
6357 (char *) "self",(char *) "_from",(char *) "to", NULL
6360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6362 if (!SWIG_IsOK(res1
)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6365 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6366 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6367 if (!SWIG_IsOK(ecode2
)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6370 arg2
= static_cast< long >(val2
);
6371 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6372 if (!SWIG_IsOK(ecode3
)) {
6373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6375 arg3
= static_cast< long >(val3
);
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 (arg1
)->Remove(arg2
,arg3
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_Py_Void();
6389 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6390 PyObject
*resultobj
= 0;
6391 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6395 PyObject
*swig_obj
[1] ;
6397 if (!args
) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6403 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6420 PyObject
*resultobj
= 0;
6421 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6424 PyObject
*swig_obj
[1] ;
6426 if (!args
) SWIG_fail
;
6428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6429 if (!SWIG_IsOK(res1
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6432 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_Py_Void();
6446 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6447 PyObject
*resultobj
= 0;
6448 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6451 PyObject
*swig_obj
[1] ;
6453 if (!args
) SWIG_fail
;
6455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6456 if (!SWIG_IsOK(res1
)) {
6457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6459 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_Py_Void();
6473 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6474 PyObject
*resultobj
= 0;
6475 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6478 PyObject
*swig_obj
[1] ;
6480 if (!args
) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6486 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 (arg1
)->SelectAll();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_Py_Void();
6500 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6506 PyObject
*swig_obj
[1] ;
6508 if (!args
) SWIG_fail
;
6510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6511 if (!SWIG_IsOK(res1
)) {
6512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6514 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6530 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6531 PyObject
*resultobj
= 0;
6532 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6560 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6561 PyObject
*resultobj
= 0;
6562 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6566 PyObject
*swig_obj
[1] ;
6568 if (!args
) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6574 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6590 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6591 PyObject
*resultobj
= 0;
6592 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6596 PyObject
*swig_obj
[1] ;
6598 if (!args
) SWIG_fail
;
6600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6601 if (!SWIG_IsOK(res1
)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6604 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6620 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6621 PyObject
*resultobj
= 0;
6622 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6626 PyObject
*swig_obj
[1] ;
6628 if (!args
) SWIG_fail
;
6630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6631 if (!SWIG_IsOK(res1
)) {
6632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6634 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6650 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6652 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6653 SwigValueWrapper
<wxVisualAttributes
> result
;
6656 PyObject
* obj0
= 0 ;
6657 char * kwnames
[] = {
6658 (char *) "variant", NULL
6661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6663 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6664 if (!SWIG_IsOK(ecode1
)) {
6665 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6667 arg1
= static_cast< wxWindowVariant
>(val1
);
6670 if (!wxPyCheckForApp()) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6683 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6686 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6687 return SWIG_Py_Void();
6690 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6691 return SWIG_Python_InitShadowInstance(args
);
6694 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6695 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6700 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6701 PyObject
*pyobj
= 0;
6705 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6707 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6714 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxWindow
*arg1
= (wxWindow
*) 0 ;
6717 int arg2
= (int) -1 ;
6718 int arg3
= (int) 100 ;
6719 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6720 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6721 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6722 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6723 long arg6
= (long) wxGA_HORIZONTAL
;
6724 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6725 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6726 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6727 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6728 wxGauge
*result
= 0 ;
6741 bool temp8
= false ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6744 PyObject
* obj2
= 0 ;
6745 PyObject
* obj3
= 0 ;
6746 PyObject
* obj4
= 0 ;
6747 PyObject
* obj5
= 0 ;
6748 PyObject
* obj6
= 0 ;
6749 PyObject
* obj7
= 0 ;
6750 char * kwnames
[] = {
6751 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6756 if (!SWIG_IsOK(res1
)) {
6757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6759 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6762 if (!SWIG_IsOK(ecode2
)) {
6763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6765 arg2
= static_cast< int >(val2
);
6768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6769 if (!SWIG_IsOK(ecode3
)) {
6770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6772 arg3
= static_cast< int >(val3
);
6777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6787 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6788 if (!SWIG_IsOK(ecode6
)) {
6789 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6791 arg6
= static_cast< long >(val6
);
6794 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6795 if (!SWIG_IsOK(res7
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6801 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6805 arg8
= wxString_in_helper(obj7
);
6806 if (arg8
== NULL
) SWIG_fail
;
6811 if (!wxPyCheckForApp()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6832 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6833 PyObject
*resultobj
= 0;
6834 wxGauge
*result
= 0 ;
6836 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6838 if (!wxPyCheckForApp()) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (wxGauge
*)new wxGauge();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6851 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= 0;
6853 wxGauge
*arg1
= (wxGauge
*) 0 ;
6854 wxWindow
*arg2
= (wxWindow
*) 0 ;
6855 int arg3
= (int) -1 ;
6856 int arg4
= (int) 100 ;
6857 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6858 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6859 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6860 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6861 long arg7
= (long) wxGA_HORIZONTAL
;
6862 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6863 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6864 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6865 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6881 bool temp9
= false ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6884 PyObject
* obj2
= 0 ;
6885 PyObject
* obj3
= 0 ;
6886 PyObject
* obj4
= 0 ;
6887 PyObject
* obj5
= 0 ;
6888 PyObject
* obj6
= 0 ;
6889 PyObject
* obj7
= 0 ;
6890 PyObject
* obj8
= 0 ;
6891 char * kwnames
[] = {
6892 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6897 if (!SWIG_IsOK(res1
)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6900 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6902 if (!SWIG_IsOK(res2
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6908 if (!SWIG_IsOK(ecode3
)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6911 arg3
= static_cast< int >(val3
);
6914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6915 if (!SWIG_IsOK(ecode4
)) {
6916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6918 arg4
= static_cast< int >(val4
);
6923 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6929 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6933 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6934 if (!SWIG_IsOK(ecode7
)) {
6935 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6937 arg7
= static_cast< long >(val7
);
6940 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6941 if (!SWIG_IsOK(res8
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6947 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6951 arg9
= wxString_in_helper(obj8
);
6952 if (arg9
== NULL
) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6979 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
= 0;
6981 wxGauge
*arg1
= (wxGauge
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6989 char * kwnames
[] = {
6990 (char *) "self",(char *) "range", NULL
6993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6995 if (!SWIG_IsOK(res1
)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
6998 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7000 if (!SWIG_IsOK(ecode2
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7003 arg2
= static_cast< int >(val2
);
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->SetRange(arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7018 PyObject
*resultobj
= 0;
7019 wxGauge
*arg1
= (wxGauge
*) 0 ;
7023 PyObject
*swig_obj
[1] ;
7025 if (!args
) SWIG_fail
;
7027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7028 if (!SWIG_IsOK(res1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7031 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= SWIG_From_int(static_cast< int >(result
));
7045 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
= 0;
7047 wxGauge
*arg1
= (wxGauge
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 char * kwnames
[] = {
7056 (char *) "self",(char *) "pos", NULL
7059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7061 if (!SWIG_IsOK(res1
)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7064 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7066 if (!SWIG_IsOK(ecode2
)) {
7067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7069 arg2
= static_cast< int >(val2
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 (arg1
)->SetValue(arg2
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_Py_Void();
7083 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7084 PyObject
*resultobj
= 0;
7085 wxGauge
*arg1
= (wxGauge
*) 0 ;
7089 PyObject
*swig_obj
[1] ;
7091 if (!args
) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7097 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_From_int(static_cast< int >(result
));
7111 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7112 PyObject
*resultobj
= 0;
7113 wxGauge
*arg1
= (wxGauge
*) 0 ;
7117 PyObject
*swig_obj
[1] ;
7119 if (!args
) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7125 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7141 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
= 0;
7143 wxGauge
*arg1
= (wxGauge
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7151 char * kwnames
[] = {
7152 (char *) "self",(char *) "w", NULL
7155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7157 if (!SWIG_IsOK(res1
)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7160 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7162 if (!SWIG_IsOK(ecode2
)) {
7163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7165 arg2
= static_cast< int >(val2
);
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetShadowWidth(arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_Py_Void();
7179 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7180 PyObject
*resultobj
= 0;
7181 wxGauge
*arg1
= (wxGauge
*) 0 ;
7185 PyObject
*swig_obj
[1] ;
7187 if (!args
) SWIG_fail
;
7189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7190 if (!SWIG_IsOK(res1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7193 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= SWIG_From_int(static_cast< int >(result
));
7207 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
= 0;
7209 wxGauge
*arg1
= (wxGauge
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7217 char * kwnames
[] = {
7218 (char *) "self",(char *) "w", NULL
7221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7223 if (!SWIG_IsOK(res1
)) {
7224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7226 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7228 if (!SWIG_IsOK(ecode2
)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7231 arg2
= static_cast< int >(val2
);
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 (arg1
)->SetBezelFace(arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_Py_Void();
7245 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7246 PyObject
*resultobj
= 0;
7247 wxGauge
*arg1
= (wxGauge
*) 0 ;
7251 PyObject
*swig_obj
[1] ;
7253 if (!args
) SWIG_fail
;
7255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7256 if (!SWIG_IsOK(res1
)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7259 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_From_int(static_cast< int >(result
));
7273 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
= 0;
7275 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7276 SwigValueWrapper
<wxVisualAttributes
> result
;
7279 PyObject
* obj0
= 0 ;
7280 char * kwnames
[] = {
7281 (char *) "variant", NULL
7284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7286 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7287 if (!SWIG_IsOK(ecode1
)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7290 arg1
= static_cast< wxWindowVariant
>(val1
);
7293 if (!wxPyCheckForApp()) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7306 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7309 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7310 return SWIG_Py_Void();
7313 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 return SWIG_Python_InitShadowInstance(args
);
7317 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7318 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7323 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7324 PyObject
*pyobj
= 0;
7328 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7330 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7337 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7338 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7343 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7344 PyObject
*pyobj
= 0;
7348 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7350 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7357 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7358 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7363 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7364 PyObject
*pyobj
= 0;
7368 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7370 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7377 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
= 0;
7379 wxWindow
*arg1
= (wxWindow
*) 0 ;
7380 int arg2
= (int) -1 ;
7381 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7382 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7383 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7384 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7385 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7386 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7387 long arg6
= (long) 0 ;
7388 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7389 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7390 wxStaticBox
*result
= 0 ;
7395 bool temp3
= false ;
7400 bool temp7
= false ;
7401 PyObject
* obj0
= 0 ;
7402 PyObject
* obj1
= 0 ;
7403 PyObject
* obj2
= 0 ;
7404 PyObject
* obj3
= 0 ;
7405 PyObject
* obj4
= 0 ;
7406 PyObject
* obj5
= 0 ;
7407 PyObject
* obj6
= 0 ;
7408 char * kwnames
[] = {
7409 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7420 if (!SWIG_IsOK(ecode2
)) {
7421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7423 arg2
= static_cast< int >(val2
);
7427 arg3
= wxString_in_helper(obj2
);
7428 if (arg3
== NULL
) SWIG_fail
;
7435 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7441 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7445 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7446 if (!SWIG_IsOK(ecode6
)) {
7447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7449 arg6
= static_cast< long >(val6
);
7453 arg7
= wxString_in_helper(obj6
);
7454 if (arg7
== NULL
) SWIG_fail
;
7459 if (!wxPyCheckForApp()) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7488 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7489 PyObject
*resultobj
= 0;
7490 wxStaticBox
*result
= 0 ;
7492 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7494 if (!wxPyCheckForApp()) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (wxStaticBox
*)new wxStaticBox();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7507 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
= 0;
7509 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7510 wxWindow
*arg2
= (wxWindow
*) 0 ;
7511 int arg3
= (int) -1 ;
7512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7514 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7515 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7516 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7517 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7518 long arg7
= (long) 0 ;
7519 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7520 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7528 bool temp4
= false ;
7533 bool temp8
= false ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7536 PyObject
* obj2
= 0 ;
7537 PyObject
* obj3
= 0 ;
7538 PyObject
* obj4
= 0 ;
7539 PyObject
* obj5
= 0 ;
7540 PyObject
* obj6
= 0 ;
7541 PyObject
* obj7
= 0 ;
7542 char * kwnames
[] = {
7543 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7548 if (!SWIG_IsOK(res1
)) {
7549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7551 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7553 if (!SWIG_IsOK(res2
)) {
7554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7556 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7559 if (!SWIG_IsOK(ecode3
)) {
7560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7562 arg3
= static_cast< int >(val3
);
7566 arg4
= wxString_in_helper(obj3
);
7567 if (arg4
== NULL
) SWIG_fail
;
7574 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7580 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7584 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7585 if (!SWIG_IsOK(ecode7
)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7588 arg7
= static_cast< long >(val7
);
7592 arg8
= wxString_in_helper(obj7
);
7593 if (arg8
== NULL
) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7628 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
= 0;
7630 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7631 SwigValueWrapper
<wxVisualAttributes
> result
;
7634 PyObject
* obj0
= 0 ;
7635 char * kwnames
[] = {
7636 (char *) "variant", NULL
7639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7642 if (!SWIG_IsOK(ecode1
)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7645 arg1
= static_cast< wxWindowVariant
>(val1
);
7648 if (!wxPyCheckForApp()) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7661 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7664 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7665 return SWIG_Py_Void();
7668 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7669 return SWIG_Python_InitShadowInstance(args
);
7672 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
= 0;
7674 wxWindow
*arg1
= (wxWindow
*) 0 ;
7675 int arg2
= (int) -1 ;
7676 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7677 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7678 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7679 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7680 long arg5
= (long) wxLI_HORIZONTAL
;
7681 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7682 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7683 wxStaticLine
*result
= 0 ;
7692 bool temp6
= false ;
7693 PyObject
* obj0
= 0 ;
7694 PyObject
* obj1
= 0 ;
7695 PyObject
* obj2
= 0 ;
7696 PyObject
* obj3
= 0 ;
7697 PyObject
* obj4
= 0 ;
7698 PyObject
* obj5
= 0 ;
7699 char * kwnames
[] = {
7700 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7705 if (!SWIG_IsOK(res1
)) {
7706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7708 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7711 if (!SWIG_IsOK(ecode2
)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7714 arg2
= static_cast< int >(val2
);
7719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7725 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7729 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7730 if (!SWIG_IsOK(ecode5
)) {
7731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7733 arg5
= static_cast< long >(val5
);
7737 arg6
= wxString_in_helper(obj5
);
7738 if (arg6
== NULL
) SWIG_fail
;
7743 if (!wxPyCheckForApp()) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7764 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7765 PyObject
*resultobj
= 0;
7766 wxStaticLine
*result
= 0 ;
7768 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7770 if (!wxPyCheckForApp()) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (wxStaticLine
*)new wxStaticLine();
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7783 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
= 0;
7785 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7786 wxWindow
*arg2
= (wxWindow
*) 0 ;
7787 int arg3
= (int) -1 ;
7788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7790 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7791 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7792 long arg6
= (long) wxLI_HORIZONTAL
;
7793 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7794 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7806 bool temp7
= false ;
7807 PyObject
* obj0
= 0 ;
7808 PyObject
* obj1
= 0 ;
7809 PyObject
* obj2
= 0 ;
7810 PyObject
* obj3
= 0 ;
7811 PyObject
* obj4
= 0 ;
7812 PyObject
* obj5
= 0 ;
7813 PyObject
* obj6
= 0 ;
7814 char * kwnames
[] = {
7815 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7820 if (!SWIG_IsOK(res1
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7823 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7825 if (!SWIG_IsOK(res2
)) {
7826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7828 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7831 if (!SWIG_IsOK(ecode3
)) {
7832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7834 arg3
= static_cast< int >(val3
);
7839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7849 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7850 if (!SWIG_IsOK(ecode6
)) {
7851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7853 arg6
= static_cast< long >(val6
);
7857 arg7
= wxString_in_helper(obj6
);
7858 if (arg7
== NULL
) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7885 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7886 PyObject
*resultobj
= 0;
7887 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7891 PyObject
*swig_obj
[1] ;
7893 if (!args
) SWIG_fail
;
7895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7896 if (!SWIG_IsOK(res1
)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7899 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7915 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7916 PyObject
*resultobj
= 0;
7919 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (int)wxStaticLine::GetDefaultSize();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_From_int(static_cast< int >(result
));
7933 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
= 0;
7935 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7936 SwigValueWrapper
<wxVisualAttributes
> result
;
7939 PyObject
* obj0
= 0 ;
7940 char * kwnames
[] = {
7941 (char *) "variant", NULL
7944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7946 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7947 if (!SWIG_IsOK(ecode1
)) {
7948 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7950 arg1
= static_cast< wxWindowVariant
>(val1
);
7953 if (!wxPyCheckForApp()) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7966 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7969 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
7970 return SWIG_Py_Void();
7973 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7974 return SWIG_Python_InitShadowInstance(args
);
7977 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
= 0;
7979 wxWindow
*arg1
= (wxWindow
*) 0 ;
7980 int arg2
= (int) -1 ;
7981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7987 long arg6
= (long) 0 ;
7988 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7989 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7990 wxStaticText
*result
= 0 ;
7995 bool temp3
= false ;
8000 bool temp7
= false ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8003 PyObject
* obj2
= 0 ;
8004 PyObject
* obj3
= 0 ;
8005 PyObject
* obj4
= 0 ;
8006 PyObject
* obj5
= 0 ;
8007 PyObject
* obj6
= 0 ;
8008 char * kwnames
[] = {
8009 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8020 if (!SWIG_IsOK(ecode2
)) {
8021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8023 arg2
= static_cast< int >(val2
);
8027 arg3
= wxString_in_helper(obj2
);
8028 if (arg3
== NULL
) SWIG_fail
;
8035 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8041 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8045 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8046 if (!SWIG_IsOK(ecode6
)) {
8047 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8049 arg6
= static_cast< long >(val6
);
8053 arg7
= wxString_in_helper(obj6
);
8054 if (arg7
== NULL
) SWIG_fail
;
8059 if (!wxPyCheckForApp()) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8088 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8089 PyObject
*resultobj
= 0;
8090 wxStaticText
*result
= 0 ;
8092 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8094 if (!wxPyCheckForApp()) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (wxStaticText
*)new wxStaticText();
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8107 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
= 0;
8109 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8110 wxWindow
*arg2
= (wxWindow
*) 0 ;
8111 int arg3
= (int) -1 ;
8112 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8113 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8114 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8115 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8116 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8117 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8118 long arg7
= (long) 0 ;
8119 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8120 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8128 bool temp4
= false ;
8133 bool temp8
= false ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8136 PyObject
* obj2
= 0 ;
8137 PyObject
* obj3
= 0 ;
8138 PyObject
* obj4
= 0 ;
8139 PyObject
* obj5
= 0 ;
8140 PyObject
* obj6
= 0 ;
8141 PyObject
* obj7
= 0 ;
8142 char * kwnames
[] = {
8143 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8148 if (!SWIG_IsOK(res1
)) {
8149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8151 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8153 if (!SWIG_IsOK(res2
)) {
8154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8156 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8159 if (!SWIG_IsOK(ecode3
)) {
8160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8162 arg3
= static_cast< int >(val3
);
8166 arg4
= wxString_in_helper(obj3
);
8167 if (arg4
== NULL
) SWIG_fail
;
8174 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8180 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8184 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8185 if (!SWIG_IsOK(ecode7
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8188 arg7
= static_cast< long >(val7
);
8192 arg8
= wxString_in_helper(obj7
);
8193 if (arg8
== NULL
) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8228 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
= 0;
8230 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8238 char * kwnames
[] = {
8239 (char *) "self",(char *) "width", NULL
8242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8244 if (!SWIG_IsOK(res1
)) {
8245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8247 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8249 if (!SWIG_IsOK(ecode2
)) {
8250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8252 arg2
= static_cast< int >(val2
);
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= SWIG_Py_Void();
8266 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
= 0;
8268 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8269 SwigValueWrapper
<wxVisualAttributes
> result
;
8272 PyObject
* obj0
= 0 ;
8273 char * kwnames
[] = {
8274 (char *) "variant", NULL
8277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8279 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8280 if (!SWIG_IsOK(ecode1
)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8283 arg1
= static_cast< wxWindowVariant
>(val1
);
8286 if (!wxPyCheckForApp()) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8299 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8302 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8303 return SWIG_Py_Void();
8306 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8307 return SWIG_Python_InitShadowInstance(args
);
8310 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
= 0;
8312 wxWindow
*arg1
= (wxWindow
*) 0 ;
8313 int arg2
= (int) -1 ;
8314 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8315 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8316 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8317 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8318 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8319 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8320 long arg6
= (long) 0 ;
8321 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8322 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8323 wxStaticBitmap
*result
= 0 ;
8334 bool temp7
= false ;
8335 PyObject
* obj0
= 0 ;
8336 PyObject
* obj1
= 0 ;
8337 PyObject
* obj2
= 0 ;
8338 PyObject
* obj3
= 0 ;
8339 PyObject
* obj4
= 0 ;
8340 PyObject
* obj5
= 0 ;
8341 PyObject
* obj6
= 0 ;
8342 char * kwnames
[] = {
8343 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8348 if (!SWIG_IsOK(res1
)) {
8349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8351 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8354 if (!SWIG_IsOK(ecode2
)) {
8355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8357 arg2
= static_cast< int >(val2
);
8360 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8361 if (!SWIG_IsOK(res3
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8367 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8382 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8383 if (!SWIG_IsOK(ecode6
)) {
8384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8386 arg6
= static_cast< long >(val6
);
8390 arg7
= wxString_in_helper(obj6
);
8391 if (arg7
== NULL
) SWIG_fail
;
8396 if (!wxPyCheckForApp()) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8417 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8418 PyObject
*resultobj
= 0;
8419 wxStaticBitmap
*result
= 0 ;
8421 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8423 if (!wxPyCheckForApp()) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8436 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
= 0;
8438 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8439 wxWindow
*arg2
= (wxWindow
*) 0 ;
8440 int arg3
= (int) -1 ;
8441 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8442 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8443 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8444 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8445 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8446 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8447 long arg7
= (long) 0 ;
8448 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8449 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8463 bool temp8
= false ;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8466 PyObject
* obj2
= 0 ;
8467 PyObject
* obj3
= 0 ;
8468 PyObject
* obj4
= 0 ;
8469 PyObject
* obj5
= 0 ;
8470 PyObject
* obj6
= 0 ;
8471 PyObject
* obj7
= 0 ;
8472 char * kwnames
[] = {
8473 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8478 if (!SWIG_IsOK(res1
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8481 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8483 if (!SWIG_IsOK(res2
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8486 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8489 if (!SWIG_IsOK(ecode3
)) {
8490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8492 arg3
= static_cast< int >(val3
);
8495 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8496 if (!SWIG_IsOK(res4
)) {
8497 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8502 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8507 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8513 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8517 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8518 if (!SWIG_IsOK(ecode7
)) {
8519 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8521 arg7
= static_cast< long >(val7
);
8525 arg8
= wxString_in_helper(obj7
);
8526 if (arg8
== NULL
) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8553 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8554 PyObject
*resultobj
= 0;
8555 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8559 PyObject
*swig_obj
[1] ;
8561 if (!args
) SWIG_fail
;
8563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8564 if (!SWIG_IsOK(res1
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8567 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (arg1
)->GetBitmap();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8581 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
= 0;
8583 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8584 wxBitmap
*arg2
= 0 ;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8591 char * kwnames
[] = {
8592 (char *) "self",(char *) "bitmap", NULL
8595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8597 if (!SWIG_IsOK(res1
)) {
8598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8600 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8602 if (!SWIG_IsOK(res2
)) {
8603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8608 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= SWIG_Py_Void();
8622 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
= 0;
8624 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 char * kwnames
[] = {
8633 (char *) "self",(char *) "icon", NULL
8636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8638 if (!SWIG_IsOK(res1
)) {
8639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8641 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8643 if (!SWIG_IsOK(res2
)) {
8644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8649 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_Py_Void();
8663 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
= 0;
8665 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8666 SwigValueWrapper
<wxVisualAttributes
> result
;
8669 PyObject
* obj0
= 0 ;
8670 char * kwnames
[] = {
8671 (char *) "variant", NULL
8674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8676 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8677 if (!SWIG_IsOK(ecode1
)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8680 arg1
= static_cast< wxWindowVariant
>(val1
);
8683 if (!wxPyCheckForApp()) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8696 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8699 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8700 return SWIG_Py_Void();
8703 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8704 return SWIG_Python_InitShadowInstance(args
);
8707 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8708 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8713 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8714 PyObject
*pyobj
= 0;
8718 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8720 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8727 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
= 0;
8729 wxWindow
*arg1
= (wxWindow
*) 0 ;
8730 int arg2
= (int) -1 ;
8731 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8732 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8733 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8734 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8735 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8736 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8737 long arg6
= (long) 0 ;
8738 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8739 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8740 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8741 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8742 wxListBox
*result
= 0 ;
8749 bool temp5
= false ;
8754 bool temp8
= false ;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8757 PyObject
* obj2
= 0 ;
8758 PyObject
* obj3
= 0 ;
8759 PyObject
* obj4
= 0 ;
8760 PyObject
* obj5
= 0 ;
8761 PyObject
* obj6
= 0 ;
8762 PyObject
* obj7
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8775 if (!SWIG_IsOK(ecode2
)) {
8776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8778 arg2
= static_cast< int >(val2
);
8783 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8789 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8794 if (! PySequence_Check(obj4
)) {
8795 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8798 arg5
= new wxArrayString
;
8800 int i
, len
=PySequence_Length(obj4
);
8801 for (i
=0; i
<len
; i
++) {
8802 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8803 wxString
* s
= wxString_in_helper(item
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8812 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8813 if (!SWIG_IsOK(ecode6
)) {
8814 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8816 arg6
= static_cast< long >(val6
);
8819 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8820 if (!SWIG_IsOK(res7
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8826 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8830 arg8
= wxString_in_helper(obj7
);
8831 if (arg8
== NULL
) SWIG_fail
;
8836 if (!wxPyCheckForApp()) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8844 if (temp5
) delete arg5
;
8853 if (temp5
) delete arg5
;
8863 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8864 PyObject
*resultobj
= 0;
8865 wxListBox
*result
= 0 ;
8867 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8869 if (!wxPyCheckForApp()) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 result
= (wxListBox
*)new wxListBox();
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8882 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
= 0;
8884 wxListBox
*arg1
= (wxListBox
*) 0 ;
8885 wxWindow
*arg2
= (wxWindow
*) 0 ;
8886 int arg3
= (int) -1 ;
8887 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8888 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8889 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8890 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8891 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8892 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8893 long arg7
= (long) 0 ;
8894 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8895 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8896 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8897 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8907 bool temp6
= false ;
8912 bool temp9
= false ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 PyObject
* obj2
= 0 ;
8916 PyObject
* obj3
= 0 ;
8917 PyObject
* obj4
= 0 ;
8918 PyObject
* obj5
= 0 ;
8919 PyObject
* obj6
= 0 ;
8920 PyObject
* obj7
= 0 ;
8921 PyObject
* obj8
= 0 ;
8922 char * kwnames
[] = {
8923 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8928 if (!SWIG_IsOK(res1
)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8931 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8933 if (!SWIG_IsOK(res2
)) {
8934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8936 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8939 if (!SWIG_IsOK(ecode3
)) {
8940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8942 arg3
= static_cast< int >(val3
);
8947 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8953 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8958 if (! PySequence_Check(obj5
)) {
8959 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8962 arg6
= new wxArrayString
;
8964 int i
, len
=PySequence_Length(obj5
);
8965 for (i
=0; i
<len
; i
++) {
8966 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8967 wxString
* s
= wxString_in_helper(item
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8976 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8977 if (!SWIG_IsOK(ecode7
)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
8980 arg7
= static_cast< long >(val7
);
8983 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
8984 if (!SWIG_IsOK(res8
)) {
8985 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
8988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
8990 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
8994 arg9
= wxString_in_helper(obj8
);
8995 if (arg9
== NULL
) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9009 if (temp6
) delete arg6
;
9018 if (temp6
) delete arg6
;
9028 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
= 0;
9030 wxListBox
*arg1
= (wxListBox
*) 0 ;
9031 wxString
*arg2
= 0 ;
9033 PyObject
*arg4
= (PyObject
*) NULL
;
9036 bool temp2
= false ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9041 PyObject
* obj2
= 0 ;
9042 PyObject
* obj3
= 0 ;
9043 char * kwnames
[] = {
9044 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9049 if (!SWIG_IsOK(res1
)) {
9050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9052 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9054 arg2
= wxString_in_helper(obj1
);
9055 if (arg2
== NULL
) SWIG_fail
;
9058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9059 if (!SWIG_IsOK(ecode3
)) {
9060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9062 arg3
= static_cast< int >(val3
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_Py_Void();
9087 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxListBox
*arg1
= (wxListBox
*) 0 ;
9090 wxArrayString
*arg2
= 0 ;
9094 bool temp2
= false ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 char * kwnames
[] = {
9101 (char *) "self",(char *) "items",(char *) "pos", NULL
9104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9106 if (!SWIG_IsOK(res1
)) {
9107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9109 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9111 if (! PySequence_Check(obj1
)) {
9112 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9115 arg2
= new wxArrayString
;
9117 int i
, len
=PySequence_Length(obj1
);
9118 for (i
=0; i
<len
; i
++) {
9119 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9120 wxString
* s
= wxString_in_helper(item
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9128 if (!SWIG_IsOK(ecode3
)) {
9129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "int""'");
9131 arg3
= static_cast< int >(val3
);
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= SWIG_Py_Void();
9140 if (temp2
) delete arg2
;
9145 if (temp2
) delete arg2
;
9151 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= 0;
9153 wxListBox
*arg1
= (wxListBox
*) 0 ;
9154 wxArrayString
*arg2
= 0 ;
9157 bool temp2
= false ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 char * kwnames
[] = {
9161 (char *) "self",(char *) "items", NULL
9164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9166 if (!SWIG_IsOK(res1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9169 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9171 if (! PySequence_Check(obj1
)) {
9172 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9175 arg2
= new wxArrayString
;
9177 int i
, len
=PySequence_Length(obj1
);
9178 for (i
=0; i
<len
; i
++) {
9179 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9180 wxString
* s
= wxString_in_helper(item
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 (arg1
)->Set((wxArrayString
const &)*arg2
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_Py_Void();
9195 if (temp2
) delete arg2
;
9200 if (temp2
) delete arg2
;
9206 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
= 0;
9208 wxListBox
*arg1
= (wxListBox
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9217 char * kwnames
[] = {
9218 (char *) "self",(char *) "n", NULL
9221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9223 if (!SWIG_IsOK(res1
)) {
9224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9226 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9228 if (!SWIG_IsOK(ecode2
)) {
9229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9231 arg2
= static_cast< int >(val2
);
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9247 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
= 0;
9249 wxListBox
*arg1
= (wxListBox
*) 0 ;
9251 bool arg3
= (bool) true ;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9260 PyObject
* obj2
= 0 ;
9261 char * kwnames
[] = {
9262 (char *) "self",(char *) "n",(char *) "select", NULL
9265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9267 if (!SWIG_IsOK(res1
)) {
9268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9270 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9272 if (!SWIG_IsOK(ecode2
)) {
9273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9275 arg2
= static_cast< int >(val2
);
9277 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9278 if (!SWIG_IsOK(ecode3
)) {
9279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9281 arg3
= static_cast< bool >(val3
);
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 (arg1
)->SetSelection(arg2
,arg3
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_Py_Void();
9296 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
= 0;
9298 wxListBox
*arg1
= (wxListBox
*) 0 ;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9306 char * kwnames
[] = {
9307 (char *) "self",(char *) "n", NULL
9310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9312 if (!SWIG_IsOK(res1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9315 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9317 if (!SWIG_IsOK(ecode2
)) {
9318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9320 arg2
= static_cast< int >(val2
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 (arg1
)->Select(arg2
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_Py_Void();
9334 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= 0;
9336 wxListBox
*arg1
= (wxListBox
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 char * kwnames
[] = {
9345 (char *) "self",(char *) "n", NULL
9348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9353 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9355 if (!SWIG_IsOK(ecode2
)) {
9356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9358 arg2
= static_cast< int >(val2
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 (arg1
)->Deselect(arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_Py_Void();
9372 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
= 0;
9374 wxListBox
*arg1
= (wxListBox
*) 0 ;
9375 int arg2
= (int) -1 ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "self",(char *) "itemToLeaveSelected", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9391 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9394 if (!SWIG_IsOK(ecode2
)) {
9395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9397 arg2
= static_cast< int >(val2
);
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 (arg1
)->DeselectAll(arg2
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= SWIG_Py_Void();
9412 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
= 0;
9414 wxListBox
*arg1
= (wxListBox
*) 0 ;
9415 wxString
*arg2
= 0 ;
9416 bool arg3
= (bool) true ;
9420 bool temp2
= false ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 PyObject
* obj2
= 0 ;
9426 char * kwnames
[] = {
9427 (char *) "self",(char *) "s",(char *) "select", NULL
9430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9432 if (!SWIG_IsOK(res1
)) {
9433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9435 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9437 arg2
= wxString_in_helper(obj1
);
9438 if (arg2
== NULL
) SWIG_fail
;
9442 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9443 if (!SWIG_IsOK(ecode3
)) {
9444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9446 arg3
= static_cast< bool >(val3
);
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9471 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9472 PyObject
*resultobj
= 0;
9473 wxListBox
*arg1
= (wxListBox
*) 0 ;
9474 PyObject
*result
= 0 ;
9477 PyObject
*swig_obj
[1] ;
9479 if (!args
) SWIG_fail
;
9481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9482 if (!SWIG_IsOK(res1
)) {
9483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9485 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9499 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxListBox
*arg1
= (wxListBox
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "n", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9518 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9520 if (!SWIG_IsOK(ecode2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9523 arg2
= static_cast< int >(val2
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->SetFirstItem(arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_Py_Void();
9537 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
= 0;
9539 wxListBox
*arg1
= (wxListBox
*) 0 ;
9540 wxString
*arg2
= 0 ;
9543 bool temp2
= false ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 char * kwnames
[] = {
9547 (char *) "self",(char *) "s", NULL
9550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9552 if (!SWIG_IsOK(res1
)) {
9553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9555 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9557 arg2
= wxString_in_helper(obj1
);
9558 if (arg2
== NULL
) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_Py_Void();
9582 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
= 0;
9584 wxListBox
*arg1
= (wxListBox
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9592 char * kwnames
[] = {
9593 (char *) "self",(char *) "n", NULL
9596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9598 if (!SWIG_IsOK(res1
)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9601 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9603 if (!SWIG_IsOK(ecode2
)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9606 arg2
= static_cast< int >(val2
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->EnsureVisible(arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_Py_Void();
9620 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxListBox
*arg1
= (wxListBox
*) 0 ;
9623 wxString
*arg2
= 0 ;
9626 bool temp2
= false ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9629 char * kwnames
[] = {
9630 (char *) "self",(char *) "s", NULL
9633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9638 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9640 arg2
= wxString_in_helper(obj1
);
9641 if (arg2
== NULL
) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_Py_Void();
9665 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9666 PyObject
*resultobj
= 0;
9667 wxListBox
*arg1
= (wxListBox
*) 0 ;
9671 PyObject
*swig_obj
[1] ;
9673 if (!args
) SWIG_fail
;
9675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9676 if (!SWIG_IsOK(res1
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9679 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9695 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
= 0;
9697 wxListBox
*arg1
= (wxListBox
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9704 PyObject
* obj1
= 0 ;
9705 char * kwnames
[] = {
9706 (char *) "self",(char *) "pt", NULL
9709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9711 if (!SWIG_IsOK(res1
)) {
9712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9714 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_From_int(static_cast< int >(result
));
9732 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9734 wxListBox
*arg1
= (wxListBox
*) 0 ;
9736 wxColour
*arg3
= 0 ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9744 PyObject
* obj2
= 0 ;
9745 char * kwnames
[] = {
9746 (char *) "self",(char *) "item",(char *) "c", NULL
9749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9754 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9756 if (!SWIG_IsOK(ecode2
)) {
9757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9759 arg2
= static_cast< int >(val2
);
9762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_Py_Void();
9777 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
= 0;
9779 wxListBox
*arg1
= (wxListBox
*) 0 ;
9781 wxColour
*arg3
= 0 ;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9789 PyObject
* obj2
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "item",(char *) "c", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9799 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9801 if (!SWIG_IsOK(ecode2
)) {
9802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9804 arg2
= static_cast< int >(val2
);
9807 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_Py_Void();
9822 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
= 0;
9824 wxListBox
*arg1
= (wxListBox
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9835 PyObject
* obj2
= 0 ;
9836 char * kwnames
[] = {
9837 (char *) "self",(char *) "item",(char *) "f", NULL
9840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9842 if (!SWIG_IsOK(res1
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9845 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9847 if (!SWIG_IsOK(ecode2
)) {
9848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9850 arg2
= static_cast< int >(val2
);
9851 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9852 if (!SWIG_IsOK(res3
)) {
9853 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9858 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_Py_Void();
9872 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= 0;
9874 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9875 SwigValueWrapper
<wxVisualAttributes
> result
;
9878 PyObject
* obj0
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "variant", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9885 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9886 if (!SWIG_IsOK(ecode1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9889 arg1
= static_cast< wxWindowVariant
>(val1
);
9892 if (!wxPyCheckForApp()) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9905 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9908 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9909 return SWIG_Py_Void();
9912 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9913 return SWIG_Python_InitShadowInstance(args
);
9916 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
= 0;
9918 wxWindow
*arg1
= (wxWindow
*) 0 ;
9919 int arg2
= (int) -1 ;
9920 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9921 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9922 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9923 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9924 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9925 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9926 long arg6
= (long) 0 ;
9927 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9928 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9929 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9930 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9931 wxCheckListBox
*result
= 0 ;
9938 bool temp5
= false ;
9943 bool temp8
= false ;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 PyObject
* obj2
= 0 ;
9947 PyObject
* obj3
= 0 ;
9948 PyObject
* obj4
= 0 ;
9949 PyObject
* obj5
= 0 ;
9950 PyObject
* obj6
= 0 ;
9951 PyObject
* obj7
= 0 ;
9952 char * kwnames
[] = {
9953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9958 if (!SWIG_IsOK(res1
)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9961 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9964 if (!SWIG_IsOK(ecode2
)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
9967 arg2
= static_cast< int >(val2
);
9972 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9978 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9983 if (! PySequence_Check(obj4
)) {
9984 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9987 arg5
= new wxArrayString
;
9989 int i
, len
=PySequence_Length(obj4
);
9990 for (i
=0; i
<len
; i
++) {
9991 PyObject
* item
= PySequence_GetItem(obj4
, i
);
9992 wxString
* s
= wxString_in_helper(item
);
9993 if (PyErr_Occurred()) SWIG_fail
;
10001 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10002 if (!SWIG_IsOK(ecode6
)) {
10003 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10005 arg6
= static_cast< long >(val6
);
10008 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10009 if (!SWIG_IsOK(res7
)) {
10010 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10015 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10019 arg8
= wxString_in_helper(obj7
);
10020 if (arg8
== NULL
) SWIG_fail
;
10025 if (!wxPyCheckForApp()) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10033 if (temp5
) delete arg5
;
10042 if (temp5
) delete arg5
;
10052 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10053 PyObject
*resultobj
= 0;
10054 wxCheckListBox
*result
= 0 ;
10056 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10058 if (!wxPyCheckForApp()) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (wxCheckListBox
*)new wxCheckListBox();
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10071 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
= 0;
10073 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10074 wxWindow
*arg2
= (wxWindow
*) 0 ;
10075 int arg3
= (int) -1 ;
10076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10080 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10081 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10082 long arg7
= (long) 0 ;
10083 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10084 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10085 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10086 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10096 bool temp6
= false ;
10101 bool temp9
= false ;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 PyObject
* obj2
= 0 ;
10105 PyObject
* obj3
= 0 ;
10106 PyObject
* obj4
= 0 ;
10107 PyObject
* obj5
= 0 ;
10108 PyObject
* obj6
= 0 ;
10109 PyObject
* obj7
= 0 ;
10110 PyObject
* obj8
= 0 ;
10111 char * kwnames
[] = {
10112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10117 if (!SWIG_IsOK(res1
)) {
10118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10120 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10122 if (!SWIG_IsOK(res2
)) {
10123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10125 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10128 if (!SWIG_IsOK(ecode3
)) {
10129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10131 arg3
= static_cast< int >(val3
);
10136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10147 if (! PySequence_Check(obj5
)) {
10148 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10151 arg6
= new wxArrayString
;
10153 int i
, len
=PySequence_Length(obj5
);
10154 for (i
=0; i
<len
; i
++) {
10155 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10156 wxString
* s
= wxString_in_helper(item
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10165 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10166 if (!SWIG_IsOK(ecode7
)) {
10167 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10169 arg7
= static_cast< long >(val7
);
10172 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10173 if (!SWIG_IsOK(res8
)) {
10174 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10179 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10183 arg9
= wxString_in_helper(obj8
);
10184 if (arg9
== NULL
) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10198 if (temp6
) delete arg6
;
10207 if (temp6
) delete arg6
;
10217 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
= 0;
10219 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 char * kwnames
[] = {
10229 (char *) "self",(char *) "index", NULL
10232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10234 if (!SWIG_IsOK(res1
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10237 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10239 if (!SWIG_IsOK(ecode2
)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "int""'");
10242 arg2
= static_cast< int >(val2
);
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (bool)(arg1
)->IsChecked(arg2
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10258 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
= 0;
10260 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10262 int arg3
= (int) true ;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 PyObject
* obj2
= 0 ;
10272 char * kwnames
[] = {
10273 (char *) "self",(char *) "index",(char *) "check", NULL
10276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10278 if (!SWIG_IsOK(res1
)) {
10279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10281 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10283 if (!SWIG_IsOK(ecode2
)) {
10284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "int""'");
10286 arg2
= static_cast< int >(val2
);
10288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10289 if (!SWIG_IsOK(ecode3
)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10292 arg3
= static_cast< int >(val3
);
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 (arg1
)->Check(arg2
,arg3
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_Py_Void();
10307 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10308 PyObject
*resultobj
= 0;
10309 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10313 PyObject
*swig_obj
[1] ;
10315 if (!args
) SWIG_fail
;
10316 swig_obj
[0] = args
;
10317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10321 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (int)(arg1
)->GetItemHeight();
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_From_int(static_cast< int >(result
));
10335 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10338 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10339 return SWIG_Py_Void();
10342 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10343 return SWIG_Python_InitShadowInstance(args
);
10346 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10347 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10352 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10353 PyObject
*pyobj
= 0;
10357 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10359 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10366 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
= 0;
10368 wxColour
const &arg1_defvalue
= wxNullColour
;
10369 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10370 wxColour
const &arg2_defvalue
= wxNullColour
;
10371 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10372 wxFont
const &arg3_defvalue
= wxNullFont
;
10373 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10374 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10375 wxTextAttr
*result
= 0 ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10384 PyObject
* obj2
= 0 ;
10385 PyObject
* obj3
= 0 ;
10386 char * kwnames
[] = {
10387 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10394 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10400 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10404 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10405 if (!SWIG_IsOK(res3
)) {
10406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10411 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10414 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10415 if (!SWIG_IsOK(ecode4
)) {
10416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10418 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10433 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10434 PyObject
*resultobj
= 0;
10435 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10438 PyObject
*swig_obj
[1] ;
10440 if (!args
) SWIG_fail
;
10441 swig_obj
[0] = args
;
10442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10443 if (!SWIG_IsOK(res1
)) {
10444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10446 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= SWIG_Py_Void();
10461 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10462 PyObject
*resultobj
= 0;
10463 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10466 PyObject
*swig_obj
[1] ;
10468 if (!args
) SWIG_fail
;
10469 swig_obj
[0] = args
;
10470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10471 if (!SWIG_IsOK(res1
)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10474 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_Py_Void();
10488 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
= 0;
10490 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10491 wxColour
*arg2
= 0 ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 char * kwnames
[] = {
10498 (char *) "self",(char *) "colText", NULL
10501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10503 if (!SWIG_IsOK(res1
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10506 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_Py_Void();
10524 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
= 0;
10526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10527 wxColour
*arg2
= 0 ;
10531 PyObject
* obj0
= 0 ;
10532 PyObject
* obj1
= 0 ;
10533 char * kwnames
[] = {
10534 (char *) "self",(char *) "colBack", NULL
10537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10539 if (!SWIG_IsOK(res1
)) {
10540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10542 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= SWIG_Py_Void();
10560 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
= 0;
10562 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10564 long arg3
= (long) wxTEXT_ATTR_FONT
;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 char * kwnames
[] = {
10575 (char *) "self",(char *) "font",(char *) "flags", NULL
10578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10580 if (!SWIG_IsOK(res1
)) {
10581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10583 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10585 if (!SWIG_IsOK(res2
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10591 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10593 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10594 if (!SWIG_IsOK(ecode3
)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10597 arg3
= static_cast< long >(val3
);
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= SWIG_Py_Void();
10612 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
= 0;
10614 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10615 wxTextAttrAlignment arg2
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char * kwnames
[] = {
10623 (char *) "self",(char *) "alignment", NULL
10626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10628 if (!SWIG_IsOK(res1
)) {
10629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10631 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10633 if (!SWIG_IsOK(ecode2
)) {
10634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10636 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 (arg1
)->SetAlignment(arg2
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_Py_Void();
10650 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
= 0;
10652 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10653 wxArrayInt
*arg2
= 0 ;
10656 bool temp2
= false ;
10657 PyObject
* obj0
= 0 ;
10658 PyObject
* obj1
= 0 ;
10659 char * kwnames
[] = {
10660 (char *) "self",(char *) "tabs", NULL
10663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10668 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10670 if (! PySequence_Check(obj1
)) {
10671 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10674 arg2
= new wxArrayInt
;
10676 int i
, len
=PySequence_Length(obj1
);
10677 for (i
=0; i
<len
; i
++) {
10678 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10679 PyObject
* number
= PyNumber_Int(item
);
10680 arg2
->Add(PyInt_AS_LONG(number
));
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_Py_Void();
10693 if (temp2
) delete arg2
;
10698 if (temp2
) delete arg2
;
10704 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= 0;
10706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10708 int arg3
= (int) 0 ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 PyObject
* obj2
= 0 ;
10718 char * kwnames
[] = {
10719 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10724 if (!SWIG_IsOK(res1
)) {
10725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10727 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10729 if (!SWIG_IsOK(ecode2
)) {
10730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10732 arg2
= static_cast< int >(val2
);
10734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10735 if (!SWIG_IsOK(ecode3
)) {
10736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10738 arg3
= static_cast< int >(val3
);
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetLeftIndent(arg2
,arg3
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_Py_Void();
10753 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
= 0;
10755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char * kwnames
[] = {
10764 (char *) "self",(char *) "indent", NULL
10767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10769 if (!SWIG_IsOK(res1
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10772 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10774 if (!SWIG_IsOK(ecode2
)) {
10775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10777 arg2
= static_cast< int >(val2
);
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 (arg1
)->SetRightIndent(arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_Py_Void();
10791 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
= 0;
10793 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 char * kwnames
[] = {
10802 (char *) "self",(char *) "flags", NULL
10805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10807 if (!SWIG_IsOK(res1
)) {
10808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10810 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10812 if (!SWIG_IsOK(ecode2
)) {
10813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10815 arg2
= static_cast< long >(val2
);
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->SetFlags(arg2
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= SWIG_Py_Void();
10829 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10830 PyObject
*resultobj
= 0;
10831 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10835 PyObject
*swig_obj
[1] ;
10837 if (!args
) SWIG_fail
;
10838 swig_obj
[0] = args
;
10839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10840 if (!SWIG_IsOK(res1
)) {
10841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10843 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10859 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10860 PyObject
*resultobj
= 0;
10861 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10865 PyObject
*swig_obj
[1] ;
10867 if (!args
) SWIG_fail
;
10868 swig_obj
[0] = args
;
10869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10870 if (!SWIG_IsOK(res1
)) {
10871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10873 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10889 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10890 PyObject
*resultobj
= 0;
10891 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10895 PyObject
*swig_obj
[1] ;
10897 if (!args
) SWIG_fail
;
10898 swig_obj
[0] = args
;
10899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10900 if (!SWIG_IsOK(res1
)) {
10901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10903 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10919 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10920 PyObject
*resultobj
= 0;
10921 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10925 PyObject
*swig_obj
[1] ;
10927 if (!args
) SWIG_fail
;
10928 swig_obj
[0] = args
;
10929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10930 if (!SWIG_IsOK(res1
)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10933 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10949 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10950 PyObject
*resultobj
= 0;
10951 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10955 PyObject
*swig_obj
[1] ;
10957 if (!args
) SWIG_fail
;
10958 swig_obj
[0] = args
;
10959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10960 if (!SWIG_IsOK(res1
)) {
10961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10963 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10979 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10980 PyObject
*resultobj
= 0;
10981 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10985 PyObject
*swig_obj
[1] ;
10987 if (!args
) SWIG_fail
;
10988 swig_obj
[0] = args
;
10989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10990 if (!SWIG_IsOK(res1
)) {
10991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10993 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11009 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11010 PyObject
*resultobj
= 0;
11011 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11015 PyObject
*swig_obj
[1] ;
11017 if (!args
) SWIG_fail
;
11018 swig_obj
[0] = args
;
11019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11020 if (!SWIG_IsOK(res1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11023 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
= 0;
11041 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 char * kwnames
[] = {
11051 (char *) "self",(char *) "flag", NULL
11054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11056 if (!SWIG_IsOK(res1
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11059 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11061 if (!SWIG_IsOK(ecode2
)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11064 arg2
= static_cast< long >(val2
);
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11080 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11081 PyObject
*resultobj
= 0;
11082 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11083 wxColour
*result
= 0 ;
11086 PyObject
*swig_obj
[1] ;
11088 if (!args
) SWIG_fail
;
11089 swig_obj
[0] = args
;
11090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11091 if (!SWIG_IsOK(res1
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11094 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11099 result
= (wxColour
*) &_result_ref
;
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11111 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11112 PyObject
*resultobj
= 0;
11113 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11114 wxColour
*result
= 0 ;
11117 PyObject
*swig_obj
[1] ;
11119 if (!args
) SWIG_fail
;
11120 swig_obj
[0] = args
;
11121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11122 if (!SWIG_IsOK(res1
)) {
11123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11125 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11130 result
= (wxColour
*) &_result_ref
;
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11142 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11143 PyObject
*resultobj
= 0;
11144 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11145 wxFont
*result
= 0 ;
11148 PyObject
*swig_obj
[1] ;
11150 if (!args
) SWIG_fail
;
11151 swig_obj
[0] = args
;
11152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11153 if (!SWIG_IsOK(res1
)) {
11154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11156 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11161 result
= (wxFont
*) &_result_ref
;
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 wxFont
* resultptr
= new wxFont(*result
);
11168 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11176 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11177 PyObject
*resultobj
= 0;
11178 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11179 wxTextAttrAlignment result
;
11182 PyObject
*swig_obj
[1] ;
11184 if (!args
) SWIG_fail
;
11185 swig_obj
[0] = args
;
11186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11187 if (!SWIG_IsOK(res1
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11190 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= SWIG_From_int(static_cast< int >(result
));
11204 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11205 PyObject
*resultobj
= 0;
11206 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11207 wxArrayInt
*result
= 0 ;
11210 PyObject
*swig_obj
[1] ;
11212 if (!args
) SWIG_fail
;
11213 swig_obj
[0] = args
;
11214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11215 if (!SWIG_IsOK(res1
)) {
11216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11218 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11223 result
= (wxArrayInt
*) &_result_ref
;
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= PyList_New(0);
11231 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11232 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11233 PyList_Append(resultobj
, val
);
11243 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11244 PyObject
*resultobj
= 0;
11245 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11249 PyObject
*swig_obj
[1] ;
11251 if (!args
) SWIG_fail
;
11252 swig_obj
[0] = args
;
11253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11254 if (!SWIG_IsOK(res1
)) {
11255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11257 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_From_long(static_cast< long >(result
));
11271 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11272 PyObject
*resultobj
= 0;
11273 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11277 PyObject
*swig_obj
[1] ;
11279 if (!args
) SWIG_fail
;
11280 swig_obj
[0] = args
;
11281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11285 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_From_long(static_cast< long >(result
));
11299 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11300 PyObject
*resultobj
= 0;
11301 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11305 PyObject
*swig_obj
[1] ;
11307 if (!args
) SWIG_fail
;
11308 swig_obj
[0] = args
;
11309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11313 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_From_long(static_cast< long >(result
));
11327 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11328 PyObject
*resultobj
= 0;
11329 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11333 PyObject
*swig_obj
[1] ;
11335 if (!args
) SWIG_fail
;
11336 swig_obj
[0] = args
;
11337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11338 if (!SWIG_IsOK(res1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11341 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_long(static_cast< long >(result
));
11355 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11356 PyObject
*resultobj
= 0;
11357 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11361 PyObject
*swig_obj
[1] ;
11363 if (!args
) SWIG_fail
;
11364 swig_obj
[0] = args
;
11365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11366 if (!SWIG_IsOK(res1
)) {
11367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11369 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11385 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
= 0;
11387 wxTextAttr
*arg1
= 0 ;
11388 wxTextAttr
*arg2
= 0 ;
11389 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 PyObject
* obj2
= 0 ;
11400 char * kwnames
[] = {
11401 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11405 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11406 if (!SWIG_IsOK(res1
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11412 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11414 if (!SWIG_IsOK(res2
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11420 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11421 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11422 if (!SWIG_IsOK(res3
)) {
11423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11425 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11439 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11442 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11443 return SWIG_Py_Void();
11446 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11447 return SWIG_Python_InitShadowInstance(args
);
11450 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
= 0;
11452 wxWindow
*arg1
= (wxWindow
*) 0 ;
11453 int arg2
= (int) -1 ;
11454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11460 long arg6
= (long) 0 ;
11461 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11462 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11463 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11465 wxTextCtrl
*result
= 0 ;
11470 bool temp3
= false ;
11477 bool temp8
= false ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 PyObject
* obj2
= 0 ;
11481 PyObject
* obj3
= 0 ;
11482 PyObject
* obj4
= 0 ;
11483 PyObject
* obj5
= 0 ;
11484 PyObject
* obj6
= 0 ;
11485 PyObject
* obj7
= 0 ;
11486 char * kwnames
[] = {
11487 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11492 if (!SWIG_IsOK(res1
)) {
11493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11498 if (!SWIG_IsOK(ecode2
)) {
11499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11501 arg2
= static_cast< int >(val2
);
11505 arg3
= wxString_in_helper(obj2
);
11506 if (arg3
== NULL
) SWIG_fail
;
11513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11523 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11524 if (!SWIG_IsOK(ecode6
)) {
11525 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11527 arg6
= static_cast< long >(val6
);
11530 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11531 if (!SWIG_IsOK(res7
)) {
11532 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11537 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11541 arg8
= wxString_in_helper(obj7
);
11542 if (arg8
== NULL
) SWIG_fail
;
11547 if (!wxPyCheckForApp()) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11576 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11577 PyObject
*resultobj
= 0;
11578 wxTextCtrl
*result
= 0 ;
11580 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11582 if (!wxPyCheckForApp()) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (wxTextCtrl
*)new wxTextCtrl();
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11595 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
= 0;
11597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11598 wxWindow
*arg2
= (wxWindow
*) 0 ;
11599 int arg3
= (int) -1 ;
11600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11606 long arg7
= (long) 0 ;
11607 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11608 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11609 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11610 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11618 bool temp4
= false ;
11625 bool temp9
= false ;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 PyObject
* obj2
= 0 ;
11629 PyObject
* obj3
= 0 ;
11630 PyObject
* obj4
= 0 ;
11631 PyObject
* obj5
= 0 ;
11632 PyObject
* obj6
= 0 ;
11633 PyObject
* obj7
= 0 ;
11634 PyObject
* obj8
= 0 ;
11635 char * kwnames
[] = {
11636 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11644 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11646 if (!SWIG_IsOK(res2
)) {
11647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11649 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11652 if (!SWIG_IsOK(ecode3
)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11655 arg3
= static_cast< int >(val3
);
11659 arg4
= wxString_in_helper(obj3
);
11660 if (arg4
== NULL
) SWIG_fail
;
11667 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11673 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11677 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11678 if (!SWIG_IsOK(ecode7
)) {
11679 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11681 arg7
= static_cast< long >(val7
);
11684 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11685 if (!SWIG_IsOK(res8
)) {
11686 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11691 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11695 arg9
= wxString_in_helper(obj8
);
11696 if (arg9
== NULL
) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11731 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11732 PyObject
*resultobj
= 0;
11733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11737 PyObject
*swig_obj
[1] ;
11739 if (!args
) SWIG_fail
;
11740 swig_obj
[0] = args
;
11741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11742 if (!SWIG_IsOK(res1
)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11745 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11765 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
= 0;
11767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11768 wxString
*arg2
= 0 ;
11771 bool temp2
= false ;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 char * kwnames
[] = {
11775 (char *) "self",(char *) "value", NULL
11778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11780 if (!SWIG_IsOK(res1
)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11785 arg2
= wxString_in_helper(obj1
);
11786 if (arg2
== NULL
) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 (arg1
)->SetValue((wxString
const &)*arg2
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= SWIG_Py_Void();
11810 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
= 0;
11812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 PyObject
* obj2
= 0 ;
11825 char * kwnames
[] = {
11826 (char *) "self",(char *) "_from",(char *) "to", NULL
11829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11834 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11835 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11836 if (!SWIG_IsOK(ecode2
)) {
11837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11839 arg2
= static_cast< long >(val2
);
11840 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11841 if (!SWIG_IsOK(ecode3
)) {
11842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11844 arg3
= static_cast< long >(val3
);
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11864 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= 0;
11866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 char * kwnames
[] = {
11876 (char *) "self",(char *) "lineNo", NULL
11879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11881 if (!SWIG_IsOK(res1
)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11884 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11886 if (!SWIG_IsOK(ecode2
)) {
11887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11889 arg2
= static_cast< long >(val2
);
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_From_int(static_cast< int >(result
));
11903 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
= 0;
11905 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 char * kwnames
[] = {
11915 (char *) "self",(char *) "lineNo", NULL
11918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11920 if (!SWIG_IsOK(res1
)) {
11921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11923 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11925 if (!SWIG_IsOK(ecode2
)) {
11926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11928 arg2
= static_cast< long >(val2
);
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11948 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11949 PyObject
*resultobj
= 0;
11950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11954 PyObject
*swig_obj
[1] ;
11956 if (!args
) SWIG_fail
;
11957 swig_obj
[0] = args
;
11958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11962 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_From_int(static_cast< int >(result
));
11976 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 PyObject
*resultobj
= 0;
11978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11982 PyObject
*swig_obj
[1] ;
11984 if (!args
) SWIG_fail
;
11985 swig_obj
[0] = args
;
11986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11987 if (!SWIG_IsOK(res1
)) {
11988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11990 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12006 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12007 PyObject
*resultobj
= 0;
12008 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12012 PyObject
*swig_obj
[1] ;
12014 if (!args
) SWIG_fail
;
12015 swig_obj
[0] = args
;
12016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12020 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12036 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12037 PyObject
*resultobj
= 0;
12038 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12042 PyObject
*swig_obj
[1] ;
12044 if (!args
) SWIG_fail
;
12045 swig_obj
[0] = args
;
12046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12047 if (!SWIG_IsOK(res1
)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12050 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12066 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12067 PyObject
*resultobj
= 0;
12068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12072 PyObject
*swig_obj
[1] ;
12074 if (!args
) SWIG_fail
;
12075 swig_obj
[0] = args
;
12076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12077 if (!SWIG_IsOK(res1
)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12080 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12097 PyObject
*resultobj
= 0;
12098 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12099 long *arg2
= (long *) 0 ;
12100 long *arg3
= (long *) 0 ;
12104 int res2
= SWIG_TMPOBJ
;
12106 int res3
= SWIG_TMPOBJ
;
12107 PyObject
*swig_obj
[1] ;
12111 if (!args
) SWIG_fail
;
12112 swig_obj
[0] = args
;
12113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12117 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_Py_Void();
12125 if (SWIG_IsTmpObj(res2
)) {
12126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12128 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12131 if (SWIG_IsTmpObj(res3
)) {
12132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12134 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12143 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12144 PyObject
*resultobj
= 0;
12145 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12149 PyObject
*swig_obj
[1] ;
12151 if (!args
) SWIG_fail
;
12152 swig_obj
[0] = args
;
12153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12157 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12177 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12178 PyObject
*resultobj
= 0;
12179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12182 PyObject
*swig_obj
[1] ;
12184 if (!args
) SWIG_fail
;
12185 swig_obj
[0] = args
;
12186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12190 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_Py_Void();
12204 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= 0;
12206 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12209 wxString
*arg4
= 0 ;
12216 bool temp4
= false ;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 PyObject
* obj2
= 0 ;
12220 PyObject
* obj3
= 0 ;
12221 char * kwnames
[] = {
12222 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12227 if (!SWIG_IsOK(res1
)) {
12228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12230 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12231 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12232 if (!SWIG_IsOK(ecode2
)) {
12233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12235 arg2
= static_cast< long >(val2
);
12236 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12237 if (!SWIG_IsOK(ecode3
)) {
12238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12240 arg3
= static_cast< long >(val3
);
12242 arg4
= wxString_in_helper(obj3
);
12243 if (arg4
== NULL
) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_Py_Void();
12267 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
= 0;
12269 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 PyObject
* obj2
= 0 ;
12281 char * kwnames
[] = {
12282 (char *) "self",(char *) "_from",(char *) "to", NULL
12285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12287 if (!SWIG_IsOK(res1
)) {
12288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12291 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12292 if (!SWIG_IsOK(ecode2
)) {
12293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12295 arg2
= static_cast< long >(val2
);
12296 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12297 if (!SWIG_IsOK(ecode3
)) {
12298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12300 arg3
= static_cast< long >(val3
);
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 (arg1
)->Remove(arg2
,arg3
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_Py_Void();
12314 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
= 0;
12316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12317 wxString
*arg2
= 0 ;
12321 bool temp2
= false ;
12322 PyObject
* obj0
= 0 ;
12323 PyObject
* obj1
= 0 ;
12324 char * kwnames
[] = {
12325 (char *) "self",(char *) "file", NULL
12328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12333 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12335 arg2
= wxString_in_helper(obj1
);
12336 if (arg2
== NULL
) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12362 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
= 0;
12364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12365 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12366 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12370 bool temp2
= false ;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 char * kwnames
[] = {
12374 (char *) "self",(char *) "file", NULL
12377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12379 if (!SWIG_IsOK(res1
)) {
12380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12382 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12385 arg2
= wxString_in_helper(obj1
);
12386 if (arg2
== NULL
) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12413 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12414 PyObject
*resultobj
= 0;
12415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12418 PyObject
*swig_obj
[1] ;
12420 if (!args
) SWIG_fail
;
12421 swig_obj
[0] = args
;
12422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12423 if (!SWIG_IsOK(res1
)) {
12424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12426 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->MarkDirty();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_Py_Void();
12440 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12441 PyObject
*resultobj
= 0;
12442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12445 PyObject
*swig_obj
[1] ;
12447 if (!args
) SWIG_fail
;
12448 swig_obj
[0] = args
;
12449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12450 if (!SWIG_IsOK(res1
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12453 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->DiscardEdits();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= SWIG_Py_Void();
12467 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
= 0;
12469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12470 unsigned long arg2
;
12473 unsigned long val2
;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 char * kwnames
[] = {
12478 (char *) "self",(char *) "len", NULL
12481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12486 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12487 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12488 if (!SWIG_IsOK(ecode2
)) {
12489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12491 arg2
= static_cast< unsigned long >(val2
);
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 (arg1
)->SetMaxLength(arg2
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_Py_Void();
12505 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
= 0;
12507 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12508 wxString
*arg2
= 0 ;
12511 bool temp2
= false ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "self",(char *) "text", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12525 arg2
= wxString_in_helper(obj1
);
12526 if (arg2
== NULL
) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 (arg1
)->WriteText((wxString
const &)*arg2
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_Py_Void();
12550 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
= 0;
12552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12553 wxString
*arg2
= 0 ;
12556 bool temp2
= false ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char * kwnames
[] = {
12560 (char *) "self",(char *) "text", NULL
12563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12565 if (!SWIG_IsOK(res1
)) {
12566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12568 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12570 arg2
= wxString_in_helper(obj1
);
12571 if (arg2
== NULL
) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->AppendText((wxString
const &)*arg2
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_Py_Void();
12595 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
= 0;
12597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12598 wxKeyEvent
*arg2
= 0 ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char * kwnames
[] = {
12607 (char *) "self",(char *) "event", NULL
12610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12612 if (!SWIG_IsOK(res1
)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12615 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12617 if (!SWIG_IsOK(res2
)) {
12618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12623 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12639 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12644 wxTextAttr
*arg4
= 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 PyObject
* obj2
= 0 ;
12657 PyObject
* obj3
= 0 ;
12658 char * kwnames
[] = {
12659 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12664 if (!SWIG_IsOK(res1
)) {
12665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12667 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12669 if (!SWIG_IsOK(ecode2
)) {
12670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12672 arg2
= static_cast< long >(val2
);
12673 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12674 if (!SWIG_IsOK(ecode3
)) {
12675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12677 arg3
= static_cast< long >(val3
);
12678 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12679 if (!SWIG_IsOK(res4
)) {
12680 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12685 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12701 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
= 0;
12703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12705 wxTextAttr
*arg3
= 0 ;
12713 PyObject
* obj0
= 0 ;
12714 PyObject
* obj1
= 0 ;
12715 PyObject
* obj2
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "position",(char *) "style", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12726 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12727 if (!SWIG_IsOK(ecode2
)) {
12728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12730 arg2
= static_cast< long >(val2
);
12731 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12732 if (!SWIG_IsOK(res3
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12738 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12754 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
= 0;
12756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12757 wxTextAttr
*arg2
= 0 ;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 char * kwnames
[] = {
12766 (char *) "self",(char *) "style", NULL
12769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12771 if (!SWIG_IsOK(res1
)) {
12772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12774 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12776 if (!SWIG_IsOK(res2
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12782 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12798 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12799 PyObject
*resultobj
= 0;
12800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12801 wxTextAttr
*result
= 0 ;
12804 PyObject
*swig_obj
[1] ;
12806 if (!args
) SWIG_fail
;
12807 swig_obj
[0] = args
;
12808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12809 if (!SWIG_IsOK(res1
)) {
12810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12812 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12817 result
= (wxTextAttr
*) &_result_ref
;
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12829 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
= 0;
12831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 PyObject
* obj2
= 0 ;
12844 char * kwnames
[] = {
12845 (char *) "self",(char *) "x",(char *) "y", NULL
12848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12850 if (!SWIG_IsOK(res1
)) {
12851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12853 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12854 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12855 if (!SWIG_IsOK(ecode2
)) {
12856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12858 arg2
= static_cast< long >(val2
);
12859 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12860 if (!SWIG_IsOK(ecode3
)) {
12861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12863 arg3
= static_cast< long >(val3
);
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_From_long(static_cast< long >(result
));
12877 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
= 0;
12879 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12881 long *arg3
= (long *) 0 ;
12882 long *arg4
= (long *) 0 ;
12888 int res3
= SWIG_TMPOBJ
;
12890 int res4
= SWIG_TMPOBJ
;
12891 PyObject
* obj0
= 0 ;
12892 PyObject
* obj1
= 0 ;
12893 char * kwnames
[] = {
12894 (char *) "self",(char *) "pos", NULL
12899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12901 if (!SWIG_IsOK(res1
)) {
12902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12904 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12905 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12906 if (!SWIG_IsOK(ecode2
)) {
12907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12909 arg2
= static_cast< long >(val2
);
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_Py_Void();
12917 if (SWIG_IsTmpObj(res3
)) {
12918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12920 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12923 if (SWIG_IsTmpObj(res4
)) {
12924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12926 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12935 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= 0;
12937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 PyObject
* obj1
= 0 ;
12945 char * kwnames
[] = {
12946 (char *) "self",(char *) "pos", NULL
12949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12951 if (!SWIG_IsOK(res1
)) {
12952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12954 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12955 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12956 if (!SWIG_IsOK(ecode2
)) {
12957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
12959 arg2
= static_cast< long >(val2
);
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 (arg1
)->ShowPosition(arg2
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_Py_Void();
12973 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
= 0;
12975 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12976 wxPoint
*arg2
= 0 ;
12977 long *arg3
= (long *) 0 ;
12978 long *arg4
= (long *) 0 ;
12979 wxTextCtrlHitTestResult result
;
12984 int res3
= SWIG_TMPOBJ
;
12986 int res4
= SWIG_TMPOBJ
;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 char * kwnames
[] = {
12990 (char *) "self",(char *) "pt", NULL
12995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12997 if (!SWIG_IsOK(res1
)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13000 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_From_int(static_cast< int >(result
));
13012 if (SWIG_IsTmpObj(res3
)) {
13013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13015 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13018 if (SWIG_IsTmpObj(res4
)) {
13019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13021 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13030 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
= 0;
13032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13033 wxPoint
*arg2
= 0 ;
13034 long *arg3
= (long *) 0 ;
13035 wxTextCtrlHitTestResult result
;
13040 int res3
= SWIG_TMPOBJ
;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char * kwnames
[] = {
13044 (char *) "self",(char *) "pt", NULL
13048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13050 if (!SWIG_IsOK(res1
)) {
13051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13053 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= SWIG_From_int(static_cast< int >(result
));
13065 if (SWIG_IsTmpObj(res3
)) {
13066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13068 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13077 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13078 PyObject
*resultobj
= 0;
13079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13082 PyObject
*swig_obj
[1] ;
13084 if (!args
) SWIG_fail
;
13085 swig_obj
[0] = args
;
13086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13087 if (!SWIG_IsOK(res1
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13090 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_Py_Void();
13104 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13105 PyObject
*resultobj
= 0;
13106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13109 PyObject
*swig_obj
[1] ;
13111 if (!args
) SWIG_fail
;
13112 swig_obj
[0] = args
;
13113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13114 if (!SWIG_IsOK(res1
)) {
13115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13117 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= SWIG_Py_Void();
13131 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13132 PyObject
*resultobj
= 0;
13133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13136 PyObject
*swig_obj
[1] ;
13138 if (!args
) SWIG_fail
;
13139 swig_obj
[0] = args
;
13140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13144 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_Py_Void();
13158 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13159 PyObject
*resultobj
= 0;
13160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13164 PyObject
*swig_obj
[1] ;
13166 if (!args
) SWIG_fail
;
13167 swig_obj
[0] = args
;
13168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13169 if (!SWIG_IsOK(res1
)) {
13170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13172 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13188 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13189 PyObject
*resultobj
= 0;
13190 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13194 PyObject
*swig_obj
[1] ;
13196 if (!args
) SWIG_fail
;
13197 swig_obj
[0] = args
;
13198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13199 if (!SWIG_IsOK(res1
)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13202 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13218 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13219 PyObject
*resultobj
= 0;
13220 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13224 PyObject
*swig_obj
[1] ;
13226 if (!args
) SWIG_fail
;
13227 swig_obj
[0] = args
;
13228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13229 if (!SWIG_IsOK(res1
)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13232 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13248 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13249 PyObject
*resultobj
= 0;
13250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13253 PyObject
*swig_obj
[1] ;
13255 if (!args
) SWIG_fail
;
13256 swig_obj
[0] = args
;
13257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13258 if (!SWIG_IsOK(res1
)) {
13259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13261 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_Py_Void();
13275 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13276 PyObject
*resultobj
= 0;
13277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13280 PyObject
*swig_obj
[1] ;
13282 if (!args
) SWIG_fail
;
13283 swig_obj
[0] = args
;
13284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13285 if (!SWIG_IsOK(res1
)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13288 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_Py_Void();
13302 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 PyObject
*resultobj
= 0;
13304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13308 PyObject
*swig_obj
[1] ;
13310 if (!args
) SWIG_fail
;
13311 swig_obj
[0] = args
;
13312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13313 if (!SWIG_IsOK(res1
)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13332 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13333 PyObject
*resultobj
= 0;
13334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13338 PyObject
*swig_obj
[1] ;
13340 if (!args
) SWIG_fail
;
13341 swig_obj
[0] = args
;
13342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13343 if (!SWIG_IsOK(res1
)) {
13344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13346 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13362 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
= 0;
13364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13370 PyObject
* obj0
= 0 ;
13371 PyObject
* obj1
= 0 ;
13372 char * kwnames
[] = {
13373 (char *) "self",(char *) "pos", NULL
13376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13381 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13383 if (!SWIG_IsOK(ecode2
)) {
13384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13386 arg2
= static_cast< long >(val2
);
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 (arg1
)->SetInsertionPoint(arg2
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= SWIG_Py_Void();
13400 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13401 PyObject
*resultobj
= 0;
13402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13405 PyObject
*swig_obj
[1] ;
13407 if (!args
) SWIG_fail
;
13408 swig_obj
[0] = args
;
13409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13410 if (!SWIG_IsOK(res1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13413 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 (arg1
)->SetInsertionPointEnd();
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= SWIG_Py_Void();
13427 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13428 PyObject
*resultobj
= 0;
13429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13433 PyObject
*swig_obj
[1] ;
13435 if (!args
) SWIG_fail
;
13436 swig_obj
[0] = args
;
13437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13438 if (!SWIG_IsOK(res1
)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13441 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= SWIG_From_long(static_cast< long >(result
));
13455 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13456 PyObject
*resultobj
= 0;
13457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13461 PyObject
*swig_obj
[1] ;
13463 if (!args
) SWIG_fail
;
13464 swig_obj
[0] = args
;
13465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13466 if (!SWIG_IsOK(res1
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13469 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= SWIG_From_long(static_cast< long >(result
));
13483 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
= 0;
13485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 PyObject
* obj1
= 0 ;
13496 PyObject
* obj2
= 0 ;
13497 char * kwnames
[] = {
13498 (char *) "self",(char *) "_from",(char *) "to", NULL
13501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13503 if (!SWIG_IsOK(res1
)) {
13504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13506 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13507 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13508 if (!SWIG_IsOK(ecode2
)) {
13509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13511 arg2
= static_cast< long >(val2
);
13512 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13513 if (!SWIG_IsOK(ecode3
)) {
13514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13516 arg3
= static_cast< long >(val3
);
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 (arg1
)->SetSelection(arg2
,arg3
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_Py_Void();
13530 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13531 PyObject
*resultobj
= 0;
13532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13535 PyObject
*swig_obj
[1] ;
13537 if (!args
) SWIG_fail
;
13538 swig_obj
[0] = args
;
13539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13540 if (!SWIG_IsOK(res1
)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13543 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 (arg1
)->SelectAll();
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= SWIG_Py_Void();
13557 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
= 0;
13559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 PyObject
* obj1
= 0 ;
13567 char * kwnames
[] = {
13568 (char *) "self",(char *) "editable", NULL
13571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13573 if (!SWIG_IsOK(res1
)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13576 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13577 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13578 if (!SWIG_IsOK(ecode2
)) {
13579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13581 arg2
= static_cast< bool >(val2
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 (arg1
)->SetEditable(arg2
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13598 bool arg2
= (bool) true ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char * kwnames
[] = {
13607 (char *) "self",(char *) "show", NULL
13610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13612 if (!SWIG_IsOK(res1
)) {
13613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13615 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13618 if (!SWIG_IsOK(ecode2
)) {
13619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13621 arg2
= static_cast< bool >(val2
);
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13638 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13639 PyObject
*resultobj
= 0;
13640 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13644 PyObject
*swig_obj
[1] ;
13646 if (!args
) SWIG_fail
;
13647 swig_obj
[0] = args
;
13648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13652 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 result
= (bool)(arg1
)->HideNativeCaret();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13668 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13671 wxString
*arg2
= 0 ;
13674 bool temp2
= false ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char * kwnames
[] = {
13678 (char *) "self",(char *) "text", NULL
13681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13683 if (!SWIG_IsOK(res1
)) {
13684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13686 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13688 arg2
= wxString_in_helper(obj1
);
13689 if (arg2
== NULL
) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= SWIG_Py_Void();
13713 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
= 0;
13715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 PyObject
* obj2
= 0 ;
13728 char * kwnames
[] = {
13729 (char *) "self",(char *) "_from",(char *) "to", NULL
13732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13734 if (!SWIG_IsOK(res1
)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13737 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13738 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13739 if (!SWIG_IsOK(ecode2
)) {
13740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13742 arg2
= static_cast< long >(val2
);
13743 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13744 if (!SWIG_IsOK(ecode3
)) {
13745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13747 arg3
= static_cast< long >(val3
);
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13767 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
= 0;
13769 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13770 SwigValueWrapper
<wxVisualAttributes
> result
;
13773 PyObject
* obj0
= 0 ;
13774 char * kwnames
[] = {
13775 (char *) "variant", NULL
13778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13780 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13781 if (!SWIG_IsOK(ecode1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13784 arg1
= static_cast< wxWindowVariant
>(val1
);
13787 if (!wxPyCheckForApp()) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13800 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13803 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13804 return SWIG_Py_Void();
13807 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13808 return SWIG_Python_InitShadowInstance(args
);
13811 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
= 0;
13814 wxMouseEvent
*arg2
= 0 ;
13817 wxTextUrlEvent
*result
= 0 ;
13826 PyObject
* obj0
= 0 ;
13827 PyObject
* obj1
= 0 ;
13828 PyObject
* obj2
= 0 ;
13829 PyObject
* obj3
= 0 ;
13830 char * kwnames
[] = {
13831 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13835 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13836 if (!SWIG_IsOK(ecode1
)) {
13837 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13839 arg1
= static_cast< int >(val1
);
13840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13841 if (!SWIG_IsOK(res2
)) {
13842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13847 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13848 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13849 if (!SWIG_IsOK(ecode3
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13852 arg3
= static_cast< long >(val3
);
13853 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13854 if (!SWIG_IsOK(ecode4
)) {
13855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13857 arg4
= static_cast< long >(val4
);
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13871 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13872 PyObject
*resultobj
= 0;
13873 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13874 wxMouseEvent
*result
= 0 ;
13877 PyObject
*swig_obj
[1] ;
13879 if (!args
) SWIG_fail
;
13880 swig_obj
[0] = args
;
13881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13885 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13890 result
= (wxMouseEvent
*) &_result_ref
;
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13902 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13903 PyObject
*resultobj
= 0;
13904 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13908 PyObject
*swig_obj
[1] ;
13910 if (!args
) SWIG_fail
;
13911 swig_obj
[0] = args
;
13912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13913 if (!SWIG_IsOK(res1
)) {
13914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13916 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_From_long(static_cast< long >(result
));
13930 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13931 PyObject
*resultobj
= 0;
13932 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13936 PyObject
*swig_obj
[1] ;
13938 if (!args
) SWIG_fail
;
13939 swig_obj
[0] = args
;
13940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13941 if (!SWIG_IsOK(res1
)) {
13942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13944 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_From_long(static_cast< long >(result
));
13958 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13961 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13962 return SWIG_Py_Void();
13965 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13966 return SWIG_Python_InitShadowInstance(args
);
13969 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13970 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13975 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13976 PyObject
*pyobj
= 0;
13980 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13982 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13989 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
= 0;
13991 wxWindow
*arg1
= (wxWindow
*) 0 ;
13992 int arg2
= (int) -1 ;
13993 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13994 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13995 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13996 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13997 long arg5
= (long) wxSB_HORIZONTAL
;
13998 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13999 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14000 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14002 wxScrollBar
*result
= 0 ;
14013 bool temp7
= false ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 PyObject
* obj2
= 0 ;
14017 PyObject
* obj3
= 0 ;
14018 PyObject
* obj4
= 0 ;
14019 PyObject
* obj5
= 0 ;
14020 PyObject
* obj6
= 0 ;
14021 char * kwnames
[] = {
14022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14027 if (!SWIG_IsOK(res1
)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14033 if (!SWIG_IsOK(ecode2
)) {
14034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14036 arg2
= static_cast< int >(val2
);
14041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14047 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14051 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14052 if (!SWIG_IsOK(ecode5
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14055 arg5
= static_cast< long >(val5
);
14058 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14059 if (!SWIG_IsOK(res6
)) {
14060 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14065 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14069 arg7
= wxString_in_helper(obj6
);
14070 if (arg7
== NULL
) SWIG_fail
;
14075 if (!wxPyCheckForApp()) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14096 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14097 PyObject
*resultobj
= 0;
14098 wxScrollBar
*result
= 0 ;
14100 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14102 if (!wxPyCheckForApp()) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (wxScrollBar
*)new wxScrollBar();
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14115 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
= 0;
14117 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14118 wxWindow
*arg2
= (wxWindow
*) 0 ;
14119 int arg3
= (int) -1 ;
14120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14124 long arg6
= (long) wxSB_HORIZONTAL
;
14125 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14126 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14127 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14128 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14142 bool temp8
= false ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 PyObject
* obj2
= 0 ;
14146 PyObject
* obj3
= 0 ;
14147 PyObject
* obj4
= 0 ;
14148 PyObject
* obj5
= 0 ;
14149 PyObject
* obj6
= 0 ;
14150 PyObject
* obj7
= 0 ;
14151 char * kwnames
[] = {
14152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14157 if (!SWIG_IsOK(res1
)) {
14158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14160 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14162 if (!SWIG_IsOK(res2
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14165 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14168 if (!SWIG_IsOK(ecode3
)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14171 arg3
= static_cast< int >(val3
);
14176 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14182 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14186 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14187 if (!SWIG_IsOK(ecode6
)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14190 arg6
= static_cast< long >(val6
);
14193 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14194 if (!SWIG_IsOK(res7
)) {
14195 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14200 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14204 arg8
= wxString_in_helper(obj7
);
14205 if (arg8
== NULL
) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14232 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14233 PyObject
*resultobj
= 0;
14234 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14238 PyObject
*swig_obj
[1] ;
14240 if (!args
) SWIG_fail
;
14241 swig_obj
[0] = args
;
14242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14243 if (!SWIG_IsOK(res1
)) {
14244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14246 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= SWIG_From_int(static_cast< int >(result
));
14260 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14261 PyObject
*resultobj
= 0;
14262 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14266 PyObject
*swig_obj
[1] ;
14268 if (!args
) SWIG_fail
;
14269 swig_obj
[0] = args
;
14270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14271 if (!SWIG_IsOK(res1
)) {
14272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14274 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= SWIG_From_int(static_cast< int >(result
));
14288 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14289 PyObject
*resultobj
= 0;
14290 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14294 PyObject
*swig_obj
[1] ;
14296 if (!args
) SWIG_fail
;
14297 swig_obj
[0] = args
;
14298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14299 if (!SWIG_IsOK(res1
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14302 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= SWIG_From_int(static_cast< int >(result
));
14316 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14317 PyObject
*resultobj
= 0;
14318 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14322 PyObject
*swig_obj
[1] ;
14324 if (!args
) SWIG_fail
;
14325 swig_obj
[0] = args
;
14326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14327 if (!SWIG_IsOK(res1
)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14330 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_From_int(static_cast< int >(result
));
14344 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14345 PyObject
*resultobj
= 0;
14346 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14350 PyObject
*swig_obj
[1] ;
14352 if (!args
) SWIG_fail
;
14353 swig_obj
[0] = args
;
14354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14355 if (!SWIG_IsOK(res1
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14358 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14374 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
= 0;
14376 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char * kwnames
[] = {
14385 (char *) "self",(char *) "viewStart", NULL
14388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14390 if (!SWIG_IsOK(res1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14393 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14395 if (!SWIG_IsOK(ecode2
)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14398 arg2
= static_cast< int >(val2
);
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 (arg1
)->SetThumbPosition(arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_Py_Void();
14412 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
= 0;
14414 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14415 SwigValueWrapper
<wxVisualAttributes
> result
;
14418 PyObject
* obj0
= 0 ;
14419 char * kwnames
[] = {
14420 (char *) "variant", NULL
14423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14426 if (!SWIG_IsOK(ecode1
)) {
14427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14429 arg1
= static_cast< wxWindowVariant
>(val1
);
14432 if (!wxPyCheckForApp()) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14445 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14448 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14449 return SWIG_Py_Void();
14452 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14453 return SWIG_Python_InitShadowInstance(args
);
14456 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14457 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14462 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14463 PyObject
*pyobj
= 0;
14467 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14469 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14476 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14477 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14482 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14483 PyObject
*pyobj
= 0;
14487 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14489 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14496 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
= 0;
14498 wxWindow
*arg1
= (wxWindow
*) 0 ;
14499 int arg2
= (int) -1 ;
14500 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14501 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14502 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14503 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14504 long arg5
= (long) wxSP_HORIZONTAL
;
14505 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14506 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14507 wxSpinButton
*result
= 0 ;
14516 bool temp6
= false ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 PyObject
* obj2
= 0 ;
14520 PyObject
* obj3
= 0 ;
14521 PyObject
* obj4
= 0 ;
14522 PyObject
* obj5
= 0 ;
14523 char * kwnames
[] = {
14524 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14529 if (!SWIG_IsOK(res1
)) {
14530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14535 if (!SWIG_IsOK(ecode2
)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14538 arg2
= static_cast< int >(val2
);
14543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14549 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14553 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14554 if (!SWIG_IsOK(ecode5
)) {
14555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14557 arg5
= static_cast< long >(val5
);
14561 arg6
= wxString_in_helper(obj5
);
14562 if (arg6
== NULL
) SWIG_fail
;
14567 if (!wxPyCheckForApp()) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14588 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14589 PyObject
*resultobj
= 0;
14590 wxSpinButton
*result
= 0 ;
14592 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14594 if (!wxPyCheckForApp()) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (wxSpinButton
*)new wxSpinButton();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14607 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
= 0;
14609 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14610 wxWindow
*arg2
= (wxWindow
*) 0 ;
14611 int arg3
= (int) -1 ;
14612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14616 long arg6
= (long) wxSP_HORIZONTAL
;
14617 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14630 bool temp7
= false ;
14631 PyObject
* obj0
= 0 ;
14632 PyObject
* obj1
= 0 ;
14633 PyObject
* obj2
= 0 ;
14634 PyObject
* obj3
= 0 ;
14635 PyObject
* obj4
= 0 ;
14636 PyObject
* obj5
= 0 ;
14637 PyObject
* obj6
= 0 ;
14638 char * kwnames
[] = {
14639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14644 if (!SWIG_IsOK(res1
)) {
14645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14647 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14649 if (!SWIG_IsOK(res2
)) {
14650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14655 if (!SWIG_IsOK(ecode3
)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14658 arg3
= static_cast< int >(val3
);
14663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14673 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14674 if (!SWIG_IsOK(ecode6
)) {
14675 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14677 arg6
= static_cast< long >(val6
);
14681 arg7
= wxString_in_helper(obj6
);
14682 if (arg7
== NULL
) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14709 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14710 PyObject
*resultobj
= 0;
14711 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14715 PyObject
*swig_obj
[1] ;
14717 if (!args
) SWIG_fail
;
14718 swig_obj
[0] = args
;
14719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14720 if (!SWIG_IsOK(res1
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14723 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_From_int(static_cast< int >(result
));
14737 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 PyObject
*resultobj
= 0;
14739 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14743 PyObject
*swig_obj
[1] ;
14745 if (!args
) SWIG_fail
;
14746 swig_obj
[0] = args
;
14747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14751 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_From_int(static_cast< int >(result
));
14765 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14766 PyObject
*resultobj
= 0;
14767 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14771 PyObject
*swig_obj
[1] ;
14773 if (!args
) SWIG_fail
;
14774 swig_obj
[0] = args
;
14775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14779 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_From_int(static_cast< int >(result
));
14793 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
= 0;
14795 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 PyObject
* obj1
= 0 ;
14803 char * kwnames
[] = {
14804 (char *) "self",(char *) "val", NULL
14807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14809 if (!SWIG_IsOK(res1
)) {
14810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14812 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14814 if (!SWIG_IsOK(ecode2
)) {
14815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14817 arg2
= static_cast< int >(val2
);
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 (arg1
)->SetValue(arg2
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_Py_Void();
14831 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
= 0;
14833 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 PyObject
* obj1
= 0 ;
14841 char * kwnames
[] = {
14842 (char *) "self",(char *) "minVal", NULL
14845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14847 if (!SWIG_IsOK(res1
)) {
14848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14850 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14852 if (!SWIG_IsOK(ecode2
)) {
14853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14855 arg2
= static_cast< int >(val2
);
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->SetMin(arg2
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_Py_Void();
14869 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
= 0;
14871 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 char * kwnames
[] = {
14880 (char *) "self",(char *) "maxVal", NULL
14883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14888 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14890 if (!SWIG_IsOK(ecode2
)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14893 arg2
= static_cast< int >(val2
);
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 (arg1
)->SetMax(arg2
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= SWIG_Py_Void();
14907 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 PyObject
* obj2
= 0 ;
14921 char * kwnames
[] = {
14922 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14927 if (!SWIG_IsOK(res1
)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14930 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14932 if (!SWIG_IsOK(ecode2
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14935 arg2
= static_cast< int >(val2
);
14936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14937 if (!SWIG_IsOK(ecode3
)) {
14938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14940 arg3
= static_cast< int >(val3
);
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 (arg1
)->SetRange(arg2
,arg3
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_Py_Void();
14954 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14955 PyObject
*resultobj
= 0;
14956 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14960 PyObject
*swig_obj
[1] ;
14962 if (!args
) SWIG_fail
;
14963 swig_obj
[0] = args
;
14964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14968 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14984 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
= 0;
14986 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14987 SwigValueWrapper
<wxVisualAttributes
> result
;
14990 PyObject
* obj0
= 0 ;
14991 char * kwnames
[] = {
14992 (char *) "variant", NULL
14995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14998 if (!SWIG_IsOK(ecode1
)) {
14999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15001 arg1
= static_cast< wxWindowVariant
>(val1
);
15004 if (!wxPyCheckForApp()) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15017 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15020 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15021 return SWIG_Py_Void();
15024 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15025 return SWIG_Python_InitShadowInstance(args
);
15028 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
= 0;
15030 wxWindow
*arg1
= (wxWindow
*) 0 ;
15031 int arg2
= (int) -1 ;
15032 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15033 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15038 long arg6
= (long) wxSP_ARROW_KEYS
;
15039 int arg7
= (int) 0 ;
15040 int arg8
= (int) 100 ;
15041 int arg9
= (int) 0 ;
15042 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15043 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15044 wxSpinCtrl
*result
= 0 ;
15049 bool temp3
= false ;
15060 bool temp10
= false ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 PyObject
* obj2
= 0 ;
15064 PyObject
* obj3
= 0 ;
15065 PyObject
* obj4
= 0 ;
15066 PyObject
* obj5
= 0 ;
15067 PyObject
* obj6
= 0 ;
15068 PyObject
* obj7
= 0 ;
15069 PyObject
* obj8
= 0 ;
15070 PyObject
* obj9
= 0 ;
15071 char * kwnames
[] = {
15072 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15077 if (!SWIG_IsOK(res1
)) {
15078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15083 if (!SWIG_IsOK(ecode2
)) {
15084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15086 arg2
= static_cast< int >(val2
);
15090 arg3
= wxString_in_helper(obj2
);
15091 if (arg3
== NULL
) SWIG_fail
;
15098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15104 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15108 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15109 if (!SWIG_IsOK(ecode6
)) {
15110 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15112 arg6
= static_cast< long >(val6
);
15115 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15116 if (!SWIG_IsOK(ecode7
)) {
15117 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15119 arg7
= static_cast< int >(val7
);
15122 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15123 if (!SWIG_IsOK(ecode8
)) {
15124 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15126 arg8
= static_cast< int >(val8
);
15129 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15130 if (!SWIG_IsOK(ecode9
)) {
15131 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15133 arg9
= static_cast< int >(val9
);
15137 arg10
= wxString_in_helper(obj9
);
15138 if (arg10
== NULL
) SWIG_fail
;
15143 if (!wxPyCheckForApp()) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15172 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15173 PyObject
*resultobj
= 0;
15174 wxSpinCtrl
*result
= 0 ;
15176 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15178 if (!wxPyCheckForApp()) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15191 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
= 0;
15193 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15194 wxWindow
*arg2
= (wxWindow
*) 0 ;
15195 int arg3
= (int) -1 ;
15196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15198 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15199 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15200 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15201 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15202 long arg7
= (long) wxSP_ARROW_KEYS
;
15203 int arg8
= (int) 0 ;
15204 int arg9
= (int) 100 ;
15205 int arg10
= (int) 0 ;
15206 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15207 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15215 bool temp4
= false ;
15226 bool temp11
= false ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 PyObject
* obj2
= 0 ;
15230 PyObject
* obj3
= 0 ;
15231 PyObject
* obj4
= 0 ;
15232 PyObject
* obj5
= 0 ;
15233 PyObject
* obj6
= 0 ;
15234 PyObject
* obj7
= 0 ;
15235 PyObject
* obj8
= 0 ;
15236 PyObject
* obj9
= 0 ;
15237 PyObject
* obj10
= 0 ;
15238 char * kwnames
[] = {
15239 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15244 if (!SWIG_IsOK(res1
)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15247 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15249 if (!SWIG_IsOK(res2
)) {
15250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15255 if (!SWIG_IsOK(ecode3
)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15258 arg3
= static_cast< int >(val3
);
15262 arg4
= wxString_in_helper(obj3
);
15263 if (arg4
== NULL
) SWIG_fail
;
15270 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15276 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15280 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15281 if (!SWIG_IsOK(ecode7
)) {
15282 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15284 arg7
= static_cast< long >(val7
);
15287 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15288 if (!SWIG_IsOK(ecode8
)) {
15289 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15291 arg8
= static_cast< int >(val8
);
15294 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15295 if (!SWIG_IsOK(ecode9
)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15298 arg9
= static_cast< int >(val9
);
15301 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15302 if (!SWIG_IsOK(ecode10
)) {
15303 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15305 arg10
= static_cast< int >(val10
);
15309 arg11
= wxString_in_helper(obj10
);
15310 if (arg11
== NULL
) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15345 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15346 PyObject
*resultobj
= 0;
15347 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15351 PyObject
*swig_obj
[1] ;
15353 if (!args
) SWIG_fail
;
15354 swig_obj
[0] = args
;
15355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15356 if (!SWIG_IsOK(res1
)) {
15357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15359 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_From_int(static_cast< int >(result
));
15373 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 char * kwnames
[] = {
15384 (char *) "self",(char *) "value", NULL
15387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15389 if (!SWIG_IsOK(res1
)) {
15390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15392 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15394 if (!SWIG_IsOK(ecode2
)) {
15395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15397 arg2
= static_cast< int >(val2
);
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 (arg1
)->SetValue(arg2
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_Py_Void();
15411 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= 0;
15413 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15414 wxString
*arg2
= 0 ;
15417 bool temp2
= false ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "text", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15429 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15431 arg2
= wxString_in_helper(obj1
);
15432 if (arg2
== NULL
) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->SetValue((wxString
const &)*arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_Py_Void();
15456 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
= 0;
15458 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 PyObject
* obj2
= 0 ;
15470 char * kwnames
[] = {
15471 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15476 if (!SWIG_IsOK(res1
)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15479 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15481 if (!SWIG_IsOK(ecode2
)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15484 arg2
= static_cast< int >(val2
);
15485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15486 if (!SWIG_IsOK(ecode3
)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15489 arg3
= static_cast< int >(val3
);
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 (arg1
)->SetRange(arg2
,arg3
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_Py_Void();
15503 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15504 PyObject
*resultobj
= 0;
15505 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15509 PyObject
*swig_obj
[1] ;
15511 if (!args
) SWIG_fail
;
15512 swig_obj
[0] = args
;
15513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15514 if (!SWIG_IsOK(res1
)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15517 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_From_int(static_cast< int >(result
));
15531 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15532 PyObject
*resultobj
= 0;
15533 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15537 PyObject
*swig_obj
[1] ;
15539 if (!args
) SWIG_fail
;
15540 swig_obj
[0] = args
;
15541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15542 if (!SWIG_IsOK(res1
)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15545 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_From_int(static_cast< int >(result
));
15559 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
= 0;
15561 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 PyObject
* obj2
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "_from",(char *) "to", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15582 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15583 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15584 if (!SWIG_IsOK(ecode2
)) {
15585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15587 arg2
= static_cast< long >(val2
);
15588 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15589 if (!SWIG_IsOK(ecode3
)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15592 arg3
= static_cast< long >(val3
);
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 (arg1
)->SetSelection(arg2
,arg3
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_Py_Void();
15606 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= 0;
15608 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15609 SwigValueWrapper
<wxVisualAttributes
> result
;
15612 PyObject
* obj0
= 0 ;
15613 char * kwnames
[] = {
15614 (char *) "variant", NULL
15617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15619 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15620 if (!SWIG_IsOK(ecode1
)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15623 arg1
= static_cast< wxWindowVariant
>(val1
);
15626 if (!wxPyCheckForApp()) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15639 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15642 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15643 return SWIG_Py_Void();
15646 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15647 return SWIG_Python_InitShadowInstance(args
);
15650 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
= 0;
15652 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15653 int arg2
= (int) 0 ;
15654 wxSpinEvent
*result
= 0 ;
15659 PyObject
* obj0
= 0 ;
15660 PyObject
* obj1
= 0 ;
15661 char * kwnames
[] = {
15662 (char *) "commandType",(char *) "winid", NULL
15665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15667 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15668 if (!SWIG_IsOK(ecode1
)) {
15669 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15671 arg1
= static_cast< wxEventType
>(val1
);
15674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15675 if (!SWIG_IsOK(ecode2
)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15678 arg2
= static_cast< int >(val2
);
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15693 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 PyObject
*resultobj
= 0;
15695 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15699 PyObject
*swig_obj
[1] ;
15701 if (!args
) SWIG_fail
;
15702 swig_obj
[0] = args
;
15703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15704 if (!SWIG_IsOK(res1
)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15707 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_From_int(static_cast< int >(result
));
15721 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
= 0;
15723 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 char * kwnames
[] = {
15732 (char *) "self",(char *) "pos", NULL
15735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15740 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15742 if (!SWIG_IsOK(ecode2
)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15745 arg2
= static_cast< int >(val2
);
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 (arg1
)->SetPosition(arg2
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_Py_Void();
15759 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15762 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15763 return SWIG_Py_Void();
15766 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15767 return SWIG_Python_InitShadowInstance(args
);
15770 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15771 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15776 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15777 PyObject
*pyobj
= 0;
15781 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15783 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15790 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15791 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15796 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15797 PyObject
*pyobj
= 0;
15801 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15803 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15810 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
= 0;
15812 wxWindow
*arg1
= (wxWindow
*) 0 ;
15813 int arg2
= (int) -1 ;
15814 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15815 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15820 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15821 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15822 int arg7
= (int) 0 ;
15823 long arg8
= (long) wxRA_HORIZONTAL
;
15824 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15825 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15826 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15827 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15828 wxRadioBox
*result
= 0 ;
15833 bool temp3
= false ;
15836 bool temp6
= false ;
15843 bool temp10
= false ;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 PyObject
* obj2
= 0 ;
15847 PyObject
* obj3
= 0 ;
15848 PyObject
* obj4
= 0 ;
15849 PyObject
* obj5
= 0 ;
15850 PyObject
* obj6
= 0 ;
15851 PyObject
* obj7
= 0 ;
15852 PyObject
* obj8
= 0 ;
15853 PyObject
* obj9
= 0 ;
15854 char * kwnames
[] = {
15855 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15866 if (!SWIG_IsOK(ecode2
)) {
15867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15869 arg2
= static_cast< int >(val2
);
15873 arg3
= wxString_in_helper(obj2
);
15874 if (arg3
== NULL
) SWIG_fail
;
15881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15892 if (! PySequence_Check(obj5
)) {
15893 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15896 arg6
= new wxArrayString
;
15898 int i
, len
=PySequence_Length(obj5
);
15899 for (i
=0; i
<len
; i
++) {
15900 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15901 wxString
* s
= wxString_in_helper(item
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15910 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15911 if (!SWIG_IsOK(ecode7
)) {
15912 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15914 arg7
= static_cast< int >(val7
);
15917 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15918 if (!SWIG_IsOK(ecode8
)) {
15919 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15921 arg8
= static_cast< long >(val8
);
15924 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15925 if (!SWIG_IsOK(res9
)) {
15926 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15931 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15935 arg10
= wxString_in_helper(obj9
);
15936 if (arg10
== NULL
) SWIG_fail
;
15941 if (!wxPyCheckForApp()) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 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
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15953 if (temp6
) delete arg6
;
15966 if (temp6
) delete arg6
;
15976 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15977 PyObject
*resultobj
= 0;
15978 wxRadioBox
*result
= 0 ;
15980 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15982 if (!wxPyCheckForApp()) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (wxRadioBox
*)new wxRadioBox();
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15995 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
= 0;
15997 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15998 wxWindow
*arg2
= (wxWindow
*) 0 ;
15999 int arg3
= (int) -1 ;
16000 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16001 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16002 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16003 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16004 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16005 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16006 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16007 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16008 int arg8
= (int) 0 ;
16009 long arg9
= (long) wxRA_HORIZONTAL
;
16010 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16011 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16012 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16013 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16021 bool temp4
= false ;
16024 bool temp7
= false ;
16031 bool temp11
= false ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 PyObject
* obj2
= 0 ;
16035 PyObject
* obj3
= 0 ;
16036 PyObject
* obj4
= 0 ;
16037 PyObject
* obj5
= 0 ;
16038 PyObject
* obj6
= 0 ;
16039 PyObject
* obj7
= 0 ;
16040 PyObject
* obj8
= 0 ;
16041 PyObject
* obj9
= 0 ;
16042 PyObject
* obj10
= 0 ;
16043 char * kwnames
[] = {
16044 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16049 if (!SWIG_IsOK(res1
)) {
16050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16052 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16053 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16054 if (!SWIG_IsOK(res2
)) {
16055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16057 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16060 if (!SWIG_IsOK(ecode3
)) {
16061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16063 arg3
= static_cast< int >(val3
);
16067 arg4
= wxString_in_helper(obj3
);
16068 if (arg4
== NULL
) SWIG_fail
;
16075 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16081 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16086 if (! PySequence_Check(obj6
)) {
16087 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16090 arg7
= new wxArrayString
;
16092 int i
, len
=PySequence_Length(obj6
);
16093 for (i
=0; i
<len
; i
++) {
16094 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16095 wxString
* s
= wxString_in_helper(item
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16104 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16105 if (!SWIG_IsOK(ecode8
)) {
16106 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16108 arg8
= static_cast< int >(val8
);
16111 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16112 if (!SWIG_IsOK(ecode9
)) {
16113 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16115 arg9
= static_cast< long >(val9
);
16118 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16119 if (!SWIG_IsOK(res10
)) {
16120 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16125 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16129 arg11
= wxString_in_helper(obj10
);
16130 if (arg11
== NULL
) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 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
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 if (temp7
) delete arg7
;
16161 if (temp7
) delete arg7
;
16171 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
= 0;
16173 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char * kwnames
[] = {
16182 (char *) "self",(char *) "n", NULL
16185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16187 if (!SWIG_IsOK(res1
)) {
16188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16190 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16192 if (!SWIG_IsOK(ecode2
)) {
16193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16195 arg2
= static_cast< int >(val2
);
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 (arg1
)->SetSelection(arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= SWIG_Py_Void();
16209 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16210 PyObject
*resultobj
= 0;
16211 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16215 PyObject
*swig_obj
[1] ;
16217 if (!args
) SWIG_fail
;
16218 swig_obj
[0] = args
;
16219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16220 if (!SWIG_IsOK(res1
)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16223 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= SWIG_From_int(static_cast< int >(result
));
16237 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16238 PyObject
*resultobj
= 0;
16239 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16243 PyObject
*swig_obj
[1] ;
16245 if (!args
) SWIG_fail
;
16246 swig_obj
[0] = args
;
16247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16248 if (!SWIG_IsOK(res1
)) {
16249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16251 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16271 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
= 0;
16273 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16274 wxString
*arg2
= 0 ;
16278 bool temp2
= false ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char * kwnames
[] = {
16282 (char *) "self",(char *) "s", NULL
16285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16287 if (!SWIG_IsOK(res1
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16290 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16292 arg2
= wxString_in_helper(obj1
);
16293 if (arg2
== NULL
) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16319 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16320 PyObject
*resultobj
= 0;
16321 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16325 PyObject
*swig_obj
[1] ;
16327 if (!args
) SWIG_fail
;
16328 swig_obj
[0] = args
;
16329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16330 if (!SWIG_IsOK(res1
)) {
16331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16333 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16347 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
= 0;
16349 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16350 wxString
*arg2
= 0 ;
16354 bool temp2
= false ;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 char * kwnames
[] = {
16358 (char *) "self",(char *) "s", NULL
16361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16363 if (!SWIG_IsOK(res1
)) {
16364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16366 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16368 arg2
= wxString_in_helper(obj1
);
16369 if (arg2
== NULL
) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= SWIG_From_int(static_cast< int >(result
));
16393 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
= 0;
16395 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16402 PyObject
* obj0
= 0 ;
16403 PyObject
* obj1
= 0 ;
16404 char * kwnames
[] = {
16405 (char *) "self",(char *) "n", NULL
16408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16410 if (!SWIG_IsOK(res1
)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16413 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16415 if (!SWIG_IsOK(ecode2
)) {
16416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16418 arg2
= static_cast< int >(val2
);
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16438 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
= 0;
16440 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16442 wxString
*arg3
= 0 ;
16447 bool temp3
= false ;
16448 PyObject
* obj0
= 0 ;
16449 PyObject
* obj1
= 0 ;
16450 PyObject
* obj2
= 0 ;
16451 char * kwnames
[] = {
16452 (char *) "self",(char *) "n",(char *) "label", NULL
16455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16457 if (!SWIG_IsOK(res1
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16460 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16462 if (!SWIG_IsOK(ecode2
)) {
16463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16465 arg2
= static_cast< int >(val2
);
16467 arg3
= wxString_in_helper(obj2
);
16468 if (arg3
== NULL
) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_Py_Void();
16492 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
= 0;
16494 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16496 bool arg3
= (bool) true ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 PyObject
* obj2
= 0 ;
16506 char * kwnames
[] = {
16507 (char *) "self",(char *) "n",(char *) "enable", NULL
16510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16512 if (!SWIG_IsOK(res1
)) {
16513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16515 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16517 if (!SWIG_IsOK(ecode2
)) {
16518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "int""'");
16520 arg2
= static_cast< int >(val2
);
16522 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16523 if (!SWIG_IsOK(ecode3
)) {
16524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16526 arg3
= static_cast< bool >(val3
);
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 (arg1
)->Enable(arg2
,arg3
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= SWIG_Py_Void();
16541 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
= 0;
16543 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16545 bool arg3
= (bool) true ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 PyObject
* obj2
= 0 ;
16555 char * kwnames
[] = {
16556 (char *) "self",(char *) "n",(char *) "show", NULL
16559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16564 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16566 if (!SWIG_IsOK(ecode2
)) {
16567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "int""'");
16569 arg2
= static_cast< int >(val2
);
16571 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16572 if (!SWIG_IsOK(ecode3
)) {
16573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16575 arg3
= static_cast< bool >(val3
);
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 (arg1
)->Show(arg2
,arg3
);
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= SWIG_Py_Void();
16590 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16591 PyObject
*resultobj
= 0;
16592 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16596 PyObject
*swig_obj
[1] ;
16598 if (!args
) SWIG_fail
;
16599 swig_obj
[0] = args
;
16600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16601 if (!SWIG_IsOK(res1
)) {
16602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16604 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= SWIG_From_int(static_cast< int >(result
));
16618 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16619 PyObject
*resultobj
= 0;
16620 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16624 PyObject
*swig_obj
[1] ;
16626 if (!args
) SWIG_fail
;
16627 swig_obj
[0] = args
;
16628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16629 if (!SWIG_IsOK(res1
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16632 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= SWIG_From_int(static_cast< int >(result
));
16646 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
= 0;
16648 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 PyObject
* obj1
= 0 ;
16663 PyObject
* obj2
= 0 ;
16664 PyObject
* obj3
= 0 ;
16665 char * kwnames
[] = {
16666 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16671 if (!SWIG_IsOK(res1
)) {
16672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16674 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16676 if (!SWIG_IsOK(ecode2
)) {
16677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16679 arg2
= static_cast< int >(val2
);
16680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16681 if (!SWIG_IsOK(ecode3
)) {
16682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16684 arg3
= static_cast< wxDirection
>(val3
);
16685 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16686 if (!SWIG_IsOK(ecode4
)) {
16687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16689 arg4
= static_cast< long >(val4
);
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= SWIG_From_int(static_cast< int >(result
));
16703 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
= 0;
16705 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16706 SwigValueWrapper
<wxVisualAttributes
> result
;
16709 PyObject
* obj0
= 0 ;
16710 char * kwnames
[] = {
16711 (char *) "variant", NULL
16714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16717 if (!SWIG_IsOK(ecode1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16720 arg1
= static_cast< wxWindowVariant
>(val1
);
16723 if (!wxPyCheckForApp()) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16736 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16739 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16740 return SWIG_Py_Void();
16743 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16744 return SWIG_Python_InitShadowInstance(args
);
16747 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
= 0;
16749 wxWindow
*arg1
= (wxWindow
*) 0 ;
16750 int arg2
= (int) -1 ;
16751 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16752 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16757 long arg6
= (long) 0 ;
16758 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16759 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16760 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16761 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16762 wxRadioButton
*result
= 0 ;
16767 bool temp3
= false ;
16774 bool temp8
= false ;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 PyObject
* obj2
= 0 ;
16778 PyObject
* obj3
= 0 ;
16779 PyObject
* obj4
= 0 ;
16780 PyObject
* obj5
= 0 ;
16781 PyObject
* obj6
= 0 ;
16782 PyObject
* obj7
= 0 ;
16783 char * kwnames
[] = {
16784 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16789 if (!SWIG_IsOK(res1
)) {
16790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16792 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16795 if (!SWIG_IsOK(ecode2
)) {
16796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16798 arg2
= static_cast< int >(val2
);
16802 arg3
= wxString_in_helper(obj2
);
16803 if (arg3
== NULL
) SWIG_fail
;
16810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16820 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16821 if (!SWIG_IsOK(ecode6
)) {
16822 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16824 arg6
= static_cast< long >(val6
);
16827 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16828 if (!SWIG_IsOK(res7
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16834 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16838 arg8
= wxString_in_helper(obj7
);
16839 if (arg8
== NULL
) SWIG_fail
;
16844 if (!wxPyCheckForApp()) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
16873 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16874 PyObject
*resultobj
= 0;
16875 wxRadioButton
*result
= 0 ;
16877 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
16879 if (!wxPyCheckForApp()) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (wxRadioButton
*)new wxRadioButton();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
16892 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
= 0;
16894 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16895 wxWindow
*arg2
= (wxWindow
*) 0 ;
16896 int arg3
= (int) -1 ;
16897 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16898 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16899 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16900 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16901 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16902 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16903 long arg7
= (long) 0 ;
16904 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16905 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16906 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
16907 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16915 bool temp4
= false ;
16922 bool temp9
= false ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 PyObject
* obj2
= 0 ;
16926 PyObject
* obj3
= 0 ;
16927 PyObject
* obj4
= 0 ;
16928 PyObject
* obj5
= 0 ;
16929 PyObject
* obj6
= 0 ;
16930 PyObject
* obj7
= 0 ;
16931 PyObject
* obj8
= 0 ;
16932 char * kwnames
[] = {
16933 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
16938 if (!SWIG_IsOK(res1
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
16941 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
16942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16943 if (!SWIG_IsOK(res2
)) {
16944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16949 if (!SWIG_IsOK(ecode3
)) {
16950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
16952 arg3
= static_cast< int >(val3
);
16956 arg4
= wxString_in_helper(obj3
);
16957 if (arg4
== NULL
) SWIG_fail
;
16964 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16970 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16974 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16975 if (!SWIG_IsOK(ecode7
)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
16978 arg7
= static_cast< long >(val7
);
16981 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16982 if (!SWIG_IsOK(res8
)) {
16983 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16988 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16992 arg9
= wxString_in_helper(obj8
);
16993 if (arg9
== NULL
) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17028 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17029 PyObject
*resultobj
= 0;
17030 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17034 PyObject
*swig_obj
[1] ;
17036 if (!args
) SWIG_fail
;
17037 swig_obj
[0] = args
;
17038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17039 if (!SWIG_IsOK(res1
)) {
17040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17042 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (bool)(arg1
)->GetValue();
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17058 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
= 0;
17060 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 char * kwnames
[] = {
17069 (char *) "self",(char *) "value", NULL
17072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17074 if (!SWIG_IsOK(res1
)) {
17075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17077 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17078 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17079 if (!SWIG_IsOK(ecode2
)) {
17080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17082 arg2
= static_cast< bool >(val2
);
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 (arg1
)->SetValue(arg2
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= SWIG_Py_Void();
17096 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
= 0;
17098 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17099 SwigValueWrapper
<wxVisualAttributes
> result
;
17102 PyObject
* obj0
= 0 ;
17103 char * kwnames
[] = {
17104 (char *) "variant", NULL
17107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17109 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17110 if (!SWIG_IsOK(ecode1
)) {
17111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17113 arg1
= static_cast< wxWindowVariant
>(val1
);
17116 if (!wxPyCheckForApp()) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17129 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17132 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17133 return SWIG_Py_Void();
17136 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17137 return SWIG_Python_InitShadowInstance(args
);
17140 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17141 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17146 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17147 PyObject
*pyobj
= 0;
17151 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17153 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17160 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
= 0;
17162 wxWindow
*arg1
= (wxWindow
*) 0 ;
17163 int arg2
= (int) -1 ;
17164 int arg3
= (int) 0 ;
17165 int arg4
= (int) 0 ;
17166 int arg5
= (int) 100 ;
17167 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17168 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17169 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17170 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17171 long arg8
= (long) wxSL_HORIZONTAL
;
17172 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17173 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17174 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17175 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17176 wxSlider
*result
= 0 ;
17193 bool temp10
= false ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 PyObject
* obj2
= 0 ;
17197 PyObject
* obj3
= 0 ;
17198 PyObject
* obj4
= 0 ;
17199 PyObject
* obj5
= 0 ;
17200 PyObject
* obj6
= 0 ;
17201 PyObject
* obj7
= 0 ;
17202 PyObject
* obj8
= 0 ;
17203 PyObject
* obj9
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17210 if (!SWIG_IsOK(res1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17216 if (!SWIG_IsOK(ecode2
)) {
17217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17219 arg2
= static_cast< int >(val2
);
17222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17223 if (!SWIG_IsOK(ecode3
)) {
17224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17226 arg3
= static_cast< int >(val3
);
17229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17230 if (!SWIG_IsOK(ecode4
)) {
17231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17233 arg4
= static_cast< int >(val4
);
17236 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17237 if (!SWIG_IsOK(ecode5
)) {
17238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17240 arg5
= static_cast< int >(val5
);
17245 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17251 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17255 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17256 if (!SWIG_IsOK(ecode8
)) {
17257 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17259 arg8
= static_cast< long >(val8
);
17262 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17263 if (!SWIG_IsOK(res9
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17269 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17273 arg10
= wxString_in_helper(obj9
);
17274 if (arg10
== NULL
) SWIG_fail
;
17279 if (!wxPyCheckForApp()) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17300 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17301 PyObject
*resultobj
= 0;
17302 wxSlider
*result
= 0 ;
17304 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17306 if (!wxPyCheckForApp()) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (wxSlider
*)new wxSlider();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17319 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
= 0;
17321 wxSlider
*arg1
= (wxSlider
*) 0 ;
17322 wxWindow
*arg2
= (wxWindow
*) 0 ;
17323 int arg3
= (int) -1 ;
17324 int arg4
= (int) 0 ;
17325 int arg5
= (int) 0 ;
17326 int arg6
= (int) 100 ;
17327 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17328 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17329 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17330 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17331 long arg9
= (long) wxSL_HORIZONTAL
;
17332 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17333 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17334 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17335 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17355 bool temp11
= false ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 PyObject
* obj2
= 0 ;
17359 PyObject
* obj3
= 0 ;
17360 PyObject
* obj4
= 0 ;
17361 PyObject
* obj5
= 0 ;
17362 PyObject
* obj6
= 0 ;
17363 PyObject
* obj7
= 0 ;
17364 PyObject
* obj8
= 0 ;
17365 PyObject
* obj9
= 0 ;
17366 PyObject
* obj10
= 0 ;
17367 char * kwnames
[] = {
17368 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17373 if (!SWIG_IsOK(res1
)) {
17374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17376 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17378 if (!SWIG_IsOK(res2
)) {
17379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17384 if (!SWIG_IsOK(ecode3
)) {
17385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17387 arg3
= static_cast< int >(val3
);
17390 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17391 if (!SWIG_IsOK(ecode4
)) {
17392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17394 arg4
= static_cast< int >(val4
);
17397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17398 if (!SWIG_IsOK(ecode5
)) {
17399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17401 arg5
= static_cast< int >(val5
);
17404 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17405 if (!SWIG_IsOK(ecode6
)) {
17406 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17408 arg6
= static_cast< int >(val6
);
17413 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17419 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17423 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17424 if (!SWIG_IsOK(ecode9
)) {
17425 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17427 arg9
= static_cast< long >(val9
);
17430 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17431 if (!SWIG_IsOK(res10
)) {
17432 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17437 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17441 arg11
= wxString_in_helper(obj10
);
17442 if (arg11
== NULL
) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17469 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17470 PyObject
*resultobj
= 0;
17471 wxSlider
*arg1
= (wxSlider
*) 0 ;
17475 PyObject
*swig_obj
[1] ;
17477 if (!args
) SWIG_fail
;
17478 swig_obj
[0] = args
;
17479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17480 if (!SWIG_IsOK(res1
)) {
17481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17483 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_From_int(static_cast< int >(result
));
17497 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
= 0;
17499 wxSlider
*arg1
= (wxSlider
*) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 PyObject
* obj1
= 0 ;
17507 char * kwnames
[] = {
17508 (char *) "self",(char *) "value", NULL
17511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17513 if (!SWIG_IsOK(res1
)) {
17514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17516 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17518 if (!SWIG_IsOK(ecode2
)) {
17519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17521 arg2
= static_cast< int >(val2
);
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 (arg1
)->SetValue(arg2
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= SWIG_Py_Void();
17535 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
= 0;
17537 wxSlider
*arg1
= (wxSlider
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 PyObject
* obj2
= 0 ;
17549 char * kwnames
[] = {
17550 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17555 if (!SWIG_IsOK(res1
)) {
17556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17558 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17560 if (!SWIG_IsOK(ecode2
)) {
17561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17563 arg2
= static_cast< int >(val2
);
17564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17565 if (!SWIG_IsOK(ecode3
)) {
17566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17568 arg3
= static_cast< int >(val3
);
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 (arg1
)->SetRange(arg2
,arg3
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= SWIG_Py_Void();
17582 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17583 PyObject
*resultobj
= 0;
17584 wxSlider
*arg1
= (wxSlider
*) 0 ;
17588 PyObject
*swig_obj
[1] ;
17590 if (!args
) SWIG_fail
;
17591 swig_obj
[0] = args
;
17592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17593 if (!SWIG_IsOK(res1
)) {
17594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17596 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_From_int(static_cast< int >(result
));
17610 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17611 PyObject
*resultobj
= 0;
17612 wxSlider
*arg1
= (wxSlider
*) 0 ;
17616 PyObject
*swig_obj
[1] ;
17618 if (!args
) SWIG_fail
;
17619 swig_obj
[0] = args
;
17620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17621 if (!SWIG_IsOK(res1
)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17624 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_From_int(static_cast< int >(result
));
17638 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
= 0;
17640 wxSlider
*arg1
= (wxSlider
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char * kwnames
[] = {
17649 (char *) "self",(char *) "minValue", NULL
17652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17654 if (!SWIG_IsOK(res1
)) {
17655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17657 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17659 if (!SWIG_IsOK(ecode2
)) {
17660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17662 arg2
= static_cast< int >(val2
);
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 (arg1
)->SetMin(arg2
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= SWIG_Py_Void();
17676 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
= 0;
17678 wxSlider
*arg1
= (wxSlider
*) 0 ;
17684 PyObject
* obj0
= 0 ;
17685 PyObject
* obj1
= 0 ;
17686 char * kwnames
[] = {
17687 (char *) "self",(char *) "maxValue", NULL
17690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17692 if (!SWIG_IsOK(res1
)) {
17693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17695 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17697 if (!SWIG_IsOK(ecode2
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17700 arg2
= static_cast< int >(val2
);
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 (arg1
)->SetMax(arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_Py_Void();
17714 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
= 0;
17716 wxSlider
*arg1
= (wxSlider
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 char * kwnames
[] = {
17725 (char *) "self",(char *) "lineSize", NULL
17728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17733 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17735 if (!SWIG_IsOK(ecode2
)) {
17736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17738 arg2
= static_cast< int >(val2
);
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 (arg1
)->SetLineSize(arg2
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= SWIG_Py_Void();
17752 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
= 0;
17754 wxSlider
*arg1
= (wxSlider
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char * kwnames
[] = {
17763 (char *) "self",(char *) "pageSize", NULL
17766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17768 if (!SWIG_IsOK(res1
)) {
17769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17771 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17773 if (!SWIG_IsOK(ecode2
)) {
17774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17776 arg2
= static_cast< int >(val2
);
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetPageSize(arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_Py_Void();
17790 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17791 PyObject
*resultobj
= 0;
17792 wxSlider
*arg1
= (wxSlider
*) 0 ;
17796 PyObject
*swig_obj
[1] ;
17798 if (!args
) SWIG_fail
;
17799 swig_obj
[0] = args
;
17800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17804 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_From_int(static_cast< int >(result
));
17818 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17819 PyObject
*resultobj
= 0;
17820 wxSlider
*arg1
= (wxSlider
*) 0 ;
17824 PyObject
*swig_obj
[1] ;
17826 if (!args
) SWIG_fail
;
17827 swig_obj
[0] = args
;
17828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17829 if (!SWIG_IsOK(res1
)) {
17830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17832 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_From_int(static_cast< int >(result
));
17846 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
= 0;
17848 wxSlider
*arg1
= (wxSlider
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 PyObject
* obj1
= 0 ;
17856 char * kwnames
[] = {
17857 (char *) "self",(char *) "lenPixels", NULL
17860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17862 if (!SWIG_IsOK(res1
)) {
17863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
17865 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17867 if (!SWIG_IsOK(ecode2
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
17870 arg2
= static_cast< int >(val2
);
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 (arg1
)->SetThumbLength(arg2
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= SWIG_Py_Void();
17884 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17885 PyObject
*resultobj
= 0;
17886 wxSlider
*arg1
= (wxSlider
*) 0 ;
17890 PyObject
*swig_obj
[1] ;
17892 if (!args
) SWIG_fail
;
17893 swig_obj
[0] = args
;
17894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17895 if (!SWIG_IsOK(res1
)) {
17896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
17898 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_From_int(static_cast< int >(result
));
17912 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
= 0;
17914 wxSlider
*arg1
= (wxSlider
*) 0 ;
17916 int arg3
= (int) 1 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 PyObject
* obj2
= 0 ;
17926 char * kwnames
[] = {
17927 (char *) "self",(char *) "n",(char *) "pos", NULL
17930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17932 if (!SWIG_IsOK(res1
)) {
17933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
17935 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17937 if (!SWIG_IsOK(ecode2
)) {
17938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
17940 arg2
= static_cast< int >(val2
);
17942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17943 if (!SWIG_IsOK(ecode3
)) {
17944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
17946 arg3
= static_cast< int >(val3
);
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 (arg1
)->SetTickFreq(arg2
,arg3
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= SWIG_Py_Void();
17961 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17962 PyObject
*resultobj
= 0;
17963 wxSlider
*arg1
= (wxSlider
*) 0 ;
17967 PyObject
*swig_obj
[1] ;
17969 if (!args
) SWIG_fail
;
17970 swig_obj
[0] = args
;
17971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17972 if (!SWIG_IsOK(res1
)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
17975 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_From_int(static_cast< int >(result
));
17989 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17990 PyObject
*resultobj
= 0;
17991 wxSlider
*arg1
= (wxSlider
*) 0 ;
17994 PyObject
*swig_obj
[1] ;
17996 if (!args
) SWIG_fail
;
17997 swig_obj
[0] = args
;
17998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17999 if (!SWIG_IsOK(res1
)) {
18000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18002 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 (arg1
)->ClearTicks();
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= SWIG_Py_Void();
18016 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= 0;
18018 wxSlider
*arg1
= (wxSlider
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 PyObject
* obj1
= 0 ;
18026 char * kwnames
[] = {
18027 (char *) "self",(char *) "tickPos", NULL
18030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18032 if (!SWIG_IsOK(res1
)) {
18033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18035 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18037 if (!SWIG_IsOK(ecode2
)) {
18038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18040 arg2
= static_cast< int >(val2
);
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 (arg1
)->SetTick(arg2
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_Py_Void();
18054 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18055 PyObject
*resultobj
= 0;
18056 wxSlider
*arg1
= (wxSlider
*) 0 ;
18059 PyObject
*swig_obj
[1] ;
18061 if (!args
) SWIG_fail
;
18062 swig_obj
[0] = args
;
18063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18067 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->ClearSel();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_Py_Void();
18081 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18082 PyObject
*resultobj
= 0;
18083 wxSlider
*arg1
= (wxSlider
*) 0 ;
18087 PyObject
*swig_obj
[1] ;
18089 if (!args
) SWIG_fail
;
18090 swig_obj
[0] = args
;
18091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18092 if (!SWIG_IsOK(res1
)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18095 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_From_int(static_cast< int >(result
));
18109 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18110 PyObject
*resultobj
= 0;
18111 wxSlider
*arg1
= (wxSlider
*) 0 ;
18115 PyObject
*swig_obj
[1] ;
18117 if (!args
) SWIG_fail
;
18118 swig_obj
[0] = args
;
18119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18120 if (!SWIG_IsOK(res1
)) {
18121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18123 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_From_int(static_cast< int >(result
));
18137 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
= 0;
18139 wxSlider
*arg1
= (wxSlider
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 PyObject
* obj2
= 0 ;
18151 char * kwnames
[] = {
18152 (char *) "self",(char *) "min",(char *) "max", NULL
18155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18157 if (!SWIG_IsOK(res1
)) {
18158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18160 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18162 if (!SWIG_IsOK(ecode2
)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18165 arg2
= static_cast< int >(val2
);
18166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18167 if (!SWIG_IsOK(ecode3
)) {
18168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18170 arg3
= static_cast< int >(val3
);
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->SetSelection(arg2
,arg3
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_Py_Void();
18184 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
= 0;
18186 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18187 SwigValueWrapper
<wxVisualAttributes
> result
;
18190 PyObject
* obj0
= 0 ;
18191 char * kwnames
[] = {
18192 (char *) "variant", NULL
18195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18197 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18198 if (!SWIG_IsOK(ecode1
)) {
18199 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18201 arg1
= static_cast< wxWindowVariant
>(val1
);
18204 if (!wxPyCheckForApp()) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18217 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18220 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18221 return SWIG_Py_Void();
18224 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18225 return SWIG_Python_InitShadowInstance(args
);
18228 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18229 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18234 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18235 PyObject
*pyobj
= 0;
18239 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18241 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18248 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
= 0;
18250 wxWindow
*arg1
= (wxWindow
*) 0 ;
18251 int arg2
= (int) -1 ;
18252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18258 long arg6
= (long) 0 ;
18259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18261 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18263 wxToggleButton
*result
= 0 ;
18268 bool temp3
= false ;
18275 bool temp8
= false ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 PyObject
* obj2
= 0 ;
18279 PyObject
* obj3
= 0 ;
18280 PyObject
* obj4
= 0 ;
18281 PyObject
* obj5
= 0 ;
18282 PyObject
* obj6
= 0 ;
18283 PyObject
* obj7
= 0 ;
18284 char * kwnames
[] = {
18285 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18290 if (!SWIG_IsOK(res1
)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18296 if (!SWIG_IsOK(ecode2
)) {
18297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18299 arg2
= static_cast< int >(val2
);
18303 arg3
= wxString_in_helper(obj2
);
18304 if (arg3
== NULL
) SWIG_fail
;
18311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18321 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18322 if (!SWIG_IsOK(ecode6
)) {
18323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18325 arg6
= static_cast< long >(val6
);
18328 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18329 if (!SWIG_IsOK(res7
)) {
18330 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18335 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18339 arg8
= wxString_in_helper(obj7
);
18340 if (arg8
== NULL
) SWIG_fail
;
18345 if (!wxPyCheckForApp()) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18374 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18375 PyObject
*resultobj
= 0;
18376 wxToggleButton
*result
= 0 ;
18378 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18380 if (!wxPyCheckForApp()) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (wxToggleButton
*)new wxToggleButton();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18393 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
= 0;
18395 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18396 wxWindow
*arg2
= (wxWindow
*) 0 ;
18397 int arg3
= (int) -1 ;
18398 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18399 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18400 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18401 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18402 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18403 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18404 long arg7
= (long) 0 ;
18405 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18406 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18407 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18408 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18416 bool temp4
= false ;
18423 bool temp9
= false ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 PyObject
* obj2
= 0 ;
18427 PyObject
* obj3
= 0 ;
18428 PyObject
* obj4
= 0 ;
18429 PyObject
* obj5
= 0 ;
18430 PyObject
* obj6
= 0 ;
18431 PyObject
* obj7
= 0 ;
18432 PyObject
* obj8
= 0 ;
18433 char * kwnames
[] = {
18434 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18442 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18444 if (!SWIG_IsOK(res2
)) {
18445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18450 if (!SWIG_IsOK(ecode3
)) {
18451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18453 arg3
= static_cast< int >(val3
);
18457 arg4
= wxString_in_helper(obj3
);
18458 if (arg4
== NULL
) SWIG_fail
;
18465 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18471 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18475 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18476 if (!SWIG_IsOK(ecode7
)) {
18477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18479 arg7
= static_cast< long >(val7
);
18482 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18483 if (!SWIG_IsOK(res8
)) {
18484 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18489 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18493 arg9
= wxString_in_helper(obj8
);
18494 if (arg9
== NULL
) SWIG_fail
;
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18529 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= 0;
18531 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 char * kwnames
[] = {
18540 (char *) "self",(char *) "value", NULL
18543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18545 if (!SWIG_IsOK(res1
)) {
18546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18548 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18549 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18550 if (!SWIG_IsOK(ecode2
)) {
18551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18553 arg2
= static_cast< bool >(val2
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 (arg1
)->SetValue(arg2
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_Py_Void();
18567 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18568 PyObject
*resultobj
= 0;
18569 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18573 PyObject
*swig_obj
[1] ;
18575 if (!args
) SWIG_fail
;
18576 swig_obj
[0] = args
;
18577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18578 if (!SWIG_IsOK(res1
)) {
18579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18581 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18597 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
= 0;
18599 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18600 SwigValueWrapper
<wxVisualAttributes
> result
;
18603 PyObject
* obj0
= 0 ;
18604 char * kwnames
[] = {
18605 (char *) "variant", NULL
18608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18610 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18611 if (!SWIG_IsOK(ecode1
)) {
18612 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18614 arg1
= static_cast< wxWindowVariant
>(val1
);
18617 if (!wxPyCheckForApp()) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18630 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18633 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18634 return SWIG_Py_Void();
18637 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18638 return SWIG_Python_InitShadowInstance(args
);
18641 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18642 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18647 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18648 PyObject
*pyobj
= 0;
18652 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18654 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18661 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18662 PyObject
*resultobj
= 0;
18663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18667 PyObject
*swig_obj
[1] ;
18669 if (!args
) SWIG_fail
;
18670 swig_obj
[0] = args
;
18671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18672 if (!SWIG_IsOK(res1
)) {
18673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18675 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18689 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18693 wxWindow
*result
= 0 ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 char * kwnames
[] = {
18701 (char *) "self",(char *) "n", NULL
18704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18706 if (!SWIG_IsOK(res1
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18709 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18710 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18711 if (!SWIG_IsOK(ecode2
)) {
18712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18714 arg2
= static_cast< size_t >(val2
);
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 resultobj
= wxPyMake_wxObject(result
, 0);
18730 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18731 PyObject
*resultobj
= 0;
18732 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18733 wxWindow
*result
= 0 ;
18736 PyObject
*swig_obj
[1] ;
18738 if (!args
) SWIG_fail
;
18739 swig_obj
[0] = args
;
18740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18741 if (!SWIG_IsOK(res1
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18744 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= wxPyMake_wxObject(result
, 0);
18760 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18761 PyObject
*resultobj
= 0;
18762 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18766 PyObject
*swig_obj
[1] ;
18768 if (!args
) SWIG_fail
;
18769 swig_obj
[0] = args
;
18770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18774 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_From_int(static_cast< int >(result
));
18788 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= 0;
18790 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18792 wxString
*arg3
= 0 ;
18798 bool temp3
= false ;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 PyObject
* obj2
= 0 ;
18802 char * kwnames
[] = {
18803 (char *) "self",(char *) "n",(char *) "strText", NULL
18806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18808 if (!SWIG_IsOK(res1
)) {
18809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18811 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18812 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18813 if (!SWIG_IsOK(ecode2
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18816 arg2
= static_cast< size_t >(val2
);
18818 arg3
= wxString_in_helper(obj2
);
18819 if (arg3
== NULL
) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18845 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
= 0;
18847 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 PyObject
* obj1
= 0 ;
18856 char * kwnames
[] = {
18857 (char *) "self",(char *) "n", NULL
18860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18862 if (!SWIG_IsOK(res1
)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18865 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18866 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18867 if (!SWIG_IsOK(ecode2
)) {
18868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
18870 arg2
= static_cast< size_t >(val2
);
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18890 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
= 0;
18892 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18893 wxImageList
*arg2
= (wxImageList
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 char * kwnames
[] = {
18901 (char *) "self",(char *) "imageList", NULL
18904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18906 if (!SWIG_IsOK(res1
)) {
18907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18909 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
18911 if (!SWIG_IsOK(res2
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18914 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->SetImageList(arg2
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_Py_Void();
18928 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
= 0;
18930 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18931 wxImageList
*arg2
= (wxImageList
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char * kwnames
[] = {
18938 (char *) "self",(char *) "imageList", NULL
18941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18943 if (!SWIG_IsOK(res1
)) {
18944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18946 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18947 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
18948 if (!SWIG_IsOK(res2
)) {
18949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 (arg1
)->AssignImageList(arg2
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_Py_Void();
18964 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18965 PyObject
*resultobj
= 0;
18966 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18967 wxImageList
*result
= 0 ;
18970 PyObject
*swig_obj
[1] ;
18972 if (!args
) SWIG_fail
;
18973 swig_obj
[0] = args
;
18974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18975 if (!SWIG_IsOK(res1
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18978 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18994 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
= 0;
18996 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 char * kwnames
[] = {
19006 (char *) "self",(char *) "n", NULL
19009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19011 if (!SWIG_IsOK(res1
)) {
19012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19014 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19015 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19016 if (!SWIG_IsOK(ecode2
)) {
19017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19019 arg2
= static_cast< size_t >(val2
);
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= SWIG_From_int(static_cast< int >(result
));
19033 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
= 0;
19035 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 PyObject
* obj2
= 0 ;
19048 char * kwnames
[] = {
19049 (char *) "self",(char *) "n",(char *) "imageId", NULL
19052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19054 if (!SWIG_IsOK(res1
)) {
19055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19057 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19058 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19059 if (!SWIG_IsOK(ecode2
)) {
19060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19062 arg2
= static_cast< size_t >(val2
);
19063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19064 if (!SWIG_IsOK(ecode3
)) {
19065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19067 arg3
= static_cast< int >(val3
);
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19083 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
= 0;
19085 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19090 PyObject
* obj0
= 0 ;
19091 PyObject
* obj1
= 0 ;
19092 char * kwnames
[] = {
19093 (char *) "self",(char *) "size", NULL
19096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19098 if (!SWIG_IsOK(res1
)) {
19099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19101 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19104 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_Py_Void();
19119 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
= 0;
19121 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 PyObject
* obj1
= 0 ;
19129 char * kwnames
[] = {
19130 (char *) "self",(char *) "sizePage", NULL
19133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19135 if (!SWIG_IsOK(res1
)) {
19136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19138 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19141 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19156 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19157 PyObject
*resultobj
= 0;
19158 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19162 PyObject
*swig_obj
[1] ;
19164 if (!args
) SWIG_fail
;
19165 swig_obj
[0] = args
;
19166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19167 if (!SWIG_IsOK(res1
)) {
19168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19170 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19184 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char * kwnames
[] = {
19195 (char *) "self",(char *) "internalBorder", NULL
19198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19200 if (!SWIG_IsOK(res1
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19203 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19204 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19205 if (!SWIG_IsOK(ecode2
)) {
19206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "size_t""'");
19208 arg2
= static_cast< size_t >(val2
);
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetInternalBorder(arg2
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= SWIG_Py_Void();
19222 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19223 PyObject
*resultobj
= 0;
19224 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19228 PyObject
*swig_obj
[1] ;
19230 if (!args
) SWIG_fail
;
19231 swig_obj
[0] = args
;
19232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19233 if (!SWIG_IsOK(res1
)) {
19234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19236 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19252 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
= 0;
19254 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 char * kwnames
[] = {
19263 (char *) "self",(char *) "fit", NULL
19266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19268 if (!SWIG_IsOK(res1
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19271 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19272 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19273 if (!SWIG_IsOK(ecode2
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19276 arg2
= static_cast< bool >(val2
);
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 (arg1
)->SetFitToCurrentPage(arg2
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_Py_Void();
19290 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19291 PyObject
*resultobj
= 0;
19292 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19296 PyObject
*swig_obj
[1] ;
19298 if (!args
) SWIG_fail
;
19299 swig_obj
[0] = args
;
19300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19301 if (!SWIG_IsOK(res1
)) {
19302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19304 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19320 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 char * kwnames
[] = {
19332 (char *) "self",(char *) "n", NULL
19335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19337 if (!SWIG_IsOK(res1
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19340 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19341 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19342 if (!SWIG_IsOK(ecode2
)) {
19343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19345 arg2
= static_cast< size_t >(val2
);
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (bool)(arg1
)->DeletePage(arg2
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19361 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
= 0;
19363 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char * kwnames
[] = {
19373 (char *) "self",(char *) "n", NULL
19376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19378 if (!SWIG_IsOK(res1
)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19381 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19382 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19383 if (!SWIG_IsOK(ecode2
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19386 arg2
= static_cast< size_t >(val2
);
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 result
= (bool)(arg1
)->RemovePage(arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19402 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19403 PyObject
*resultobj
= 0;
19404 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19408 PyObject
*swig_obj
[1] ;
19410 if (!args
) SWIG_fail
;
19411 swig_obj
[0] = args
;
19412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19413 if (!SWIG_IsOK(res1
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19416 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (bool)(arg1
)->DeleteAllPages();
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19432 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19435 wxWindow
*arg2
= (wxWindow
*) 0 ;
19436 wxString
*arg3
= 0 ;
19437 bool arg4
= (bool) false ;
19438 int arg5
= (int) -1 ;
19444 bool temp3
= false ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 PyObject
* obj2
= 0 ;
19452 PyObject
* obj3
= 0 ;
19453 PyObject
* obj4
= 0 ;
19454 char * kwnames
[] = {
19455 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19460 if (!SWIG_IsOK(res1
)) {
19461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19463 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19465 if (!SWIG_IsOK(res2
)) {
19466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19468 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19470 arg3
= wxString_in_helper(obj2
);
19471 if (arg3
== NULL
) SWIG_fail
;
19475 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19476 if (!SWIG_IsOK(ecode4
)) {
19477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19479 arg4
= static_cast< bool >(val4
);
19482 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19483 if (!SWIG_IsOK(ecode5
)) {
19484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19486 arg5
= static_cast< int >(val5
);
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19511 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
= 0;
19513 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19515 wxWindow
*arg3
= (wxWindow
*) 0 ;
19516 wxString
*arg4
= 0 ;
19517 bool arg5
= (bool) false ;
19518 int arg6
= (int) -1 ;
19526 bool temp4
= false ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 PyObject
* obj2
= 0 ;
19534 PyObject
* obj3
= 0 ;
19535 PyObject
* obj4
= 0 ;
19536 PyObject
* obj5
= 0 ;
19537 char * kwnames
[] = {
19538 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19543 if (!SWIG_IsOK(res1
)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19546 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19547 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19548 if (!SWIG_IsOK(ecode2
)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19551 arg2
= static_cast< size_t >(val2
);
19552 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19553 if (!SWIG_IsOK(res3
)) {
19554 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19556 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19558 arg4
= wxString_in_helper(obj3
);
19559 if (arg4
== NULL
) SWIG_fail
;
19563 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19564 if (!SWIG_IsOK(ecode5
)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19567 arg5
= static_cast< bool >(val5
);
19570 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19571 if (!SWIG_IsOK(ecode6
)) {
19572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19574 arg6
= static_cast< int >(val6
);
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19599 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
= 0;
19601 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 char * kwnames
[] = {
19611 (char *) "self",(char *) "n", NULL
19614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19616 if (!SWIG_IsOK(res1
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19619 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19620 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19621 if (!SWIG_IsOK(ecode2
)) {
19622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19624 arg2
= static_cast< size_t >(val2
);
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (int)(arg1
)->SetSelection(arg2
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_From_int(static_cast< int >(result
));
19638 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
= 0;
19640 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19641 bool arg2
= (bool) true ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 char * kwnames
[] = {
19649 (char *) "self",(char *) "forward", NULL
19652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19654 if (!SWIG_IsOK(res1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19657 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19659 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19660 if (!SWIG_IsOK(ecode2
)) {
19661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19663 arg2
= static_cast< bool >(val2
);
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->AdvanceSelection(arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_Py_Void();
19678 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
= 0;
19680 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19681 SwigValueWrapper
<wxVisualAttributes
> result
;
19684 PyObject
* obj0
= 0 ;
19685 char * kwnames
[] = {
19686 (char *) "variant", NULL
19689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19691 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19692 if (!SWIG_IsOK(ecode1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19695 arg1
= static_cast< wxWindowVariant
>(val1
);
19698 if (!wxPyCheckForApp()) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19711 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19714 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19715 return SWIG_Py_Void();
19718 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
= 0;
19720 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19721 int arg2
= (int) 0 ;
19722 int arg3
= (int) -1 ;
19723 int arg4
= (int) -1 ;
19724 wxBookCtrlBaseEvent
*result
= 0 ;
19733 PyObject
* obj0
= 0 ;
19734 PyObject
* obj1
= 0 ;
19735 PyObject
* obj2
= 0 ;
19736 PyObject
* obj3
= 0 ;
19737 char * kwnames
[] = {
19738 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19743 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19744 if (!SWIG_IsOK(ecode1
)) {
19745 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19747 arg1
= static_cast< wxEventType
>(val1
);
19750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19751 if (!SWIG_IsOK(ecode2
)) {
19752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19754 arg2
= static_cast< int >(val2
);
19757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19758 if (!SWIG_IsOK(ecode3
)) {
19759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19761 arg3
= static_cast< int >(val3
);
19764 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19765 if (!SWIG_IsOK(ecode4
)) {
19766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
19768 arg4
= static_cast< int >(val4
);
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
19783 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19784 PyObject
*resultobj
= 0;
19785 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19789 PyObject
*swig_obj
[1] ;
19791 if (!args
) SWIG_fail
;
19792 swig_obj
[0] = args
;
19793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19794 if (!SWIG_IsOK(res1
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19797 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_From_int(static_cast< int >(result
));
19811 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
= 0;
19813 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 PyObject
* obj1
= 0 ;
19821 char * kwnames
[] = {
19822 (char *) "self",(char *) "nSel", NULL
19825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19827 if (!SWIG_IsOK(res1
)) {
19828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19830 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19832 if (!SWIG_IsOK(ecode2
)) {
19833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
19835 arg2
= static_cast< int >(val2
);
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 (arg1
)->SetSelection(arg2
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= SWIG_Py_Void();
19849 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19850 PyObject
*resultobj
= 0;
19851 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19855 PyObject
*swig_obj
[1] ;
19857 if (!args
) SWIG_fail
;
19858 swig_obj
[0] = args
;
19859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19860 if (!SWIG_IsOK(res1
)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19863 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= SWIG_From_int(static_cast< int >(result
));
19877 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
= 0;
19879 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 char * kwnames
[] = {
19888 (char *) "self",(char *) "nOldSel", NULL
19891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19893 if (!SWIG_IsOK(res1
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19896 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19898 if (!SWIG_IsOK(ecode2
)) {
19899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
19901 arg2
= static_cast< int >(val2
);
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 (arg1
)->SetOldSelection(arg2
);
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= SWIG_Py_Void();
19915 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19918 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
19919 return SWIG_Py_Void();
19922 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19923 return SWIG_Python_InitShadowInstance(args
);
19926 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
= 0;
19928 wxWindow
*arg1
= (wxWindow
*) 0 ;
19929 int arg2
= (int) -1 ;
19930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19934 long arg5
= (long) 0 ;
19935 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
19936 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19937 wxNotebook
*result
= 0 ;
19946 bool temp6
= false ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 PyObject
* obj2
= 0 ;
19950 PyObject
* obj3
= 0 ;
19951 PyObject
* obj4
= 0 ;
19952 PyObject
* obj5
= 0 ;
19953 char * kwnames
[] = {
19954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19959 if (!SWIG_IsOK(res1
)) {
19960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
19962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19965 if (!SWIG_IsOK(ecode2
)) {
19966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
19968 arg2
= static_cast< int >(val2
);
19973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19983 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
19984 if (!SWIG_IsOK(ecode5
)) {
19985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
19987 arg5
= static_cast< long >(val5
);
19991 arg6
= wxString_in_helper(obj5
);
19992 if (arg6
== NULL
) SWIG_fail
;
19997 if (!wxPyCheckForApp()) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20018 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20019 PyObject
*resultobj
= 0;
20020 wxNotebook
*result
= 0 ;
20022 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20024 if (!wxPyCheckForApp()) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (wxNotebook
*)new wxNotebook();
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20037 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= 0;
20039 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20040 wxWindow
*arg2
= (wxWindow
*) 0 ;
20041 int arg3
= (int) -1 ;
20042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20046 long arg6
= (long) 0 ;
20047 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20060 bool temp7
= false ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 PyObject
* obj2
= 0 ;
20064 PyObject
* obj3
= 0 ;
20065 PyObject
* obj4
= 0 ;
20066 PyObject
* obj5
= 0 ;
20067 PyObject
* obj6
= 0 ;
20068 char * kwnames
[] = {
20069 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20074 if (!SWIG_IsOK(res1
)) {
20075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20077 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20079 if (!SWIG_IsOK(res2
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20085 if (!SWIG_IsOK(ecode3
)) {
20086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20088 arg3
= static_cast< int >(val3
);
20093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20104 if (!SWIG_IsOK(ecode6
)) {
20105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20107 arg6
= static_cast< long >(val6
);
20111 arg7
= wxString_in_helper(obj6
);
20112 if (arg7
== NULL
) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20139 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20140 PyObject
*resultobj
= 0;
20141 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20145 PyObject
*swig_obj
[1] ;
20147 if (!args
) SWIG_fail
;
20148 swig_obj
[0] = args
;
20149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20150 if (!SWIG_IsOK(res1
)) {
20151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20153 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= SWIG_From_int(static_cast< int >(result
));
20167 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
= 0;
20169 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char * kwnames
[] = {
20177 (char *) "self",(char *) "padding", NULL
20180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20182 if (!SWIG_IsOK(res1
)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20185 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20188 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_Py_Void();
20203 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
= 0;
20205 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char * kwnames
[] = {
20213 (char *) "self",(char *) "sz", NULL
20216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20218 if (!SWIG_IsOK(res1
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20221 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20224 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_Py_Void();
20239 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
= 0;
20241 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20242 wxPoint
*arg2
= 0 ;
20243 long *arg3
= (long *) 0 ;
20249 int res3
= SWIG_TMPOBJ
;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char * kwnames
[] = {
20253 (char *) "self",(char *) "pt", NULL
20257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20262 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_From_int(static_cast< int >(result
));
20274 if (SWIG_IsTmpObj(res3
)) {
20275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20277 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20286 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20287 PyObject
*resultobj
= 0;
20288 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20292 PyObject
*swig_obj
[1] ;
20294 if (!args
) SWIG_fail
;
20295 swig_obj
[0] = args
;
20296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20297 if (!SWIG_IsOK(res1
)) {
20298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20300 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20314 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
= 0;
20316 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20317 SwigValueWrapper
<wxVisualAttributes
> result
;
20320 PyObject
* obj0
= 0 ;
20321 char * kwnames
[] = {
20322 (char *) "variant", NULL
20325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20327 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20328 if (!SWIG_IsOK(ecode1
)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20331 arg1
= static_cast< wxWindowVariant
>(val1
);
20334 if (!wxPyCheckForApp()) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20347 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20350 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20351 return SWIG_Py_Void();
20354 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20355 return SWIG_Python_InitShadowInstance(args
);
20358 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= 0;
20360 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20361 int arg2
= (int) 0 ;
20362 int arg3
= (int) -1 ;
20363 int arg4
= (int) -1 ;
20364 wxNotebookEvent
*result
= 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 PyObject
* obj2
= 0 ;
20376 PyObject
* obj3
= 0 ;
20377 char * kwnames
[] = {
20378 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20384 if (!SWIG_IsOK(ecode1
)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20387 arg1
= static_cast< wxEventType
>(val1
);
20390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20391 if (!SWIG_IsOK(ecode2
)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20394 arg2
= static_cast< int >(val2
);
20397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20398 if (!SWIG_IsOK(ecode3
)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20401 arg3
= static_cast< int >(val3
);
20404 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20405 if (!SWIG_IsOK(ecode4
)) {
20406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20408 arg4
= static_cast< int >(val4
);
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20423 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20426 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20427 return SWIG_Py_Void();
20430 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20431 return SWIG_Python_InitShadowInstance(args
);
20434 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= 0;
20436 wxWindow
*arg1
= (wxWindow
*) 0 ;
20437 int arg2
= (int) -1 ;
20438 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20439 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20440 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20441 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20442 long arg5
= (long) 0 ;
20443 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20444 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20445 wxListbook
*result
= 0 ;
20454 bool temp6
= false ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 PyObject
* obj2
= 0 ;
20458 PyObject
* obj3
= 0 ;
20459 PyObject
* obj4
= 0 ;
20460 PyObject
* obj5
= 0 ;
20461 char * kwnames
[] = {
20462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20467 if (!SWIG_IsOK(res1
)) {
20468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20473 if (!SWIG_IsOK(ecode2
)) {
20474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20476 arg2
= static_cast< int >(val2
);
20481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20491 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20492 if (!SWIG_IsOK(ecode5
)) {
20493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20495 arg5
= static_cast< long >(val5
);
20499 arg6
= wxString_in_helper(obj5
);
20500 if (arg6
== NULL
) SWIG_fail
;
20505 if (!wxPyCheckForApp()) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20526 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20527 PyObject
*resultobj
= 0;
20528 wxListbook
*result
= 0 ;
20530 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20532 if (!wxPyCheckForApp()) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (wxListbook
*)new wxListbook();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20545 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
= 0;
20547 wxListbook
*arg1
= (wxListbook
*) 0 ;
20548 wxWindow
*arg2
= (wxWindow
*) 0 ;
20549 int arg3
= (int) -1 ;
20550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20554 long arg6
= (long) 0 ;
20555 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20568 bool temp7
= false ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 PyObject
* obj2
= 0 ;
20572 PyObject
* obj3
= 0 ;
20573 PyObject
* obj4
= 0 ;
20574 PyObject
* obj5
= 0 ;
20575 PyObject
* obj6
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20585 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20587 if (!SWIG_IsOK(res2
)) {
20588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20590 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20593 if (!SWIG_IsOK(ecode3
)) {
20594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20596 arg3
= static_cast< int >(val3
);
20601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20611 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20612 if (!SWIG_IsOK(ecode6
)) {
20613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20615 arg6
= static_cast< long >(val6
);
20619 arg7
= wxString_in_helper(obj6
);
20620 if (arg7
== NULL
) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20647 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20648 PyObject
*resultobj
= 0;
20649 wxListbook
*arg1
= (wxListbook
*) 0 ;
20650 wxListView
*result
= 0 ;
20653 PyObject
*swig_obj
[1] ;
20655 if (!args
) SWIG_fail
;
20656 swig_obj
[0] = args
;
20657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20658 if (!SWIG_IsOK(res1
)) {
20659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20661 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (wxListView
*)(arg1
)->GetListView();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20675 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20678 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20679 return SWIG_Py_Void();
20682 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20683 return SWIG_Python_InitShadowInstance(args
);
20686 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
= 0;
20688 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20689 int arg2
= (int) 0 ;
20690 int arg3
= (int) -1 ;
20691 int arg4
= (int) -1 ;
20692 wxListbookEvent
*result
= 0 ;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20703 PyObject
* obj2
= 0 ;
20704 PyObject
* obj3
= 0 ;
20705 char * kwnames
[] = {
20706 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20712 if (!SWIG_IsOK(ecode1
)) {
20713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20715 arg1
= static_cast< wxEventType
>(val1
);
20718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20719 if (!SWIG_IsOK(ecode2
)) {
20720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20722 arg2
= static_cast< int >(val2
);
20725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20726 if (!SWIG_IsOK(ecode3
)) {
20727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20729 arg3
= static_cast< int >(val3
);
20732 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20733 if (!SWIG_IsOK(ecode4
)) {
20734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20736 arg4
= static_cast< int >(val4
);
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20751 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20754 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20755 return SWIG_Py_Void();
20758 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20759 return SWIG_Python_InitShadowInstance(args
);
20762 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
= 0;
20764 wxWindow
*arg1
= (wxWindow
*) 0 ;
20766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20770 long arg5
= (long) 0 ;
20771 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20772 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20773 wxChoicebook
*result
= 0 ;
20782 bool temp6
= false ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 PyObject
* obj2
= 0 ;
20786 PyObject
* obj3
= 0 ;
20787 PyObject
* obj4
= 0 ;
20788 PyObject
* obj5
= 0 ;
20789 char * kwnames
[] = {
20790 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20795 if (!SWIG_IsOK(res1
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20800 if (!SWIG_IsOK(ecode2
)) {
20801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
20803 arg2
= static_cast< int >(val2
);
20807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20817 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20818 if (!SWIG_IsOK(ecode5
)) {
20819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
20821 arg5
= static_cast< long >(val5
);
20825 arg6
= wxString_in_helper(obj5
);
20826 if (arg6
== NULL
) SWIG_fail
;
20831 if (!wxPyCheckForApp()) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
20852 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20853 PyObject
*resultobj
= 0;
20854 wxChoicebook
*result
= 0 ;
20856 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
20858 if (!wxPyCheckForApp()) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (wxChoicebook
*)new wxChoicebook();
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
20871 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
= 0;
20873 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
20874 wxWindow
*arg2
= (wxWindow
*) 0 ;
20876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20880 long arg6
= (long) 0 ;
20881 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20882 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20894 bool temp7
= false ;
20895 PyObject
* obj0
= 0 ;
20896 PyObject
* obj1
= 0 ;
20897 PyObject
* obj2
= 0 ;
20898 PyObject
* obj3
= 0 ;
20899 PyObject
* obj4
= 0 ;
20900 PyObject
* obj5
= 0 ;
20901 PyObject
* obj6
= 0 ;
20902 char * kwnames
[] = {
20903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
20911 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
20912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20913 if (!SWIG_IsOK(res2
)) {
20914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20918 if (!SWIG_IsOK(ecode3
)) {
20919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
20921 arg3
= static_cast< int >(val3
);
20925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20936 if (!SWIG_IsOK(ecode6
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
20939 arg6
= static_cast< long >(val6
);
20943 arg7
= wxString_in_helper(obj6
);
20944 if (arg7
== NULL
) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20971 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20972 PyObject
*resultobj
= 0;
20973 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
20974 wxChoice
*result
= 0 ;
20977 PyObject
*swig_obj
[1] ;
20979 if (!args
) SWIG_fail
;
20980 swig_obj
[0] = args
;
20981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
20985 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
20999 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21002 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21003 return SWIG_Py_Void();
21006 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21007 return SWIG_Python_InitShadowInstance(args
);
21010 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
= 0;
21012 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21013 int arg2
= (int) 0 ;
21014 int arg3
= (int) -1 ;
21015 int arg4
= (int) -1 ;
21016 wxChoicebookEvent
*result
= 0 ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 PyObject
* obj2
= 0 ;
21028 PyObject
* obj3
= 0 ;
21029 char * kwnames
[] = {
21030 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21035 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21036 if (!SWIG_IsOK(ecode1
)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21039 arg1
= static_cast< wxEventType
>(val1
);
21042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21043 if (!SWIG_IsOK(ecode2
)) {
21044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21046 arg2
= static_cast< int >(val2
);
21049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21050 if (!SWIG_IsOK(ecode3
)) {
21051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21053 arg3
= static_cast< int >(val3
);
21056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21057 if (!SWIG_IsOK(ecode4
)) {
21058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21060 arg4
= static_cast< int >(val4
);
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21075 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21078 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21079 return SWIG_Py_Void();
21082 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21083 return SWIG_Python_InitShadowInstance(args
);
21086 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
= 0;
21088 wxWindow
*arg1
= (wxWindow
*) 0 ;
21090 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21091 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21092 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21093 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21094 long arg5
= (long) wxBK_DEFAULT
;
21095 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21096 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21097 wxTreebook
*result
= 0 ;
21106 bool temp6
= false ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 PyObject
* obj2
= 0 ;
21110 PyObject
* obj3
= 0 ;
21111 PyObject
* obj4
= 0 ;
21112 PyObject
* obj5
= 0 ;
21113 char * kwnames
[] = {
21114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21119 if (!SWIG_IsOK(res1
)) {
21120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21124 if (!SWIG_IsOK(ecode2
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21127 arg2
= static_cast< int >(val2
);
21131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21137 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21141 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21142 if (!SWIG_IsOK(ecode5
)) {
21143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21145 arg5
= static_cast< long >(val5
);
21149 arg6
= wxString_in_helper(obj5
);
21150 if (arg6
== NULL
) SWIG_fail
;
21155 if (!wxPyCheckForApp()) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21176 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21177 PyObject
*resultobj
= 0;
21178 wxTreebook
*result
= 0 ;
21180 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21182 if (!wxPyCheckForApp()) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (wxTreebook
*)new wxTreebook();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21195 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
= 0;
21197 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21198 wxWindow
*arg2
= (wxWindow
*) 0 ;
21200 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21201 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21202 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21203 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21204 long arg6
= (long) wxBK_DEFAULT
;
21205 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21206 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21218 bool temp7
= false ;
21219 PyObject
* obj0
= 0 ;
21220 PyObject
* obj1
= 0 ;
21221 PyObject
* obj2
= 0 ;
21222 PyObject
* obj3
= 0 ;
21223 PyObject
* obj4
= 0 ;
21224 PyObject
* obj5
= 0 ;
21225 PyObject
* obj6
= 0 ;
21226 char * kwnames
[] = {
21227 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21232 if (!SWIG_IsOK(res1
)) {
21233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21235 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21237 if (!SWIG_IsOK(res2
)) {
21238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21242 if (!SWIG_IsOK(ecode3
)) {
21243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21245 arg3
= static_cast< int >(val3
);
21249 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21255 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21259 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21260 if (!SWIG_IsOK(ecode6
)) {
21261 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21263 arg6
= static_cast< long >(val6
);
21267 arg7
= wxString_in_helper(obj6
);
21268 if (arg7
== NULL
) SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21295 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
= 0;
21297 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21299 wxWindow
*arg3
= (wxWindow
*) 0 ;
21300 wxString
*arg4
= 0 ;
21301 bool arg5
= (bool) false ;
21302 int arg6
= (int) wxNOT_FOUND
;
21310 bool temp4
= false ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 PyObject
* obj2
= 0 ;
21318 PyObject
* obj3
= 0 ;
21319 PyObject
* obj4
= 0 ;
21320 PyObject
* obj5
= 0 ;
21321 char * kwnames
[] = {
21322 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21327 if (!SWIG_IsOK(res1
)) {
21328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21330 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21331 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21332 if (!SWIG_IsOK(ecode2
)) {
21333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21335 arg2
= static_cast< size_t >(val2
);
21336 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21337 if (!SWIG_IsOK(res3
)) {
21338 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21340 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21342 arg4
= wxString_in_helper(obj3
);
21343 if (arg4
== NULL
) SWIG_fail
;
21347 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21348 if (!SWIG_IsOK(ecode5
)) {
21349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21351 arg5
= static_cast< bool >(val5
);
21354 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21355 if (!SWIG_IsOK(ecode6
)) {
21356 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21358 arg6
= static_cast< int >(val6
);
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21383 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
= 0;
21385 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21386 wxWindow
*arg2
= (wxWindow
*) 0 ;
21387 wxString
*arg3
= 0 ;
21388 bool arg4
= (bool) false ;
21389 int arg5
= (int) wxNOT_FOUND
;
21395 bool temp3
= false ;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 PyObject
* obj2
= 0 ;
21403 PyObject
* obj3
= 0 ;
21404 PyObject
* obj4
= 0 ;
21405 char * kwnames
[] = {
21406 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21414 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21416 if (!SWIG_IsOK(res2
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21421 arg3
= wxString_in_helper(obj2
);
21422 if (arg3
== NULL
) SWIG_fail
;
21426 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21427 if (!SWIG_IsOK(ecode4
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21430 arg4
= static_cast< bool >(val4
);
21433 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21434 if (!SWIG_IsOK(ecode5
)) {
21435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21437 arg5
= static_cast< int >(val5
);
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21462 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
= 0;
21464 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char * kwnames
[] = {
21474 (char *) "self",(char *) "pos", NULL
21477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21479 if (!SWIG_IsOK(res1
)) {
21480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21482 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21483 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21484 if (!SWIG_IsOK(ecode2
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21487 arg2
= static_cast< size_t >(val2
);
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21503 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
= 0;
21505 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21507 bool arg3
= (bool) true ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 char * kwnames
[] = {
21519 (char *) "self",(char *) "pos",(char *) "expand", NULL
21522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21524 if (!SWIG_IsOK(res1
)) {
21525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21527 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21528 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21529 if (!SWIG_IsOK(ecode2
)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21532 arg2
= static_cast< size_t >(val2
);
21534 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21535 if (!SWIG_IsOK(ecode3
)) {
21536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21538 arg3
= static_cast< bool >(val3
);
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21555 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
= 0;
21557 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char * kwnames
[] = {
21567 (char *) "self",(char *) "pos", NULL
21570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21572 if (!SWIG_IsOK(res1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21575 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21576 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21577 if (!SWIG_IsOK(ecode2
)) {
21578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21580 arg2
= static_cast< size_t >(val2
);
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (bool)(arg1
)->CollapseNode(arg2
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21596 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
= 0;
21598 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char * kwnames
[] = {
21608 (char *) "self",(char *) "pos", NULL
21611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21613 if (!SWIG_IsOK(res1
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21616 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21617 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21618 if (!SWIG_IsOK(ecode2
)) {
21619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21621 arg2
= static_cast< size_t >(val2
);
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_From_int(static_cast< int >(result
));
21635 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21636 PyObject
*resultobj
= 0;
21637 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21638 wxTreeCtrl
*result
= 0 ;
21641 PyObject
*swig_obj
[1] ;
21643 if (!args
) SWIG_fail
;
21644 swig_obj
[0] = args
;
21645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21646 if (!SWIG_IsOK(res1
)) {
21647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21649 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21663 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21666 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21667 return SWIG_Py_Void();
21670 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21671 return SWIG_Python_InitShadowInstance(args
);
21674 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
= 0;
21676 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21677 int arg2
= (int) 0 ;
21678 int arg3
= (int) wxNOT_FOUND
;
21679 int arg4
= (int) wxNOT_FOUND
;
21680 wxTreebookEvent
*result
= 0 ;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 PyObject
* obj2
= 0 ;
21692 PyObject
* obj3
= 0 ;
21693 char * kwnames
[] = {
21694 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21700 if (!SWIG_IsOK(ecode1
)) {
21701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21703 arg1
= static_cast< wxEventType
>(val1
);
21706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21707 if (!SWIG_IsOK(ecode2
)) {
21708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21710 arg2
= static_cast< int >(val2
);
21713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21714 if (!SWIG_IsOK(ecode3
)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21717 arg3
= static_cast< int >(val3
);
21720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21721 if (!SWIG_IsOK(ecode4
)) {
21722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21724 arg4
= static_cast< int >(val4
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21739 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21742 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21743 return SWIG_Py_Void();
21746 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21747 return SWIG_Python_InitShadowInstance(args
);
21750 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
= 0;
21752 wxWindow
*arg1
= (wxWindow
*) 0 ;
21754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21758 long arg5
= (long) wxBK_DEFAULT
;
21759 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21761 wxToolbook
*result
= 0 ;
21770 bool temp6
= false ;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 PyObject
* obj2
= 0 ;
21774 PyObject
* obj3
= 0 ;
21775 PyObject
* obj4
= 0 ;
21776 PyObject
* obj5
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21788 if (!SWIG_IsOK(ecode2
)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
21791 arg2
= static_cast< int >(val2
);
21795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21805 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21806 if (!SWIG_IsOK(ecode5
)) {
21807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
21809 arg5
= static_cast< long >(val5
);
21813 arg6
= wxString_in_helper(obj5
);
21814 if (arg6
== NULL
) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
21839 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21840 PyObject
*resultobj
= 0;
21841 wxToolbook
*result
= 0 ;
21843 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (wxToolbook
*)new wxToolbook();
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
21857 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
= 0;
21859 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21860 wxWindow
*arg2
= (wxWindow
*) 0 ;
21862 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21863 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21864 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21865 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21866 long arg6
= (long) 0 ;
21867 wxString
const &arg7_defvalue
= wxEmptyString
;
21868 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21880 bool temp7
= false ;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 PyObject
* obj2
= 0 ;
21884 PyObject
* obj3
= 0 ;
21885 PyObject
* obj4
= 0 ;
21886 PyObject
* obj5
= 0 ;
21887 PyObject
* obj6
= 0 ;
21888 char * kwnames
[] = {
21889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21894 if (!SWIG_IsOK(res1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
21897 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21899 if (!SWIG_IsOK(res2
)) {
21900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21902 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21904 if (!SWIG_IsOK(ecode3
)) {
21905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
21907 arg3
= static_cast< int >(val3
);
21911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21921 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21922 if (!SWIG_IsOK(ecode6
)) {
21923 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
21925 arg6
= static_cast< long >(val6
);
21929 arg7
= wxString_in_helper(obj6
);
21930 if (arg7
== NULL
) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21957 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21958 PyObject
*resultobj
= 0;
21959 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21960 wxToolBarBase
*result
= 0 ;
21963 PyObject
*swig_obj
[1] ;
21965 if (!args
) SWIG_fail
;
21966 swig_obj
[0] = args
;
21967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21968 if (!SWIG_IsOK(res1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
21971 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21987 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21988 PyObject
*resultobj
= 0;
21989 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21992 PyObject
*swig_obj
[1] ;
21994 if (!args
) SWIG_fail
;
21995 swig_obj
[0] = args
;
21996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21997 if (!SWIG_IsOK(res1
)) {
21998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22000 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_Py_Void();
22014 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22017 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22018 return SWIG_Py_Void();
22021 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22022 return SWIG_Python_InitShadowInstance(args
);
22025 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
= 0;
22027 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22028 int arg2
= (int) 0 ;
22029 int arg3
= (int) wxNOT_FOUND
;
22030 int arg4
= (int) wxNOT_FOUND
;
22031 wxToolbookEvent
*result
= 0 ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 PyObject
* obj2
= 0 ;
22043 PyObject
* obj3
= 0 ;
22044 char * kwnames
[] = {
22045 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22051 if (!SWIG_IsOK(ecode1
)) {
22052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22054 arg1
= static_cast< wxEventType
>(val1
);
22057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22058 if (!SWIG_IsOK(ecode2
)) {
22059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22061 arg2
= static_cast< int >(val2
);
22064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22065 if (!SWIG_IsOK(ecode3
)) {
22066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22068 arg3
= static_cast< int >(val3
);
22071 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22072 if (!SWIG_IsOK(ecode4
)) {
22073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22075 arg4
= static_cast< int >(val4
);
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22090 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22093 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22094 return SWIG_Py_Void();
22097 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22098 return SWIG_Python_InitShadowInstance(args
);
22101 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22102 PyObject
*resultobj
= 0;
22103 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22107 PyObject
*swig_obj
[1] ;
22109 if (!args
) SWIG_fail
;
22110 swig_obj
[0] = args
;
22111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22112 if (!SWIG_IsOK(res1
)) {
22113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22115 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (int)(arg1
)->GetId();
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= SWIG_From_int(static_cast< int >(result
));
22129 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22130 PyObject
*resultobj
= 0;
22131 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22132 wxControl
*result
= 0 ;
22135 PyObject
*swig_obj
[1] ;
22137 if (!args
) SWIG_fail
;
22138 swig_obj
[0] = args
;
22139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22140 if (!SWIG_IsOK(res1
)) {
22141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22143 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (wxControl
*)(arg1
)->GetControl();
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= wxPyMake_wxObject(result
, 0);
22159 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22160 PyObject
*resultobj
= 0;
22161 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22162 wxToolBarBase
*result
= 0 ;
22165 PyObject
*swig_obj
[1] ;
22167 if (!args
) SWIG_fail
;
22168 swig_obj
[0] = args
;
22169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22170 if (!SWIG_IsOK(res1
)) {
22171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22173 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22189 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(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_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22203 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (int)(arg1
)->IsButton();
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_From_int(static_cast< int >(result
));
22217 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22218 PyObject
*resultobj
= 0;
22219 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 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_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22231 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (int)(arg1
)->IsControl();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= SWIG_From_int(static_cast< int >(result
));
22245 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22246 PyObject
*resultobj
= 0;
22247 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22251 PyObject
*swig_obj
[1] ;
22253 if (!args
) SWIG_fail
;
22254 swig_obj
[0] = args
;
22255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22256 if (!SWIG_IsOK(res1
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22259 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (int)(arg1
)->IsSeparator();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_From_int(static_cast< int >(result
));
22273 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22274 PyObject
*resultobj
= 0;
22275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22279 PyObject
*swig_obj
[1] ;
22281 if (!args
) SWIG_fail
;
22282 swig_obj
[0] = args
;
22283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22284 if (!SWIG_IsOK(res1
)) {
22285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22287 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (int)(arg1
)->GetStyle();
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= SWIG_From_int(static_cast< int >(result
));
22301 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22302 PyObject
*resultobj
= 0;
22303 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22307 PyObject
*swig_obj
[1] ;
22309 if (!args
) SWIG_fail
;
22310 swig_obj
[0] = args
;
22311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22312 if (!SWIG_IsOK(res1
)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22315 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (wxItemKind
)(arg1
)->GetKind();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_From_int(static_cast< int >(result
));
22329 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22330 PyObject
*resultobj
= 0;
22331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22335 PyObject
*swig_obj
[1] ;
22337 if (!args
) SWIG_fail
;
22338 swig_obj
[0] = args
;
22339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22340 if (!SWIG_IsOK(res1
)) {
22341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22343 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (bool)(arg1
)->IsEnabled();
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22359 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22360 PyObject
*resultobj
= 0;
22361 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22365 PyObject
*swig_obj
[1] ;
22367 if (!args
) SWIG_fail
;
22368 swig_obj
[0] = args
;
22369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22370 if (!SWIG_IsOK(res1
)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22373 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= (bool)(arg1
)->IsToggled();
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22389 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(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_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22403 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= (bool)(arg1
)->CanBeToggled();
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22419 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22420 PyObject
*resultobj
= 0;
22421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22422 wxBitmap
*result
= 0 ;
22425 PyObject
*swig_obj
[1] ;
22427 if (!args
) SWIG_fail
;
22428 swig_obj
[0] = args
;
22429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22430 if (!SWIG_IsOK(res1
)) {
22431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22433 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22438 result
= (wxBitmap
*) &_result_ref
;
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22444 wxBitmap
* resultptr
= new wxBitmap(*result
);
22445 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22453 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22454 PyObject
*resultobj
= 0;
22455 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22456 wxBitmap
*result
= 0 ;
22459 PyObject
*swig_obj
[1] ;
22461 if (!args
) SWIG_fail
;
22462 swig_obj
[0] = args
;
22463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22464 if (!SWIG_IsOK(res1
)) {
22465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22467 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22472 result
= (wxBitmap
*) &_result_ref
;
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22478 wxBitmap
* resultptr
= new wxBitmap(*result
);
22479 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22487 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22488 PyObject
*resultobj
= 0;
22489 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22493 PyObject
*swig_obj
[1] ;
22495 if (!args
) SWIG_fail
;
22496 swig_obj
[0] = args
;
22497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22498 if (!SWIG_IsOK(res1
)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22501 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (arg1
)->GetBitmap();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22515 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22516 PyObject
*resultobj
= 0;
22517 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22521 PyObject
*swig_obj
[1] ;
22523 if (!args
) SWIG_fail
;
22524 swig_obj
[0] = args
;
22525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22526 if (!SWIG_IsOK(res1
)) {
22527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22529 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= (arg1
)->GetLabel();
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22549 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22550 PyObject
*resultobj
= 0;
22551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22555 PyObject
*swig_obj
[1] ;
22557 if (!args
) SWIG_fail
;
22558 swig_obj
[0] = args
;
22559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22560 if (!SWIG_IsOK(res1
)) {
22561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22563 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 result
= (arg1
)->GetShortHelp();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22583 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22584 PyObject
*resultobj
= 0;
22585 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22589 PyObject
*swig_obj
[1] ;
22591 if (!args
) SWIG_fail
;
22592 swig_obj
[0] = args
;
22593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22594 if (!SWIG_IsOK(res1
)) {
22595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22597 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (arg1
)->GetLongHelp();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22617 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
= 0;
22619 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 char * kwnames
[] = {
22629 (char *) "self",(char *) "enable", NULL
22632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22634 if (!SWIG_IsOK(res1
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22637 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22638 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22639 if (!SWIG_IsOK(ecode2
)) {
22640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22642 arg2
= static_cast< bool >(val2
);
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 result
= (bool)(arg1
)->Enable(arg2
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22658 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22659 PyObject
*resultobj
= 0;
22660 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22663 PyObject
*swig_obj
[1] ;
22665 if (!args
) SWIG_fail
;
22666 swig_obj
[0] = args
;
22667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22668 if (!SWIG_IsOK(res1
)) {
22669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22671 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 resultobj
= SWIG_Py_Void();
22685 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
= 0;
22687 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 char * kwnames
[] = {
22697 (char *) "self",(char *) "toggle", NULL
22700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22702 if (!SWIG_IsOK(res1
)) {
22703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22705 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22707 if (!SWIG_IsOK(ecode2
)) {
22708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22710 arg2
= static_cast< bool >(val2
);
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 result
= (bool)(arg1
)->SetToggle(arg2
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22726 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
= 0;
22728 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22729 wxString
*arg2
= 0 ;
22733 bool temp2
= false ;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22736 char * kwnames
[] = {
22737 (char *) "self",(char *) "help", NULL
22740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22742 if (!SWIG_IsOK(res1
)) {
22743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22745 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22747 arg2
= wxString_in_helper(obj1
);
22748 if (arg2
== NULL
) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22774 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
= 0;
22776 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22777 wxString
*arg2
= 0 ;
22781 bool temp2
= false ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 char * kwnames
[] = {
22785 (char *) "self",(char *) "help", NULL
22788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",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_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22793 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22795 arg2
= wxString_in_helper(obj1
);
22796 if (arg2
== NULL
) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22822 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
= 0;
22824 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22825 wxBitmap
*arg2
= 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char * kwnames
[] = {
22833 (char *) "self",(char *) "bmp", NULL
22836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22838 if (!SWIG_IsOK(res1
)) {
22839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22841 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22843 if (!SWIG_IsOK(res2
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22849 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_Py_Void();
22863 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
= 0;
22865 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22866 wxBitmap
*arg2
= 0 ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 char * kwnames
[] = {
22874 (char *) "self",(char *) "bmp", NULL
22877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22879 if (!SWIG_IsOK(res1
)) {
22880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22882 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22884 if (!SWIG_IsOK(res2
)) {
22885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22890 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_Py_Void();
22904 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
= 0;
22906 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22907 wxString
*arg2
= 0 ;
22910 bool temp2
= false ;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj1
= 0 ;
22913 char * kwnames
[] = {
22914 (char *) "self",(char *) "label", NULL
22917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22919 if (!SWIG_IsOK(res1
)) {
22920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22922 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22924 arg2
= wxString_in_helper(obj1
);
22925 if (arg2
== NULL
) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 (arg1
)->SetLabel((wxString
const &)*arg2
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_Py_Void();
22949 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 PyObject
*resultobj
= 0;
22951 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22954 PyObject
*swig_obj
[1] ;
22956 if (!args
) SWIG_fail
;
22957 swig_obj
[0] = args
;
22958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22959 if (!SWIG_IsOK(res1
)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22962 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
= 0;
22978 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22979 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 char * kwnames
[] = {
22987 (char *) "self",(char *) "tbar", NULL
22990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22992 if (!SWIG_IsOK(res1
)) {
22993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22995 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
22997 if (!SWIG_IsOK(res2
)) {
22998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23000 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 (arg1
)->Attach(arg2
);
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= SWIG_Py_Void();
23014 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23015 PyObject
*resultobj
= 0;
23016 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23017 PyObject
*result
= 0 ;
23020 PyObject
*swig_obj
[1] ;
23022 if (!args
) SWIG_fail
;
23023 swig_obj
[0] = args
;
23024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23025 if (!SWIG_IsOK(res1
)) {
23026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23028 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= result
;
23042 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
= 0;
23044 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23045 PyObject
*arg2
= (PyObject
*) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 char * kwnames
[] = {
23051 (char *) "self",(char *) "clientData", NULL
23054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23056 if (!SWIG_IsOK(res1
)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23059 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_Py_Void();
23074 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23077 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23078 return SWIG_Py_Void();
23081 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
= 0;
23083 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23085 wxString
*arg3
= 0 ;
23086 wxBitmap
*arg4
= 0 ;
23087 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23088 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23089 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23090 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23091 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23092 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23094 PyObject
*arg9
= (PyObject
*) NULL
;
23095 wxToolBarToolBase
*result
= 0 ;
23100 bool temp3
= false ;
23107 bool temp7
= false ;
23108 bool temp8
= false ;
23109 PyObject
* obj0
= 0 ;
23110 PyObject
* obj1
= 0 ;
23111 PyObject
* obj2
= 0 ;
23112 PyObject
* obj3
= 0 ;
23113 PyObject
* obj4
= 0 ;
23114 PyObject
* obj5
= 0 ;
23115 PyObject
* obj6
= 0 ;
23116 PyObject
* obj7
= 0 ;
23117 PyObject
* obj8
= 0 ;
23118 char * kwnames
[] = {
23119 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23124 if (!SWIG_IsOK(res1
)) {
23125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23127 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23129 if (!SWIG_IsOK(ecode2
)) {
23130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23132 arg2
= static_cast< int >(val2
);
23134 arg3
= wxString_in_helper(obj2
);
23135 if (arg3
== NULL
) SWIG_fail
;
23138 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23139 if (!SWIG_IsOK(res4
)) {
23140 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23145 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23147 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23148 if (!SWIG_IsOK(res5
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23154 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23157 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23158 if (!SWIG_IsOK(ecode6
)) {
23159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23161 arg6
= static_cast< wxItemKind
>(val6
);
23165 arg7
= wxString_in_helper(obj6
);
23166 if (arg7
== NULL
) SWIG_fail
;
23172 arg8
= wxString_in_helper(obj7
);
23173 if (arg8
== NULL
) SWIG_fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23219 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
= 0;
23221 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23224 wxString
*arg4
= 0 ;
23225 wxBitmap
*arg5
= 0 ;
23226 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23227 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23228 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23229 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23231 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23232 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23233 PyObject
*arg10
= (PyObject
*) NULL
;
23234 wxToolBarToolBase
*result
= 0 ;
23241 bool temp4
= false ;
23248 bool temp8
= false ;
23249 bool temp9
= false ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 PyObject
* obj2
= 0 ;
23253 PyObject
* obj3
= 0 ;
23254 PyObject
* obj4
= 0 ;
23255 PyObject
* obj5
= 0 ;
23256 PyObject
* obj6
= 0 ;
23257 PyObject
* obj7
= 0 ;
23258 PyObject
* obj8
= 0 ;
23259 PyObject
* obj9
= 0 ;
23260 char * kwnames
[] = {
23261 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23266 if (!SWIG_IsOK(res1
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23269 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23270 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23271 if (!SWIG_IsOK(ecode2
)) {
23272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23274 arg2
= static_cast< size_t >(val2
);
23275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23276 if (!SWIG_IsOK(ecode3
)) {
23277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23279 arg3
= static_cast< int >(val3
);
23281 arg4
= wxString_in_helper(obj3
);
23282 if (arg4
== NULL
) SWIG_fail
;
23285 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23286 if (!SWIG_IsOK(res5
)) {
23287 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23292 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23294 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23295 if (!SWIG_IsOK(res6
)) {
23296 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23301 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23304 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23305 if (!SWIG_IsOK(ecode7
)) {
23306 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23308 arg7
= static_cast< wxItemKind
>(val7
);
23312 arg8
= wxString_in_helper(obj7
);
23313 if (arg8
== NULL
) SWIG_fail
;
23319 arg9
= wxString_in_helper(obj8
);
23320 if (arg9
== NULL
) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23366 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
= 0;
23368 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23369 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23370 wxToolBarToolBase
*result
= 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char * kwnames
[] = {
23378 (char *) "self",(char *) "tool", NULL
23381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23383 if (!SWIG_IsOK(res1
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23386 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23388 if (!SWIG_IsOK(res2
)) {
23389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23391 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23407 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
= 0;
23409 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23411 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23412 wxToolBarToolBase
*result
= 0 ;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 PyObject
* obj2
= 0 ;
23422 char * kwnames
[] = {
23423 (char *) "self",(char *) "pos",(char *) "tool", NULL
23426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23428 if (!SWIG_IsOK(res1
)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23431 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23432 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23433 if (!SWIG_IsOK(ecode2
)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23436 arg2
= static_cast< size_t >(val2
);
23437 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23438 if (!SWIG_IsOK(res3
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23441 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23457 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= 0;
23459 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23460 wxControl
*arg2
= (wxControl
*) 0 ;
23461 wxToolBarToolBase
*result
= 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 char * kwnames
[] = {
23469 (char *) "self",(char *) "control", NULL
23472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23474 if (!SWIG_IsOK(res1
)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23477 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23479 if (!SWIG_IsOK(res2
)) {
23480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23482 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23498 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
= 0;
23500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23502 wxControl
*arg3
= (wxControl
*) 0 ;
23503 wxToolBarToolBase
*result
= 0 ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 PyObject
* obj2
= 0 ;
23513 char * kwnames
[] = {
23514 (char *) "self",(char *) "pos",(char *) "control", NULL
23517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23519 if (!SWIG_IsOK(res1
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23522 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23523 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23524 if (!SWIG_IsOK(ecode2
)) {
23525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23527 arg2
= static_cast< size_t >(val2
);
23528 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23529 if (!SWIG_IsOK(res3
)) {
23530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23532 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23548 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
= 0;
23550 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23552 wxControl
*result
= 0 ;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 char * kwnames
[] = {
23560 (char *) "self",(char *) "id", NULL
23563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23565 if (!SWIG_IsOK(res1
)) {
23566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23568 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23570 if (!SWIG_IsOK(ecode2
)) {
23571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23573 arg2
= static_cast< int >(val2
);
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= wxPyMake_wxObject(result
, 0);
23589 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23590 PyObject
*resultobj
= 0;
23591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23592 wxToolBarToolBase
*result
= 0 ;
23595 PyObject
*swig_obj
[1] ;
23597 if (!args
) SWIG_fail
;
23598 swig_obj
[0] = args
;
23599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23600 if (!SWIG_IsOK(res1
)) {
23601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23603 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23619 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
= 0;
23621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23623 wxToolBarToolBase
*result
= 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char * kwnames
[] = {
23631 (char *) "self",(char *) "pos", NULL
23634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23640 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23641 if (!SWIG_IsOK(ecode2
)) {
23642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23644 arg2
= static_cast< size_t >(val2
);
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23660 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
= 0;
23662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23664 wxToolBarToolBase
*result
= 0 ;
23669 PyObject
* obj0
= 0 ;
23670 PyObject
* obj1
= 0 ;
23671 char * kwnames
[] = {
23672 (char *) "self",(char *) "id", NULL
23675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23677 if (!SWIG_IsOK(res1
)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23680 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23682 if (!SWIG_IsOK(ecode2
)) {
23683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23685 arg2
= static_cast< int >(val2
);
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23701 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
= 0;
23703 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 PyObject
* obj1
= 0 ;
23712 char * kwnames
[] = {
23713 (char *) "self",(char *) "pos", NULL
23716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23718 if (!SWIG_IsOK(res1
)) {
23719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23721 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23722 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23723 if (!SWIG_IsOK(ecode2
)) {
23724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23726 arg2
= static_cast< size_t >(val2
);
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23742 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
= 0;
23744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 char * kwnames
[] = {
23754 (char *) "self",(char *) "id", NULL
23757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23759 if (!SWIG_IsOK(res1
)) {
23760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23762 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23764 if (!SWIG_IsOK(ecode2
)) {
23765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23767 arg2
= static_cast< int >(val2
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (bool)(arg1
)->DeleteTool(arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23783 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23784 PyObject
*resultobj
= 0;
23785 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23788 PyObject
*swig_obj
[1] ;
23790 if (!args
) SWIG_fail
;
23791 swig_obj
[0] = args
;
23792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23793 if (!SWIG_IsOK(res1
)) {
23794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23796 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 (arg1
)->ClearTools();
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= SWIG_Py_Void();
23810 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23811 PyObject
*resultobj
= 0;
23812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23816 PyObject
*swig_obj
[1] ;
23818 if (!args
) SWIG_fail
;
23819 swig_obj
[0] = args
;
23820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23821 if (!SWIG_IsOK(res1
)) {
23822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23824 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 result
= (bool)(arg1
)->Realize();
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23840 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
= 0;
23842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 PyObject
* obj1
= 0 ;
23853 PyObject
* obj2
= 0 ;
23854 char * kwnames
[] = {
23855 (char *) "self",(char *) "id",(char *) "enable", NULL
23858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23860 if (!SWIG_IsOK(res1
)) {
23861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23863 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23865 if (!SWIG_IsOK(ecode2
)) {
23866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
23868 arg2
= static_cast< int >(val2
);
23869 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23870 if (!SWIG_IsOK(ecode3
)) {
23871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
23873 arg3
= static_cast< bool >(val3
);
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->EnableTool(arg2
,arg3
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_Py_Void();
23887 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23888 PyObject
*resultobj
= 0;
23889 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 PyObject
* obj2
= 0 ;
23901 char * kwnames
[] = {
23902 (char *) "self",(char *) "id",(char *) "toggle", NULL
23905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23910 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23912 if (!SWIG_IsOK(ecode2
)) {
23913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
23915 arg2
= static_cast< int >(val2
);
23916 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23917 if (!SWIG_IsOK(ecode3
)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
23920 arg3
= static_cast< bool >(val3
);
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 (arg1
)->ToggleTool(arg2
,arg3
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_Py_Void();
23934 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
= 0;
23936 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 PyObject
* obj2
= 0 ;
23948 char * kwnames
[] = {
23949 (char *) "self",(char *) "id",(char *) "toggle", NULL
23952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23954 if (!SWIG_IsOK(res1
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23957 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23959 if (!SWIG_IsOK(ecode2
)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
23962 arg2
= static_cast< int >(val2
);
23963 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23964 if (!SWIG_IsOK(ecode3
)) {
23965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
23967 arg3
= static_cast< bool >(val3
);
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 (arg1
)->SetToggle(arg2
,arg3
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= SWIG_Py_Void();
23981 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
= 0;
23983 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23985 PyObject
*result
= 0 ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "self",(char *) "id", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23998 if (!SWIG_IsOK(res1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24001 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24003 if (!SWIG_IsOK(ecode2
)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24006 arg2
= static_cast< int >(val2
);
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= result
;
24020 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
= 0;
24022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24024 PyObject
*arg3
= (PyObject
*) 0 ;
24029 PyObject
* obj0
= 0 ;
24030 PyObject
* obj1
= 0 ;
24031 PyObject
* obj2
= 0 ;
24032 char * kwnames
[] = {
24033 (char *) "self",(char *) "id",(char *) "clientData", NULL
24036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24038 if (!SWIG_IsOK(res1
)) {
24039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24041 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24043 if (!SWIG_IsOK(ecode2
)) {
24044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24046 arg2
= static_cast< int >(val2
);
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= SWIG_Py_Void();
24061 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
= 0;
24063 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 char * kwnames
[] = {
24073 (char *) "self",(char *) "id", NULL
24076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24078 if (!SWIG_IsOK(res1
)) {
24079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24081 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24083 if (!SWIG_IsOK(ecode2
)) {
24084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24086 arg2
= static_cast< int >(val2
);
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24093 resultobj
= SWIG_From_int(static_cast< int >(result
));
24100 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
= 0;
24102 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 char * kwnames
[] = {
24112 (char *) "self",(char *) "id", NULL
24115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24120 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24122 if (!SWIG_IsOK(ecode2
)) {
24123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24125 arg2
= static_cast< int >(val2
);
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 result
= (bool)(arg1
)->GetToolState(arg2
);
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24141 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
= 0;
24143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24150 PyObject
* obj0
= 0 ;
24151 PyObject
* obj1
= 0 ;
24152 char * kwnames
[] = {
24153 (char *) "self",(char *) "id", NULL
24156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24158 if (!SWIG_IsOK(res1
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24161 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24163 if (!SWIG_IsOK(ecode2
)) {
24164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24166 arg2
= static_cast< int >(val2
);
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24182 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
= 0;
24184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24186 wxString
*arg3
= 0 ;
24191 bool temp3
= false ;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 PyObject
* obj2
= 0 ;
24195 char * kwnames
[] = {
24196 (char *) "self",(char *) "id",(char *) "helpString", NULL
24199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24201 if (!SWIG_IsOK(res1
)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24204 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24206 if (!SWIG_IsOK(ecode2
)) {
24207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24209 arg2
= static_cast< int >(val2
);
24211 arg3
= wxString_in_helper(obj2
);
24212 if (arg3
== NULL
) SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= SWIG_Py_Void();
24236 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
= 0;
24238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 char * kwnames
[] = {
24248 (char *) "self",(char *) "id", NULL
24251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24256 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24258 if (!SWIG_IsOK(ecode2
)) {
24259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24261 arg2
= static_cast< int >(val2
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (arg1
)->GetToolShortHelp(arg2
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24281 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
= 0;
24283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24285 wxString
*arg3
= 0 ;
24290 bool temp3
= false ;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 PyObject
* obj2
= 0 ;
24294 char * kwnames
[] = {
24295 (char *) "self",(char *) "id",(char *) "helpString", NULL
24298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24303 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24305 if (!SWIG_IsOK(ecode2
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24308 arg2
= static_cast< int >(val2
);
24310 arg3
= wxString_in_helper(obj2
);
24311 if (arg3
== NULL
) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= SWIG_Py_Void();
24335 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "id", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24355 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24357 if (!SWIG_IsOK(ecode2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24360 arg2
= static_cast< int >(val2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= (arg1
)->GetToolLongHelp(arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24380 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= 0;
24382 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 PyObject
* obj2
= 0 ;
24394 char * kwnames
[] = {
24395 (char *) "self",(char *) "x",(char *) "y", NULL
24398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24400 if (!SWIG_IsOK(res1
)) {
24401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24403 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24405 if (!SWIG_IsOK(ecode2
)) {
24406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24408 arg2
= static_cast< int >(val2
);
24409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24410 if (!SWIG_IsOK(ecode3
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24413 arg3
= static_cast< int >(val3
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 (arg1
)->SetMargins(arg2
,arg3
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_Py_Void();
24427 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
= 0;
24429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char * kwnames
[] = {
24437 (char *) "self",(char *) "size", NULL
24440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24445 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24448 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= SWIG_Py_Void();
24463 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
= 0;
24465 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char * kwnames
[] = {
24474 (char *) "self",(char *) "packing", NULL
24477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24479 if (!SWIG_IsOK(res1
)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24484 if (!SWIG_IsOK(ecode2
)) {
24485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24487 arg2
= static_cast< int >(val2
);
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->SetToolPacking(arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_Py_Void();
24501 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
= 0;
24503 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char * kwnames
[] = {
24512 (char *) "self",(char *) "separation", NULL
24515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24517 if (!SWIG_IsOK(res1
)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24520 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24522 if (!SWIG_IsOK(ecode2
)) {
24523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24525 arg2
= static_cast< int >(val2
);
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 (arg1
)->SetToolSeparation(arg2
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= SWIG_Py_Void();
24539 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24540 PyObject
*resultobj
= 0;
24541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24545 PyObject
*swig_obj
[1] ;
24547 if (!args
) SWIG_fail
;
24548 swig_obj
[0] = args
;
24549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24550 if (!SWIG_IsOK(res1
)) {
24551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24553 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 result
= (arg1
)->GetToolMargins();
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24567 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24568 PyObject
*resultobj
= 0;
24569 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24573 PyObject
*swig_obj
[1] ;
24575 if (!args
) SWIG_fail
;
24576 swig_obj
[0] = args
;
24577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24581 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 result
= (arg1
)->GetMargins();
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24595 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24596 PyObject
*resultobj
= 0;
24597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24601 PyObject
*swig_obj
[1] ;
24603 if (!args
) SWIG_fail
;
24604 swig_obj
[0] = args
;
24605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24606 if (!SWIG_IsOK(res1
)) {
24607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24609 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= (int)(arg1
)->GetToolPacking();
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= SWIG_From_int(static_cast< int >(result
));
24623 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24624 PyObject
*resultobj
= 0;
24625 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24629 PyObject
*swig_obj
[1] ;
24631 if (!args
) SWIG_fail
;
24632 swig_obj
[0] = args
;
24633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24634 if (!SWIG_IsOK(res1
)) {
24635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24637 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= (int)(arg1
)->GetToolSeparation();
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= SWIG_From_int(static_cast< int >(result
));
24651 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
= 0;
24653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 char * kwnames
[] = {
24662 (char *) "self",(char *) "nRows", NULL
24665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24670 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24672 if (!SWIG_IsOK(ecode2
)) {
24673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24675 arg2
= static_cast< int >(val2
);
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 (arg1
)->SetRows(arg2
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= SWIG_Py_Void();
24689 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
= 0;
24691 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 PyObject
* obj2
= 0 ;
24703 char * kwnames
[] = {
24704 (char *) "self",(char *) "rows",(char *) "cols", NULL
24707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24709 if (!SWIG_IsOK(res1
)) {
24710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24712 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24714 if (!SWIG_IsOK(ecode2
)) {
24715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24717 arg2
= static_cast< int >(val2
);
24718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24719 if (!SWIG_IsOK(ecode3
)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24722 arg3
= static_cast< int >(val3
);
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_Py_Void();
24736 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24737 PyObject
*resultobj
= 0;
24738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24742 PyObject
*swig_obj
[1] ;
24744 if (!args
) SWIG_fail
;
24745 swig_obj
[0] = args
;
24746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24747 if (!SWIG_IsOK(res1
)) {
24748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24750 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (int)(arg1
)->GetMaxRows();
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_From_int(static_cast< int >(result
));
24764 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24765 PyObject
*resultobj
= 0;
24766 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24770 PyObject
*swig_obj
[1] ;
24772 if (!args
) SWIG_fail
;
24773 swig_obj
[0] = args
;
24774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24775 if (!SWIG_IsOK(res1
)) {
24776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24778 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (int)(arg1
)->GetMaxCols();
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= SWIG_From_int(static_cast< int >(result
));
24792 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
= 0;
24794 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 PyObject
* obj1
= 0 ;
24801 char * kwnames
[] = {
24802 (char *) "self",(char *) "size", NULL
24805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24810 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24813 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_Py_Void();
24828 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24829 PyObject
*resultobj
= 0;
24830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24834 PyObject
*swig_obj
[1] ;
24836 if (!args
) SWIG_fail
;
24837 swig_obj
[0] = args
;
24838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24842 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (arg1
)->GetToolBitmapSize();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24856 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24857 PyObject
*resultobj
= 0;
24858 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24862 PyObject
*swig_obj
[1] ;
24864 if (!args
) SWIG_fail
;
24865 swig_obj
[0] = args
;
24866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24867 if (!SWIG_IsOK(res1
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24870 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (arg1
)->GetToolSize();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24884 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
= 0;
24886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24889 wxToolBarToolBase
*result
= 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 char * kwnames
[] = {
24900 (char *) "self",(char *) "x",(char *) "y", NULL
24903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24908 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24910 if (!SWIG_IsOK(ecode2
)) {
24911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
24913 arg2
= static_cast< int >(val2
);
24914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24915 if (!SWIG_IsOK(ecode3
)) {
24916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
24918 arg3
= static_cast< int >(val3
);
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24934 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
= 0;
24936 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24938 wxToolBarToolBase
*result
= 0 ;
24943 PyObject
* obj0
= 0 ;
24944 PyObject
* obj1
= 0 ;
24945 char * kwnames
[] = {
24946 (char *) "self",(char *) "toolid", NULL
24949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24951 if (!SWIG_IsOK(res1
)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24954 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24956 if (!SWIG_IsOK(ecode2
)) {
24957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
24959 arg2
= static_cast< int >(val2
);
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24975 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24976 PyObject
*resultobj
= 0;
24977 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24981 PyObject
*swig_obj
[1] ;
24983 if (!args
) SWIG_fail
;
24984 swig_obj
[0] = args
;
24985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24986 if (!SWIG_IsOK(res1
)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24989 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (bool)(arg1
)->IsVertical();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25005 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25006 PyObject
*resultobj
= 0;
25007 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25011 PyObject
*swig_obj
[1] ;
25013 if (!args
) SWIG_fail
;
25014 swig_obj
[0] = args
;
25015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25016 if (!SWIG_IsOK(res1
)) {
25017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25019 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25033 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25036 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25037 return SWIG_Py_Void();
25040 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
= 0;
25042 wxWindow
*arg1
= (wxWindow
*) 0 ;
25043 int arg2
= (int) -1 ;
25044 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25045 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25046 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25047 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25048 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25049 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25050 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25051 wxToolBar
*result
= 0 ;
25060 bool temp6
= false ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 PyObject
* obj2
= 0 ;
25064 PyObject
* obj3
= 0 ;
25065 PyObject
* obj4
= 0 ;
25066 PyObject
* obj5
= 0 ;
25067 char * kwnames
[] = {
25068 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25076 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25079 if (!SWIG_IsOK(ecode2
)) {
25080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25082 arg2
= static_cast< int >(val2
);
25087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25097 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25098 if (!SWIG_IsOK(ecode5
)) {
25099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25101 arg5
= static_cast< long >(val5
);
25105 arg6
= wxString_in_helper(obj5
);
25106 if (arg6
== NULL
) SWIG_fail
;
25111 if (!wxPyCheckForApp()) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25132 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25133 PyObject
*resultobj
= 0;
25134 wxToolBar
*result
= 0 ;
25136 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25138 if (!wxPyCheckForApp()) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= (wxToolBar
*)new wxToolBar();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25151 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
= 0;
25153 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25154 wxWindow
*arg2
= (wxWindow
*) 0 ;
25155 int arg3
= (int) -1 ;
25156 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25157 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25158 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25159 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25160 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25161 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25162 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25174 bool temp7
= false ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 PyObject
* obj2
= 0 ;
25178 PyObject
* obj3
= 0 ;
25179 PyObject
* obj4
= 0 ;
25180 PyObject
* obj5
= 0 ;
25181 PyObject
* obj6
= 0 ;
25182 char * kwnames
[] = {
25183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25188 if (!SWIG_IsOK(res1
)) {
25189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25191 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25193 if (!SWIG_IsOK(res2
)) {
25194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25199 if (!SWIG_IsOK(ecode3
)) {
25200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25202 arg3
= static_cast< int >(val3
);
25207 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25213 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25217 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25218 if (!SWIG_IsOK(ecode6
)) {
25219 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25221 arg6
= static_cast< long >(val6
);
25225 arg7
= wxString_in_helper(obj6
);
25226 if (arg7
== NULL
) SWIG_fail
;
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25253 SWIGINTERN PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
= 0;
25255 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25258 wxToolBarToolBase
*result
= 0 ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 PyObject
* obj2
= 0 ;
25268 char * kwnames
[] = {
25269 (char *) "self",(char *) "x",(char *) "y", NULL
25272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25274 if (!SWIG_IsOK(res1
)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBar *""'");
25277 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25279 if (!SWIG_IsOK(ecode2
)) {
25280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25282 arg2
= static_cast< int >(val2
);
25283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25284 if (!SWIG_IsOK(ecode3
)) {
25285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25287 arg3
= static_cast< int >(val3
);
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25303 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
= 0;
25305 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25306 SwigValueWrapper
<wxVisualAttributes
> result
;
25309 PyObject
* obj0
= 0 ;
25310 char * kwnames
[] = {
25311 (char *) "variant", NULL
25314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25317 if (!SWIG_IsOK(ecode1
)) {
25318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25320 arg1
= static_cast< wxWindowVariant
>(val1
);
25323 if (!wxPyCheckForApp()) SWIG_fail
;
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25336 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25339 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25340 return SWIG_Py_Void();
25343 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 return SWIG_Python_InitShadowInstance(args
);
25347 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25348 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25353 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25354 PyObject
*pyobj
= 0;
25358 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25360 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25367 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
= 0;
25369 wxColour
const &arg1_defvalue
= wxNullColour
;
25370 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25371 wxColour
const &arg2_defvalue
= wxNullColour
;
25372 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25373 wxFont
const &arg3_defvalue
= wxNullFont
;
25374 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25375 wxListItemAttr
*result
= 0 ;
25380 PyObject
* obj0
= 0 ;
25381 PyObject
* obj1
= 0 ;
25382 PyObject
* obj2
= 0 ;
25383 char * kwnames
[] = {
25384 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25391 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25397 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25401 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25402 if (!SWIG_IsOK(res3
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25408 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25423 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25424 PyObject
*resultobj
= 0;
25425 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25428 PyObject
*swig_obj
[1] ;
25430 if (!args
) SWIG_fail
;
25431 swig_obj
[0] = args
;
25432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25433 if (!SWIG_IsOK(res1
)) {
25434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25436 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= SWIG_Py_Void();
25451 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
= 0;
25453 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25454 wxColour
*arg2
= 0 ;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char * kwnames
[] = {
25461 (char *) "self",(char *) "colText", NULL
25464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25469 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25472 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= SWIG_Py_Void();
25487 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
= 0;
25489 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25490 wxColour
*arg2
= 0 ;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 char * kwnames
[] = {
25497 (char *) "self",(char *) "colBack", NULL
25500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25502 if (!SWIG_IsOK(res1
)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25505 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25508 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= SWIG_Py_Void();
25523 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
= 0;
25525 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25531 PyObject
* obj0
= 0 ;
25532 PyObject
* obj1
= 0 ;
25533 char * kwnames
[] = {
25534 (char *) "self",(char *) "font", NULL
25537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25539 if (!SWIG_IsOK(res1
)) {
25540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25542 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25544 if (!SWIG_IsOK(res2
)) {
25545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25550 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 (arg1
)->SetFont((wxFont
const &)*arg2
);
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= SWIG_Py_Void();
25564 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25565 PyObject
*resultobj
= 0;
25566 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25570 PyObject
*swig_obj
[1] ;
25572 if (!args
) SWIG_fail
;
25573 swig_obj
[0] = args
;
25574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25575 if (!SWIG_IsOK(res1
)) {
25576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25578 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 result
= (bool)(arg1
)->HasTextColour();
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25594 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25595 PyObject
*resultobj
= 0;
25596 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25600 PyObject
*swig_obj
[1] ;
25602 if (!args
) SWIG_fail
;
25603 swig_obj
[0] = args
;
25604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25608 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= (bool)(arg1
)->HasBackgroundColour();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25624 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25625 PyObject
*resultobj
= 0;
25626 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25630 PyObject
*swig_obj
[1] ;
25632 if (!args
) SWIG_fail
;
25633 swig_obj
[0] = args
;
25634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25635 if (!SWIG_IsOK(res1
)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25638 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (bool)(arg1
)->HasFont();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25654 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25655 PyObject
*resultobj
= 0;
25656 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25660 PyObject
*swig_obj
[1] ;
25662 if (!args
) SWIG_fail
;
25663 swig_obj
[0] = args
;
25664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25665 if (!SWIG_IsOK(res1
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25668 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (arg1
)->GetTextColour();
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25682 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25683 PyObject
*resultobj
= 0;
25684 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25688 PyObject
*swig_obj
[1] ;
25690 if (!args
) SWIG_fail
;
25691 swig_obj
[0] = args
;
25692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25693 if (!SWIG_IsOK(res1
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25696 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 result
= (arg1
)->GetBackgroundColour();
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25710 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25711 PyObject
*resultobj
= 0;
25712 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25716 PyObject
*swig_obj
[1] ;
25718 if (!args
) SWIG_fail
;
25719 swig_obj
[0] = args
;
25720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25721 if (!SWIG_IsOK(res1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25724 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (arg1
)->GetFont();
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25738 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
= 0;
25740 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25741 wxListItemAttr
*arg2
= 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 char * kwnames
[] = {
25749 (char *) "self",(char *) "source", NULL
25752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25754 if (!SWIG_IsOK(res1
)) {
25755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25757 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25759 if (!SWIG_IsOK(res2
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25765 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= SWIG_Py_Void();
25779 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25780 PyObject
*resultobj
= 0;
25781 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25784 PyObject
*swig_obj
[1] ;
25786 if (!args
) SWIG_fail
;
25787 swig_obj
[0] = args
;
25788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25789 if (!SWIG_IsOK(res1
)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25792 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 wxListItemAttr_Destroy(arg1
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_Py_Void();
25806 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25809 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25810 return SWIG_Py_Void();
25813 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25814 return SWIG_Python_InitShadowInstance(args
);
25817 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25818 PyObject
*resultobj
= 0;
25819 wxListItem
*result
= 0 ;
25821 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (wxListItem
*)new wxListItem();
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
25837 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25838 PyObject
*resultobj
= 0;
25839 wxListItem
*arg1
= (wxListItem
*) 0 ;
25842 PyObject
*swig_obj
[1] ;
25844 if (!args
) SWIG_fail
;
25845 swig_obj
[0] = args
;
25846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
25850 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= SWIG_Py_Void();
25865 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25866 PyObject
*resultobj
= 0;
25867 wxListItem
*arg1
= (wxListItem
*) 0 ;
25870 PyObject
*swig_obj
[1] ;
25872 if (!args
) SWIG_fail
;
25873 swig_obj
[0] = args
;
25874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25875 if (!SWIG_IsOK(res1
)) {
25876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
25878 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= SWIG_Py_Void();
25892 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25893 PyObject
*resultobj
= 0;
25894 wxListItem
*arg1
= (wxListItem
*) 0 ;
25897 PyObject
*swig_obj
[1] ;
25899 if (!args
) SWIG_fail
;
25900 swig_obj
[0] = args
;
25901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
25905 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 (arg1
)->ClearAttributes();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_Py_Void();
25919 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
= 0;
25921 wxListItem
*arg1
= (wxListItem
*) 0 ;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 char * kwnames
[] = {
25930 (char *) "self",(char *) "mask", NULL
25933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25935 if (!SWIG_IsOK(res1
)) {
25936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
25938 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25940 if (!SWIG_IsOK(ecode2
)) {
25941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
25943 arg2
= static_cast< long >(val2
);
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 (arg1
)->SetMask(arg2
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_Py_Void();
25957 SWIGINTERN PyObject
*_wrap_ListItem_SetId(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 *) "id", NULL
25971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",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_SetId" "', 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_SetId" "', expected argument " "2"" of type '" "long""'");
25981 arg2
= static_cast< long >(val2
);
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 (arg1
)->SetId(arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_Py_Void();
25995 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(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 *) "col", NULL
26009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",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_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26014 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26016 if (!SWIG_IsOK(ecode2
)) {
26017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26019 arg2
= static_cast< int >(val2
);
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 (arg1
)->SetColumn(arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 resultobj
= SWIG_Py_Void();
26033 SWIGINTERN PyObject
*_wrap_ListItem_SetState(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 *) "state", NULL
26047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",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_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26052 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26054 if (!SWIG_IsOK(ecode2
)) {
26055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26057 arg2
= static_cast< long >(val2
);
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->SetState(arg2
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_Py_Void();
26071 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(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 *) "stateMask", NULL
26085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",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_SetStateMask" "', 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_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26095 arg2
= static_cast< long >(val2
);
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 (arg1
)->SetStateMask(arg2
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_Py_Void();
26109 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
= 0;
26111 wxListItem
*arg1
= (wxListItem
*) 0 ;
26112 wxString
*arg2
= 0 ;
26115 bool temp2
= false ;
26116 PyObject
* obj0
= 0 ;
26117 PyObject
* obj1
= 0 ;
26118 char * kwnames
[] = {
26119 (char *) "self",(char *) "text", NULL
26122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26124 if (!SWIG_IsOK(res1
)) {
26125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26127 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26129 arg2
= wxString_in_helper(obj1
);
26130 if (arg2
== NULL
) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->SetText((wxString
const &)*arg2
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_Py_Void();
26154 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
= 0;
26156 wxListItem
*arg1
= (wxListItem
*) 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 char * kwnames
[] = {
26165 (char *) "self",(char *) "image", NULL
26168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26170 if (!SWIG_IsOK(res1
)) {
26171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26173 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26175 if (!SWIG_IsOK(ecode2
)) {
26176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26178 arg2
= static_cast< int >(val2
);
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 (arg1
)->SetImage(arg2
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_Py_Void();
26192 SWIGINTERN PyObject
*_wrap_ListItem_SetData(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 *) "data", NULL
26206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",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_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26211 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26212 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26213 if (!SWIG_IsOK(ecode2
)) {
26214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26216 arg2
= static_cast< long >(val2
);
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 (arg1
)->SetData(arg2
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_Py_Void();
26230 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(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 *) "width", NULL
26244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",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_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26249 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26251 if (!SWIG_IsOK(ecode2
)) {
26252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26254 arg2
= static_cast< int >(val2
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 (arg1
)->SetWidth(arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= SWIG_Py_Void();
26268 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
= 0;
26270 wxListItem
*arg1
= (wxListItem
*) 0 ;
26271 wxListColumnFormat arg2
;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char * kwnames
[] = {
26279 (char *) "self",(char *) "align", NULL
26282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",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_SetAlign" "', 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_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26292 arg2
= static_cast< wxListColumnFormat
>(val2
);
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 (arg1
)->SetAlign(arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_Py_Void();
26306 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
= 0;
26308 wxListItem
*arg1
= (wxListItem
*) 0 ;
26309 wxColour
*arg2
= 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 char * kwnames
[] = {
26316 (char *) "self",(char *) "colText", NULL
26319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26321 if (!SWIG_IsOK(res1
)) {
26322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26324 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_Py_Void();
26342 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
= 0;
26344 wxListItem
*arg1
= (wxListItem
*) 0 ;
26345 wxColour
*arg2
= 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char * kwnames
[] = {
26352 (char *) "self",(char *) "colBack", NULL
26355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26357 if (!SWIG_IsOK(res1
)) {
26358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26360 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_Py_Void();
26378 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
= 0;
26380 wxListItem
*arg1
= (wxListItem
*) 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char * kwnames
[] = {
26389 (char *) "self",(char *) "font", NULL
26392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26397 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26399 if (!SWIG_IsOK(res2
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26405 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 (arg1
)->SetFont((wxFont
const &)*arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_Py_Void();
26419 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26420 PyObject
*resultobj
= 0;
26421 wxListItem
*arg1
= (wxListItem
*) 0 ;
26425 PyObject
*swig_obj
[1] ;
26427 if (!args
) SWIG_fail
;
26428 swig_obj
[0] = args
;
26429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26433 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= (long)(arg1
)->GetMask();
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_From_long(static_cast< long >(result
));
26447 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26448 PyObject
*resultobj
= 0;
26449 wxListItem
*arg1
= (wxListItem
*) 0 ;
26453 PyObject
*swig_obj
[1] ;
26455 if (!args
) SWIG_fail
;
26456 swig_obj
[0] = args
;
26457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26458 if (!SWIG_IsOK(res1
)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26461 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= (long)(arg1
)->GetId();
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= SWIG_From_long(static_cast< long >(result
));
26475 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26476 PyObject
*resultobj
= 0;
26477 wxListItem
*arg1
= (wxListItem
*) 0 ;
26481 PyObject
*swig_obj
[1] ;
26483 if (!args
) SWIG_fail
;
26484 swig_obj
[0] = args
;
26485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26486 if (!SWIG_IsOK(res1
)) {
26487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26489 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (int)(arg1
)->GetColumn();
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_From_int(static_cast< int >(result
));
26503 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26504 PyObject
*resultobj
= 0;
26505 wxListItem
*arg1
= (wxListItem
*) 0 ;
26509 PyObject
*swig_obj
[1] ;
26511 if (!args
) SWIG_fail
;
26512 swig_obj
[0] = args
;
26513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26517 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 result
= (long)(arg1
)->GetState();
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26524 resultobj
= SWIG_From_long(static_cast< long >(result
));
26531 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26532 PyObject
*resultobj
= 0;
26533 wxListItem
*arg1
= (wxListItem
*) 0 ;
26534 wxString
*result
= 0 ;
26537 PyObject
*swig_obj
[1] ;
26539 if (!args
) SWIG_fail
;
26540 swig_obj
[0] = args
;
26541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26542 if (!SWIG_IsOK(res1
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26545 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 wxString
const &_result_ref
= (arg1
)->GetText();
26550 result
= (wxString
*) &_result_ref
;
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26559 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26568 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26569 PyObject
*resultobj
= 0;
26570 wxListItem
*arg1
= (wxListItem
*) 0 ;
26574 PyObject
*swig_obj
[1] ;
26576 if (!args
) SWIG_fail
;
26577 swig_obj
[0] = args
;
26578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26579 if (!SWIG_IsOK(res1
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26582 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 result
= (int)(arg1
)->GetImage();
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_From_int(static_cast< int >(result
));
26596 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26597 PyObject
*resultobj
= 0;
26598 wxListItem
*arg1
= (wxListItem
*) 0 ;
26602 PyObject
*swig_obj
[1] ;
26604 if (!args
) SWIG_fail
;
26605 swig_obj
[0] = args
;
26606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26607 if (!SWIG_IsOK(res1
)) {
26608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26610 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (long)(arg1
)->GetData();
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_From_long(static_cast< long >(result
));
26624 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26625 PyObject
*resultobj
= 0;
26626 wxListItem
*arg1
= (wxListItem
*) 0 ;
26630 PyObject
*swig_obj
[1] ;
26632 if (!args
) SWIG_fail
;
26633 swig_obj
[0] = args
;
26634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26635 if (!SWIG_IsOK(res1
)) {
26636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26638 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (int)(arg1
)->GetWidth();
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= SWIG_From_int(static_cast< int >(result
));
26652 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26653 PyObject
*resultobj
= 0;
26654 wxListItem
*arg1
= (wxListItem
*) 0 ;
26655 wxListColumnFormat result
;
26658 PyObject
*swig_obj
[1] ;
26660 if (!args
) SWIG_fail
;
26661 swig_obj
[0] = args
;
26662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26663 if (!SWIG_IsOK(res1
)) {
26664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26666 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 resultobj
= SWIG_From_int(static_cast< int >(result
));
26680 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26681 PyObject
*resultobj
= 0;
26682 wxListItem
*arg1
= (wxListItem
*) 0 ;
26683 wxListItemAttr
*result
= 0 ;
26686 PyObject
*swig_obj
[1] ;
26688 if (!args
) SWIG_fail
;
26689 swig_obj
[0] = args
;
26690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26691 if (!SWIG_IsOK(res1
)) {
26692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26694 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26708 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26709 PyObject
*resultobj
= 0;
26710 wxListItem
*arg1
= (wxListItem
*) 0 ;
26714 PyObject
*swig_obj
[1] ;
26716 if (!args
) SWIG_fail
;
26717 swig_obj
[0] = args
;
26718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26719 if (!SWIG_IsOK(res1
)) {
26720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26722 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (bool)(arg1
)->HasAttributes();
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26738 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26739 PyObject
*resultobj
= 0;
26740 wxListItem
*arg1
= (wxListItem
*) 0 ;
26744 PyObject
*swig_obj
[1] ;
26746 if (!args
) SWIG_fail
;
26747 swig_obj
[0] = args
;
26748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26749 if (!SWIG_IsOK(res1
)) {
26750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26752 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26766 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26767 PyObject
*resultobj
= 0;
26768 wxListItem
*arg1
= (wxListItem
*) 0 ;
26772 PyObject
*swig_obj
[1] ;
26774 if (!args
) SWIG_fail
;
26775 swig_obj
[0] = args
;
26776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26777 if (!SWIG_IsOK(res1
)) {
26778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26780 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26794 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26795 PyObject
*resultobj
= 0;
26796 wxListItem
*arg1
= (wxListItem
*) 0 ;
26800 PyObject
*swig_obj
[1] ;
26802 if (!args
) SWIG_fail
;
26803 swig_obj
[0] = args
;
26804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26805 if (!SWIG_IsOK(res1
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26808 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= ((wxListItem
const *)arg1
)->GetFont();
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26822 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26823 PyObject
*resultobj
= 0;
26824 wxListItem
*arg1
= (wxListItem
*) 0 ;
26830 PyObject
*swig_obj
[2] ;
26832 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
26833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26834 if (!SWIG_IsOK(res1
)) {
26835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26837 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26838 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26839 if (!SWIG_IsOK(ecode2
)) {
26840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
26842 arg2
= static_cast< long >(val2
);
26843 if (arg1
) (arg1
)->m_mask
= arg2
;
26845 resultobj
= SWIG_Py_Void();
26852 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26853 PyObject
*resultobj
= 0;
26854 wxListItem
*arg1
= (wxListItem
*) 0 ;
26858 PyObject
*swig_obj
[1] ;
26860 if (!args
) SWIG_fail
;
26861 swig_obj
[0] = args
;
26862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26863 if (!SWIG_IsOK(res1
)) {
26864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26866 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26867 result
= (long) ((arg1
)->m_mask
);
26868 resultobj
= SWIG_From_long(static_cast< long >(result
));
26875 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26876 PyObject
*resultobj
= 0;
26877 wxListItem
*arg1
= (wxListItem
*) 0 ;
26883 PyObject
*swig_obj
[2] ;
26885 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
26886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26887 if (!SWIG_IsOK(res1
)) {
26888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26890 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26891 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26892 if (!SWIG_IsOK(ecode2
)) {
26893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
26895 arg2
= static_cast< long >(val2
);
26896 if (arg1
) (arg1
)->m_itemId
= arg2
;
26898 resultobj
= SWIG_Py_Void();
26905 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26906 PyObject
*resultobj
= 0;
26907 wxListItem
*arg1
= (wxListItem
*) 0 ;
26911 PyObject
*swig_obj
[1] ;
26913 if (!args
) SWIG_fail
;
26914 swig_obj
[0] = args
;
26915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26916 if (!SWIG_IsOK(res1
)) {
26917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26919 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26920 result
= (long) ((arg1
)->m_itemId
);
26921 resultobj
= SWIG_From_long(static_cast< long >(result
));
26928 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26929 PyObject
*resultobj
= 0;
26930 wxListItem
*arg1
= (wxListItem
*) 0 ;
26936 PyObject
*swig_obj
[2] ;
26938 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
26939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26940 if (!SWIG_IsOK(res1
)) {
26941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26943 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26944 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
26945 if (!SWIG_IsOK(ecode2
)) {
26946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
26948 arg2
= static_cast< int >(val2
);
26949 if (arg1
) (arg1
)->m_col
= arg2
;
26951 resultobj
= SWIG_Py_Void();
26958 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26959 PyObject
*resultobj
= 0;
26960 wxListItem
*arg1
= (wxListItem
*) 0 ;
26964 PyObject
*swig_obj
[1] ;
26966 if (!args
) SWIG_fail
;
26967 swig_obj
[0] = args
;
26968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26969 if (!SWIG_IsOK(res1
)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26972 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26973 result
= (int) ((arg1
)->m_col
);
26974 resultobj
= SWIG_From_int(static_cast< int >(result
));
26981 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26982 PyObject
*resultobj
= 0;
26983 wxListItem
*arg1
= (wxListItem
*) 0 ;
26989 PyObject
*swig_obj
[2] ;
26991 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
26992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26996 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26997 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26998 if (!SWIG_IsOK(ecode2
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27001 arg2
= static_cast< long >(val2
);
27002 if (arg1
) (arg1
)->m_state
= arg2
;
27004 resultobj
= SWIG_Py_Void();
27011 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27012 PyObject
*resultobj
= 0;
27013 wxListItem
*arg1
= (wxListItem
*) 0 ;
27017 PyObject
*swig_obj
[1] ;
27019 if (!args
) SWIG_fail
;
27020 swig_obj
[0] = args
;
27021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27022 if (!SWIG_IsOK(res1
)) {
27023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27025 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27026 result
= (long) ((arg1
)->m_state
);
27027 resultobj
= SWIG_From_long(static_cast< long >(result
));
27034 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27035 PyObject
*resultobj
= 0;
27036 wxListItem
*arg1
= (wxListItem
*) 0 ;
27042 PyObject
*swig_obj
[2] ;
27044 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27049 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27050 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27051 if (!SWIG_IsOK(ecode2
)) {
27052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27054 arg2
= static_cast< long >(val2
);
27055 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27057 resultobj
= SWIG_Py_Void();
27064 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27065 PyObject
*resultobj
= 0;
27066 wxListItem
*arg1
= (wxListItem
*) 0 ;
27070 PyObject
*swig_obj
[1] ;
27072 if (!args
) SWIG_fail
;
27073 swig_obj
[0] = args
;
27074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27075 if (!SWIG_IsOK(res1
)) {
27076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27078 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27079 result
= (long) ((arg1
)->m_stateMask
);
27080 resultobj
= SWIG_From_long(static_cast< long >(result
));
27087 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27088 PyObject
*resultobj
= 0;
27089 wxListItem
*arg1
= (wxListItem
*) 0 ;
27090 wxString
*arg2
= (wxString
*) 0 ;
27093 bool temp2
= false ;
27094 PyObject
*swig_obj
[2] ;
27096 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27101 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27103 arg2
= wxString_in_helper(swig_obj
[1]);
27104 if (arg2
== NULL
) SWIG_fail
;
27107 if (arg1
) (arg1
)->m_text
= *arg2
;
27109 resultobj
= SWIG_Py_Void();
27124 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27125 PyObject
*resultobj
= 0;
27126 wxListItem
*arg1
= (wxListItem
*) 0 ;
27127 wxString
*result
= 0 ;
27130 PyObject
*swig_obj
[1] ;
27132 if (!args
) SWIG_fail
;
27133 swig_obj
[0] = args
;
27134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27138 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27139 result
= (wxString
*)& ((arg1
)->m_text
);
27142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27153 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27154 PyObject
*resultobj
= 0;
27155 wxListItem
*arg1
= (wxListItem
*) 0 ;
27161 PyObject
*swig_obj
[2] ;
27163 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27168 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27169 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27170 if (!SWIG_IsOK(ecode2
)) {
27171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27173 arg2
= static_cast< int >(val2
);
27174 if (arg1
) (arg1
)->m_image
= arg2
;
27176 resultobj
= SWIG_Py_Void();
27183 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27184 PyObject
*resultobj
= 0;
27185 wxListItem
*arg1
= (wxListItem
*) 0 ;
27189 PyObject
*swig_obj
[1] ;
27191 if (!args
) SWIG_fail
;
27192 swig_obj
[0] = args
;
27193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27197 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27198 result
= (int) ((arg1
)->m_image
);
27199 resultobj
= SWIG_From_int(static_cast< int >(result
));
27206 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27207 PyObject
*resultobj
= 0;
27208 wxListItem
*arg1
= (wxListItem
*) 0 ;
27214 PyObject
*swig_obj
[2] ;
27216 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27222 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27223 if (!SWIG_IsOK(ecode2
)) {
27224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27226 arg2
= static_cast< long >(val2
);
27227 if (arg1
) (arg1
)->m_data
= arg2
;
27229 resultobj
= SWIG_Py_Void();
27236 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27237 PyObject
*resultobj
= 0;
27238 wxListItem
*arg1
= (wxListItem
*) 0 ;
27242 PyObject
*swig_obj
[1] ;
27244 if (!args
) SWIG_fail
;
27245 swig_obj
[0] = args
;
27246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27247 if (!SWIG_IsOK(res1
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27250 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27251 result
= (long) ((arg1
)->m_data
);
27252 resultobj
= SWIG_From_long(static_cast< long >(result
));
27259 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27260 PyObject
*resultobj
= 0;
27261 wxListItem
*arg1
= (wxListItem
*) 0 ;
27267 PyObject
*swig_obj
[2] ;
27269 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27271 if (!SWIG_IsOK(res1
)) {
27272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27274 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27275 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27276 if (!SWIG_IsOK(ecode2
)) {
27277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27279 arg2
= static_cast< int >(val2
);
27280 if (arg1
) (arg1
)->m_format
= arg2
;
27282 resultobj
= SWIG_Py_Void();
27289 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27290 PyObject
*resultobj
= 0;
27291 wxListItem
*arg1
= (wxListItem
*) 0 ;
27295 PyObject
*swig_obj
[1] ;
27297 if (!args
) SWIG_fail
;
27298 swig_obj
[0] = args
;
27299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27303 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27304 result
= (int) ((arg1
)->m_format
);
27305 resultobj
= SWIG_From_int(static_cast< int >(result
));
27312 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27313 PyObject
*resultobj
= 0;
27314 wxListItem
*arg1
= (wxListItem
*) 0 ;
27320 PyObject
*swig_obj
[2] ;
27322 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27324 if (!SWIG_IsOK(res1
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27327 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27328 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27329 if (!SWIG_IsOK(ecode2
)) {
27330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27332 arg2
= static_cast< int >(val2
);
27333 if (arg1
) (arg1
)->m_width
= arg2
;
27335 resultobj
= SWIG_Py_Void();
27342 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27343 PyObject
*resultobj
= 0;
27344 wxListItem
*arg1
= (wxListItem
*) 0 ;
27348 PyObject
*swig_obj
[1] ;
27350 if (!args
) SWIG_fail
;
27351 swig_obj
[0] = args
;
27352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27356 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27357 result
= (int) ((arg1
)->m_width
);
27358 resultobj
= SWIG_From_int(static_cast< int >(result
));
27365 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27368 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27369 return SWIG_Py_Void();
27372 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 return SWIG_Python_InitShadowInstance(args
);
27376 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
= 0;
27378 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27379 int arg2
= (int) 0 ;
27380 wxListEvent
*result
= 0 ;
27385 PyObject
* obj0
= 0 ;
27386 PyObject
* obj1
= 0 ;
27387 char * kwnames
[] = {
27388 (char *) "commandType",(char *) "id", NULL
27391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27394 if (!SWIG_IsOK(ecode1
)) {
27395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27397 arg1
= static_cast< wxEventType
>(val1
);
27400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27401 if (!SWIG_IsOK(ecode2
)) {
27402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27404 arg2
= static_cast< int >(val2
);
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27419 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27420 PyObject
*resultobj
= 0;
27421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27427 PyObject
*swig_obj
[2] ;
27429 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27431 if (!SWIG_IsOK(res1
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27434 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27435 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27436 if (!SWIG_IsOK(ecode2
)) {
27437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27439 arg2
= static_cast< int >(val2
);
27440 if (arg1
) (arg1
)->m_code
= arg2
;
27442 resultobj
= SWIG_Py_Void();
27449 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27450 PyObject
*resultobj
= 0;
27451 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27455 PyObject
*swig_obj
[1] ;
27457 if (!args
) SWIG_fail
;
27458 swig_obj
[0] = args
;
27459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27460 if (!SWIG_IsOK(res1
)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27463 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27464 result
= (int) ((arg1
)->m_code
);
27465 resultobj
= SWIG_From_int(static_cast< int >(result
));
27472 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27473 PyObject
*resultobj
= 0;
27474 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27480 PyObject
*swig_obj
[2] ;
27482 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27484 if (!SWIG_IsOK(res1
)) {
27485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27487 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27488 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27489 if (!SWIG_IsOK(ecode2
)) {
27490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27492 arg2
= static_cast< long >(val2
);
27493 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27495 resultobj
= SWIG_Py_Void();
27502 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27503 PyObject
*resultobj
= 0;
27504 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27508 PyObject
*swig_obj
[1] ;
27510 if (!args
) SWIG_fail
;
27511 swig_obj
[0] = args
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27516 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27517 result
= (long) ((arg1
)->m_oldItemIndex
);
27518 resultobj
= SWIG_From_long(static_cast< long >(result
));
27525 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27526 PyObject
*resultobj
= 0;
27527 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27533 PyObject
*swig_obj
[2] ;
27535 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27537 if (!SWIG_IsOK(res1
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27540 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27541 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27542 if (!SWIG_IsOK(ecode2
)) {
27543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27545 arg2
= static_cast< long >(val2
);
27546 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27548 resultobj
= SWIG_Py_Void();
27555 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27556 PyObject
*resultobj
= 0;
27557 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27561 PyObject
*swig_obj
[1] ;
27563 if (!args
) SWIG_fail
;
27564 swig_obj
[0] = args
;
27565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27566 if (!SWIG_IsOK(res1
)) {
27567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27569 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27570 result
= (long) ((arg1
)->m_itemIndex
);
27571 resultobj
= SWIG_From_long(static_cast< long >(result
));
27578 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27586 PyObject
*swig_obj
[2] ;
27588 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27590 if (!SWIG_IsOK(res1
)) {
27591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27593 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27594 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27595 if (!SWIG_IsOK(ecode2
)) {
27596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27598 arg2
= static_cast< int >(val2
);
27599 if (arg1
) (arg1
)->m_col
= arg2
;
27601 resultobj
= SWIG_Py_Void();
27608 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27609 PyObject
*resultobj
= 0;
27610 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27614 PyObject
*swig_obj
[1] ;
27616 if (!args
) SWIG_fail
;
27617 swig_obj
[0] = args
;
27618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27622 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27623 result
= (int) ((arg1
)->m_col
);
27624 resultobj
= SWIG_From_int(static_cast< int >(result
));
27631 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27633 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27634 wxPoint
*arg2
= (wxPoint
*) 0 ;
27639 PyObject
*swig_obj
[2] ;
27641 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27643 if (!SWIG_IsOK(res1
)) {
27644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27646 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27647 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27648 if (!SWIG_IsOK(res2
)) {
27649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27651 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27652 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27654 resultobj
= SWIG_Py_Void();
27661 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27662 PyObject
*resultobj
= 0;
27663 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27664 wxPoint
*result
= 0 ;
27667 PyObject
*swig_obj
[1] ;
27669 if (!args
) SWIG_fail
;
27670 swig_obj
[0] = args
;
27671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27672 if (!SWIG_IsOK(res1
)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27675 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27676 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27684 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27687 wxListItem
*result
= 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27698 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27699 result
= (wxListItem
*)& ((arg1
)->m_item
);
27701 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27709 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27710 PyObject
*resultobj
= 0;
27711 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27715 PyObject
*swig_obj
[1] ;
27717 if (!args
) SWIG_fail
;
27718 swig_obj
[0] = args
;
27719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27723 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 result
= (int)(arg1
)->GetKeyCode();
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= SWIG_From_int(static_cast< int >(result
));
27737 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27738 PyObject
*resultobj
= 0;
27739 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27743 PyObject
*swig_obj
[1] ;
27745 if (!args
) SWIG_fail
;
27746 swig_obj
[0] = args
;
27747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27748 if (!SWIG_IsOK(res1
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27751 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (long)(arg1
)->GetIndex();
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27758 resultobj
= SWIG_From_long(static_cast< long >(result
));
27765 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27766 PyObject
*resultobj
= 0;
27767 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27771 PyObject
*swig_obj
[1] ;
27773 if (!args
) SWIG_fail
;
27774 swig_obj
[0] = args
;
27775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27776 if (!SWIG_IsOK(res1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27779 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 result
= (int)(arg1
)->GetColumn();
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_From_int(static_cast< int >(result
));
27793 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27794 PyObject
*resultobj
= 0;
27795 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27799 PyObject
*swig_obj
[1] ;
27801 if (!args
) SWIG_fail
;
27802 swig_obj
[0] = args
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27807 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 result
= (arg1
)->GetPoint();
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27821 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27822 PyObject
*resultobj
= 0;
27823 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27824 wxString
*result
= 0 ;
27827 PyObject
*swig_obj
[1] ;
27829 if (!args
) SWIG_fail
;
27830 swig_obj
[0] = args
;
27831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27832 if (!SWIG_IsOK(res1
)) {
27833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
27835 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 wxString
const &_result_ref
= (arg1
)->GetLabel();
27840 result
= (wxString
*) &_result_ref
;
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27849 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27858 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27859 PyObject
*resultobj
= 0;
27860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27861 wxString
*result
= 0 ;
27864 PyObject
*swig_obj
[1] ;
27866 if (!args
) SWIG_fail
;
27867 swig_obj
[0] = args
;
27868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27869 if (!SWIG_IsOK(res1
)) {
27870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
27872 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 wxString
const &_result_ref
= (arg1
)->GetText();
27877 result
= (wxString
*) &_result_ref
;
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27886 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27895 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27896 PyObject
*resultobj
= 0;
27897 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27901 PyObject
*swig_obj
[1] ;
27903 if (!args
) SWIG_fail
;
27904 swig_obj
[0] = args
;
27905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27906 if (!SWIG_IsOK(res1
)) {
27907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
27909 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 result
= (int)(arg1
)->GetImage();
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= SWIG_From_int(static_cast< int >(result
));
27923 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27924 PyObject
*resultobj
= 0;
27925 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27929 PyObject
*swig_obj
[1] ;
27931 if (!args
) SWIG_fail
;
27932 swig_obj
[0] = args
;
27933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
27937 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 result
= (long)(arg1
)->GetData();
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_From_long(static_cast< long >(result
));
27951 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27952 PyObject
*resultobj
= 0;
27953 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27957 PyObject
*swig_obj
[1] ;
27959 if (!args
) SWIG_fail
;
27960 swig_obj
[0] = args
;
27961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27962 if (!SWIG_IsOK(res1
)) {
27963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
27965 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (long)(arg1
)->GetMask();
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= SWIG_From_long(static_cast< long >(result
));
27979 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27980 PyObject
*resultobj
= 0;
27981 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27982 wxListItem
*result
= 0 ;
27985 PyObject
*swig_obj
[1] ;
27987 if (!args
) SWIG_fail
;
27988 swig_obj
[0] = args
;
27989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27990 if (!SWIG_IsOK(res1
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
27993 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 wxListItem
const &_result_ref
= (arg1
)->GetItem();
27998 result
= (wxListItem
*) &_result_ref
;
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28010 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28011 PyObject
*resultobj
= 0;
28012 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28016 PyObject
*swig_obj
[1] ;
28018 if (!args
) SWIG_fail
;
28019 swig_obj
[0] = args
;
28020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28021 if (!SWIG_IsOK(res1
)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28024 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= (long)(arg1
)->GetCacheFrom();
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_From_long(static_cast< long >(result
));
28038 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28039 PyObject
*resultobj
= 0;
28040 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28044 PyObject
*swig_obj
[1] ;
28046 if (!args
) SWIG_fail
;
28047 swig_obj
[0] = args
;
28048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28049 if (!SWIG_IsOK(res1
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28052 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28055 result
= (long)(arg1
)->GetCacheTo();
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= SWIG_From_long(static_cast< long >(result
));
28066 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28067 PyObject
*resultobj
= 0;
28068 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28072 PyObject
*swig_obj
[1] ;
28074 if (!args
) SWIG_fail
;
28075 swig_obj
[0] = args
;
28076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28077 if (!SWIG_IsOK(res1
)) {
28078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28080 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28096 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28097 PyObject
*resultobj
= 0;
28098 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 PyObject
* obj1
= 0 ;
28106 char * kwnames
[] = {
28107 (char *) "self",(char *) "editCancelled", NULL
28110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28112 if (!SWIG_IsOK(res1
)) {
28113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28115 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28116 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28117 if (!SWIG_IsOK(ecode2
)) {
28118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28120 arg2
= static_cast< bool >(val2
);
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 (arg1
)->SetEditCanceled(arg2
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= SWIG_Py_Void();
28134 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28137 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28138 return SWIG_Py_Void();
28141 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28142 return SWIG_Python_InitShadowInstance(args
);
28145 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
= 0;
28147 wxWindow
*arg1
= (wxWindow
*) 0 ;
28148 int arg2
= (int) -1 ;
28149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28153 long arg5
= (long) wxLC_ICON
;
28154 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28155 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28156 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28158 wxPyListCtrl
*result
= 0 ;
28169 bool temp7
= false ;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 PyObject
* obj2
= 0 ;
28173 PyObject
* obj3
= 0 ;
28174 PyObject
* obj4
= 0 ;
28175 PyObject
* obj5
= 0 ;
28176 PyObject
* obj6
= 0 ;
28177 char * kwnames
[] = {
28178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28183 if (!SWIG_IsOK(res1
)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28189 if (!SWIG_IsOK(ecode2
)) {
28190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28192 arg2
= static_cast< int >(val2
);
28197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28203 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28207 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28208 if (!SWIG_IsOK(ecode5
)) {
28209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28211 arg5
= static_cast< long >(val5
);
28214 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28215 if (!SWIG_IsOK(res6
)) {
28216 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28221 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28225 arg7
= wxString_in_helper(obj6
);
28226 if (arg7
== NULL
) SWIG_fail
;
28231 if (!wxPyCheckForApp()) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28252 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28253 PyObject
*resultobj
= 0;
28254 wxPyListCtrl
*result
= 0 ;
28256 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28258 if (!wxPyCheckForApp()) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28271 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
= 0;
28273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28274 wxWindow
*arg2
= (wxWindow
*) 0 ;
28275 int arg3
= (int) -1 ;
28276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28280 long arg6
= (long) wxLC_ICON
;
28281 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28282 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28283 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28298 bool temp8
= false ;
28299 PyObject
* obj0
= 0 ;
28300 PyObject
* obj1
= 0 ;
28301 PyObject
* obj2
= 0 ;
28302 PyObject
* obj3
= 0 ;
28303 PyObject
* obj4
= 0 ;
28304 PyObject
* obj5
= 0 ;
28305 PyObject
* obj6
= 0 ;
28306 PyObject
* obj7
= 0 ;
28307 char * kwnames
[] = {
28308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28313 if (!SWIG_IsOK(res1
)) {
28314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28316 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28318 if (!SWIG_IsOK(res2
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28321 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28324 if (!SWIG_IsOK(ecode3
)) {
28325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28327 arg3
= static_cast< int >(val3
);
28332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28342 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28343 if (!SWIG_IsOK(ecode6
)) {
28344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28346 arg6
= static_cast< long >(val6
);
28349 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28350 if (!SWIG_IsOK(res7
)) {
28351 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28356 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28360 arg8
= wxString_in_helper(obj7
);
28361 if (arg8
== NULL
) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28388 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
= 0;
28390 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28391 PyObject
*arg2
= (PyObject
*) 0 ;
28392 PyObject
*arg3
= (PyObject
*) 0 ;
28395 PyObject
* obj0
= 0 ;
28396 PyObject
* obj1
= 0 ;
28397 PyObject
* obj2
= 0 ;
28398 char * kwnames
[] = {
28399 (char *) "self",(char *) "self",(char *) "_class", NULL
28402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28407 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= SWIG_Py_Void();
28423 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
= 0;
28425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28427 wxListItem
*result
= 0 ;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 char * kwnames
[] = {
28435 (char *) "self",(char *) "col", NULL
28438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28440 if (!SWIG_IsOK(res1
)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28445 if (!SWIG_IsOK(ecode2
)) {
28446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28448 arg2
= static_cast< int >(val2
);
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28464 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
= 0;
28466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28468 wxListItem
*arg3
= 0 ;
28476 PyObject
* obj0
= 0 ;
28477 PyObject
* obj1
= 0 ;
28478 PyObject
* obj2
= 0 ;
28479 char * kwnames
[] = {
28480 (char *) "self",(char *) "col",(char *) "item", NULL
28483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28485 if (!SWIG_IsOK(res1
)) {
28486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28488 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28490 if (!SWIG_IsOK(ecode2
)) {
28491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28493 arg2
= static_cast< int >(val2
);
28494 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28495 if (!SWIG_IsOK(res3
)) {
28496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28501 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28517 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
= 0;
28519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28526 PyObject
* obj0
= 0 ;
28527 PyObject
* obj1
= 0 ;
28528 char * kwnames
[] = {
28529 (char *) "self",(char *) "col", NULL
28532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28534 if (!SWIG_IsOK(res1
)) {
28535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28537 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28539 if (!SWIG_IsOK(ecode2
)) {
28540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28542 arg2
= static_cast< int >(val2
);
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= SWIG_From_int(static_cast< int >(result
));
28556 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
= 0;
28558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 PyObject
* obj2
= 0 ;
28571 char * kwnames
[] = {
28572 (char *) "self",(char *) "col",(char *) "width", NULL
28575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28577 if (!SWIG_IsOK(res1
)) {
28578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28580 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28582 if (!SWIG_IsOK(ecode2
)) {
28583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28585 arg2
= static_cast< int >(val2
);
28586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28587 if (!SWIG_IsOK(ecode3
)) {
28588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28590 arg3
= static_cast< int >(val3
);
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28606 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28607 PyObject
*resultobj
= 0;
28608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28612 PyObject
*swig_obj
[1] ;
28614 if (!args
) SWIG_fail
;
28615 swig_obj
[0] = args
;
28616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28617 if (!SWIG_IsOK(res1
)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28620 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= SWIG_From_int(static_cast< int >(result
));
28634 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28635 PyObject
*resultobj
= 0;
28636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28640 PyObject
*swig_obj
[1] ;
28642 if (!args
) SWIG_fail
;
28643 swig_obj
[0] = args
;
28644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28648 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28662 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28663 PyObject
*resultobj
= 0;
28664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28665 wxTextCtrl
*result
= 0 ;
28668 PyObject
*swig_obj
[1] ;
28670 if (!args
) SWIG_fail
;
28671 swig_obj
[0] = args
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28676 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= wxPyMake_wxObject(result
, 0);
28692 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
= 0;
28694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28696 int arg3
= (int) 0 ;
28697 wxListItem
*result
= 0 ;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 PyObject
* obj2
= 0 ;
28707 char * kwnames
[] = {
28708 (char *) "self",(char *) "itemId",(char *) "col", NULL
28711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28713 if (!SWIG_IsOK(res1
)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28716 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28717 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28718 if (!SWIG_IsOK(ecode2
)) {
28719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28721 arg2
= static_cast< long >(val2
);
28723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28724 if (!SWIG_IsOK(ecode3
)) {
28725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28727 arg3
= static_cast< int >(val3
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28744 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
= 0;
28746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28747 wxListItem
*arg2
= 0 ;
28753 PyObject
* obj0
= 0 ;
28754 PyObject
* obj1
= 0 ;
28755 char * kwnames
[] = {
28756 (char *) "self",(char *) "info", NULL
28759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28761 if (!SWIG_IsOK(res1
)) {
28762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28764 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28766 if (!SWIG_IsOK(res2
)) {
28767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28772 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= (bool)(arg1
)->SetItem(*arg2
);
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28788 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28789 PyObject
*resultobj
= 0;
28790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28793 wxString
*arg4
= 0 ;
28794 int arg5
= (int) -1 ;
28802 bool temp4
= false ;
28805 PyObject
* obj0
= 0 ;
28806 PyObject
* obj1
= 0 ;
28807 PyObject
* obj2
= 0 ;
28808 PyObject
* obj3
= 0 ;
28809 PyObject
* obj4
= 0 ;
28810 char * kwnames
[] = {
28811 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28816 if (!SWIG_IsOK(res1
)) {
28817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28819 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28820 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28821 if (!SWIG_IsOK(ecode2
)) {
28822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
28824 arg2
= static_cast< long >(val2
);
28825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28826 if (!SWIG_IsOK(ecode3
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
28829 arg3
= static_cast< int >(val3
);
28831 arg4
= wxString_in_helper(obj3
);
28832 if (arg4
== NULL
) SWIG_fail
;
28836 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28837 if (!SWIG_IsOK(ecode5
)) {
28838 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
28840 arg5
= static_cast< int >(val5
);
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= SWIG_From_long(static_cast< long >(result
));
28863 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
= 0;
28865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 PyObject
* obj2
= 0 ;
28878 char * kwnames
[] = {
28879 (char *) "self",(char *) "item",(char *) "stateMask", NULL
28882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28884 if (!SWIG_IsOK(res1
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28887 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28888 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28889 if (!SWIG_IsOK(ecode2
)) {
28890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
28892 arg2
= static_cast< long >(val2
);
28893 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28894 if (!SWIG_IsOK(ecode3
)) {
28895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
28897 arg3
= static_cast< long >(val3
);
28899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
28901 wxPyEndAllowThreads(__tstate
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 resultobj
= SWIG_From_int(static_cast< int >(result
));
28911 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
= 0;
28913 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28926 PyObject
* obj0
= 0 ;
28927 PyObject
* obj1
= 0 ;
28928 PyObject
* obj2
= 0 ;
28929 PyObject
* obj3
= 0 ;
28930 char * kwnames
[] = {
28931 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
28934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28936 if (!SWIG_IsOK(res1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28939 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28941 if (!SWIG_IsOK(ecode2
)) {
28942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
28944 arg2
= static_cast< long >(val2
);
28945 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28946 if (!SWIG_IsOK(ecode3
)) {
28947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
28949 arg3
= static_cast< long >(val3
);
28950 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28951 if (!SWIG_IsOK(ecode4
)) {
28952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
28954 arg4
= static_cast< long >(val4
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28970 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
= 0;
28972 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28975 int arg4
= (int) -1 ;
28985 PyObject
* obj0
= 0 ;
28986 PyObject
* obj1
= 0 ;
28987 PyObject
* obj2
= 0 ;
28988 PyObject
* obj3
= 0 ;
28989 char * kwnames
[] = {
28990 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
28993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28995 if (!SWIG_IsOK(res1
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28998 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28999 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29000 if (!SWIG_IsOK(ecode2
)) {
29001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29003 arg2
= static_cast< long >(val2
);
29004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29005 if (!SWIG_IsOK(ecode3
)) {
29006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29008 arg3
= static_cast< int >(val3
);
29010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29011 if (!SWIG_IsOK(ecode4
)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29014 arg4
= static_cast< int >(val4
);
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29031 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
= 0;
29033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29046 PyObject
* obj0
= 0 ;
29047 PyObject
* obj1
= 0 ;
29048 PyObject
* obj2
= 0 ;
29049 PyObject
* obj3
= 0 ;
29050 char * kwnames
[] = {
29051 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29056 if (!SWIG_IsOK(res1
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29059 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29061 if (!SWIG_IsOK(ecode2
)) {
29062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29064 arg2
= static_cast< long >(val2
);
29065 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29066 if (!SWIG_IsOK(ecode3
)) {
29067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29069 arg3
= static_cast< long >(val3
);
29070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29071 if (!SWIG_IsOK(ecode4
)) {
29072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29074 arg4
= static_cast< int >(val4
);
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29090 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
= 0;
29092 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 char * kwnames
[] = {
29102 (char *) "self",(char *) "item", NULL
29105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29107 if (!SWIG_IsOK(res1
)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29110 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29111 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29112 if (!SWIG_IsOK(ecode2
)) {
29113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29115 arg2
= static_cast< long >(val2
);
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29135 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
= 0;
29137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29139 wxString
*arg3
= 0 ;
29144 bool temp3
= false ;
29145 PyObject
* obj0
= 0 ;
29146 PyObject
* obj1
= 0 ;
29147 PyObject
* obj2
= 0 ;
29148 char * kwnames
[] = {
29149 (char *) "self",(char *) "item",(char *) "str", NULL
29152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29154 if (!SWIG_IsOK(res1
)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29157 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29159 if (!SWIG_IsOK(ecode2
)) {
29160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29162 arg2
= static_cast< long >(val2
);
29164 arg3
= wxString_in_helper(obj2
);
29165 if (arg3
== NULL
) SWIG_fail
;
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_Py_Void();
29189 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
= 0;
29191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29198 PyObject
* obj0
= 0 ;
29199 PyObject
* obj1
= 0 ;
29200 char * kwnames
[] = {
29201 (char *) "self",(char *) "item", NULL
29204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29206 if (!SWIG_IsOK(res1
)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29209 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29210 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29211 if (!SWIG_IsOK(ecode2
)) {
29212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29214 arg2
= static_cast< long >(val2
);
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29221 resultobj
= SWIG_From_long(static_cast< long >(result
));
29228 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
= 0;
29230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 PyObject
* obj2
= 0 ;
29243 char * kwnames
[] = {
29244 (char *) "self",(char *) "item",(char *) "data", NULL
29247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29249 if (!SWIG_IsOK(res1
)) {
29250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29252 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29253 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29254 if (!SWIG_IsOK(ecode2
)) {
29255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29257 arg2
= static_cast< long >(val2
);
29258 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29259 if (!SWIG_IsOK(ecode3
)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29262 arg3
= static_cast< long >(val3
);
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29266 wxPyEndAllowThreads(__tstate
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29278 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
= 0;
29280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29287 PyObject
* obj0
= 0 ;
29288 PyObject
* obj1
= 0 ;
29289 char * kwnames
[] = {
29290 (char *) "self",(char *) "item", NULL
29293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29295 if (!SWIG_IsOK(res1
)) {
29296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29298 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29299 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29300 if (!SWIG_IsOK(ecode2
)) {
29301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29303 arg2
= static_cast< long >(val2
);
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29317 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
= 0;
29319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29321 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 PyObject
* obj2
= 0 ;
29332 char * kwnames
[] = {
29333 (char *) "self",(char *) "item",(char *) "code", NULL
29336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29338 if (!SWIG_IsOK(res1
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29342 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29343 if (!SWIG_IsOK(ecode2
)) {
29344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29346 arg2
= static_cast< long >(val2
);
29348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29349 if (!SWIG_IsOK(ecode3
)) {
29350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29352 arg3
= static_cast< int >(val3
);
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29367 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
= 0;
29369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29371 wxPoint
*arg3
= 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 PyObject
* obj2
= 0 ;
29381 char * kwnames
[] = {
29382 (char *) "self",(char *) "item",(char *) "pos", NULL
29385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29387 if (!SWIG_IsOK(res1
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29390 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29391 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29392 if (!SWIG_IsOK(ecode2
)) {
29393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29395 arg2
= static_cast< long >(val2
);
29398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29415 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29416 PyObject
*resultobj
= 0;
29417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29421 PyObject
*swig_obj
[1] ;
29423 if (!args
) SWIG_fail
;
29424 swig_obj
[0] = args
;
29425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29426 if (!SWIG_IsOK(res1
)) {
29427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29429 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= SWIG_From_int(static_cast< int >(result
));
29443 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29444 PyObject
*resultobj
= 0;
29445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29449 PyObject
*swig_obj
[1] ;
29451 if (!args
) SWIG_fail
;
29452 swig_obj
[0] = args
;
29453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29457 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_From_int(static_cast< int >(result
));
29471 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29472 PyObject
*resultobj
= 0;
29473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29477 PyObject
*swig_obj
[1] ;
29479 if (!args
) SWIG_fail
;
29480 swig_obj
[0] = args
;
29481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29482 if (!SWIG_IsOK(res1
)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29485 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29499 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29500 PyObject
*resultobj
= 0;
29501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29505 PyObject
*swig_obj
[1] ;
29507 if (!args
) SWIG_fail
;
29508 swig_obj
[0] = args
;
29509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29510 if (!SWIG_IsOK(res1
)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29513 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= SWIG_From_int(static_cast< int >(result
));
29527 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29528 PyObject
*resultobj
= 0;
29529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29533 PyObject
*swig_obj
[1] ;
29535 if (!args
) SWIG_fail
;
29536 swig_obj
[0] = args
;
29537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29541 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29555 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
= 0;
29557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29558 wxColour
*arg2
= 0 ;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 char * kwnames
[] = {
29565 (char *) "self",(char *) "col", NULL
29568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29570 if (!SWIG_IsOK(res1
)) {
29571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29573 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29580 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29581 wxPyEndAllowThreads(__tstate
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29584 resultobj
= SWIG_Py_Void();
29591 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29592 PyObject
*resultobj
= 0;
29593 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29597 PyObject
*swig_obj
[1] ;
29599 if (!args
) SWIG_fail
;
29600 swig_obj
[0] = args
;
29601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29602 if (!SWIG_IsOK(res1
)) {
29603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29605 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= SWIG_From_long(static_cast< long >(result
));
29619 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
= 0;
29621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29623 bool arg3
= (bool) true ;
29630 PyObject
* obj0
= 0 ;
29631 PyObject
* obj1
= 0 ;
29632 PyObject
* obj2
= 0 ;
29633 char * kwnames
[] = {
29634 (char *) "self",(char *) "style",(char *) "add", NULL
29637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29642 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29643 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29644 if (!SWIG_IsOK(ecode2
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29647 arg2
= static_cast< long >(val2
);
29649 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29650 if (!SWIG_IsOK(ecode3
)) {
29651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29653 arg3
= static_cast< bool >(val3
);
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 (arg1
)->SetSingleStyle(arg2
,arg3
);
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= SWIG_Py_Void();
29668 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29669 PyObject
*resultobj
= 0;
29670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29672 int arg3
= (int) wxLIST_NEXT_ALL
;
29673 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 PyObject
* obj2
= 0 ;
29686 PyObject
* obj3
= 0 ;
29687 char * kwnames
[] = {
29688 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29698 if (!SWIG_IsOK(ecode2
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29701 arg2
= static_cast< long >(val2
);
29703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29704 if (!SWIG_IsOK(ecode3
)) {
29705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29707 arg3
= static_cast< int >(val3
);
29710 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29711 if (!SWIG_IsOK(ecode4
)) {
29712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29714 arg4
= static_cast< int >(val4
);
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= SWIG_From_long(static_cast< long >(result
));
29729 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
= 0;
29731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29733 wxImageList
*result
= 0 ;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 char * kwnames
[] = {
29741 (char *) "self",(char *) "which", NULL
29744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29746 if (!SWIG_IsOK(res1
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29749 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29751 if (!SWIG_IsOK(ecode2
)) {
29752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29754 arg2
= static_cast< int >(val2
);
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29770 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29771 PyObject
*resultobj
= 0;
29772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29773 wxImageList
*arg2
= (wxImageList
*) 0 ;
29781 PyObject
* obj0
= 0 ;
29782 PyObject
* obj1
= 0 ;
29783 PyObject
* obj2
= 0 ;
29784 char * kwnames
[] = {
29785 (char *) "self",(char *) "imageList",(char *) "which", NULL
29788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29790 if (!SWIG_IsOK(res1
)) {
29791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29793 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
29795 if (!SWIG_IsOK(res2
)) {
29796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29798 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
29799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29800 if (!SWIG_IsOK(ecode3
)) {
29801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
29803 arg3
= static_cast< int >(val3
);
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 (arg1
)->SetImageList(arg2
,arg3
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29810 resultobj
= SWIG_Py_Void();
29817 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
= 0;
29819 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29820 wxImageList
*arg2
= (wxImageList
*) 0 ;
29827 PyObject
* obj0
= 0 ;
29828 PyObject
* obj1
= 0 ;
29829 PyObject
* obj2
= 0 ;
29830 char * kwnames
[] = {
29831 (char *) "self",(char *) "imageList",(char *) "which", NULL
29834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29836 if (!SWIG_IsOK(res1
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29839 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29840 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
29841 if (!SWIG_IsOK(res2
)) {
29842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29845 if (!SWIG_IsOK(ecode3
)) {
29846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
29848 arg3
= static_cast< int >(val3
);
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 (arg1
)->AssignImageList(arg2
,arg3
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= SWIG_Py_Void();
29862 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29863 PyObject
*resultobj
= 0;
29864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29868 PyObject
*swig_obj
[1] ;
29870 if (!args
) SWIG_fail
;
29871 swig_obj
[0] = args
;
29872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29873 if (!SWIG_IsOK(res1
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29892 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29893 PyObject
*resultobj
= 0;
29894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29898 PyObject
*swig_obj
[1] ;
29900 if (!args
) SWIG_fail
;
29901 swig_obj
[0] = args
;
29902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29906 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29922 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
= 0;
29924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 char * kwnames
[] = {
29933 (char *) "self",(char *) "item", NULL
29936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29938 if (!SWIG_IsOK(res1
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29941 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29942 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29943 if (!SWIG_IsOK(ecode2
)) {
29944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
29946 arg2
= static_cast< long >(val2
);
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 (arg1
)->RefreshItem(arg2
);
29950 wxPyEndAllowThreads(__tstate
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= SWIG_Py_Void();
29960 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= 0;
29962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 PyObject
* obj2
= 0 ;
29974 char * kwnames
[] = {
29975 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
29978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29980 if (!SWIG_IsOK(res1
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29983 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29984 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29985 if (!SWIG_IsOK(ecode2
)) {
29986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
29988 arg2
= static_cast< long >(val2
);
29989 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29990 if (!SWIG_IsOK(ecode3
)) {
29991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
29993 arg3
= static_cast< long >(val3
);
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 (arg1
)->RefreshItems(arg2
,arg3
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= SWIG_Py_Void();
30007 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
= 0;
30009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30010 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30016 PyObject
* obj0
= 0 ;
30017 PyObject
* obj1
= 0 ;
30018 char * kwnames
[] = {
30019 (char *) "self",(char *) "flag", NULL
30022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30030 if (!SWIG_IsOK(ecode2
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30033 arg2
= static_cast< int >(val2
);
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 result
= (bool)(arg1
)->Arrange(arg2
);
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30050 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
= 0;
30052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 char * kwnames
[] = {
30062 (char *) "self",(char *) "item", NULL
30065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) 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_DeleteItem" "', 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_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30075 arg2
= static_cast< long >(val2
);
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (bool)(arg1
)->DeleteItem(arg2
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30091 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30092 PyObject
*resultobj
= 0;
30093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30097 PyObject
*swig_obj
[1] ;
30099 if (!args
) SWIG_fail
;
30100 swig_obj
[0] = args
;
30101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (bool)(arg1
)->DeleteAllItems();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30121 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
= 0;
30123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 char * kwnames
[] = {
30133 (char *) "self",(char *) "col", NULL
30136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30138 if (!SWIG_IsOK(res1
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30141 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30143 if (!SWIG_IsOK(ecode2
)) {
30144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30146 arg2
= static_cast< int >(val2
);
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30162 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30163 PyObject
*resultobj
= 0;
30164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30168 PyObject
*swig_obj
[1] ;
30170 if (!args
) SWIG_fail
;
30171 swig_obj
[0] = args
;
30172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30173 if (!SWIG_IsOK(res1
)) {
30174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30176 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (bool)(arg1
)->DeleteAllColumns();
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30192 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30193 PyObject
*resultobj
= 0;
30194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30197 PyObject
*swig_obj
[1] ;
30199 if (!args
) SWIG_fail
;
30200 swig_obj
[0] = args
;
30201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30202 if (!SWIG_IsOK(res1
)) {
30203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30205 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 (arg1
)->ClearAll();
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 resultobj
= SWIG_Py_Void();
30219 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
= 0;
30221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30223 wxTextCtrl
*result
= 0 ;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 char * kwnames
[] = {
30231 (char *) "self",(char *) "item", NULL
30234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30236 if (!SWIG_IsOK(res1
)) {
30237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30239 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30240 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30241 if (!SWIG_IsOK(ecode2
)) {
30242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30244 arg2
= static_cast< long >(val2
);
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= wxPyMake_wxObject(result
, 0);
30260 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
= 0;
30262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 char * kwnames
[] = {
30272 (char *) "self",(char *) "cancel", NULL
30275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30277 if (!SWIG_IsOK(res1
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30280 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30281 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30282 if (!SWIG_IsOK(ecode2
)) {
30283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30285 arg2
= static_cast< bool >(val2
);
30287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30288 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30301 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
= 0;
30303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30310 PyObject
* obj0
= 0 ;
30311 PyObject
* obj1
= 0 ;
30312 char * kwnames
[] = {
30313 (char *) "self",(char *) "item", NULL
30316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30318 if (!SWIG_IsOK(res1
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30321 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30322 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30323 if (!SWIG_IsOK(ecode2
)) {
30324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30326 arg2
= static_cast< long >(val2
);
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30342 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30343 PyObject
*resultobj
= 0;
30344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30346 wxString
*arg3
= 0 ;
30347 bool arg4
= (bool) false ;
30353 bool temp3
= false ;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 PyObject
* obj2
= 0 ;
30359 PyObject
* obj3
= 0 ;
30360 char * kwnames
[] = {
30361 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30366 if (!SWIG_IsOK(res1
)) {
30367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30369 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30370 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30371 if (!SWIG_IsOK(ecode2
)) {
30372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30374 arg2
= static_cast< long >(val2
);
30376 arg3
= wxString_in_helper(obj2
);
30377 if (arg3
== NULL
) SWIG_fail
;
30381 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30382 if (!SWIG_IsOK(ecode4
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30385 arg4
= static_cast< bool >(val4
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= SWIG_From_long(static_cast< long >(result
));
30408 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
= 0;
30410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 PyObject
* obj2
= 0 ;
30423 char * kwnames
[] = {
30424 (char *) "self",(char *) "start",(char *) "data", NULL
30427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30429 if (!SWIG_IsOK(res1
)) {
30430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30432 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30433 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30434 if (!SWIG_IsOK(ecode2
)) {
30435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30437 arg2
= static_cast< long >(val2
);
30438 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30439 if (!SWIG_IsOK(ecode3
)) {
30440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30442 arg3
= static_cast< long >(val3
);
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= SWIG_From_long(static_cast< long >(result
));
30456 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
= 0;
30458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30460 wxPoint
*arg3
= 0 ;
30470 PyObject
* obj0
= 0 ;
30471 PyObject
* obj1
= 0 ;
30472 PyObject
* obj2
= 0 ;
30473 PyObject
* obj3
= 0 ;
30474 char * kwnames
[] = {
30475 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30480 if (!SWIG_IsOK(res1
)) {
30481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30483 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30484 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30485 if (!SWIG_IsOK(ecode2
)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30488 arg2
= static_cast< long >(val2
);
30491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30494 if (!SWIG_IsOK(ecode4
)) {
30495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30497 arg4
= static_cast< int >(val4
);
30499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= SWIG_From_long(static_cast< long >(result
));
30511 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30512 PyObject
*resultobj
= 0;
30513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30514 wxPoint
*arg2
= 0 ;
30521 int res3
= SWIG_TMPOBJ
;
30522 PyObject
* obj0
= 0 ;
30523 PyObject
* obj1
= 0 ;
30524 char * kwnames
[] = {
30525 (char *) "self",(char *) "point", NULL
30529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30531 if (!SWIG_IsOK(res1
)) {
30532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30534 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_From_long(static_cast< long >(result
));
30546 if (SWIG_IsTmpObj(res3
)) {
30547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30549 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30558 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30559 PyObject
*resultobj
= 0;
30560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30561 wxListItem
*arg2
= 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char * kwnames
[] = {
30570 (char *) "self",(char *) "info", NULL
30573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30575 if (!SWIG_IsOK(res1
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30578 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30580 if (!SWIG_IsOK(res2
)) {
30581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30586 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 result
= (long)(arg1
)->InsertItem(*arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 resultobj
= SWIG_From_long(static_cast< long >(result
));
30600 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
= 0;
30602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30604 wxString
*arg3
= 0 ;
30605 int arg4
= (int) -1 ;
30611 bool temp3
= false ;
30614 PyObject
* obj0
= 0 ;
30615 PyObject
* obj1
= 0 ;
30616 PyObject
* obj2
= 0 ;
30617 PyObject
* obj3
= 0 ;
30618 char * kwnames
[] = {
30619 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30624 if (!SWIG_IsOK(res1
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30627 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30628 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30629 if (!SWIG_IsOK(ecode2
)) {
30630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30632 arg2
= static_cast< long >(val2
);
30634 arg3
= wxString_in_helper(obj2
);
30635 if (arg3
== NULL
) SWIG_fail
;
30639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30640 if (!SWIG_IsOK(ecode4
)) {
30641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30643 arg4
= static_cast< int >(val4
);
30646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 resultobj
= SWIG_From_long(static_cast< long >(result
));
30666 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
= 0;
30668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30678 PyObject
* obj0
= 0 ;
30679 PyObject
* obj1
= 0 ;
30680 PyObject
* obj2
= 0 ;
30681 char * kwnames
[] = {
30682 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30687 if (!SWIG_IsOK(res1
)) {
30688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30690 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30691 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30692 if (!SWIG_IsOK(ecode2
)) {
30693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30695 arg2
= static_cast< long >(val2
);
30696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30697 if (!SWIG_IsOK(ecode3
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30700 arg3
= static_cast< int >(val3
);
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30707 resultobj
= SWIG_From_long(static_cast< long >(result
));
30714 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
= 0;
30716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30718 wxString
*arg3
= 0 ;
30725 bool temp3
= false ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 PyObject
* obj2
= 0 ;
30731 PyObject
* obj3
= 0 ;
30732 char * kwnames
[] = {
30733 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30738 if (!SWIG_IsOK(res1
)) {
30739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30741 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30742 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30743 if (!SWIG_IsOK(ecode2
)) {
30744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30746 arg2
= static_cast< long >(val2
);
30748 arg3
= wxString_in_helper(obj2
);
30749 if (arg3
== NULL
) SWIG_fail
;
30752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30753 if (!SWIG_IsOK(ecode4
)) {
30754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30756 arg4
= static_cast< int >(val4
);
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= SWIG_From_long(static_cast< long >(result
));
30778 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30779 PyObject
*resultobj
= 0;
30780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30782 wxListItem
*arg3
= 0 ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 PyObject
* obj2
= 0 ;
30793 char * kwnames
[] = {
30794 (char *) "self",(char *) "col",(char *) "info", NULL
30797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30799 if (!SWIG_IsOK(res1
)) {
30800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30802 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30803 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30804 if (!SWIG_IsOK(ecode2
)) {
30805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30807 arg2
= static_cast< long >(val2
);
30808 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30809 if (!SWIG_IsOK(res3
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30815 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= SWIG_From_long(static_cast< long >(result
));
30829 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30833 wxString
*arg3
= 0 ;
30834 int arg4
= (int) wxLIST_FORMAT_LEFT
;
30835 int arg5
= (int) -1 ;
30841 bool temp3
= false ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 PyObject
* obj2
= 0 ;
30849 PyObject
* obj3
= 0 ;
30850 PyObject
* obj4
= 0 ;
30851 char * kwnames
[] = {
30852 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
30855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30860 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30861 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30862 if (!SWIG_IsOK(ecode2
)) {
30863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
30865 arg2
= static_cast< long >(val2
);
30867 arg3
= wxString_in_helper(obj2
);
30868 if (arg3
== NULL
) SWIG_fail
;
30872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30873 if (!SWIG_IsOK(ecode4
)) {
30874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
30876 arg4
= static_cast< int >(val4
);
30879 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30880 if (!SWIG_IsOK(ecode5
)) {
30881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
30883 arg5
= static_cast< int >(val5
);
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_From_long(static_cast< long >(result
));
30906 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
= 0;
30908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 char * kwnames
[] = {
30917 (char *) "self",(char *) "count", NULL
30920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30922 if (!SWIG_IsOK(res1
)) {
30923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30925 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30926 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30927 if (!SWIG_IsOK(ecode2
)) {
30928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
30930 arg2
= static_cast< long >(val2
);
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 (arg1
)->SetItemCount(arg2
);
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= SWIG_Py_Void();
30944 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
= 0;
30946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 PyObject
* obj2
= 0 ;
30959 char * kwnames
[] = {
30960 (char *) "self",(char *) "dx",(char *) "dy", NULL
30963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) 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_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30968 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30970 if (!SWIG_IsOK(ecode2
)) {
30971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
30973 arg2
= static_cast< int >(val2
);
30974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30975 if (!SWIG_IsOK(ecode3
)) {
30976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
30978 arg3
= static_cast< int >(val3
);
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30994 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
= 0;
30996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30998 wxColour
*arg3
= 0 ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 PyObject
* obj2
= 0 ;
31007 char * kwnames
[] = {
31008 (char *) "self",(char *) "item",(char *) "col", NULL
31011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31013 if (!SWIG_IsOK(res1
)) {
31014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31016 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31017 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31018 if (!SWIG_IsOK(ecode2
)) {
31019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31021 arg2
= static_cast< long >(val2
);
31024 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31028 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= SWIG_Py_Void();
31039 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
= 0;
31041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 char * kwnames
[] = {
31051 (char *) "self",(char *) "item", NULL
31054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) 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_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
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_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31064 arg2
= static_cast< long >(val2
);
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31071 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31078 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
= 0;
31080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31082 wxColour
*arg3
= 0 ;
31088 PyObject
* obj0
= 0 ;
31089 PyObject
* obj1
= 0 ;
31090 PyObject
* obj2
= 0 ;
31091 char * kwnames
[] = {
31092 (char *) "self",(char *) "item",(char *) "col", NULL
31095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31097 if (!SWIG_IsOK(res1
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31100 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31102 if (!SWIG_IsOK(ecode2
)) {
31103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31105 arg2
= static_cast< long >(val2
);
31108 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31112 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 resultobj
= SWIG_Py_Void();
31123 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
= 0;
31125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 char * kwnames
[] = {
31135 (char *) "self",(char *) "item", NULL
31138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) 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_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
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_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31148 arg2
= static_cast< long >(val2
);
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31162 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31163 PyObject
*resultobj
= 0;
31164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 PyObject
* obj2
= 0 ;
31176 char * kwnames
[] = {
31177 (char *) "self",(char *) "item",(char *) "f", NULL
31180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31182 if (!SWIG_IsOK(res1
)) {
31183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31185 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31186 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31187 if (!SWIG_IsOK(ecode2
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31190 arg2
= static_cast< long >(val2
);
31191 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31192 if (!SWIG_IsOK(res3
)) {
31193 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31198 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31201 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31202 wxPyEndAllowThreads(__tstate
);
31203 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= SWIG_Py_Void();
31212 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31213 PyObject
*resultobj
= 0;
31214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 char * kwnames
[] = {
31224 (char *) "self",(char *) "item", NULL
31227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31229 if (!SWIG_IsOK(res1
)) {
31230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31233 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31234 if (!SWIG_IsOK(ecode2
)) {
31235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31237 arg2
= static_cast< long >(val2
);
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31251 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
= 0;
31253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31254 PyObject
*arg2
= (PyObject
*) 0 ;
31258 PyObject
* obj0
= 0 ;
31259 PyObject
* obj1
= 0 ;
31260 char * kwnames
[] = {
31261 (char *) "self",(char *) "func", NULL
31264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31266 if (!SWIG_IsOK(res1
)) {
31267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31269 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31286 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31287 PyObject
*resultobj
= 0;
31288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31289 wxWindow
*result
= 0 ;
31292 PyObject
*swig_obj
[1] ;
31294 if (!args
) SWIG_fail
;
31295 swig_obj
[0] = args
;
31296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31297 if (!SWIG_IsOK(res1
)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31300 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31304 wxPyEndAllowThreads(__tstate
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31308 resultobj
= wxPyMake_wxObject(result
, 0);
31316 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
= 0;
31318 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31319 SwigValueWrapper
<wxVisualAttributes
> result
;
31322 PyObject
* obj0
= 0 ;
31323 char * kwnames
[] = {
31324 (char *) "variant", NULL
31327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31330 if (!SWIG_IsOK(ecode1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31333 arg1
= static_cast< wxWindowVariant
>(val1
);
31336 if (!wxPyCheckForApp()) SWIG_fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31349 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31352 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31353 return SWIG_Py_Void();
31356 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31357 return SWIG_Python_InitShadowInstance(args
);
31360 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31361 PyObject
*resultobj
= 0;
31362 wxWindow
*arg1
= (wxWindow
*) 0 ;
31363 int arg2
= (int) -1 ;
31364 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31365 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31366 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31367 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31368 long arg5
= (long) wxLC_REPORT
;
31369 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31370 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31371 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31373 wxListView
*result
= 0 ;
31384 bool temp7
= false ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 PyObject
* obj2
= 0 ;
31388 PyObject
* obj3
= 0 ;
31389 PyObject
* obj4
= 0 ;
31390 PyObject
* obj5
= 0 ;
31391 PyObject
* obj6
= 0 ;
31392 char * kwnames
[] = {
31393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31398 if (!SWIG_IsOK(res1
)) {
31399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31404 if (!SWIG_IsOK(ecode2
)) {
31405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31407 arg2
= static_cast< int >(val2
);
31412 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31418 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31422 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31423 if (!SWIG_IsOK(ecode5
)) {
31424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31426 arg5
= static_cast< long >(val5
);
31429 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31430 if (!SWIG_IsOK(res6
)) {
31431 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31436 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31440 arg7
= wxString_in_helper(obj6
);
31441 if (arg7
== NULL
) SWIG_fail
;
31446 if (!wxPyCheckForApp()) SWIG_fail
;
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31449 wxPyEndAllowThreads(__tstate
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31467 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31468 PyObject
*resultobj
= 0;
31469 wxListView
*result
= 0 ;
31471 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31473 if (!wxPyCheckForApp()) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (wxListView
*)new wxListView();
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31486 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
= 0;
31488 wxListView
*arg1
= (wxListView
*) 0 ;
31489 wxWindow
*arg2
= (wxWindow
*) 0 ;
31490 int arg3
= (int) -1 ;
31491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31495 long arg6
= (long) wxLC_REPORT
;
31496 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31497 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31498 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31499 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31513 bool temp8
= false ;
31514 PyObject
* obj0
= 0 ;
31515 PyObject
* obj1
= 0 ;
31516 PyObject
* obj2
= 0 ;
31517 PyObject
* obj3
= 0 ;
31518 PyObject
* obj4
= 0 ;
31519 PyObject
* obj5
= 0 ;
31520 PyObject
* obj6
= 0 ;
31521 PyObject
* obj7
= 0 ;
31522 char * kwnames
[] = {
31523 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31528 if (!SWIG_IsOK(res1
)) {
31529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31531 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31533 if (!SWIG_IsOK(res2
)) {
31534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31536 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31539 if (!SWIG_IsOK(ecode3
)) {
31540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31542 arg3
= static_cast< int >(val3
);
31547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31557 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31558 if (!SWIG_IsOK(ecode6
)) {
31559 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31561 arg6
= static_cast< long >(val6
);
31564 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31565 if (!SWIG_IsOK(res7
)) {
31566 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31571 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31575 arg8
= wxString_in_helper(obj7
);
31576 if (arg8
== NULL
) SWIG_fail
;
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31603 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
= 0;
31605 wxListView
*arg1
= (wxListView
*) 0 ;
31607 bool arg3
= (bool) true ;
31614 PyObject
* obj0
= 0 ;
31615 PyObject
* obj1
= 0 ;
31616 PyObject
* obj2
= 0 ;
31617 char * kwnames
[] = {
31618 (char *) "self",(char *) "n",(char *) "on", NULL
31621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31623 if (!SWIG_IsOK(res1
)) {
31624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31626 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31627 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31628 if (!SWIG_IsOK(ecode2
)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31631 arg2
= static_cast< long >(val2
);
31633 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31634 if (!SWIG_IsOK(ecode3
)) {
31635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31637 arg3
= static_cast< bool >(val3
);
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 (arg1
)->Select(arg2
,arg3
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= SWIG_Py_Void();
31652 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= 0;
31654 wxListView
*arg1
= (wxListView
*) 0 ;
31660 PyObject
* obj0
= 0 ;
31661 PyObject
* obj1
= 0 ;
31662 char * kwnames
[] = {
31663 (char *) "self",(char *) "index", NULL
31666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31668 if (!SWIG_IsOK(res1
)) {
31669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31671 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31672 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31673 if (!SWIG_IsOK(ecode2
)) {
31674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31676 arg2
= static_cast< long >(val2
);
31678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31679 (arg1
)->Focus(arg2
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31683 resultobj
= SWIG_Py_Void();
31690 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31691 PyObject
*resultobj
= 0;
31692 wxListView
*arg1
= (wxListView
*) 0 ;
31696 PyObject
*swig_obj
[1] ;
31698 if (!args
) SWIG_fail
;
31699 swig_obj
[0] = args
;
31700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31701 if (!SWIG_IsOK(res1
)) {
31702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31704 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= SWIG_From_long(static_cast< long >(result
));
31718 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31719 PyObject
*resultobj
= 0;
31720 wxListView
*arg1
= (wxListView
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 PyObject
* obj1
= 0 ;
31729 char * kwnames
[] = {
31730 (char *) "self",(char *) "item", NULL
31733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31735 if (!SWIG_IsOK(res1
)) {
31736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31738 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31739 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31740 if (!SWIG_IsOK(ecode2
)) {
31741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31743 arg2
= static_cast< long >(val2
);
31745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31746 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31747 wxPyEndAllowThreads(__tstate
);
31748 if (PyErr_Occurred()) SWIG_fail
;
31750 resultobj
= SWIG_From_long(static_cast< long >(result
));
31757 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31758 PyObject
*resultobj
= 0;
31759 wxListView
*arg1
= (wxListView
*) 0 ;
31763 PyObject
*swig_obj
[1] ;
31765 if (!args
) SWIG_fail
;
31766 swig_obj
[0] = args
;
31767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31768 if (!SWIG_IsOK(res1
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31771 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31778 resultobj
= SWIG_From_long(static_cast< long >(result
));
31785 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
= 0;
31787 wxListView
*arg1
= (wxListView
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 PyObject
* obj1
= 0 ;
31796 char * kwnames
[] = {
31797 (char *) "self",(char *) "index", NULL
31800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31802 if (!SWIG_IsOK(res1
)) {
31803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31805 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31806 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31807 if (!SWIG_IsOK(ecode2
)) {
31808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31810 arg2
= static_cast< long >(val2
);
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= (bool)(arg1
)->IsSelected(arg2
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31826 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
= 0;
31828 wxListView
*arg1
= (wxListView
*) 0 ;
31837 PyObject
* obj0
= 0 ;
31838 PyObject
* obj1
= 0 ;
31839 PyObject
* obj2
= 0 ;
31840 char * kwnames
[] = {
31841 (char *) "self",(char *) "col",(char *) "image", NULL
31844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31846 if (!SWIG_IsOK(res1
)) {
31847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31849 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31851 if (!SWIG_IsOK(ecode2
)) {
31852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
31854 arg2
= static_cast< int >(val2
);
31855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31856 if (!SWIG_IsOK(ecode3
)) {
31857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
31859 arg3
= static_cast< int >(val3
);
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 (arg1
)->SetColumnImage(arg2
,arg3
);
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 resultobj
= SWIG_Py_Void();
31873 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
= 0;
31875 wxListView
*arg1
= (wxListView
*) 0 ;
31881 PyObject
* obj0
= 0 ;
31882 PyObject
* obj1
= 0 ;
31883 char * kwnames
[] = {
31884 (char *) "self",(char *) "col", NULL
31887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) 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_ClearColumnImage" "', 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_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
31897 arg2
= static_cast< int >(val2
);
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->ClearColumnImage(arg2
);
31901 wxPyEndAllowThreads(__tstate
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31904 resultobj
= SWIG_Py_Void();
31911 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31914 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
31915 return SWIG_Py_Void();
31918 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31919 return SWIG_Python_InitShadowInstance(args
);
31922 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
31923 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
31928 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
31929 PyObject
*pyobj
= 0;
31933 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
31935 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
31942 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 PyObject
*resultobj
= 0;
31944 wxTreeItemId
*result
= 0 ;
31946 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 result
= (wxTreeItemId
*)new wxTreeItemId();
31950 wxPyEndAllowThreads(__tstate
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
31960 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31961 PyObject
*resultobj
= 0;
31962 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31965 PyObject
*swig_obj
[1] ;
31967 if (!args
) SWIG_fail
;
31968 swig_obj
[0] = args
;
31969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
31970 if (!SWIG_IsOK(res1
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
31973 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31981 resultobj
= SWIG_Py_Void();
31988 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31989 PyObject
*resultobj
= 0;
31990 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31994 PyObject
*swig_obj
[1] ;
31996 if (!args
) SWIG_fail
;
31997 swig_obj
[0] = args
;
31998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31999 if (!SWIG_IsOK(res1
)) {
32000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32002 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32005 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32006 wxPyEndAllowThreads(__tstate
);
32007 if (PyErr_Occurred()) SWIG_fail
;
32010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32018 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32019 PyObject
*resultobj
= 0;
32020 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32021 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32027 PyObject
* obj0
= 0 ;
32028 PyObject
* obj1
= 0 ;
32029 char * kwnames
[] = {
32030 (char *) "self",(char *) "other", NULL
32033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32035 if (!SWIG_IsOK(res1
)) {
32036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32038 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32040 if (!SWIG_IsOK(res2
)) {
32041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32043 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32047 wxPyEndAllowThreads(__tstate
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32059 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
= 0;
32061 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32062 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32068 PyObject
* obj0
= 0 ;
32069 PyObject
* obj1
= 0 ;
32070 char * kwnames
[] = {
32071 (char *) "self",(char *) "other", NULL
32074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32076 if (!SWIG_IsOK(res1
)) {
32077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32079 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32081 if (!SWIG_IsOK(res2
)) {
32082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32084 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32100 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32101 PyObject
*resultobj
= 0;
32102 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32103 void *arg2
= (void *) 0 ;
32107 PyObject
*swig_obj
[2] ;
32109 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32111 if (!SWIG_IsOK(res1
)) {
32112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32114 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32115 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32116 if (!SWIG_IsOK(res2
)) {
32117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32119 if (arg1
) (arg1
)->m_pItem
= arg2
;
32121 resultobj
= SWIG_Py_Void();
32128 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32129 PyObject
*resultobj
= 0;
32130 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32134 PyObject
*swig_obj
[1] ;
32136 if (!args
) SWIG_fail
;
32137 swig_obj
[0] = args
;
32138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32142 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32143 result
= (void *) ((arg1
)->m_pItem
);
32144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32151 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32154 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32155 return SWIG_Py_Void();
32158 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32159 return SWIG_Python_InitShadowInstance(args
);
32162 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32163 PyObject
*resultobj
= 0;
32164 PyObject
*arg1
= (PyObject
*) NULL
;
32165 wxPyTreeItemData
*result
= 0 ;
32166 PyObject
* obj0
= 0 ;
32167 char * kwnames
[] = {
32168 (char *) "obj", NULL
32171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32177 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32178 wxPyEndAllowThreads(__tstate
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32188 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32189 PyObject
*resultobj
= 0;
32190 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32193 PyObject
*swig_obj
[1] ;
32195 if (!args
) SWIG_fail
;
32196 swig_obj
[0] = args
;
32197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32198 if (!SWIG_IsOK(res1
)) {
32199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32201 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32206 wxPyEndAllowThreads(__tstate
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32209 resultobj
= SWIG_Py_Void();
32216 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32217 PyObject
*resultobj
= 0;
32218 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32219 PyObject
*result
= 0 ;
32222 PyObject
*swig_obj
[1] ;
32224 if (!args
) SWIG_fail
;
32225 swig_obj
[0] = args
;
32226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32227 if (!SWIG_IsOK(res1
)) {
32228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32230 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 result
= (PyObject
*)(arg1
)->GetData();
32234 wxPyEndAllowThreads(__tstate
);
32235 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= result
;
32244 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32245 PyObject
*resultobj
= 0;
32246 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32247 PyObject
*arg2
= (PyObject
*) 0 ;
32250 PyObject
* obj0
= 0 ;
32251 PyObject
* obj1
= 0 ;
32252 char * kwnames
[] = {
32253 (char *) "self",(char *) "obj", NULL
32256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32258 if (!SWIG_IsOK(res1
)) {
32259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32261 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32265 (arg1
)->SetData(arg2
);
32266 wxPyEndAllowThreads(__tstate
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32269 resultobj
= SWIG_Py_Void();
32276 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32277 PyObject
*resultobj
= 0;
32278 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32279 wxTreeItemId
*result
= 0 ;
32282 PyObject
*swig_obj
[1] ;
32284 if (!args
) SWIG_fail
;
32285 swig_obj
[0] = args
;
32286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32287 if (!SWIG_IsOK(res1
)) {
32288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32290 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32295 result
= (wxTreeItemId
*) &_result_ref
;
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32307 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
= 0;
32309 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32310 wxTreeItemId
*arg2
= 0 ;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 char * kwnames
[] = {
32318 (char *) "self",(char *) "id", NULL
32321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32323 if (!SWIG_IsOK(res1
)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32326 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32328 if (!SWIG_IsOK(res2
)) {
32329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32334 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= SWIG_Py_Void();
32348 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32349 PyObject
*resultobj
= 0;
32350 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32353 PyObject
*swig_obj
[1] ;
32355 if (!args
) SWIG_fail
;
32356 swig_obj
[0] = args
;
32357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32358 if (!SWIG_IsOK(res1
)) {
32359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32361 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 wxPyTreeItemData_Destroy(arg1
);
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32368 resultobj
= SWIG_Py_Void();
32375 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32379 return SWIG_Py_Void();
32382 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32383 return SWIG_Python_InitShadowInstance(args
);
32386 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32387 PyObject
*resultobj
= 0;
32388 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32389 int arg2
= (int) 0 ;
32390 wxTreeEvent
*result
= 0 ;
32395 PyObject
* obj0
= 0 ;
32396 PyObject
* obj1
= 0 ;
32397 char * kwnames
[] = {
32398 (char *) "commandType",(char *) "id", NULL
32401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32404 if (!SWIG_IsOK(ecode1
)) {
32405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32407 arg1
= static_cast< wxEventType
>(val1
);
32410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32411 if (!SWIG_IsOK(ecode2
)) {
32412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32414 arg2
= static_cast< int >(val2
);
32417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32418 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32419 wxPyEndAllowThreads(__tstate
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32429 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32430 PyObject
*resultobj
= 0;
32431 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32432 wxTreeItemId result
;
32435 PyObject
*swig_obj
[1] ;
32437 if (!args
) SWIG_fail
;
32438 swig_obj
[0] = args
;
32439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32440 if (!SWIG_IsOK(res1
)) {
32441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32443 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32457 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
= 0;
32459 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32460 wxTreeItemId
*arg2
= 0 ;
32465 PyObject
* obj0
= 0 ;
32466 PyObject
* obj1
= 0 ;
32467 char * kwnames
[] = {
32468 (char *) "self",(char *) "item", NULL
32471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32473 if (!SWIG_IsOK(res1
)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32476 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32478 if (!SWIG_IsOK(res2
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32484 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32488 wxPyEndAllowThreads(__tstate
);
32489 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= SWIG_Py_Void();
32498 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32499 PyObject
*resultobj
= 0;
32500 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32501 wxTreeItemId result
;
32504 PyObject
*swig_obj
[1] ;
32506 if (!args
) SWIG_fail
;
32507 swig_obj
[0] = args
;
32508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32509 if (!SWIG_IsOK(res1
)) {
32510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32512 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32526 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
= 0;
32528 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32529 wxTreeItemId
*arg2
= 0 ;
32534 PyObject
* obj0
= 0 ;
32535 PyObject
* obj1
= 0 ;
32536 char * kwnames
[] = {
32537 (char *) "self",(char *) "item", NULL
32540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32542 if (!SWIG_IsOK(res1
)) {
32543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32545 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32547 if (!SWIG_IsOK(res2
)) {
32548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32553 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 resultobj
= SWIG_Py_Void();
32567 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32568 PyObject
*resultobj
= 0;
32569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32573 PyObject
*swig_obj
[1] ;
32575 if (!args
) SWIG_fail
;
32576 swig_obj
[0] = args
;
32577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32578 if (!SWIG_IsOK(res1
)) {
32579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32581 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32595 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
= 0;
32597 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32598 wxPoint
*arg2
= 0 ;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 char * kwnames
[] = {
32605 (char *) "self",(char *) "pt", NULL
32608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32610 if (!SWIG_IsOK(res1
)) {
32611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32613 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32624 resultobj
= SWIG_Py_Void();
32631 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32632 PyObject
*resultobj
= 0;
32633 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32634 wxKeyEvent
*result
= 0 ;
32637 PyObject
*swig_obj
[1] ;
32639 if (!args
) SWIG_fail
;
32640 swig_obj
[0] = args
;
32641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32642 if (!SWIG_IsOK(res1
)) {
32643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32645 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32649 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32650 result
= (wxKeyEvent
*) &_result_ref
;
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32662 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32663 PyObject
*resultobj
= 0;
32664 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32668 PyObject
*swig_obj
[1] ;
32670 if (!args
) SWIG_fail
;
32671 swig_obj
[0] = args
;
32672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32673 if (!SWIG_IsOK(res1
)) {
32674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32676 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32683 resultobj
= SWIG_From_int(static_cast< int >(result
));
32690 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32691 PyObject
*resultobj
= 0;
32692 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32693 wxKeyEvent
*arg2
= 0 ;
32698 PyObject
* obj0
= 0 ;
32699 PyObject
* obj1
= 0 ;
32700 char * kwnames
[] = {
32701 (char *) "self",(char *) "evt", NULL
32704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32706 if (!SWIG_IsOK(res1
)) {
32707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32709 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32711 if (!SWIG_IsOK(res2
)) {
32712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32717 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= SWIG_Py_Void();
32731 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32732 PyObject
*resultobj
= 0;
32733 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32734 wxString
*result
= 0 ;
32737 PyObject
*swig_obj
[1] ;
32739 if (!args
) SWIG_fail
;
32740 swig_obj
[0] = args
;
32741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32742 if (!SWIG_IsOK(res1
)) {
32743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32745 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32750 result
= (wxString
*) &_result_ref
;
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32768 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
= 0;
32770 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32771 wxString
*arg2
= 0 ;
32774 bool temp2
= false ;
32775 PyObject
* obj0
= 0 ;
32776 PyObject
* obj1
= 0 ;
32777 char * kwnames
[] = {
32778 (char *) "self",(char *) "label", NULL
32781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32783 if (!SWIG_IsOK(res1
)) {
32784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32786 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32788 arg2
= wxString_in_helper(obj1
);
32789 if (arg2
== NULL
) SWIG_fail
;
32793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32794 (arg1
)->SetLabel((wxString
const &)*arg2
);
32795 wxPyEndAllowThreads(__tstate
);
32796 if (PyErr_Occurred()) SWIG_fail
;
32798 resultobj
= SWIG_Py_Void();
32813 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32814 PyObject
*resultobj
= 0;
32815 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32819 PyObject
*swig_obj
[1] ;
32821 if (!args
) SWIG_fail
;
32822 swig_obj
[0] = args
;
32823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32824 if (!SWIG_IsOK(res1
)) {
32825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32827 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32843 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32844 PyObject
*resultobj
= 0;
32845 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32851 PyObject
* obj0
= 0 ;
32852 PyObject
* obj1
= 0 ;
32853 char * kwnames
[] = {
32854 (char *) "self",(char *) "editCancelled", NULL
32857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32859 if (!SWIG_IsOK(res1
)) {
32860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32862 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32863 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32864 if (!SWIG_IsOK(ecode2
)) {
32865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
32867 arg2
= static_cast< bool >(val2
);
32869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32870 (arg1
)->SetEditCanceled(arg2
);
32871 wxPyEndAllowThreads(__tstate
);
32872 if (PyErr_Occurred()) SWIG_fail
;
32874 resultobj
= SWIG_Py_Void();
32881 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32882 PyObject
*resultobj
= 0;
32883 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32884 wxString
*arg2
= 0 ;
32887 bool temp2
= false ;
32888 PyObject
* obj0
= 0 ;
32889 PyObject
* obj1
= 0 ;
32890 char * kwnames
[] = {
32891 (char *) "self",(char *) "toolTip", NULL
32894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32896 if (!SWIG_IsOK(res1
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32899 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32901 arg2
= wxString_in_helper(obj1
);
32902 if (arg2
== NULL
) SWIG_fail
;
32906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32907 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32908 wxPyEndAllowThreads(__tstate
);
32909 if (PyErr_Occurred()) SWIG_fail
;
32911 resultobj
= SWIG_Py_Void();
32926 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32927 PyObject
*resultobj
= 0;
32928 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32932 PyObject
*swig_obj
[1] ;
32934 if (!args
) SWIG_fail
;
32935 swig_obj
[0] = args
;
32936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32937 if (!SWIG_IsOK(res1
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32940 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 result
= (arg1
)->GetToolTip();
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32960 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32963 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
32964 return SWIG_Py_Void();
32967 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32968 return SWIG_Python_InitShadowInstance(args
);
32971 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32972 PyObject
*resultobj
= 0;
32973 wxWindow
*arg1
= (wxWindow
*) 0 ;
32974 int arg2
= (int) -1 ;
32975 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32976 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32977 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32978 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32979 long arg5
= (long) wxTR_DEFAULT_STYLE
;
32980 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32981 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32982 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
32983 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32984 wxPyTreeCtrl
*result
= 0 ;
32995 bool temp7
= false ;
32996 PyObject
* obj0
= 0 ;
32997 PyObject
* obj1
= 0 ;
32998 PyObject
* obj2
= 0 ;
32999 PyObject
* obj3
= 0 ;
33000 PyObject
* obj4
= 0 ;
33001 PyObject
* obj5
= 0 ;
33002 PyObject
* obj6
= 0 ;
33003 char * kwnames
[] = {
33004 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33009 if (!SWIG_IsOK(res1
)) {
33010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33015 if (!SWIG_IsOK(ecode2
)) {
33016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33018 arg2
= static_cast< int >(val2
);
33023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33033 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33034 if (!SWIG_IsOK(ecode5
)) {
33035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33037 arg5
= static_cast< long >(val5
);
33040 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33041 if (!SWIG_IsOK(res6
)) {
33042 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33047 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33051 arg7
= wxString_in_helper(obj6
);
33052 if (arg7
== NULL
) SWIG_fail
;
33057 if (!wxPyCheckForApp()) SWIG_fail
;
33058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33059 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33078 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33079 PyObject
*resultobj
= 0;
33080 wxPyTreeCtrl
*result
= 0 ;
33082 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33084 if (!wxPyCheckForApp()) SWIG_fail
;
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33097 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
= 0;
33099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33100 wxWindow
*arg2
= (wxWindow
*) 0 ;
33101 int arg3
= (int) -1 ;
33102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33106 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33107 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33108 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33109 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33110 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33124 bool temp8
= false ;
33125 PyObject
* obj0
= 0 ;
33126 PyObject
* obj1
= 0 ;
33127 PyObject
* obj2
= 0 ;
33128 PyObject
* obj3
= 0 ;
33129 PyObject
* obj4
= 0 ;
33130 PyObject
* obj5
= 0 ;
33131 PyObject
* obj6
= 0 ;
33132 PyObject
* obj7
= 0 ;
33133 char * kwnames
[] = {
33134 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33139 if (!SWIG_IsOK(res1
)) {
33140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33142 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33144 if (!SWIG_IsOK(res2
)) {
33145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33150 if (!SWIG_IsOK(ecode3
)) {
33151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33153 arg3
= static_cast< int >(val3
);
33158 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33164 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33168 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33169 if (!SWIG_IsOK(ecode6
)) {
33170 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33172 arg6
= static_cast< long >(val6
);
33175 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33176 if (!SWIG_IsOK(res7
)) {
33177 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33182 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33186 arg8
= wxString_in_helper(obj7
);
33187 if (arg8
== NULL
) SWIG_fail
;
33192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33194 wxPyEndAllowThreads(__tstate
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33214 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33215 PyObject
*resultobj
= 0;
33216 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33217 PyObject
*arg2
= (PyObject
*) 0 ;
33218 PyObject
*arg3
= (PyObject
*) 0 ;
33221 PyObject
* obj0
= 0 ;
33222 PyObject
* obj1
= 0 ;
33223 PyObject
* obj2
= 0 ;
33224 char * kwnames
[] = {
33225 (char *) "self",(char *) "self",(char *) "_class", NULL
33228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33230 if (!SWIG_IsOK(res1
)) {
33231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33233 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33238 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33239 wxPyEndAllowThreads(__tstate
);
33240 if (PyErr_Occurred()) SWIG_fail
;
33242 resultobj
= SWIG_Py_Void();
33249 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33250 PyObject
*resultobj
= 0;
33251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33255 PyObject
*swig_obj
[1] ;
33257 if (!args
) SWIG_fail
;
33258 swig_obj
[0] = args
;
33259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33260 if (!SWIG_IsOK(res1
)) {
33261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33263 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33267 wxPyEndAllowThreads(__tstate
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33270 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33277 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33278 PyObject
*resultobj
= 0;
33279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33280 unsigned int result
;
33283 PyObject
*swig_obj
[1] ;
33285 if (!args
) SWIG_fail
;
33286 swig_obj
[0] = args
;
33287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33288 if (!SWIG_IsOK(res1
)) {
33289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33291 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33298 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33305 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33306 PyObject
*resultobj
= 0;
33307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33308 unsigned int arg2
;
33311 unsigned int val2
;
33313 PyObject
* obj0
= 0 ;
33314 PyObject
* obj1
= 0 ;
33315 char * kwnames
[] = {
33316 (char *) "self",(char *) "indent", NULL
33319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33321 if (!SWIG_IsOK(res1
)) {
33322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33324 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33325 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33326 if (!SWIG_IsOK(ecode2
)) {
33327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33329 arg2
= static_cast< unsigned int >(val2
);
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 (arg1
)->SetIndent(arg2
);
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= SWIG_Py_Void();
33343 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33344 PyObject
*resultobj
= 0;
33345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33346 unsigned int result
;
33349 PyObject
*swig_obj
[1] ;
33351 if (!args
) SWIG_fail
;
33352 swig_obj
[0] = args
;
33353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33354 if (!SWIG_IsOK(res1
)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33357 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33364 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33371 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33372 PyObject
*resultobj
= 0;
33373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33374 unsigned int arg2
;
33377 unsigned int val2
;
33379 PyObject
* obj0
= 0 ;
33380 PyObject
* obj1
= 0 ;
33381 char * kwnames
[] = {
33382 (char *) "self",(char *) "spacing", NULL
33385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33387 if (!SWIG_IsOK(res1
)) {
33388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33390 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33391 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33392 if (!SWIG_IsOK(ecode2
)) {
33393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33395 arg2
= static_cast< unsigned int >(val2
);
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33398 (arg1
)->SetSpacing(arg2
);
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= SWIG_Py_Void();
33409 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33410 PyObject
*resultobj
= 0;
33411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33412 wxImageList
*result
= 0 ;
33415 PyObject
*swig_obj
[1] ;
33417 if (!args
) SWIG_fail
;
33418 swig_obj
[0] = args
;
33419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33420 if (!SWIG_IsOK(res1
)) {
33421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33423 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33431 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33439 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33440 PyObject
*resultobj
= 0;
33441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33442 wxImageList
*result
= 0 ;
33445 PyObject
*swig_obj
[1] ;
33447 if (!args
) SWIG_fail
;
33448 swig_obj
[0] = args
;
33449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33450 if (!SWIG_IsOK(res1
)) {
33451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33453 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33456 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33457 wxPyEndAllowThreads(__tstate
);
33458 if (PyErr_Occurred()) SWIG_fail
;
33461 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33469 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33470 PyObject
*resultobj
= 0;
33471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33472 wxImageList
*arg2
= (wxImageList
*) 0 ;
33477 PyObject
* obj0
= 0 ;
33478 PyObject
* obj1
= 0 ;
33479 char * kwnames
[] = {
33480 (char *) "self",(char *) "imageList", NULL
33483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33485 if (!SWIG_IsOK(res1
)) {
33486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33490 if (!SWIG_IsOK(res2
)) {
33491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33493 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 (arg1
)->SetImageList(arg2
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= SWIG_Py_Void();
33507 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33508 PyObject
*resultobj
= 0;
33509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33510 wxImageList
*arg2
= (wxImageList
*) 0 ;
33515 PyObject
* obj0
= 0 ;
33516 PyObject
* obj1
= 0 ;
33517 char * kwnames
[] = {
33518 (char *) "self",(char *) "imageList", NULL
33521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33523 if (!SWIG_IsOK(res1
)) {
33524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33527 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33528 if (!SWIG_IsOK(res2
)) {
33529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33531 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33534 (arg1
)->SetStateImageList(arg2
);
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33538 resultobj
= SWIG_Py_Void();
33545 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33546 PyObject
*resultobj
= 0;
33547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33548 wxImageList
*arg2
= (wxImageList
*) 0 ;
33552 PyObject
* obj0
= 0 ;
33553 PyObject
* obj1
= 0 ;
33554 char * kwnames
[] = {
33555 (char *) "self",(char *) "imageList", NULL
33558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33560 if (!SWIG_IsOK(res1
)) {
33561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33563 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33564 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33565 if (!SWIG_IsOK(res2
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33570 (arg1
)->AssignImageList(arg2
);
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33574 resultobj
= SWIG_Py_Void();
33581 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33582 PyObject
*resultobj
= 0;
33583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33584 wxImageList
*arg2
= (wxImageList
*) 0 ;
33588 PyObject
* obj0
= 0 ;
33589 PyObject
* obj1
= 0 ;
33590 char * kwnames
[] = {
33591 (char *) "self",(char *) "imageList", NULL
33594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33596 if (!SWIG_IsOK(res1
)) {
33597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33599 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33600 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33601 if (!SWIG_IsOK(res2
)) {
33602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 (arg1
)->AssignStateImageList(arg2
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33610 resultobj
= SWIG_Py_Void();
33617 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33618 PyObject
*resultobj
= 0;
33619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33620 wxTreeItemId
*arg2
= 0 ;
33626 PyObject
* obj0
= 0 ;
33627 PyObject
* obj1
= 0 ;
33628 char * kwnames
[] = {
33629 (char *) "self",(char *) "item", NULL
33632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33634 if (!SWIG_IsOK(res1
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33637 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33639 if (!SWIG_IsOK(res2
)) {
33640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33645 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33648 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33665 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33666 PyObject
*resultobj
= 0;
33667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33668 wxTreeItemId
*arg2
= 0 ;
33669 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33677 PyObject
* obj0
= 0 ;
33678 PyObject
* obj1
= 0 ;
33679 PyObject
* obj2
= 0 ;
33680 char * kwnames
[] = {
33681 (char *) "self",(char *) "item",(char *) "which", NULL
33684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33686 if (!SWIG_IsOK(res1
)) {
33687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33689 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33691 if (!SWIG_IsOK(res2
)) {
33692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33697 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33700 if (!SWIG_IsOK(ecode3
)) {
33701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33703 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33707 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 resultobj
= SWIG_From_int(static_cast< int >(result
));
33718 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
= 0;
33720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33721 wxTreeItemId
*arg2
= 0 ;
33722 wxPyTreeItemData
*result
= 0 ;
33727 PyObject
* obj0
= 0 ;
33728 PyObject
* obj1
= 0 ;
33729 char * kwnames
[] = {
33730 (char *) "self",(char *) "item", NULL
33733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33735 if (!SWIG_IsOK(res1
)) {
33736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33738 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33740 if (!SWIG_IsOK(res2
)) {
33741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33746 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33749 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33750 wxPyEndAllowThreads(__tstate
);
33751 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33760 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33761 PyObject
*resultobj
= 0;
33762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33763 wxTreeItemId
*arg2
= 0 ;
33764 PyObject
*result
= 0 ;
33769 PyObject
* obj0
= 0 ;
33770 PyObject
* obj1
= 0 ;
33771 char * kwnames
[] = {
33772 (char *) "self",(char *) "item", NULL
33775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33777 if (!SWIG_IsOK(res1
)) {
33778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33780 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33782 if (!SWIG_IsOK(res2
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33788 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33791 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33792 wxPyEndAllowThreads(__tstate
);
33793 if (PyErr_Occurred()) SWIG_fail
;
33795 resultobj
= result
;
33802 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33803 PyObject
*resultobj
= 0;
33804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33805 wxTreeItemId
*arg2
= 0 ;
33811 PyObject
* obj0
= 0 ;
33812 PyObject
* obj1
= 0 ;
33813 char * kwnames
[] = {
33814 (char *) "self",(char *) "item", NULL
33817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33819 if (!SWIG_IsOK(res1
)) {
33820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33822 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33824 if (!SWIG_IsOK(res2
)) {
33825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33830 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33833 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
33834 wxPyEndAllowThreads(__tstate
);
33835 if (PyErr_Occurred()) SWIG_fail
;
33837 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33844 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33845 PyObject
*resultobj
= 0;
33846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33847 wxTreeItemId
*arg2
= 0 ;
33853 PyObject
* obj0
= 0 ;
33854 PyObject
* obj1
= 0 ;
33855 char * kwnames
[] = {
33856 (char *) "self",(char *) "item", NULL
33859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33861 if (!SWIG_IsOK(res1
)) {
33862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33864 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33866 if (!SWIG_IsOK(res2
)) {
33867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33872 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33879 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33886 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33887 PyObject
*resultobj
= 0;
33888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33889 wxTreeItemId
*arg2
= 0 ;
33895 PyObject
* obj0
= 0 ;
33896 PyObject
* obj1
= 0 ;
33897 char * kwnames
[] = {
33898 (char *) "self",(char *) "item", NULL
33901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33906 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33908 if (!SWIG_IsOK(res2
)) {
33909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33914 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33917 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
33918 wxPyEndAllowThreads(__tstate
);
33919 if (PyErr_Occurred()) SWIG_fail
;
33921 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
33928 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33929 PyObject
*resultobj
= 0;
33930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33931 wxTreeItemId
*arg2
= 0 ;
33932 wxString
*arg3
= 0 ;
33937 bool temp3
= false ;
33938 PyObject
* obj0
= 0 ;
33939 PyObject
* obj1
= 0 ;
33940 PyObject
* obj2
= 0 ;
33941 char * kwnames
[] = {
33942 (char *) "self",(char *) "item",(char *) "text", NULL
33945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33947 if (!SWIG_IsOK(res1
)) {
33948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33950 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33952 if (!SWIG_IsOK(res2
)) {
33953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33958 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33960 arg3
= wxString_in_helper(obj2
);
33961 if (arg3
== NULL
) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33970 resultobj
= SWIG_Py_Void();
33985 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33986 PyObject
*resultobj
= 0;
33987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33988 wxTreeItemId
*arg2
= 0 ;
33990 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33999 PyObject
* obj0
= 0 ;
34000 PyObject
* obj1
= 0 ;
34001 PyObject
* obj2
= 0 ;
34002 PyObject
* obj3
= 0 ;
34003 char * kwnames
[] = {
34004 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34009 if (!SWIG_IsOK(res1
)) {
34010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34012 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34014 if (!SWIG_IsOK(res2
)) {
34015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34020 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34022 if (!SWIG_IsOK(ecode3
)) {
34023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34025 arg3
= static_cast< int >(val3
);
34027 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34028 if (!SWIG_IsOK(ecode4
)) {
34029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34031 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= SWIG_Py_Void();
34046 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
= 0;
34048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34049 wxTreeItemId
*arg2
= 0 ;
34050 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 PyObject
* obj2
= 0 ;
34059 char * kwnames
[] = {
34060 (char *) "self",(char *) "item",(char *) "data", NULL
34063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34065 if (!SWIG_IsOK(res1
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34068 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34070 if (!SWIG_IsOK(res2
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34076 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34077 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34078 if (!SWIG_IsOK(res3
)) {
34079 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34083 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34087 resultobj
= SWIG_Py_Void();
34094 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34095 PyObject
*resultobj
= 0;
34096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34097 wxTreeItemId
*arg2
= 0 ;
34098 PyObject
*arg3
= (PyObject
*) 0 ;
34103 PyObject
* obj0
= 0 ;
34104 PyObject
* obj1
= 0 ;
34105 PyObject
* obj2
= 0 ;
34106 char * kwnames
[] = {
34107 (char *) "self",(char *) "item",(char *) "obj", NULL
34110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34112 if (!SWIG_IsOK(res1
)) {
34113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34115 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34117 if (!SWIG_IsOK(res2
)) {
34118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34123 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34131 resultobj
= SWIG_Py_Void();
34138 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
= 0;
34140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34141 wxTreeItemId
*arg2
= 0 ;
34142 bool arg3
= (bool) true ;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 PyObject
* obj2
= 0 ;
34152 char * kwnames
[] = {
34153 (char *) "self",(char *) "item",(char *) "has", NULL
34156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34158 if (!SWIG_IsOK(res1
)) {
34159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34161 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34163 if (!SWIG_IsOK(res2
)) {
34164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34169 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34171 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34172 if (!SWIG_IsOK(ecode3
)) {
34173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34175 arg3
= static_cast< bool >(val3
);
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34183 resultobj
= SWIG_Py_Void();
34190 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34191 PyObject
*resultobj
= 0;
34192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34193 wxTreeItemId
*arg2
= 0 ;
34194 bool arg3
= (bool) true ;
34201 PyObject
* obj0
= 0 ;
34202 PyObject
* obj1
= 0 ;
34203 PyObject
* obj2
= 0 ;
34204 char * kwnames
[] = {
34205 (char *) "self",(char *) "item",(char *) "bold", NULL
34208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34210 if (!SWIG_IsOK(res1
)) {
34211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34213 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34215 if (!SWIG_IsOK(res2
)) {
34216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34221 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34223 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34224 if (!SWIG_IsOK(ecode3
)) {
34225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34227 arg3
= static_cast< bool >(val3
);
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 resultobj
= SWIG_Py_Void();
34242 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
= 0;
34244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34245 wxTreeItemId
*arg2
= 0 ;
34246 bool arg3
= (bool) true ;
34253 PyObject
* obj0
= 0 ;
34254 PyObject
* obj1
= 0 ;
34255 PyObject
* obj2
= 0 ;
34256 char * kwnames
[] = {
34257 (char *) "self",(char *) "item",(char *) "highlight", NULL
34260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34262 if (!SWIG_IsOK(res1
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34265 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34267 if (!SWIG_IsOK(res2
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34273 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34275 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34276 if (!SWIG_IsOK(ecode3
)) {
34277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34279 arg3
= static_cast< bool >(val3
);
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34287 resultobj
= SWIG_Py_Void();
34294 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
= 0;
34296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34297 wxTreeItemId
*arg2
= 0 ;
34298 wxColour
*arg3
= 0 ;
34304 PyObject
* obj0
= 0 ;
34305 PyObject
* obj1
= 0 ;
34306 PyObject
* obj2
= 0 ;
34307 char * kwnames
[] = {
34308 (char *) "self",(char *) "item",(char *) "col", NULL
34311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34313 if (!SWIG_IsOK(res1
)) {
34314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34316 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34318 if (!SWIG_IsOK(res2
)) {
34319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34324 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34327 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34335 resultobj
= SWIG_Py_Void();
34342 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34343 PyObject
*resultobj
= 0;
34344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34345 wxTreeItemId
*arg2
= 0 ;
34346 wxColour
*arg3
= 0 ;
34352 PyObject
* obj0
= 0 ;
34353 PyObject
* obj1
= 0 ;
34354 PyObject
* obj2
= 0 ;
34355 char * kwnames
[] = {
34356 (char *) "self",(char *) "item",(char *) "col", NULL
34359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34361 if (!SWIG_IsOK(res1
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34364 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34366 if (!SWIG_IsOK(res2
)) {
34367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34372 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34375 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34383 resultobj
= SWIG_Py_Void();
34390 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34391 PyObject
*resultobj
= 0;
34392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34393 wxTreeItemId
*arg2
= 0 ;
34401 PyObject
* obj0
= 0 ;
34402 PyObject
* obj1
= 0 ;
34403 PyObject
* obj2
= 0 ;
34404 char * kwnames
[] = {
34405 (char *) "self",(char *) "item",(char *) "font", NULL
34408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34410 if (!SWIG_IsOK(res1
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34413 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34415 if (!SWIG_IsOK(res2
)) {
34416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34421 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34422 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34423 if (!SWIG_IsOK(res3
)) {
34424 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34429 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34432 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= SWIG_Py_Void();
34443 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34444 PyObject
*resultobj
= 0;
34445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34446 wxTreeItemId
*arg2
= 0 ;
34452 PyObject
* obj0
= 0 ;
34453 PyObject
* obj1
= 0 ;
34454 char * kwnames
[] = {
34455 (char *) "self",(char *) "item", NULL
34458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34460 if (!SWIG_IsOK(res1
)) {
34461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34463 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34465 if (!SWIG_IsOK(res2
)) {
34466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34471 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34474 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34475 wxPyEndAllowThreads(__tstate
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34487 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34488 PyObject
*resultobj
= 0;
34489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34490 wxTreeItemId
*arg2
= 0 ;
34496 PyObject
* obj0
= 0 ;
34497 PyObject
* obj1
= 0 ;
34498 char * kwnames
[] = {
34499 (char *) "self",(char *) "item", NULL
34502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34504 if (!SWIG_IsOK(res1
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34507 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34509 if (!SWIG_IsOK(res2
)) {
34510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34515 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34531 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
= 0;
34533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34534 wxTreeItemId
*arg2
= 0 ;
34540 PyObject
* obj0
= 0 ;
34541 PyObject
* obj1
= 0 ;
34542 char * kwnames
[] = {
34543 (char *) "self",(char *) "item", NULL
34546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34548 if (!SWIG_IsOK(res1
)) {
34549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34551 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34553 if (!SWIG_IsOK(res2
)) {
34554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34559 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34562 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34563 wxPyEndAllowThreads(__tstate
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34575 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
= 0;
34577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34578 wxTreeItemId
*arg2
= 0 ;
34584 PyObject
* obj0
= 0 ;
34585 PyObject
* obj1
= 0 ;
34586 char * kwnames
[] = {
34587 (char *) "self",(char *) "item", NULL
34590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34592 if (!SWIG_IsOK(res1
)) {
34593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34597 if (!SWIG_IsOK(res2
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34603 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34607 wxPyEndAllowThreads(__tstate
);
34608 if (PyErr_Occurred()) SWIG_fail
;
34611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34619 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34620 PyObject
*resultobj
= 0;
34621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34622 wxTreeItemId
*arg2
= 0 ;
34628 PyObject
* obj0
= 0 ;
34629 PyObject
* obj1
= 0 ;
34630 char * kwnames
[] = {
34631 (char *) "self",(char *) "item", NULL
34634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34636 if (!SWIG_IsOK(res1
)) {
34637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34639 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34641 if (!SWIG_IsOK(res2
)) {
34642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34647 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34650 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34651 wxPyEndAllowThreads(__tstate
);
34652 if (PyErr_Occurred()) SWIG_fail
;
34655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34663 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34664 PyObject
*resultobj
= 0;
34665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34666 wxTreeItemId
*arg2
= 0 ;
34667 bool arg3
= (bool) true ;
34675 PyObject
* obj0
= 0 ;
34676 PyObject
* obj1
= 0 ;
34677 PyObject
* obj2
= 0 ;
34678 char * kwnames
[] = {
34679 (char *) "self",(char *) "item",(char *) "recursively", NULL
34682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34684 if (!SWIG_IsOK(res1
)) {
34685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34687 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34689 if (!SWIG_IsOK(res2
)) {
34690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34695 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34697 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34698 if (!SWIG_IsOK(ecode3
)) {
34699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34701 arg3
= static_cast< bool >(val3
);
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34716 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34717 PyObject
*resultobj
= 0;
34718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34719 wxTreeItemId result
;
34722 PyObject
*swig_obj
[1] ;
34724 if (!args
) SWIG_fail
;
34725 swig_obj
[0] = args
;
34726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34727 if (!SWIG_IsOK(res1
)) {
34728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34730 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34744 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34745 PyObject
*resultobj
= 0;
34746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34747 wxTreeItemId result
;
34750 PyObject
*swig_obj
[1] ;
34752 if (!args
) SWIG_fail
;
34753 swig_obj
[0] = args
;
34754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34755 if (!SWIG_IsOK(res1
)) {
34756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34758 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34762 wxPyEndAllowThreads(__tstate
);
34763 if (PyErr_Occurred()) SWIG_fail
;
34765 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34772 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34773 PyObject
*resultobj
= 0;
34774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34775 PyObject
*result
= 0 ;
34778 PyObject
*swig_obj
[1] ;
34780 if (!args
) SWIG_fail
;
34781 swig_obj
[0] = args
;
34782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34783 if (!SWIG_IsOK(res1
)) {
34784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34786 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34789 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= result
;
34800 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
= 0;
34802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34803 wxTreeItemId
*arg2
= 0 ;
34804 wxTreeItemId result
;
34809 PyObject
* obj0
= 0 ;
34810 PyObject
* obj1
= 0 ;
34811 char * kwnames
[] = {
34812 (char *) "self",(char *) "item", NULL
34815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34817 if (!SWIG_IsOK(res1
)) {
34818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34820 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34822 if (!SWIG_IsOK(res2
)) {
34823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34828 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
34832 wxPyEndAllowThreads(__tstate
);
34833 if (PyErr_Occurred()) SWIG_fail
;
34835 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34842 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34843 PyObject
*resultobj
= 0;
34844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34845 wxTreeItemId
*arg2
= 0 ;
34846 PyObject
*result
= 0 ;
34851 PyObject
* obj0
= 0 ;
34852 PyObject
* obj1
= 0 ;
34853 char * kwnames
[] = {
34854 (char *) "self",(char *) "item", NULL
34857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34859 if (!SWIG_IsOK(res1
)) {
34860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34862 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34864 if (!SWIG_IsOK(res2
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34870 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34873 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
34874 wxPyEndAllowThreads(__tstate
);
34875 if (PyErr_Occurred()) SWIG_fail
;
34877 resultobj
= result
;
34884 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34885 PyObject
*resultobj
= 0;
34886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34887 wxTreeItemId
*arg2
= 0 ;
34888 void *arg3
= (void *) 0 ;
34889 PyObject
*result
= 0 ;
34895 PyObject
* obj0
= 0 ;
34896 PyObject
* obj1
= 0 ;
34897 PyObject
* obj2
= 0 ;
34898 char * kwnames
[] = {
34899 (char *) "self",(char *) "item",(char *) "cookie", NULL
34902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34904 if (!SWIG_IsOK(res1
)) {
34905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34907 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34909 if (!SWIG_IsOK(res2
)) {
34910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34915 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34916 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
34917 if (!SWIG_IsOK(res3
)) {
34918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34923 wxPyEndAllowThreads(__tstate
);
34924 if (PyErr_Occurred()) SWIG_fail
;
34926 resultobj
= result
;
34933 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34934 PyObject
*resultobj
= 0;
34935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34936 wxTreeItemId
*arg2
= 0 ;
34937 wxTreeItemId result
;
34942 PyObject
* obj0
= 0 ;
34943 PyObject
* obj1
= 0 ;
34944 char * kwnames
[] = {
34945 (char *) "self",(char *) "item", NULL
34948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34950 if (!SWIG_IsOK(res1
)) {
34951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34953 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34955 if (!SWIG_IsOK(res2
)) {
34956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34961 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34975 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
= 0;
34977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34978 wxTreeItemId
*arg2
= 0 ;
34979 wxTreeItemId result
;
34984 PyObject
* obj0
= 0 ;
34985 PyObject
* obj1
= 0 ;
34986 char * kwnames
[] = {
34987 (char *) "self",(char *) "item", NULL
34990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34992 if (!SWIG_IsOK(res1
)) {
34993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34995 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34997 if (!SWIG_IsOK(res2
)) {
34998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35003 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35006 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35007 wxPyEndAllowThreads(__tstate
);
35008 if (PyErr_Occurred()) SWIG_fail
;
35010 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35017 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35018 PyObject
*resultobj
= 0;
35019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35020 wxTreeItemId
*arg2
= 0 ;
35021 wxTreeItemId result
;
35026 PyObject
* obj0
= 0 ;
35027 PyObject
* obj1
= 0 ;
35028 char * kwnames
[] = {
35029 (char *) "self",(char *) "item", NULL
35032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35034 if (!SWIG_IsOK(res1
)) {
35035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35037 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35039 if (!SWIG_IsOK(res2
)) {
35040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35045 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35049 wxPyEndAllowThreads(__tstate
);
35050 if (PyErr_Occurred()) SWIG_fail
;
35052 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35059 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35060 PyObject
*resultobj
= 0;
35061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35062 wxTreeItemId result
;
35065 PyObject
*swig_obj
[1] ;
35067 if (!args
) SWIG_fail
;
35068 swig_obj
[0] = args
;
35069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35070 if (!SWIG_IsOK(res1
)) {
35071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35073 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35076 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35080 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35087 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
= 0;
35089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35090 wxTreeItemId
*arg2
= 0 ;
35091 wxTreeItemId result
;
35096 PyObject
* obj0
= 0 ;
35097 PyObject
* obj1
= 0 ;
35098 char * kwnames
[] = {
35099 (char *) "self",(char *) "item", NULL
35102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35109 if (!SWIG_IsOK(res2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35115 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35118 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35119 wxPyEndAllowThreads(__tstate
);
35120 if (PyErr_Occurred()) SWIG_fail
;
35122 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35129 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35130 PyObject
*resultobj
= 0;
35131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35132 wxTreeItemId
*arg2
= 0 ;
35133 wxTreeItemId result
;
35138 PyObject
* obj0
= 0 ;
35139 PyObject
* obj1
= 0 ;
35140 char * kwnames
[] = {
35141 (char *) "self",(char *) "item", NULL
35144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35146 if (!SWIG_IsOK(res1
)) {
35147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35149 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35151 if (!SWIG_IsOK(res2
)) {
35152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35157 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35160 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35171 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
= 0;
35173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35174 wxString
*arg2
= 0 ;
35175 int arg3
= (int) -1 ;
35176 int arg4
= (int) -1 ;
35177 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35178 wxTreeItemId result
;
35181 bool temp2
= false ;
35187 PyObject
* obj0
= 0 ;
35188 PyObject
* obj1
= 0 ;
35189 PyObject
* obj2
= 0 ;
35190 PyObject
* obj3
= 0 ;
35191 PyObject
* obj4
= 0 ;
35192 char * kwnames
[] = {
35193 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35198 if (!SWIG_IsOK(res1
)) {
35199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35201 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35203 arg2
= wxString_in_helper(obj1
);
35204 if (arg2
== NULL
) SWIG_fail
;
35208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35209 if (!SWIG_IsOK(ecode3
)) {
35210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35212 arg3
= static_cast< int >(val3
);
35215 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35216 if (!SWIG_IsOK(ecode4
)) {
35217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35219 arg4
= static_cast< int >(val4
);
35222 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35223 if (!SWIG_IsOK(res5
)) {
35224 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35248 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35249 PyObject
*resultobj
= 0;
35250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35251 wxTreeItemId
*arg2
= 0 ;
35252 wxString
*arg3
= 0 ;
35253 int arg4
= (int) -1 ;
35254 int arg5
= (int) -1 ;
35255 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35256 wxTreeItemId result
;
35261 bool temp3
= false ;
35267 PyObject
* obj0
= 0 ;
35268 PyObject
* obj1
= 0 ;
35269 PyObject
* obj2
= 0 ;
35270 PyObject
* obj3
= 0 ;
35271 PyObject
* obj4
= 0 ;
35272 PyObject
* obj5
= 0 ;
35273 char * kwnames
[] = {
35274 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35279 if (!SWIG_IsOK(res1
)) {
35280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35282 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35284 if (!SWIG_IsOK(res2
)) {
35285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35290 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35292 arg3
= wxString_in_helper(obj2
);
35293 if (arg3
== NULL
) SWIG_fail
;
35297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35298 if (!SWIG_IsOK(ecode4
)) {
35299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35301 arg4
= static_cast< int >(val4
);
35304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35305 if (!SWIG_IsOK(ecode5
)) {
35306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35308 arg5
= static_cast< int >(val5
);
35311 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35312 if (!SWIG_IsOK(res6
)) {
35313 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35319 wxPyEndAllowThreads(__tstate
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35322 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35337 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35338 PyObject
*resultobj
= 0;
35339 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35340 wxTreeItemId
*arg2
= 0 ;
35341 wxTreeItemId
*arg3
= 0 ;
35342 wxString
*arg4
= 0 ;
35343 int arg5
= (int) -1 ;
35344 int arg6
= (int) -1 ;
35345 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35346 wxTreeItemId result
;
35353 bool temp4
= false ;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 PyObject
* obj2
= 0 ;
35362 PyObject
* obj3
= 0 ;
35363 PyObject
* obj4
= 0 ;
35364 PyObject
* obj5
= 0 ;
35365 PyObject
* obj6
= 0 ;
35366 char * kwnames
[] = {
35367 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35372 if (!SWIG_IsOK(res1
)) {
35373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35375 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35377 if (!SWIG_IsOK(res2
)) {
35378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35383 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35384 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35385 if (!SWIG_IsOK(res3
)) {
35386 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35391 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35393 arg4
= wxString_in_helper(obj3
);
35394 if (arg4
== NULL
) SWIG_fail
;
35398 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35399 if (!SWIG_IsOK(ecode5
)) {
35400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35402 arg5
= static_cast< int >(val5
);
35405 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35406 if (!SWIG_IsOK(ecode6
)) {
35407 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35409 arg6
= static_cast< int >(val6
);
35412 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35413 if (!SWIG_IsOK(res7
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35419 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35438 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35439 PyObject
*resultobj
= 0;
35440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35441 wxTreeItemId
*arg2
= 0 ;
35443 wxString
*arg4
= 0 ;
35444 int arg5
= (int) -1 ;
35445 int arg6
= (int) -1 ;
35446 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35447 wxTreeItemId result
;
35454 bool temp4
= false ;
35460 PyObject
* obj0
= 0 ;
35461 PyObject
* obj1
= 0 ;
35462 PyObject
* obj2
= 0 ;
35463 PyObject
* obj3
= 0 ;
35464 PyObject
* obj4
= 0 ;
35465 PyObject
* obj5
= 0 ;
35466 PyObject
* obj6
= 0 ;
35467 char * kwnames
[] = {
35468 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35473 if (!SWIG_IsOK(res1
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35476 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35478 if (!SWIG_IsOK(res2
)) {
35479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35484 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35485 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35486 if (!SWIG_IsOK(ecode3
)) {
35487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35489 arg3
= static_cast< size_t >(val3
);
35491 arg4
= wxString_in_helper(obj3
);
35492 if (arg4
== NULL
) SWIG_fail
;
35496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35497 if (!SWIG_IsOK(ecode5
)) {
35498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35500 arg5
= static_cast< int >(val5
);
35503 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35504 if (!SWIG_IsOK(ecode6
)) {
35505 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35507 arg6
= static_cast< int >(val6
);
35510 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35511 if (!SWIG_IsOK(res7
)) {
35512 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35517 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35518 wxPyEndAllowThreads(__tstate
);
35519 if (PyErr_Occurred()) SWIG_fail
;
35521 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35536 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35537 PyObject
*resultobj
= 0;
35538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35539 wxTreeItemId
*arg2
= 0 ;
35540 wxString
*arg3
= 0 ;
35541 int arg4
= (int) -1 ;
35542 int arg5
= (int) -1 ;
35543 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35544 wxTreeItemId result
;
35549 bool temp3
= false ;
35555 PyObject
* obj0
= 0 ;
35556 PyObject
* obj1
= 0 ;
35557 PyObject
* obj2
= 0 ;
35558 PyObject
* obj3
= 0 ;
35559 PyObject
* obj4
= 0 ;
35560 PyObject
* obj5
= 0 ;
35561 char * kwnames
[] = {
35562 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35567 if (!SWIG_IsOK(res1
)) {
35568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35570 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35572 if (!SWIG_IsOK(res2
)) {
35573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35578 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35580 arg3
= wxString_in_helper(obj2
);
35581 if (arg3
== NULL
) SWIG_fail
;
35585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35586 if (!SWIG_IsOK(ecode4
)) {
35587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35589 arg4
= static_cast< int >(val4
);
35592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35593 if (!SWIG_IsOK(ecode5
)) {
35594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35596 arg5
= static_cast< int >(val5
);
35599 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35600 if (!SWIG_IsOK(res6
)) {
35601 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35606 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35607 wxPyEndAllowThreads(__tstate
);
35608 if (PyErr_Occurred()) SWIG_fail
;
35610 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35625 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35626 PyObject
*resultobj
= 0;
35627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35628 wxTreeItemId
*arg2
= 0 ;
35633 PyObject
* obj0
= 0 ;
35634 PyObject
* obj1
= 0 ;
35635 char * kwnames
[] = {
35636 (char *) "self",(char *) "item", NULL
35639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35641 if (!SWIG_IsOK(res1
)) {
35642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35644 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35646 if (!SWIG_IsOK(res2
)) {
35647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35652 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35655 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35656 wxPyEndAllowThreads(__tstate
);
35657 if (PyErr_Occurred()) SWIG_fail
;
35659 resultobj
= SWIG_Py_Void();
35666 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35667 PyObject
*resultobj
= 0;
35668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35669 wxTreeItemId
*arg2
= 0 ;
35674 PyObject
* obj0
= 0 ;
35675 PyObject
* obj1
= 0 ;
35676 char * kwnames
[] = {
35677 (char *) "self",(char *) "item", NULL
35680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35682 if (!SWIG_IsOK(res1
)) {
35683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35685 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35687 if (!SWIG_IsOK(res2
)) {
35688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35693 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35696 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35697 wxPyEndAllowThreads(__tstate
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35700 resultobj
= SWIG_Py_Void();
35707 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35708 PyObject
*resultobj
= 0;
35709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35712 PyObject
*swig_obj
[1] ;
35714 if (!args
) SWIG_fail
;
35715 swig_obj
[0] = args
;
35716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35717 if (!SWIG_IsOK(res1
)) {
35718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35720 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 (arg1
)->DeleteAllItems();
35724 wxPyEndAllowThreads(__tstate
);
35725 if (PyErr_Occurred()) SWIG_fail
;
35727 resultobj
= SWIG_Py_Void();
35734 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
= 0;
35736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35737 wxTreeItemId
*arg2
= 0 ;
35742 PyObject
* obj0
= 0 ;
35743 PyObject
* obj1
= 0 ;
35744 char * kwnames
[] = {
35745 (char *) "self",(char *) "item", NULL
35748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35750 if (!SWIG_IsOK(res1
)) {
35751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35753 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35755 if (!SWIG_IsOK(res2
)) {
35756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35761 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35764 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35768 resultobj
= SWIG_Py_Void();
35775 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35776 PyObject
*resultobj
= 0;
35777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35778 wxTreeItemId
*arg2
= 0 ;
35783 PyObject
* obj0
= 0 ;
35784 PyObject
* obj1
= 0 ;
35785 char * kwnames
[] = {
35786 (char *) "self",(char *) "item", NULL
35789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35791 if (!SWIG_IsOK(res1
)) {
35792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35794 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35796 if (!SWIG_IsOK(res2
)) {
35797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35802 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= SWIG_Py_Void();
35816 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
= 0;
35818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35819 wxTreeItemId
*arg2
= 0 ;
35824 PyObject
* obj0
= 0 ;
35825 PyObject
* obj1
= 0 ;
35826 char * kwnames
[] = {
35827 (char *) "self",(char *) "item", NULL
35830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35832 if (!SWIG_IsOK(res1
)) {
35833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35835 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35837 if (!SWIG_IsOK(res2
)) {
35838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35843 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35846 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
35847 wxPyEndAllowThreads(__tstate
);
35848 if (PyErr_Occurred()) SWIG_fail
;
35850 resultobj
= SWIG_Py_Void();
35857 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35858 PyObject
*resultobj
= 0;
35859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35860 wxTreeItemId
*arg2
= 0 ;
35865 PyObject
* obj0
= 0 ;
35866 PyObject
* obj1
= 0 ;
35867 char * kwnames
[] = {
35868 (char *) "self",(char *) "item", NULL
35871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35873 if (!SWIG_IsOK(res1
)) {
35874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35878 if (!SWIG_IsOK(res2
)) {
35879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35884 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35887 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
35888 wxPyEndAllowThreads(__tstate
);
35889 if (PyErr_Occurred()) SWIG_fail
;
35891 resultobj
= SWIG_Py_Void();
35898 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35899 PyObject
*resultobj
= 0;
35900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35903 PyObject
*swig_obj
[1] ;
35905 if (!args
) SWIG_fail
;
35906 swig_obj
[0] = args
;
35907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35908 if (!SWIG_IsOK(res1
)) {
35909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35911 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 (arg1
)->Unselect();
35915 wxPyEndAllowThreads(__tstate
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35918 resultobj
= SWIG_Py_Void();
35925 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35926 PyObject
*resultobj
= 0;
35927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35928 wxTreeItemId
*arg2
= 0 ;
35933 PyObject
* obj0
= 0 ;
35934 PyObject
* obj1
= 0 ;
35935 char * kwnames
[] = {
35936 (char *) "self",(char *) "item", NULL
35939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35941 if (!SWIG_IsOK(res1
)) {
35942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35944 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35946 if (!SWIG_IsOK(res2
)) {
35947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35952 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35955 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
35956 wxPyEndAllowThreads(__tstate
);
35957 if (PyErr_Occurred()) SWIG_fail
;
35959 resultobj
= SWIG_Py_Void();
35966 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35967 PyObject
*resultobj
= 0;
35968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35971 PyObject
*swig_obj
[1] ;
35973 if (!args
) SWIG_fail
;
35974 swig_obj
[0] = args
;
35975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35976 if (!SWIG_IsOK(res1
)) {
35977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35979 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35982 (arg1
)->UnselectAll();
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_Py_Void();
35993 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
= 0;
35995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35996 wxTreeItemId
*arg2
= 0 ;
35997 bool arg3
= (bool) true ;
36004 PyObject
* obj0
= 0 ;
36005 PyObject
* obj1
= 0 ;
36006 PyObject
* obj2
= 0 ;
36007 char * kwnames
[] = {
36008 (char *) "self",(char *) "item",(char *) "select", NULL
36011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36013 if (!SWIG_IsOK(res1
)) {
36014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36016 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36018 if (!SWIG_IsOK(res2
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36024 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36026 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36027 if (!SWIG_IsOK(ecode3
)) {
36028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36030 arg3
= static_cast< bool >(val3
);
36033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36034 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36035 wxPyEndAllowThreads(__tstate
);
36036 if (PyErr_Occurred()) SWIG_fail
;
36038 resultobj
= SWIG_Py_Void();
36045 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36046 PyObject
*resultobj
= 0;
36047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36048 wxTreeItemId
*arg2
= 0 ;
36053 PyObject
* obj0
= 0 ;
36054 PyObject
* obj1
= 0 ;
36055 char * kwnames
[] = {
36056 (char *) "self",(char *) "item", NULL
36059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36061 if (!SWIG_IsOK(res1
)) {
36062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36064 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36066 if (!SWIG_IsOK(res2
)) {
36067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36072 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36076 wxPyEndAllowThreads(__tstate
);
36077 if (PyErr_Occurred()) SWIG_fail
;
36079 resultobj
= SWIG_Py_Void();
36086 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36087 PyObject
*resultobj
= 0;
36088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36089 wxTreeItemId
*arg2
= 0 ;
36094 PyObject
* obj0
= 0 ;
36095 PyObject
* obj1
= 0 ;
36096 char * kwnames
[] = {
36097 (char *) "self",(char *) "item", NULL
36100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36102 if (!SWIG_IsOK(res1
)) {
36103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36107 if (!SWIG_IsOK(res2
)) {
36108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36113 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36116 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 resultobj
= SWIG_Py_Void();
36127 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
= 0;
36129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36130 wxTreeItemId
*arg2
= 0 ;
36135 PyObject
* obj0
= 0 ;
36136 PyObject
* obj1
= 0 ;
36137 char * kwnames
[] = {
36138 (char *) "self",(char *) "item", NULL
36141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36143 if (!SWIG_IsOK(res1
)) {
36144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36146 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36148 if (!SWIG_IsOK(res2
)) {
36149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36154 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36157 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36158 wxPyEndAllowThreads(__tstate
);
36159 if (PyErr_Occurred()) SWIG_fail
;
36161 resultobj
= SWIG_Py_Void();
36168 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36169 PyObject
*resultobj
= 0;
36170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36171 wxTreeItemId
*arg2
= 0 ;
36176 PyObject
* obj0
= 0 ;
36177 PyObject
* obj1
= 0 ;
36178 char * kwnames
[] = {
36179 (char *) "self",(char *) "item", NULL
36182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36184 if (!SWIG_IsOK(res1
)) {
36185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36187 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36189 if (!SWIG_IsOK(res2
)) {
36190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36195 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36198 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36202 resultobj
= SWIG_Py_Void();
36209 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36210 PyObject
*resultobj
= 0;
36211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36212 wxTextCtrl
*result
= 0 ;
36215 PyObject
*swig_obj
[1] ;
36217 if (!args
) SWIG_fail
;
36218 swig_obj
[0] = args
;
36219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36220 if (!SWIG_IsOK(res1
)) {
36221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36226 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36227 wxPyEndAllowThreads(__tstate
);
36228 if (PyErr_Occurred()) SWIG_fail
;
36231 resultobj
= wxPyMake_wxObject(result
, 0);
36239 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36240 PyObject
*resultobj
= 0;
36241 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36242 wxTreeItemId
*arg2
= 0 ;
36243 bool arg3
= (bool) false ;
36250 PyObject
* obj0
= 0 ;
36251 PyObject
* obj1
= 0 ;
36252 PyObject
* obj2
= 0 ;
36253 char * kwnames
[] = {
36254 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36259 if (!SWIG_IsOK(res1
)) {
36260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36264 if (!SWIG_IsOK(res2
)) {
36265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36272 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36273 if (!SWIG_IsOK(ecode3
)) {
36274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36276 arg3
= static_cast< bool >(val3
);
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36281 wxPyEndAllowThreads(__tstate
);
36282 if (PyErr_Occurred()) SWIG_fail
;
36284 resultobj
= SWIG_Py_Void();
36291 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36292 PyObject
*resultobj
= 0;
36293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36294 wxTreeItemId
*arg2
= 0 ;
36299 PyObject
* obj0
= 0 ;
36300 PyObject
* obj1
= 0 ;
36301 char * kwnames
[] = {
36302 (char *) "self",(char *) "item", NULL
36305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36307 if (!SWIG_IsOK(res1
)) {
36308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36312 if (!SWIG_IsOK(res2
)) {
36313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36318 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 resultobj
= SWIG_Py_Void();
36332 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36333 PyObject
*resultobj
= 0;
36334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36335 wxPoint
*arg2
= 0 ;
36337 wxTreeItemId result
;
36342 int res3
= SWIG_TMPOBJ
;
36343 PyObject
* obj0
= 0 ;
36344 PyObject
* obj1
= 0 ;
36345 char * kwnames
[] = {
36346 (char *) "self",(char *) "point", NULL
36350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36352 if (!SWIG_IsOK(res1
)) {
36353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36355 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36362 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36366 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36367 if (SWIG_IsTmpObj(res3
)) {
36368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36370 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36379 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36380 PyObject
*resultobj
= 0;
36381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36382 wxTreeItemId
*arg2
= 0 ;
36383 bool arg3
= (bool) false ;
36384 PyObject
*result
= 0 ;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 PyObject
* obj2
= 0 ;
36394 char * kwnames
[] = {
36395 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36400 if (!SWIG_IsOK(res1
)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36403 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36405 if (!SWIG_IsOK(res2
)) {
36406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36411 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36413 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36414 if (!SWIG_IsOK(ecode3
)) {
36415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36417 arg3
= static_cast< bool >(val3
);
36420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36421 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36422 wxPyEndAllowThreads(__tstate
);
36423 if (PyErr_Occurred()) SWIG_fail
;
36425 resultobj
= result
;
36432 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36433 PyObject
*resultobj
= 0;
36434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36435 wxTreeItemId
*arg2
= 0 ;
36443 PyObject
* obj0
= 0 ;
36444 PyObject
* obj1
= 0 ;
36445 PyObject
* obj2
= 0 ;
36446 char * kwnames
[] = {
36447 (char *) "self",(char *) "node",(char *) "state", NULL
36450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36452 if (!SWIG_IsOK(res1
)) {
36453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36455 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36457 if (!SWIG_IsOK(res2
)) {
36458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36463 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36465 if (!SWIG_IsOK(ecode3
)) {
36466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36468 arg3
= static_cast< int >(val3
);
36470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36471 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
36472 wxPyEndAllowThreads(__tstate
);
36473 if (PyErr_Occurred()) SWIG_fail
;
36475 resultobj
= SWIG_Py_Void();
36482 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36483 PyObject
*resultobj
= 0;
36484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36485 wxTreeItemId
*arg2
= 0 ;
36491 PyObject
* obj0
= 0 ;
36492 PyObject
* obj1
= 0 ;
36493 char * kwnames
[] = {
36494 (char *) "self",(char *) "node", NULL
36497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36499 if (!SWIG_IsOK(res1
)) {
36500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36502 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36504 if (!SWIG_IsOK(res2
)) {
36505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36510 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36513 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
36514 wxPyEndAllowThreads(__tstate
);
36515 if (PyErr_Occurred()) SWIG_fail
;
36517 resultobj
= SWIG_From_int(static_cast< int >(result
));
36524 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36525 PyObject
*resultobj
= 0;
36526 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36527 SwigValueWrapper
<wxVisualAttributes
> result
;
36530 PyObject
* obj0
= 0 ;
36531 char * kwnames
[] = {
36532 (char *) "variant", NULL
36535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36537 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36538 if (!SWIG_IsOK(ecode1
)) {
36539 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36541 arg1
= static_cast< wxWindowVariant
>(val1
);
36544 if (!wxPyCheckForApp()) SWIG_fail
;
36545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36546 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36550 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36557 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36560 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36561 return SWIG_Py_Void();
36564 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36565 return SWIG_Python_InitShadowInstance(args
);
36568 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36569 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36574 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36575 PyObject
*pyobj
= 0;
36579 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36581 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36588 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36589 PyObject
*resultobj
= 0;
36590 wxWindow
*arg1
= (wxWindow
*) 0 ;
36591 int arg2
= (int) (int)-1 ;
36592 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36598 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36599 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36601 int arg8
= (int) 0 ;
36602 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36603 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36604 wxGenericDirCtrl
*result
= 0 ;
36609 bool temp3
= false ;
36614 bool temp7
= false ;
36617 bool temp9
= false ;
36618 PyObject
* obj0
= 0 ;
36619 PyObject
* obj1
= 0 ;
36620 PyObject
* obj2
= 0 ;
36621 PyObject
* obj3
= 0 ;
36622 PyObject
* obj4
= 0 ;
36623 PyObject
* obj5
= 0 ;
36624 PyObject
* obj6
= 0 ;
36625 PyObject
* obj7
= 0 ;
36626 PyObject
* obj8
= 0 ;
36627 char * kwnames
[] = {
36628 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36633 if (!SWIG_IsOK(res1
)) {
36634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36636 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36639 if (!SWIG_IsOK(ecode2
)) {
36640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36642 arg2
= static_cast< int >(val2
);
36646 arg3
= wxString_in_helper(obj2
);
36647 if (arg3
== NULL
) SWIG_fail
;
36654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36660 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36664 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36665 if (!SWIG_IsOK(ecode6
)) {
36666 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36668 arg6
= static_cast< long >(val6
);
36672 arg7
= wxString_in_helper(obj6
);
36673 if (arg7
== NULL
) SWIG_fail
;
36678 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36679 if (!SWIG_IsOK(ecode8
)) {
36680 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36682 arg8
= static_cast< int >(val8
);
36686 arg9
= wxString_in_helper(obj8
);
36687 if (arg9
== NULL
) SWIG_fail
;
36692 if (!wxPyCheckForApp()) SWIG_fail
;
36693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36694 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36695 wxPyEndAllowThreads(__tstate
);
36696 if (PyErr_Occurred()) SWIG_fail
;
36698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36729 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36730 PyObject
*resultobj
= 0;
36731 wxGenericDirCtrl
*result
= 0 ;
36733 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36735 if (!wxPyCheckForApp()) SWIG_fail
;
36736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36737 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36748 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
= 0;
36750 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36751 wxWindow
*arg2
= (wxWindow
*) 0 ;
36752 int arg3
= (int) (int)-1 ;
36753 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36754 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36755 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36756 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36757 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36758 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36759 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36760 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36761 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36762 int arg9
= (int) 0 ;
36763 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36764 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36772 bool temp4
= false ;
36777 bool temp8
= false ;
36780 bool temp10
= false ;
36781 PyObject
* obj0
= 0 ;
36782 PyObject
* obj1
= 0 ;
36783 PyObject
* obj2
= 0 ;
36784 PyObject
* obj3
= 0 ;
36785 PyObject
* obj4
= 0 ;
36786 PyObject
* obj5
= 0 ;
36787 PyObject
* obj6
= 0 ;
36788 PyObject
* obj7
= 0 ;
36789 PyObject
* obj8
= 0 ;
36790 PyObject
* obj9
= 0 ;
36791 char * kwnames
[] = {
36792 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36797 if (!SWIG_IsOK(res1
)) {
36798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36800 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36802 if (!SWIG_IsOK(res2
)) {
36803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36805 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36808 if (!SWIG_IsOK(ecode3
)) {
36809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36811 arg3
= static_cast< int >(val3
);
36815 arg4
= wxString_in_helper(obj3
);
36816 if (arg4
== NULL
) SWIG_fail
;
36823 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36829 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36833 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36834 if (!SWIG_IsOK(ecode7
)) {
36835 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36837 arg7
= static_cast< long >(val7
);
36841 arg8
= wxString_in_helper(obj7
);
36842 if (arg8
== NULL
) SWIG_fail
;
36847 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36848 if (!SWIG_IsOK(ecode9
)) {
36849 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36851 arg9
= static_cast< int >(val9
);
36855 arg10
= wxString_in_helper(obj9
);
36856 if (arg10
== NULL
) SWIG_fail
;
36861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36862 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36863 wxPyEndAllowThreads(__tstate
);
36864 if (PyErr_Occurred()) SWIG_fail
;
36867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36899 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
= 0;
36901 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36902 wxString
*arg2
= 0 ;
36906 bool temp2
= false ;
36907 PyObject
* obj0
= 0 ;
36908 PyObject
* obj1
= 0 ;
36909 char * kwnames
[] = {
36910 (char *) "self",(char *) "path", NULL
36913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36915 if (!SWIG_IsOK(res1
)) {
36916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36918 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36920 arg2
= wxString_in_helper(obj1
);
36921 if (arg2
== NULL
) SWIG_fail
;
36925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36926 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36947 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36948 PyObject
*resultobj
= 0;
36949 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36953 PyObject
*swig_obj
[1] ;
36955 if (!args
) SWIG_fail
;
36956 swig_obj
[0] = args
;
36957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36958 if (!SWIG_IsOK(res1
)) {
36959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36961 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36964 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
36965 wxPyEndAllowThreads(__tstate
);
36966 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36981 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36982 PyObject
*resultobj
= 0;
36983 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36984 wxString
*arg2
= 0 ;
36987 bool temp2
= false ;
36988 PyObject
* obj0
= 0 ;
36989 PyObject
* obj1
= 0 ;
36990 char * kwnames
[] = {
36991 (char *) "self",(char *) "path", NULL
36994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36996 if (!SWIG_IsOK(res1
)) {
36997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36999 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37001 arg2
= wxString_in_helper(obj1
);
37002 if (arg2
== NULL
) SWIG_fail
;
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37008 wxPyEndAllowThreads(__tstate
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37011 resultobj
= SWIG_Py_Void();
37026 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37027 PyObject
*resultobj
= 0;
37028 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37032 PyObject
*swig_obj
[1] ;
37034 if (!args
) SWIG_fail
;
37035 swig_obj
[0] = args
;
37036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37037 if (!SWIG_IsOK(res1
)) {
37038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37040 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37043 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37044 wxPyEndAllowThreads(__tstate
);
37045 if (PyErr_Occurred()) SWIG_fail
;
37049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37060 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37061 PyObject
*resultobj
= 0;
37062 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37066 PyObject
*swig_obj
[1] ;
37068 if (!args
) SWIG_fail
;
37069 swig_obj
[0] = args
;
37070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37071 if (!SWIG_IsOK(res1
)) {
37072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37074 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37077 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37094 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
= 0;
37096 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37097 wxString
*arg2
= 0 ;
37100 bool temp2
= false ;
37101 PyObject
* obj0
= 0 ;
37102 PyObject
* obj1
= 0 ;
37103 char * kwnames
[] = {
37104 (char *) "self",(char *) "path", NULL
37107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37109 if (!SWIG_IsOK(res1
)) {
37110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37112 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37114 arg2
= wxString_in_helper(obj1
);
37115 if (arg2
== NULL
) SWIG_fail
;
37119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37120 (arg1
)->SetPath((wxString
const &)*arg2
);
37121 wxPyEndAllowThreads(__tstate
);
37122 if (PyErr_Occurred()) SWIG_fail
;
37124 resultobj
= SWIG_Py_Void();
37139 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37140 PyObject
*resultobj
= 0;
37141 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37147 PyObject
* obj0
= 0 ;
37148 PyObject
* obj1
= 0 ;
37149 char * kwnames
[] = {
37150 (char *) "self",(char *) "show", NULL
37153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",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_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37158 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37159 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37160 if (!SWIG_IsOK(ecode2
)) {
37161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37163 arg2
= static_cast< bool >(val2
);
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37166 (arg1
)->ShowHidden(arg2
);
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37170 resultobj
= SWIG_Py_Void();
37177 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37178 PyObject
*resultobj
= 0;
37179 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37183 PyObject
*swig_obj
[1] ;
37185 if (!args
) SWIG_fail
;
37186 swig_obj
[0] = args
;
37187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37188 if (!SWIG_IsOK(res1
)) {
37189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37191 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37194 result
= (bool)(arg1
)->GetShowHidden();
37195 wxPyEndAllowThreads(__tstate
);
37196 if (PyErr_Occurred()) SWIG_fail
;
37199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37207 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37208 PyObject
*resultobj
= 0;
37209 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37213 PyObject
*swig_obj
[1] ;
37215 if (!args
) SWIG_fail
;
37216 swig_obj
[0] = args
;
37217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37218 if (!SWIG_IsOK(res1
)) {
37219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37221 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37224 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37225 wxPyEndAllowThreads(__tstate
);
37226 if (PyErr_Occurred()) SWIG_fail
;
37230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37241 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37242 PyObject
*resultobj
= 0;
37243 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37244 wxString
*arg2
= 0 ;
37247 bool temp2
= false ;
37248 PyObject
* obj0
= 0 ;
37249 PyObject
* obj1
= 0 ;
37250 char * kwnames
[] = {
37251 (char *) "self",(char *) "filter", NULL
37254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37256 if (!SWIG_IsOK(res1
)) {
37257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37259 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37261 arg2
= wxString_in_helper(obj1
);
37262 if (arg2
== NULL
) SWIG_fail
;
37266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37267 (arg1
)->SetFilter((wxString
const &)*arg2
);
37268 wxPyEndAllowThreads(__tstate
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37271 resultobj
= SWIG_Py_Void();
37286 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37287 PyObject
*resultobj
= 0;
37288 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37292 PyObject
*swig_obj
[1] ;
37294 if (!args
) SWIG_fail
;
37295 swig_obj
[0] = args
;
37296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37297 if (!SWIG_IsOK(res1
)) {
37298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37300 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37303 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37304 wxPyEndAllowThreads(__tstate
);
37305 if (PyErr_Occurred()) SWIG_fail
;
37307 resultobj
= SWIG_From_int(static_cast< int >(result
));
37314 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37315 PyObject
*resultobj
= 0;
37316 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37322 PyObject
* obj0
= 0 ;
37323 PyObject
* obj1
= 0 ;
37324 char * kwnames
[] = {
37325 (char *) "self",(char *) "n", NULL
37328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37330 if (!SWIG_IsOK(res1
)) {
37331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37333 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37335 if (!SWIG_IsOK(ecode2
)) {
37336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37338 arg2
= static_cast< int >(val2
);
37340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37341 (arg1
)->SetFilterIndex(arg2
);
37342 wxPyEndAllowThreads(__tstate
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37345 resultobj
= SWIG_Py_Void();
37352 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37353 PyObject
*resultobj
= 0;
37354 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37355 wxTreeItemId result
;
37358 PyObject
*swig_obj
[1] ;
37360 if (!args
) SWIG_fail
;
37361 swig_obj
[0] = args
;
37362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37363 if (!SWIG_IsOK(res1
)) {
37364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37366 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37369 result
= (arg1
)->GetRootId();
37370 wxPyEndAllowThreads(__tstate
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37373 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37380 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37381 PyObject
*resultobj
= 0;
37382 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37383 wxPyTreeCtrl
*result
= 0 ;
37386 PyObject
*swig_obj
[1] ;
37388 if (!args
) SWIG_fail
;
37389 swig_obj
[0] = args
;
37390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37391 if (!SWIG_IsOK(res1
)) {
37392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37394 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37397 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37398 wxPyEndAllowThreads(__tstate
);
37399 if (PyErr_Occurred()) SWIG_fail
;
37402 resultobj
= wxPyMake_wxObject(result
, 0);
37410 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37411 PyObject
*resultobj
= 0;
37412 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37413 wxDirFilterListCtrl
*result
= 0 ;
37416 PyObject
*swig_obj
[1] ;
37418 if (!args
) SWIG_fail
;
37419 swig_obj
[0] = args
;
37420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37421 if (!SWIG_IsOK(res1
)) {
37422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37424 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37427 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37428 wxPyEndAllowThreads(__tstate
);
37429 if (PyErr_Occurred()) SWIG_fail
;
37431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37438 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37439 PyObject
*resultobj
= 0;
37440 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37441 wxTreeItemId arg2
;
37442 wxString
*arg3
= 0 ;
37444 wxTreeItemId result
;
37449 bool temp3
= false ;
37451 int res4
= SWIG_TMPOBJ
;
37452 PyObject
* obj0
= 0 ;
37453 PyObject
* obj1
= 0 ;
37454 PyObject
* obj2
= 0 ;
37455 char * kwnames
[] = {
37456 (char *) "self",(char *) "parentId",(char *) "path", NULL
37460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37462 if (!SWIG_IsOK(res1
)) {
37463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37465 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37468 if (!SWIG_IsOK(res2
)) {
37469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37474 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37476 if (SWIG_IsNewObj(res2
)) delete temp
;
37480 arg3
= wxString_in_helper(obj2
);
37481 if (arg3
== NULL
) SWIG_fail
;
37485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37486 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37487 wxPyEndAllowThreads(__tstate
);
37488 if (PyErr_Occurred()) SWIG_fail
;
37490 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37491 if (SWIG_IsTmpObj(res4
)) {
37492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37494 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37511 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37512 PyObject
*resultobj
= 0;
37513 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37516 PyObject
*swig_obj
[1] ;
37518 if (!args
) SWIG_fail
;
37519 swig_obj
[0] = args
;
37520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37521 if (!SWIG_IsOK(res1
)) {
37522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37524 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37527 (arg1
)->DoResize();
37528 wxPyEndAllowThreads(__tstate
);
37529 if (PyErr_Occurred()) SWIG_fail
;
37531 resultobj
= SWIG_Py_Void();
37538 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37539 PyObject
*resultobj
= 0;
37540 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37543 PyObject
*swig_obj
[1] ;
37545 if (!args
) SWIG_fail
;
37546 swig_obj
[0] = args
;
37547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37548 if (!SWIG_IsOK(res1
)) {
37549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37551 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37554 (arg1
)->ReCreateTree();
37555 wxPyEndAllowThreads(__tstate
);
37556 if (PyErr_Occurred()) SWIG_fail
;
37558 resultobj
= SWIG_Py_Void();
37565 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37568 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37569 return SWIG_Py_Void();
37572 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37573 return SWIG_Python_InitShadowInstance(args
);
37576 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37577 PyObject
*resultobj
= 0;
37578 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37579 int arg2
= (int) (int)-1 ;
37580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37584 long arg5
= (long) 0 ;
37585 wxDirFilterListCtrl
*result
= 0 ;
37594 PyObject
* obj0
= 0 ;
37595 PyObject
* obj1
= 0 ;
37596 PyObject
* obj2
= 0 ;
37597 PyObject
* obj3
= 0 ;
37598 PyObject
* obj4
= 0 ;
37599 char * kwnames
[] = {
37600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37605 if (!SWIG_IsOK(res1
)) {
37606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37608 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37611 if (!SWIG_IsOK(ecode2
)) {
37612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37614 arg2
= static_cast< int >(val2
);
37619 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37625 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37629 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37630 if (!SWIG_IsOK(ecode5
)) {
37631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37633 arg5
= static_cast< long >(val5
);
37636 if (!wxPyCheckForApp()) SWIG_fail
;
37637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37638 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37639 wxPyEndAllowThreads(__tstate
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37649 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37650 PyObject
*resultobj
= 0;
37651 wxDirFilterListCtrl
*result
= 0 ;
37653 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37655 if (!wxPyCheckForApp()) SWIG_fail
;
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37658 wxPyEndAllowThreads(__tstate
);
37659 if (PyErr_Occurred()) SWIG_fail
;
37661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37668 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37669 PyObject
*resultobj
= 0;
37670 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37671 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37672 int arg3
= (int) (int)-1 ;
37673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37677 long arg6
= (long) 0 ;
37689 PyObject
* obj0
= 0 ;
37690 PyObject
* obj1
= 0 ;
37691 PyObject
* obj2
= 0 ;
37692 PyObject
* obj3
= 0 ;
37693 PyObject
* obj4
= 0 ;
37694 PyObject
* obj5
= 0 ;
37695 char * kwnames
[] = {
37696 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37701 if (!SWIG_IsOK(res1
)) {
37702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37704 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37706 if (!SWIG_IsOK(res2
)) {
37707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37709 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37712 if (!SWIG_IsOK(ecode3
)) {
37713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37715 arg3
= static_cast< int >(val3
);
37720 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37726 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37730 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37731 if (!SWIG_IsOK(ecode6
)) {
37732 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37734 arg6
= static_cast< long >(val6
);
37737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37738 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37739 wxPyEndAllowThreads(__tstate
);
37740 if (PyErr_Occurred()) SWIG_fail
;
37743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37751 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37752 PyObject
*resultobj
= 0;
37753 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37754 wxString
*arg2
= 0 ;
37758 bool temp2
= false ;
37761 PyObject
* obj0
= 0 ;
37762 PyObject
* obj1
= 0 ;
37763 PyObject
* obj2
= 0 ;
37764 char * kwnames
[] = {
37765 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37770 if (!SWIG_IsOK(res1
)) {
37771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37773 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37775 arg2
= wxString_in_helper(obj1
);
37776 if (arg2
== NULL
) SWIG_fail
;
37779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37780 if (!SWIG_IsOK(ecode3
)) {
37781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37783 arg3
= static_cast< int >(val3
);
37785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37786 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37787 wxPyEndAllowThreads(__tstate
);
37788 if (PyErr_Occurred()) SWIG_fail
;
37790 resultobj
= SWIG_Py_Void();
37805 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37808 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37809 return SWIG_Py_Void();
37812 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37813 return SWIG_Python_InitShadowInstance(args
);
37816 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
= 0;
37818 wxWindow
*arg1
= (wxWindow
*) 0 ;
37819 int arg2
= (int) (int)-1 ;
37820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37822 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37823 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37824 long arg5
= (long) 0 ;
37825 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37826 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37827 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37829 wxPyControl
*result
= 0 ;
37840 bool temp7
= false ;
37841 PyObject
* obj0
= 0 ;
37842 PyObject
* obj1
= 0 ;
37843 PyObject
* obj2
= 0 ;
37844 PyObject
* obj3
= 0 ;
37845 PyObject
* obj4
= 0 ;
37846 PyObject
* obj5
= 0 ;
37847 PyObject
* obj6
= 0 ;
37848 char * kwnames
[] = {
37849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37854 if (!SWIG_IsOK(res1
)) {
37855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37860 if (!SWIG_IsOK(ecode2
)) {
37861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37863 arg2
= static_cast< int >(val2
);
37868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37878 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37879 if (!SWIG_IsOK(ecode5
)) {
37880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
37882 arg5
= static_cast< long >(val5
);
37885 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
37886 if (!SWIG_IsOK(res6
)) {
37887 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37892 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
37896 arg7
= wxString_in_helper(obj6
);
37897 if (arg7
== NULL
) SWIG_fail
;
37902 if (!wxPyCheckForApp()) SWIG_fail
;
37903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37904 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37905 wxPyEndAllowThreads(__tstate
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
37923 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37924 PyObject
*resultobj
= 0;
37925 wxPyControl
*result
= 0 ;
37927 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
37929 if (!wxPyCheckForApp()) SWIG_fail
;
37930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37931 result
= (wxPyControl
*)new wxPyControl();
37932 wxPyEndAllowThreads(__tstate
);
37933 if (PyErr_Occurred()) SWIG_fail
;
37935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
37942 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37943 PyObject
*resultobj
= 0;
37944 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37945 PyObject
*arg2
= (PyObject
*) 0 ;
37946 PyObject
*arg3
= (PyObject
*) 0 ;
37949 PyObject
* obj0
= 0 ;
37950 PyObject
* obj1
= 0 ;
37951 PyObject
* obj2
= 0 ;
37952 char * kwnames
[] = {
37953 (char *) "self",(char *) "self",(char *) "_class", NULL
37956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37958 if (!SWIG_IsOK(res1
)) {
37959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
37961 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37967 wxPyEndAllowThreads(__tstate
);
37968 if (PyErr_Occurred()) SWIG_fail
;
37970 resultobj
= SWIG_Py_Void();
37977 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37978 PyObject
*resultobj
= 0;
37979 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37984 PyObject
* obj0
= 0 ;
37985 PyObject
* obj1
= 0 ;
37986 char * kwnames
[] = {
37987 (char *) "self",(char *) "size", NULL
37990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37992 if (!SWIG_IsOK(res1
)) {
37993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37995 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37998 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38003 wxPyEndAllowThreads(__tstate
);
38004 if (PyErr_Occurred()) SWIG_fail
;
38006 resultobj
= SWIG_Py_Void();
38013 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38014 PyObject
*resultobj
= 0;
38015 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38016 wxDC
*arg2
= (wxDC
*) 0 ;
38022 PyObject
* obj0
= 0 ;
38023 PyObject
* obj1
= 0 ;
38024 char * kwnames
[] = {
38025 (char *) "self",(char *) "dc", NULL
38028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38030 if (!SWIG_IsOK(res1
)) {
38031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38033 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38035 if (!SWIG_IsOK(res2
)) {
38036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38038 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38041 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38042 wxPyEndAllowThreads(__tstate
);
38043 if (PyErr_Occurred()) SWIG_fail
;
38046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38054 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38055 PyObject
*resultobj
= 0;
38056 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38071 PyObject
* obj0
= 0 ;
38072 PyObject
* obj1
= 0 ;
38073 PyObject
* obj2
= 0 ;
38074 PyObject
* obj3
= 0 ;
38075 PyObject
* obj4
= 0 ;
38076 char * kwnames
[] = {
38077 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38082 if (!SWIG_IsOK(res1
)) {
38083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38085 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38087 if (!SWIG_IsOK(ecode2
)) {
38088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38090 arg2
= static_cast< int >(val2
);
38091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38092 if (!SWIG_IsOK(ecode3
)) {
38093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38095 arg3
= static_cast< int >(val3
);
38096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38097 if (!SWIG_IsOK(ecode4
)) {
38098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38100 arg4
= static_cast< int >(val4
);
38101 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38102 if (!SWIG_IsOK(ecode5
)) {
38103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38105 arg5
= static_cast< int >(val5
);
38107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38108 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38109 wxPyEndAllowThreads(__tstate
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38112 resultobj
= SWIG_Py_Void();
38119 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38120 PyObject
*resultobj
= 0;
38121 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38126 int arg6
= (int) wxSIZE_AUTO
;
38139 PyObject
* obj0
= 0 ;
38140 PyObject
* obj1
= 0 ;
38141 PyObject
* obj2
= 0 ;
38142 PyObject
* obj3
= 0 ;
38143 PyObject
* obj4
= 0 ;
38144 PyObject
* obj5
= 0 ;
38145 char * kwnames
[] = {
38146 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38151 if (!SWIG_IsOK(res1
)) {
38152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38154 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38156 if (!SWIG_IsOK(ecode2
)) {
38157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38159 arg2
= static_cast< int >(val2
);
38160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38161 if (!SWIG_IsOK(ecode3
)) {
38162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38164 arg3
= static_cast< int >(val3
);
38165 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38166 if (!SWIG_IsOK(ecode4
)) {
38167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38169 arg4
= static_cast< int >(val4
);
38170 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38171 if (!SWIG_IsOK(ecode5
)) {
38172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38174 arg5
= static_cast< int >(val5
);
38176 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38177 if (!SWIG_IsOK(ecode6
)) {
38178 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38180 arg6
= static_cast< int >(val6
);
38183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38184 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38185 wxPyEndAllowThreads(__tstate
);
38186 if (PyErr_Occurred()) SWIG_fail
;
38188 resultobj
= SWIG_Py_Void();
38195 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38196 PyObject
*resultobj
= 0;
38197 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38206 PyObject
* obj0
= 0 ;
38207 PyObject
* obj1
= 0 ;
38208 PyObject
* obj2
= 0 ;
38209 char * kwnames
[] = {
38210 (char *) "self",(char *) "width",(char *) "height", NULL
38213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38215 if (!SWIG_IsOK(res1
)) {
38216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38218 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38220 if (!SWIG_IsOK(ecode2
)) {
38221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38223 arg2
= static_cast< int >(val2
);
38224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38225 if (!SWIG_IsOK(ecode3
)) {
38226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38228 arg3
= static_cast< int >(val3
);
38230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38231 (arg1
)->DoSetClientSize(arg2
,arg3
);
38232 wxPyEndAllowThreads(__tstate
);
38233 if (PyErr_Occurred()) SWIG_fail
;
38235 resultobj
= SWIG_Py_Void();
38242 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38243 PyObject
*resultobj
= 0;
38244 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38253 PyObject
* obj0
= 0 ;
38254 PyObject
* obj1
= 0 ;
38255 PyObject
* obj2
= 0 ;
38256 char * kwnames
[] = {
38257 (char *) "self",(char *) "x",(char *) "y", NULL
38260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38262 if (!SWIG_IsOK(res1
)) {
38263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38265 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38267 if (!SWIG_IsOK(ecode2
)) {
38268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38270 arg2
= static_cast< int >(val2
);
38271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38272 if (!SWIG_IsOK(ecode3
)) {
38273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38275 arg3
= static_cast< int >(val3
);
38277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38278 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38279 wxPyEndAllowThreads(__tstate
);
38280 if (PyErr_Occurred()) SWIG_fail
;
38282 resultobj
= SWIG_Py_Void();
38289 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38290 PyObject
*resultobj
= 0;
38291 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38292 int *arg2
= (int *) 0 ;
38293 int *arg3
= (int *) 0 ;
38297 int res2
= SWIG_TMPOBJ
;
38299 int res3
= SWIG_TMPOBJ
;
38300 PyObject
*swig_obj
[1] ;
38304 if (!args
) SWIG_fail
;
38305 swig_obj
[0] = args
;
38306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38307 if (!SWIG_IsOK(res1
)) {
38308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38310 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38313 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38314 wxPyEndAllowThreads(__tstate
);
38315 if (PyErr_Occurred()) SWIG_fail
;
38317 resultobj
= SWIG_Py_Void();
38318 if (SWIG_IsTmpObj(res2
)) {
38319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38321 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38324 if (SWIG_IsTmpObj(res3
)) {
38325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38327 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38336 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38337 PyObject
*resultobj
= 0;
38338 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38339 int *arg2
= (int *) 0 ;
38340 int *arg3
= (int *) 0 ;
38344 int res2
= SWIG_TMPOBJ
;
38346 int res3
= SWIG_TMPOBJ
;
38347 PyObject
*swig_obj
[1] ;
38351 if (!args
) SWIG_fail
;
38352 swig_obj
[0] = args
;
38353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38354 if (!SWIG_IsOK(res1
)) {
38355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38357 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38360 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38361 wxPyEndAllowThreads(__tstate
);
38362 if (PyErr_Occurred()) SWIG_fail
;
38364 resultobj
= SWIG_Py_Void();
38365 if (SWIG_IsTmpObj(res2
)) {
38366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38368 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38371 if (SWIG_IsTmpObj(res3
)) {
38372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38374 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38383 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38384 PyObject
*resultobj
= 0;
38385 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38386 int *arg2
= (int *) 0 ;
38387 int *arg3
= (int *) 0 ;
38391 int res2
= SWIG_TMPOBJ
;
38393 int res3
= SWIG_TMPOBJ
;
38394 PyObject
*swig_obj
[1] ;
38398 if (!args
) SWIG_fail
;
38399 swig_obj
[0] = args
;
38400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38401 if (!SWIG_IsOK(res1
)) {
38402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38404 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38407 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= SWIG_Py_Void();
38412 if (SWIG_IsTmpObj(res2
)) {
38413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38415 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38418 if (SWIG_IsTmpObj(res3
)) {
38419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38421 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38430 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38431 PyObject
*resultobj
= 0;
38432 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38436 PyObject
*swig_obj
[1] ;
38438 if (!args
) SWIG_fail
;
38439 swig_obj
[0] = args
;
38440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38441 if (!SWIG_IsOK(res1
)) {
38442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38444 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38448 wxPyEndAllowThreads(__tstate
);
38449 if (PyErr_Occurred()) SWIG_fail
;
38451 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38458 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38459 PyObject
*resultobj
= 0;
38460 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38464 PyObject
*swig_obj
[1] ;
38466 if (!args
) SWIG_fail
;
38467 swig_obj
[0] = args
;
38468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38469 if (!SWIG_IsOK(res1
)) {
38470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38472 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38475 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38476 wxPyEndAllowThreads(__tstate
);
38477 if (PyErr_Occurred()) SWIG_fail
;
38479 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38486 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38487 PyObject
*resultobj
= 0;
38488 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38489 SwigValueWrapper
<wxVisualAttributes
> result
;
38492 PyObject
*swig_obj
[1] ;
38494 if (!args
) SWIG_fail
;
38495 swig_obj
[0] = args
;
38496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38497 if (!SWIG_IsOK(res1
)) {
38498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38500 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38503 result
= (arg1
)->GetDefaultAttributes();
38504 wxPyEndAllowThreads(__tstate
);
38505 if (PyErr_Occurred()) SWIG_fail
;
38507 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38514 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38515 PyObject
*resultobj
= 0;
38516 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38519 PyObject
*swig_obj
[1] ;
38521 if (!args
) SWIG_fail
;
38522 swig_obj
[0] = args
;
38523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38524 if (!SWIG_IsOK(res1
)) {
38525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38527 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38530 (arg1
)->OnInternalIdle();
38531 wxPyEndAllowThreads(__tstate
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38534 resultobj
= SWIG_Py_Void();
38541 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38544 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38545 return SWIG_Py_Void();
38548 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38549 return SWIG_Python_InitShadowInstance(args
);
38552 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38553 PyObject
*resultobj
= 0;
38554 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38555 int arg2
= (int) 0 ;
38556 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38557 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38558 wxHelpEvent
*result
= 0 ;
38564 PyObject
* obj0
= 0 ;
38565 PyObject
* obj1
= 0 ;
38566 PyObject
* obj2
= 0 ;
38567 char * kwnames
[] = {
38568 (char *) "type",(char *) "winid",(char *) "pt", NULL
38571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38573 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38574 if (!SWIG_IsOK(ecode1
)) {
38575 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38577 arg1
= static_cast< wxEventType
>(val1
);
38580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38581 if (!SWIG_IsOK(ecode2
)) {
38582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38584 arg2
= static_cast< int >(val2
);
38589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38594 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38595 wxPyEndAllowThreads(__tstate
);
38596 if (PyErr_Occurred()) SWIG_fail
;
38598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38605 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38606 PyObject
*resultobj
= 0;
38607 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38611 PyObject
*swig_obj
[1] ;
38613 if (!args
) SWIG_fail
;
38614 swig_obj
[0] = args
;
38615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38616 if (!SWIG_IsOK(res1
)) {
38617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38619 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38622 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38623 wxPyEndAllowThreads(__tstate
);
38624 if (PyErr_Occurred()) SWIG_fail
;
38626 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38633 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
= 0;
38635 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38636 wxPoint
*arg2
= 0 ;
38640 PyObject
* obj0
= 0 ;
38641 PyObject
* obj1
= 0 ;
38642 char * kwnames
[] = {
38643 (char *) "self",(char *) "pos", NULL
38646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38648 if (!SWIG_IsOK(res1
)) {
38649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38651 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38658 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38659 wxPyEndAllowThreads(__tstate
);
38660 if (PyErr_Occurred()) SWIG_fail
;
38662 resultobj
= SWIG_Py_Void();
38669 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38670 PyObject
*resultobj
= 0;
38671 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38672 wxString
*result
= 0 ;
38675 PyObject
*swig_obj
[1] ;
38677 if (!args
) SWIG_fail
;
38678 swig_obj
[0] = args
;
38679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38680 if (!SWIG_IsOK(res1
)) {
38681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38683 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38687 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38688 result
= (wxString
*) &_result_ref
;
38690 wxPyEndAllowThreads(__tstate
);
38691 if (PyErr_Occurred()) SWIG_fail
;
38695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38706 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38707 PyObject
*resultobj
= 0;
38708 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38709 wxString
*arg2
= 0 ;
38712 bool temp2
= false ;
38713 PyObject
* obj0
= 0 ;
38714 PyObject
* obj1
= 0 ;
38715 char * kwnames
[] = {
38716 (char *) "self",(char *) "link", NULL
38719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38721 if (!SWIG_IsOK(res1
)) {
38722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38724 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38726 arg2
= wxString_in_helper(obj1
);
38727 if (arg2
== NULL
) SWIG_fail
;
38731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38732 (arg1
)->SetLink((wxString
const &)*arg2
);
38733 wxPyEndAllowThreads(__tstate
);
38734 if (PyErr_Occurred()) SWIG_fail
;
38736 resultobj
= SWIG_Py_Void();
38751 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38752 PyObject
*resultobj
= 0;
38753 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38754 wxString
*result
= 0 ;
38757 PyObject
*swig_obj
[1] ;
38759 if (!args
) SWIG_fail
;
38760 swig_obj
[0] = args
;
38761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38762 if (!SWIG_IsOK(res1
)) {
38763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38765 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38769 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38770 result
= (wxString
*) &_result_ref
;
38772 wxPyEndAllowThreads(__tstate
);
38773 if (PyErr_Occurred()) SWIG_fail
;
38777 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38779 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38788 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38789 PyObject
*resultobj
= 0;
38790 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38791 wxString
*arg2
= 0 ;
38794 bool temp2
= false ;
38795 PyObject
* obj0
= 0 ;
38796 PyObject
* obj1
= 0 ;
38797 char * kwnames
[] = {
38798 (char *) "self",(char *) "target", NULL
38801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38803 if (!SWIG_IsOK(res1
)) {
38804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38806 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38808 arg2
= wxString_in_helper(obj1
);
38809 if (arg2
== NULL
) SWIG_fail
;
38813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38814 (arg1
)->SetTarget((wxString
const &)*arg2
);
38815 wxPyEndAllowThreads(__tstate
);
38816 if (PyErr_Occurred()) SWIG_fail
;
38818 resultobj
= SWIG_Py_Void();
38833 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38836 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38837 return SWIG_Py_Void();
38840 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38841 return SWIG_Python_InitShadowInstance(args
);
38844 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38845 PyObject
*resultobj
= 0;
38846 wxWindow
*arg1
= (wxWindow
*) NULL
;
38847 bool arg2
= (bool) true ;
38848 wxContextHelp
*result
= 0 ;
38853 PyObject
* obj0
= 0 ;
38854 PyObject
* obj1
= 0 ;
38855 char * kwnames
[] = {
38856 (char *) "window",(char *) "doNow", NULL
38859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38862 if (!SWIG_IsOK(res1
)) {
38863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
38865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38868 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38869 if (!SWIG_IsOK(ecode2
)) {
38870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
38872 arg2
= static_cast< bool >(val2
);
38875 if (!wxPyCheckForApp()) SWIG_fail
;
38876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38877 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
38878 wxPyEndAllowThreads(__tstate
);
38879 if (PyErr_Occurred()) SWIG_fail
;
38881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
38888 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38889 PyObject
*resultobj
= 0;
38890 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38893 PyObject
*swig_obj
[1] ;
38895 if (!args
) SWIG_fail
;
38896 swig_obj
[0] = args
;
38897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
38898 if (!SWIG_IsOK(res1
)) {
38899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38901 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38906 wxPyEndAllowThreads(__tstate
);
38907 if (PyErr_Occurred()) SWIG_fail
;
38909 resultobj
= SWIG_Py_Void();
38916 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38917 PyObject
*resultobj
= 0;
38918 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38919 wxWindow
*arg2
= (wxWindow
*) NULL
;
38925 PyObject
* obj0
= 0 ;
38926 PyObject
* obj1
= 0 ;
38927 char * kwnames
[] = {
38928 (char *) "self",(char *) "window", NULL
38931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38933 if (!SWIG_IsOK(res1
)) {
38934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38936 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38939 if (!SWIG_IsOK(res2
)) {
38940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
38942 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38946 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
38947 wxPyEndAllowThreads(__tstate
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38959 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38960 PyObject
*resultobj
= 0;
38961 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38965 PyObject
*swig_obj
[1] ;
38967 if (!args
) SWIG_fail
;
38968 swig_obj
[0] = args
;
38969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38970 if (!SWIG_IsOK(res1
)) {
38971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38973 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38976 result
= (bool)(arg1
)->EndContextHelp();
38977 wxPyEndAllowThreads(__tstate
);
38978 if (PyErr_Occurred()) SWIG_fail
;
38981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38989 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38992 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
38993 return SWIG_Py_Void();
38996 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38997 return SWIG_Python_InitShadowInstance(args
);
39000 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39001 PyObject
*resultobj
= 0;
39002 wxWindow
*arg1
= (wxWindow
*) 0 ;
39003 int arg2
= (int) wxID_CONTEXT_HELP
;
39004 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39005 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39006 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39007 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39008 long arg5
= (long) wxBU_AUTODRAW
;
39009 wxContextHelpButton
*result
= 0 ;
39018 PyObject
* obj0
= 0 ;
39019 PyObject
* obj1
= 0 ;
39020 PyObject
* obj2
= 0 ;
39021 PyObject
* obj3
= 0 ;
39022 PyObject
* obj4
= 0 ;
39023 char * kwnames
[] = {
39024 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39029 if (!SWIG_IsOK(res1
)) {
39030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39032 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39035 if (!SWIG_IsOK(ecode2
)) {
39036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39038 arg2
= static_cast< int >(val2
);
39043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39049 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39053 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39054 if (!SWIG_IsOK(ecode5
)) {
39055 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39057 arg5
= static_cast< long >(val5
);
39060 if (!wxPyCheckForApp()) SWIG_fail
;
39061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39062 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39063 wxPyEndAllowThreads(__tstate
);
39064 if (PyErr_Occurred()) SWIG_fail
;
39066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39073 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39076 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39077 return SWIG_Py_Void();
39080 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39081 return SWIG_Python_InitShadowInstance(args
);
39084 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39085 PyObject
*resultobj
= 0;
39086 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39087 wxHelpProvider
*result
= 0 ;
39089 PyObject
* obj0
= 0 ;
39090 char * kwnames
[] = {
39091 (char *) "helpProvider", NULL
39094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39095 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39096 if (!SWIG_IsOK(res1
)) {
39097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39101 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39102 wxPyEndAllowThreads(__tstate
);
39103 if (PyErr_Occurred()) SWIG_fail
;
39105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39112 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39113 PyObject
*resultobj
= 0;
39114 wxHelpProvider
*result
= 0 ;
39116 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39119 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39130 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39131 PyObject
*resultobj
= 0;
39132 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39133 wxWindow
*arg2
= (wxWindow
*) 0 ;
39139 PyObject
* obj0
= 0 ;
39140 PyObject
* obj1
= 0 ;
39141 char * kwnames
[] = {
39142 (char *) "self",(char *) "window", NULL
39145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39147 if (!SWIG_IsOK(res1
)) {
39148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39150 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39152 if (!SWIG_IsOK(res2
)) {
39153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39155 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39158 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39159 wxPyEndAllowThreads(__tstate
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39175 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39176 PyObject
*resultobj
= 0;
39177 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39178 wxWindow
*arg2
= (wxWindow
*) 0 ;
39184 PyObject
* obj0
= 0 ;
39185 PyObject
* obj1
= 0 ;
39186 char * kwnames
[] = {
39187 (char *) "self",(char *) "window", NULL
39190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39192 if (!SWIG_IsOK(res1
)) {
39193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39195 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39196 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39197 if (!SWIG_IsOK(res2
)) {
39198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39200 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39203 result
= (bool)(arg1
)->ShowHelp(arg2
);
39204 wxPyEndAllowThreads(__tstate
);
39205 if (PyErr_Occurred()) SWIG_fail
;
39208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39216 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39217 PyObject
*resultobj
= 0;
39218 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39219 wxWindow
*arg2
= (wxWindow
*) 0 ;
39220 wxString
*arg3
= 0 ;
39225 bool temp3
= false ;
39226 PyObject
* obj0
= 0 ;
39227 PyObject
* obj1
= 0 ;
39228 PyObject
* obj2
= 0 ;
39229 char * kwnames
[] = {
39230 (char *) "self",(char *) "window",(char *) "text", NULL
39233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39235 if (!SWIG_IsOK(res1
)) {
39236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39238 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39240 if (!SWIG_IsOK(res2
)) {
39241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39243 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39245 arg3
= wxString_in_helper(obj2
);
39246 if (arg3
== NULL
) SWIG_fail
;
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39251 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39252 wxPyEndAllowThreads(__tstate
);
39253 if (PyErr_Occurred()) SWIG_fail
;
39255 resultobj
= SWIG_Py_Void();
39270 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39271 PyObject
*resultobj
= 0;
39272 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39274 wxString
*arg3
= 0 ;
39279 bool temp3
= false ;
39280 PyObject
* obj0
= 0 ;
39281 PyObject
* obj1
= 0 ;
39282 PyObject
* obj2
= 0 ;
39283 char * kwnames
[] = {
39284 (char *) "self",(char *) "id",(char *) "text", NULL
39287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39289 if (!SWIG_IsOK(res1
)) {
39290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39292 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39294 if (!SWIG_IsOK(ecode2
)) {
39295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39297 arg2
= static_cast< int >(val2
);
39299 arg3
= wxString_in_helper(obj2
);
39300 if (arg3
== NULL
) SWIG_fail
;
39304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39305 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39306 wxPyEndAllowThreads(__tstate
);
39307 if (PyErr_Occurred()) SWIG_fail
;
39309 resultobj
= SWIG_Py_Void();
39324 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39325 PyObject
*resultobj
= 0;
39326 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39327 wxWindow
*arg2
= (wxWindow
*) 0 ;
39332 PyObject
* obj0
= 0 ;
39333 PyObject
* obj1
= 0 ;
39334 char * kwnames
[] = {
39335 (char *) "self",(char *) "window", NULL
39338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39340 if (!SWIG_IsOK(res1
)) {
39341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39343 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39345 if (!SWIG_IsOK(res2
)) {
39346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39348 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39351 (arg1
)->RemoveHelp(arg2
);
39352 wxPyEndAllowThreads(__tstate
);
39353 if (PyErr_Occurred()) SWIG_fail
;
39355 resultobj
= SWIG_Py_Void();
39362 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39363 PyObject
*resultobj
= 0;
39364 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39367 PyObject
*swig_obj
[1] ;
39369 if (!args
) SWIG_fail
;
39370 swig_obj
[0] = args
;
39371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39372 if (!SWIG_IsOK(res1
)) {
39373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39375 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39378 wxHelpProvider_Destroy(arg1
);
39379 wxPyEndAllowThreads(__tstate
);
39380 if (PyErr_Occurred()) SWIG_fail
;
39382 resultobj
= SWIG_Py_Void();
39389 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39392 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39393 return SWIG_Py_Void();
39396 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39397 PyObject
*resultobj
= 0;
39398 wxSimpleHelpProvider
*result
= 0 ;
39400 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39403 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39404 wxPyEndAllowThreads(__tstate
);
39405 if (PyErr_Occurred()) SWIG_fail
;
39407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39414 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39417 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39418 return SWIG_Py_Void();
39421 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39422 return SWIG_Python_InitShadowInstance(args
);
39425 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39426 PyObject
*resultobj
= 0;
39427 wxBitmap
*arg1
= 0 ;
39428 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39429 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39430 wxGenericDragImage
*result
= 0 ;
39435 PyObject
* obj0
= 0 ;
39436 PyObject
* obj1
= 0 ;
39437 char * kwnames
[] = {
39438 (char *) "image",(char *) "cursor", NULL
39441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39442 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39443 if (!SWIG_IsOK(res1
)) {
39444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39449 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39451 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39452 if (!SWIG_IsOK(res2
)) {
39453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39458 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39461 if (!wxPyCheckForApp()) SWIG_fail
;
39462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39463 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39464 wxPyEndAllowThreads(__tstate
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39474 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39475 PyObject
*resultobj
= 0;
39477 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39478 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39479 wxGenericDragImage
*result
= 0 ;
39484 PyObject
* obj0
= 0 ;
39485 PyObject
* obj1
= 0 ;
39486 char * kwnames
[] = {
39487 (char *) "image",(char *) "cursor", NULL
39490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39491 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39492 if (!SWIG_IsOK(res1
)) {
39493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39498 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39501 if (!SWIG_IsOK(res2
)) {
39502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39507 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39510 if (!wxPyCheckForApp()) SWIG_fail
;
39511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39512 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39513 wxPyEndAllowThreads(__tstate
);
39514 if (PyErr_Occurred()) SWIG_fail
;
39516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39523 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39524 PyObject
*resultobj
= 0;
39525 wxString
*arg1
= 0 ;
39526 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39527 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39528 wxGenericDragImage
*result
= 0 ;
39529 bool temp1
= false ;
39532 PyObject
* obj0
= 0 ;
39533 PyObject
* obj1
= 0 ;
39534 char * kwnames
[] = {
39535 (char *) "str",(char *) "cursor", NULL
39538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39540 arg1
= wxString_in_helper(obj0
);
39541 if (arg1
== NULL
) SWIG_fail
;
39545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39546 if (!SWIG_IsOK(res2
)) {
39547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39552 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39555 if (!wxPyCheckForApp()) SWIG_fail
;
39556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39557 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39558 wxPyEndAllowThreads(__tstate
);
39559 if (PyErr_Occurred()) SWIG_fail
;
39561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39576 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39577 PyObject
*resultobj
= 0;
39578 wxPyTreeCtrl
*arg1
= 0 ;
39579 wxTreeItemId
*arg2
= 0 ;
39580 wxGenericDragImage
*result
= 0 ;
39585 PyObject
* obj0
= 0 ;
39586 PyObject
* obj1
= 0 ;
39587 char * kwnames
[] = {
39588 (char *) "treeCtrl",(char *) "id", NULL
39591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39592 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39593 if (!SWIG_IsOK(res1
)) {
39594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39599 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39601 if (!SWIG_IsOK(res2
)) {
39602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39607 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39609 if (!wxPyCheckForApp()) SWIG_fail
;
39610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39611 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39612 wxPyEndAllowThreads(__tstate
);
39613 if (PyErr_Occurred()) SWIG_fail
;
39615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39622 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39623 PyObject
*resultobj
= 0;
39624 wxPyListCtrl
*arg1
= 0 ;
39626 wxGenericDragImage
*result
= 0 ;
39631 PyObject
* obj0
= 0 ;
39632 PyObject
* obj1
= 0 ;
39633 char * kwnames
[] = {
39634 (char *) "listCtrl",(char *) "id", NULL
39637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39638 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39639 if (!SWIG_IsOK(res1
)) {
39640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39645 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39646 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39647 if (!SWIG_IsOK(ecode2
)) {
39648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39650 arg2
= static_cast< long >(val2
);
39652 if (!wxPyCheckForApp()) SWIG_fail
;
39653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39654 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39655 wxPyEndAllowThreads(__tstate
);
39656 if (PyErr_Occurred()) SWIG_fail
;
39658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39665 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39666 PyObject
*resultobj
= 0;
39667 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39670 PyObject
*swig_obj
[1] ;
39672 if (!args
) SWIG_fail
;
39673 swig_obj
[0] = args
;
39674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39675 if (!SWIG_IsOK(res1
)) {
39676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39678 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39683 wxPyEndAllowThreads(__tstate
);
39684 if (PyErr_Occurred()) SWIG_fail
;
39686 resultobj
= SWIG_Py_Void();
39693 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39694 PyObject
*resultobj
= 0;
39695 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39696 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39701 PyObject
* obj0
= 0 ;
39702 PyObject
* obj1
= 0 ;
39703 char * kwnames
[] = {
39704 (char *) "self",(char *) "bitmap", NULL
39707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39709 if (!SWIG_IsOK(res1
)) {
39710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39712 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39714 if (!SWIG_IsOK(res2
)) {
39715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39717 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39720 (arg1
)->SetBackingBitmap(arg2
);
39721 wxPyEndAllowThreads(__tstate
);
39722 if (PyErr_Occurred()) SWIG_fail
;
39724 resultobj
= SWIG_Py_Void();
39731 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39732 PyObject
*resultobj
= 0;
39733 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39734 wxPoint
*arg2
= 0 ;
39735 wxWindow
*arg3
= (wxWindow
*) 0 ;
39736 bool arg4
= (bool) false ;
39737 wxRect
*arg5
= (wxRect
*) NULL
;
39748 PyObject
* obj0
= 0 ;
39749 PyObject
* obj1
= 0 ;
39750 PyObject
* obj2
= 0 ;
39751 PyObject
* obj3
= 0 ;
39752 PyObject
* obj4
= 0 ;
39753 char * kwnames
[] = {
39754 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39759 if (!SWIG_IsOK(res1
)) {
39760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39762 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39767 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39768 if (!SWIG_IsOK(res3
)) {
39769 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39771 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39773 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39774 if (!SWIG_IsOK(ecode4
)) {
39775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39777 arg4
= static_cast< bool >(val4
);
39780 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39781 if (!SWIG_IsOK(res5
)) {
39782 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39784 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39788 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39789 wxPyEndAllowThreads(__tstate
);
39790 if (PyErr_Occurred()) SWIG_fail
;
39793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39801 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39802 PyObject
*resultobj
= 0;
39803 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39804 wxPoint
*arg2
= 0 ;
39805 wxWindow
*arg3
= (wxWindow
*) 0 ;
39806 wxWindow
*arg4
= (wxWindow
*) 0 ;
39815 PyObject
* obj0
= 0 ;
39816 PyObject
* obj1
= 0 ;
39817 PyObject
* obj2
= 0 ;
39818 PyObject
* obj3
= 0 ;
39819 char * kwnames
[] = {
39820 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39825 if (!SWIG_IsOK(res1
)) {
39826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39828 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39834 if (!SWIG_IsOK(res3
)) {
39835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
39837 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39838 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39839 if (!SWIG_IsOK(res4
)) {
39840 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
39842 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
39846 wxPyEndAllowThreads(__tstate
);
39847 if (PyErr_Occurred()) SWIG_fail
;
39850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39858 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39859 PyObject
*resultobj
= 0;
39860 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39864 PyObject
*swig_obj
[1] ;
39866 if (!args
) SWIG_fail
;
39867 swig_obj
[0] = args
;
39868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39869 if (!SWIG_IsOK(res1
)) {
39870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39872 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39875 result
= (bool)(arg1
)->EndDrag();
39876 wxPyEndAllowThreads(__tstate
);
39877 if (PyErr_Occurred()) SWIG_fail
;
39880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39888 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39889 PyObject
*resultobj
= 0;
39890 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39891 wxPoint
*arg2
= 0 ;
39896 PyObject
* obj0
= 0 ;
39897 PyObject
* obj1
= 0 ;
39898 char * kwnames
[] = {
39899 (char *) "self",(char *) "pt", NULL
39902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39904 if (!SWIG_IsOK(res1
)) {
39905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39907 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39914 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
39915 wxPyEndAllowThreads(__tstate
);
39916 if (PyErr_Occurred()) SWIG_fail
;
39919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39927 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39928 PyObject
*resultobj
= 0;
39929 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39933 PyObject
*swig_obj
[1] ;
39935 if (!args
) SWIG_fail
;
39936 swig_obj
[0] = args
;
39937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39938 if (!SWIG_IsOK(res1
)) {
39939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39941 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39944 result
= (bool)(arg1
)->Show();
39945 wxPyEndAllowThreads(__tstate
);
39946 if (PyErr_Occurred()) SWIG_fail
;
39949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39957 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39958 PyObject
*resultobj
= 0;
39959 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39963 PyObject
*swig_obj
[1] ;
39965 if (!args
) SWIG_fail
;
39966 swig_obj
[0] = args
;
39967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39968 if (!SWIG_IsOK(res1
)) {
39969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39971 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39974 result
= (bool)(arg1
)->Hide();
39975 wxPyEndAllowThreads(__tstate
);
39976 if (PyErr_Occurred()) SWIG_fail
;
39979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39987 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39988 PyObject
*resultobj
= 0;
39989 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39990 wxPoint
*arg2
= 0 ;
39995 PyObject
* obj0
= 0 ;
39996 PyObject
* obj1
= 0 ;
39997 char * kwnames
[] = {
39998 (char *) "self",(char *) "pos", NULL
40001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40003 if (!SWIG_IsOK(res1
)) {
40004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40006 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40013 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40014 wxPyEndAllowThreads(__tstate
);
40015 if (PyErr_Occurred()) SWIG_fail
;
40017 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40024 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40025 PyObject
*resultobj
= 0;
40026 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40028 wxPoint
*arg3
= 0 ;
40035 PyObject
* obj0
= 0 ;
40036 PyObject
* obj1
= 0 ;
40037 PyObject
* obj2
= 0 ;
40038 char * kwnames
[] = {
40039 (char *) "self",(char *) "dc",(char *) "pos", NULL
40042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40044 if (!SWIG_IsOK(res1
)) {
40045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40047 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40049 if (!SWIG_IsOK(res2
)) {
40050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40055 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40058 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40062 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40063 wxPyEndAllowThreads(__tstate
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40075 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40076 PyObject
*resultobj
= 0;
40077 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40079 wxMemoryDC
*arg3
= 0 ;
40091 PyObject
* obj0
= 0 ;
40092 PyObject
* obj1
= 0 ;
40093 PyObject
* obj2
= 0 ;
40094 PyObject
* obj3
= 0 ;
40095 PyObject
* obj4
= 0 ;
40096 char * kwnames
[] = {
40097 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40102 if (!SWIG_IsOK(res1
)) {
40103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40105 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40107 if (!SWIG_IsOK(res2
)) {
40108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40113 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40114 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40115 if (!SWIG_IsOK(res3
)) {
40116 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40121 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40124 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40128 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40132 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40133 wxPyEndAllowThreads(__tstate
);
40134 if (PyErr_Occurred()) SWIG_fail
;
40137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40145 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40146 PyObject
*resultobj
= 0;
40147 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40148 wxPoint
*arg2
= 0 ;
40149 wxPoint
*arg3
= 0 ;
40161 PyObject
* obj0
= 0 ;
40162 PyObject
* obj1
= 0 ;
40163 PyObject
* obj2
= 0 ;
40164 PyObject
* obj3
= 0 ;
40165 PyObject
* obj4
= 0 ;
40166 char * kwnames
[] = {
40167 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40172 if (!SWIG_IsOK(res1
)) {
40173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40175 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40182 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40184 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40185 if (!SWIG_IsOK(ecode4
)) {
40186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40188 arg4
= static_cast< bool >(val4
);
40189 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40190 if (!SWIG_IsOK(ecode5
)) {
40191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40193 arg5
= static_cast< bool >(val5
);
40195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40196 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40197 wxPyEndAllowThreads(__tstate
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40209 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40212 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40213 return SWIG_Py_Void();
40216 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40217 return SWIG_Python_InitShadowInstance(args
);
40220 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40221 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40226 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40227 PyObject
*pyobj
= 0;
40231 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40233 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40240 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40241 PyObject
*resultobj
= 0;
40242 wxWindow
*arg1
= (wxWindow
*) 0 ;
40243 int arg2
= (int) -1 ;
40244 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40245 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40250 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40251 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40252 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40253 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40254 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40255 wxDatePickerCtrl
*result
= 0 ;
40268 bool temp8
= false ;
40269 PyObject
* obj0
= 0 ;
40270 PyObject
* obj1
= 0 ;
40271 PyObject
* obj2
= 0 ;
40272 PyObject
* obj3
= 0 ;
40273 PyObject
* obj4
= 0 ;
40274 PyObject
* obj5
= 0 ;
40275 PyObject
* obj6
= 0 ;
40276 PyObject
* obj7
= 0 ;
40277 char * kwnames
[] = {
40278 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40283 if (!SWIG_IsOK(res1
)) {
40284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40289 if (!SWIG_IsOK(ecode2
)) {
40290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40292 arg2
= static_cast< int >(val2
);
40295 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40296 if (!SWIG_IsOK(res3
)) {
40297 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40302 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40307 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40313 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40317 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40318 if (!SWIG_IsOK(ecode6
)) {
40319 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40321 arg6
= static_cast< long >(val6
);
40324 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40325 if (!SWIG_IsOK(res7
)) {
40326 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40331 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40335 arg8
= wxString_in_helper(obj7
);
40336 if (arg8
== NULL
) SWIG_fail
;
40341 if (!wxPyCheckForApp()) SWIG_fail
;
40342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40343 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40344 wxPyEndAllowThreads(__tstate
);
40345 if (PyErr_Occurred()) SWIG_fail
;
40347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40362 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40363 PyObject
*resultobj
= 0;
40364 wxDatePickerCtrl
*result
= 0 ;
40366 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40368 if (!wxPyCheckForApp()) SWIG_fail
;
40369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40370 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40371 wxPyEndAllowThreads(__tstate
);
40372 if (PyErr_Occurred()) SWIG_fail
;
40374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40381 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40382 PyObject
*resultobj
= 0;
40383 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40384 wxWindow
*arg2
= (wxWindow
*) 0 ;
40385 int arg3
= (int) -1 ;
40386 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40387 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40388 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40389 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40390 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40391 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40392 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40393 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40394 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40395 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40396 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40412 bool temp9
= false ;
40413 PyObject
* obj0
= 0 ;
40414 PyObject
* obj1
= 0 ;
40415 PyObject
* obj2
= 0 ;
40416 PyObject
* obj3
= 0 ;
40417 PyObject
* obj4
= 0 ;
40418 PyObject
* obj5
= 0 ;
40419 PyObject
* obj6
= 0 ;
40420 PyObject
* obj7
= 0 ;
40421 PyObject
* obj8
= 0 ;
40422 char * kwnames
[] = {
40423 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40428 if (!SWIG_IsOK(res1
)) {
40429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40431 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40433 if (!SWIG_IsOK(res2
)) {
40434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40436 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40439 if (!SWIG_IsOK(ecode3
)) {
40440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40442 arg3
= static_cast< int >(val3
);
40445 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40446 if (!SWIG_IsOK(res4
)) {
40447 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40452 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40457 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40463 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40467 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40468 if (!SWIG_IsOK(ecode7
)) {
40469 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40471 arg7
= static_cast< long >(val7
);
40474 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40475 if (!SWIG_IsOK(res8
)) {
40476 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40481 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40485 arg9
= wxString_in_helper(obj8
);
40486 if (arg9
== NULL
) SWIG_fail
;
40491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40492 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40493 wxPyEndAllowThreads(__tstate
);
40494 if (PyErr_Occurred()) SWIG_fail
;
40497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40513 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
= 0;
40515 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40516 wxDateTime
*arg2
= 0 ;
40521 PyObject
* obj0
= 0 ;
40522 PyObject
* obj1
= 0 ;
40523 char * kwnames
[] = {
40524 (char *) "self",(char *) "dt", NULL
40527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) 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_SetValue" "', 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_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40540 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40543 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40544 wxPyEndAllowThreads(__tstate
);
40545 if (PyErr_Occurred()) SWIG_fail
;
40547 resultobj
= SWIG_Py_Void();
40554 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40555 PyObject
*resultobj
= 0;
40556 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40560 PyObject
*swig_obj
[1] ;
40562 if (!args
) SWIG_fail
;
40563 swig_obj
[0] = args
;
40564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40565 if (!SWIG_IsOK(res1
)) {
40566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40568 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40571 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40572 wxPyEndAllowThreads(__tstate
);
40573 if (PyErr_Occurred()) SWIG_fail
;
40575 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40582 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40583 PyObject
*resultobj
= 0;
40584 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40585 wxDateTime
*arg2
= 0 ;
40586 wxDateTime
*arg3
= 0 ;
40593 PyObject
* obj0
= 0 ;
40594 PyObject
* obj1
= 0 ;
40595 PyObject
* obj2
= 0 ;
40596 char * kwnames
[] = {
40597 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40602 if (!SWIG_IsOK(res1
)) {
40603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40605 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40607 if (!SWIG_IsOK(res2
)) {
40608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40613 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40614 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40615 if (!SWIG_IsOK(res3
)) {
40616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40621 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40624 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40625 wxPyEndAllowThreads(__tstate
);
40626 if (PyErr_Occurred()) SWIG_fail
;
40628 resultobj
= SWIG_Py_Void();
40635 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40636 PyObject
*resultobj
= 0;
40637 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40641 PyObject
*swig_obj
[1] ;
40643 if (!args
) SWIG_fail
;
40644 swig_obj
[0] = args
;
40645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40646 if (!SWIG_IsOK(res1
)) {
40647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40649 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40652 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40653 wxPyEndAllowThreads(__tstate
);
40654 if (PyErr_Occurred()) SWIG_fail
;
40656 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40663 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40664 PyObject
*resultobj
= 0;
40665 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40669 PyObject
*swig_obj
[1] ;
40671 if (!args
) SWIG_fail
;
40672 swig_obj
[0] = args
;
40673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40674 if (!SWIG_IsOK(res1
)) {
40675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40677 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40680 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40681 wxPyEndAllowThreads(__tstate
);
40682 if (PyErr_Occurred()) SWIG_fail
;
40684 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40691 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40694 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40695 return SWIG_Py_Void();
40698 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40699 return SWIG_Python_InitShadowInstance(args
);
40702 static PyMethodDef SwigMethods
[] = {
40703 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40705 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40707 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40708 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40709 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40710 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40711 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40713 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40714 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40715 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40716 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40717 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40718 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40719 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40720 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40722 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40726 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40727 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40728 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40729 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40730 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40731 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40733 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40734 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40735 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40736 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40738 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40739 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40741 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40742 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40743 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40744 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40746 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40748 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40749 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40750 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40751 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40753 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40754 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40755 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40756 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40757 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40758 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40759 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40760 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40761 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40762 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
40763 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40764 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40767 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40769 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40770 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40771 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40772 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40773 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40774 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40775 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40776 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40777 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40779 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40780 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40782 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40785 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40787 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40788 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40790 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40792 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40794 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40795 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40797 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40800 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40801 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40803 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40805 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40806 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40808 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40809 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40811 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40815 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40816 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40818 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40820 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40824 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40825 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40827 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
40838 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
40843 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
40849 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
40850 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
40852 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
40856 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
40857 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
40858 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
40860 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
40861 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
40870 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
40871 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
40872 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
40873 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
40874 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
40875 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
40876 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
40878 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
40879 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
40880 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
40881 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
40882 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
40883 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
40884 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
40885 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
40886 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
40887 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
40889 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
40890 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
40892 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
40894 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
40899 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
40900 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
40901 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
40902 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
40903 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
40904 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
40905 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
40906 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
40911 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
40912 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
40920 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
40926 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
40927 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
40928 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
40929 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
40930 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
40931 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
40932 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
40933 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
40934 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
40935 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
40937 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
40938 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
40939 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
40941 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
40944 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
40948 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
40949 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
40951 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
40952 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
40953 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
40954 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
40955 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
40957 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
40959 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
40960 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
40961 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
40962 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
40963 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
40966 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
40967 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
40969 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
40971 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
40972 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
40973 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
40978 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
40980 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
40981 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
40983 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
40985 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
40989 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
40990 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
40993 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
40994 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
40996 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
40998 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
40999 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41001 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41004 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41005 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41007 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41013 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41014 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41017 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41018 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41020 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41022 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41025 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41026 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41028 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41030 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41033 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41034 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41039 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41040 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41042 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41044 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41045 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41047 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41048 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41049 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41052 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41053 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41055 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41058 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41060 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41061 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41062 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41064 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41065 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41070 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41075 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41077 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41079 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41082 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41088 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41090 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41092 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41094 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41095 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41097 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41099 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41103 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41105 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41106 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41108 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41109 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41111 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41113 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41114 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41115 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41117 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41118 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41120 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41122 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41123 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41124 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41126 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41127 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41129 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41137 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41138 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41139 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41141 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41142 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41144 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41146 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41147 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41148 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41149 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41151 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41152 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41153 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41154 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41155 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41156 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41157 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41158 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41159 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41160 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41161 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41162 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41163 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41164 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41165 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41166 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41167 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41168 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41169 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41171 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41178 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41180 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41182 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41190 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41195 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41196 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41213 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41214 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41215 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41216 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41219 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41220 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41222 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41223 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41226 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41227 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41228 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41230 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41234 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41235 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41237 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41241 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41242 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41243 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41244 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41245 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41246 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41248 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41249 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41250 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41251 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41252 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41253 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41254 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41268 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41269 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41270 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41271 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41272 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41273 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41274 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41275 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41276 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41277 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41278 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41279 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41280 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41281 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41282 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41283 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41284 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41285 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41286 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41287 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41288 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41289 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41290 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41291 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41292 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41293 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41294 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41295 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41296 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41297 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41298 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41299 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41300 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41301 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41302 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41303 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41305 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41306 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41307 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41308 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41309 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41310 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41311 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41312 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41313 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41314 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41315 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41316 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41317 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41318 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41319 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41320 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41321 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41322 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41323 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41324 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41325 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41326 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41327 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41328 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41330 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41331 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41333 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41340 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41341 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41342 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41357 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41358 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41359 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41360 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41361 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41363 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41369 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41370 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41375 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41377 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41378 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41401 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41403 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41404 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41406 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41410 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41412 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41416 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41417 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41418 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41419 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41420 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41423 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41424 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41425 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41426 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41428 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41429 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41431 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41433 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41434 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41435 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41437 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41439 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41441 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41443 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41444 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41446 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41448 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41451 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41452 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41453 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41455 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41458 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41459 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41461 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41463 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41464 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41492 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41493 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41494 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41501 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41511 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41516 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41518 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41524 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41532 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41533 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41535 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41538 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41540 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41541 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41544 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41545 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41547 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41549 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41550 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41551 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41553 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41554 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41555 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41556 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41558 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41561 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41562 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41564 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41572 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41573 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41574 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41575 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41576 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41577 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41578 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41579 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41580 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41582 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41584 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41586 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41588 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41589 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41591 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41593 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41594 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41595 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41597 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41598 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41600 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41606 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41607 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41608 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41609 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41610 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41616 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41620 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41622 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41623 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41628 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41629 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41631 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41634 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41636 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41637 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41638 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41639 { NULL
, NULL
, 0, NULL
}
41643 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41645 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41646 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41648 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41649 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41651 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41652 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41654 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41655 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41657 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41658 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41660 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41661 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41663 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41664 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41666 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41667 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41669 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41670 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41672 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41673 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41675 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41678 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41679 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41681 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41682 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41684 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41685 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41687 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41688 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41690 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41691 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41693 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41694 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41696 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41697 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41699 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41700 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41702 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41703 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41705 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41706 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41708 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41711 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41712 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41714 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41715 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41717 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41718 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41720 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41721 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41723 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41724 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41726 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41727 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41729 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41732 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41733 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41735 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41736 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41738 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41739 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41741 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41742 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41744 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41745 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41747 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41748 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41750 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41751 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41753 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41754 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41756 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41757 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41759 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41760 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41762 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41763 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41765 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41766 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41768 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41769 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41771 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41774 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41775 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41777 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41778 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41780 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41781 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41783 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41784 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41786 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41787 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
41789 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41790 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41792 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41793 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41795 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41796 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41798 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41799 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41801 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41802 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41804 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41805 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41807 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41808 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41810 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41811 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41813 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41814 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41816 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41817 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41819 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41820 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41822 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41823 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41825 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41826 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41828 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41829 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41831 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
41832 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
41834 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
41835 return (void *)((wxControl
*) ((wxPyControl
*) x
));
41837 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
41838 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
41840 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
41841 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
41843 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41844 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41846 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
41847 return (void *)((wxControl
*) ((wxGauge
*) x
));
41849 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
41850 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
41852 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
41853 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41855 static void *_p_wxListbookTo_p_wxControl(void *x
) {
41856 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
41858 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
41859 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
41861 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
41862 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
41864 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
41865 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
41867 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
41868 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41870 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
41871 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41873 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
41874 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41876 static void *_p_wxListViewTo_p_wxControl(void *x
) {
41877 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
41879 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
41880 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
41882 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
41883 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
41885 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
41886 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
41888 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
41889 return (void *)((wxControl
*) ((wxStaticText
*) x
));
41891 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
41892 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
41894 static void *_p_wxSliderTo_p_wxControl(void *x
) {
41895 return (void *)((wxControl
*) ((wxSlider
*) x
));
41897 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
41898 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
41900 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
41901 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
41903 static void *_p_wxButtonTo_p_wxControl(void *x
) {
41904 return (void *)((wxControl
*) ((wxButton
*) x
));
41906 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
41907 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
41909 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
41910 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41912 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
41913 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
41915 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
41916 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
41918 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
41919 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
41921 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
41922 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
41924 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
41925 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41927 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
41928 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41930 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
41931 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41933 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
41934 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
41936 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
41937 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41939 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
41940 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41942 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
41943 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41945 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
41946 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41948 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
41949 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41951 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
41952 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41954 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
41955 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41957 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
41958 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
41960 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
41961 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
41963 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
41964 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
41966 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
41967 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
41969 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41970 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41972 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
41973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
41975 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41976 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41978 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41979 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41981 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
41982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
41984 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41985 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41987 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
41988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
41990 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
41991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
41993 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
41994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
41996 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41997 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41999 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42000 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42002 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42005 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42008 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42011 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42014 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42017 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42018 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42020 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42023 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42026 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42029 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42032 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42035 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42038 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42041 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42044 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42047 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42050 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42053 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42056 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42059 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42062 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42065 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42068 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42071 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42074 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42077 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42080 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42083 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42086 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42089 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42092 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42095 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42098 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42101 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42102 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42104 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42105 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42107 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42108 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42110 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42111 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42113 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42114 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42116 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42117 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42119 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42122 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42123 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42125 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42126 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42128 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42131 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42132 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42134 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42137 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42138 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42140 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42141 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42143 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42144 return (void *)((wxObject
*) ((wxSizer
*) x
));
42146 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42147 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42149 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42152 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42155 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42158 static void *_p_wxEventTo_p_wxObject(void *x
) {
42159 return (void *)((wxObject
*) ((wxEvent
*) x
));
42161 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42162 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42164 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42165 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42167 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42168 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42170 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42173 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42176 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42179 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42180 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42182 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42183 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42185 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42186 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42188 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42189 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42191 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42192 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42194 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42195 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42197 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42200 static void *_p_wxControlTo_p_wxObject(void *x
) {
42201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42203 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42206 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42209 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42212 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42215 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42218 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42219 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42221 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42224 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42225 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42227 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42228 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42230 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42233 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42236 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42239 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42242 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42243 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42245 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42246 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42248 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42251 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42254 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42255 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42257 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42260 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42263 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42264 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42266 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42269 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42270 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42272 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42275 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42276 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42278 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42279 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42281 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42282 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42284 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42285 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42287 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42288 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42290 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42291 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42293 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42296 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42297 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42299 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42302 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42303 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42305 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42306 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42308 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42309 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42311 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42312 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42314 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42315 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42317 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42318 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42320 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42321 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42323 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42324 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42326 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42327 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42329 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42330 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42332 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42333 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42335 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42336 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42338 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42339 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42341 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42342 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42344 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42347 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42350 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42353 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42356 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42359 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42362 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42365 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42366 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42368 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42369 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42371 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42374 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42377 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42380 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42383 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42384 return (void *)((wxObject
*) ((wxListItem
*) x
));
42386 static void *_p_wxImageTo_p_wxObject(void *x
) {
42387 return (void *)((wxObject
*) ((wxImage
*) x
));
42389 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42390 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42392 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42395 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42396 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42398 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42401 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42404 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42405 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42407 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42410 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42413 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42414 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42416 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42419 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42420 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42422 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42423 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42425 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42426 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42428 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42429 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42431 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42434 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42435 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42437 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42440 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42441 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42443 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42444 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42446 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42447 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42449 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42450 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42452 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42453 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42455 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42458 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42461 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42464 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42465 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42467 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42470 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42471 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42473 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42474 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42476 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42477 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42479 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42482 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42485 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42486 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42488 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42491 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42494 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42495 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42497 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42498 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42500 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42501 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42503 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42504 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42506 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42507 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42509 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42510 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42512 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42513 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42515 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42516 return (void *)((wxWindow
*) ((wxControl
*) x
));
42518 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42519 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42521 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42522 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42524 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42525 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42527 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42528 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42530 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42531 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42533 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42534 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42536 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42537 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42539 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42540 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42542 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42543 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42545 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42546 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42548 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42549 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42551 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42552 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42554 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42555 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42557 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42558 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42560 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42561 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42563 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42564 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42566 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42567 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42569 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42570 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42572 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42573 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42575 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42576 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42578 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42579 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42581 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42582 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42584 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42585 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42587 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42588 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42590 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42591 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42593 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42594 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42596 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42597 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42599 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42600 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42602 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42603 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42605 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42606 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42608 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42609 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42611 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42612 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42614 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42615 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42617 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42618 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42620 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42621 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42623 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42624 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42626 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42627 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42629 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42630 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42632 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42633 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42635 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42636 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42638 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42639 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42641 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42642 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42644 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42645 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42647 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42648 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42650 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42651 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42653 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42654 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42656 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42657 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42659 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42660 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42662 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42663 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42665 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42666 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42668 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42669 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42671 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42672 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42674 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42675 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42677 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42678 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42680 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42681 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42683 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42684 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42686 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42687 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42689 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
42690 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
42692 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42693 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42695 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42696 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42698 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42699 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42701 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42702 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42704 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42705 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42707 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42708 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42709 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};
42710 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42711 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42712 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42713 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42714 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42715 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42716 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42717 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42718 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42719 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42720 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42721 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42722 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42723 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42724 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42725 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42726 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42727 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42728 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42729 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42730 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42731 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42732 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42733 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42734 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42735 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42736 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42737 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42738 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42739 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42740 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42741 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42742 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42743 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42744 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42745 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42746 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42747 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42748 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42749 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42750 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42751 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42752 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42753 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42754 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42755 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42756 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42757 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42758 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42759 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42760 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42761 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42762 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42763 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42764 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42765 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42766 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42767 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42768 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42769 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42770 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42771 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42772 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42773 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42774 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42775 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42776 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42777 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42778 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42779 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42780 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42781 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42782 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42783 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42784 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42785 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42786 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42787 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42788 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42789 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42790 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42791 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42792 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42793 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42794 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42795 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42796 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42797 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42798 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42799 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42800 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42801 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42802 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42803 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42804 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42805 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42806 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42807 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42808 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42809 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42810 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42811 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42812 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42813 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42814 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42815 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42816 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42817 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42818 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42819 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42820 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42821 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42822 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42823 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42824 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42825 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42826 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42827 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42828 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42829 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42830 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42831 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
42832 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
42833 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
42834 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
42835 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
42836 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
42837 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
42838 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
42839 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
42840 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
42841 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
42842 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
42843 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
42844 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
42845 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
42846 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
42847 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
42848 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
42849 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
42850 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
42851 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
42852 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
42853 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
42854 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
42855 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
42856 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
42857 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
42858 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
42859 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
42860 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
42861 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
42862 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
42863 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
42864 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
42865 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
42866 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
42867 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
42868 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
42869 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
42871 static swig_type_info
*swig_type_initial
[] = {
42874 &_swigt__p_form_ops_t
,
42877 &_swigt__p_unsigned_char
,
42878 &_swigt__p_unsigned_int
,
42879 &_swigt__p_unsigned_long
,
42881 &_swigt__p_wxANIHandler
,
42882 &_swigt__p_wxAcceleratorTable
,
42883 &_swigt__p_wxActivateEvent
,
42884 &_swigt__p_wxArrayInt
,
42885 &_swigt__p_wxArrayString
,
42886 &_swigt__p_wxBMPHandler
,
42887 &_swigt__p_wxBitmap
,
42888 &_swigt__p_wxBitmapButton
,
42889 &_swigt__p_wxBookCtrlBase
,
42890 &_swigt__p_wxBookCtrlBaseEvent
,
42891 &_swigt__p_wxBoxSizer
,
42892 &_swigt__p_wxButton
,
42893 &_swigt__p_wxCURHandler
,
42894 &_swigt__p_wxCheckBox
,
42895 &_swigt__p_wxCheckListBox
,
42896 &_swigt__p_wxChildFocusEvent
,
42897 &_swigt__p_wxChoice
,
42898 &_swigt__p_wxChoicebook
,
42899 &_swigt__p_wxChoicebookEvent
,
42900 &_swigt__p_wxCloseEvent
,
42901 &_swigt__p_wxColour
,
42902 &_swigt__p_wxComboBox
,
42903 &_swigt__p_wxCommandEvent
,
42904 &_swigt__p_wxContextHelp
,
42905 &_swigt__p_wxContextHelpButton
,
42906 &_swigt__p_wxContextMenuEvent
,
42907 &_swigt__p_wxControl
,
42908 &_swigt__p_wxControlWithItems
,
42909 &_swigt__p_wxCursor
,
42911 &_swigt__p_wxDateEvent
,
42912 &_swigt__p_wxDatePickerCtrl
,
42913 &_swigt__p_wxDateTime
,
42914 &_swigt__p_wxDirFilterListCtrl
,
42915 &_swigt__p_wxDisplayChangedEvent
,
42916 &_swigt__p_wxDropFilesEvent
,
42917 &_swigt__p_wxDuplexMode
,
42918 &_swigt__p_wxEraseEvent
,
42919 &_swigt__p_wxEvent
,
42920 &_swigt__p_wxEvtHandler
,
42921 &_swigt__p_wxFSFile
,
42922 &_swigt__p_wxFileSystem
,
42923 &_swigt__p_wxFlexGridSizer
,
42924 &_swigt__p_wxFocusEvent
,
42926 &_swigt__p_wxGBSizerItem
,
42927 &_swigt__p_wxGIFHandler
,
42928 &_swigt__p_wxGauge
,
42929 &_swigt__p_wxGenericDirCtrl
,
42930 &_swigt__p_wxGenericDragImage
,
42931 &_swigt__p_wxGridBagSizer
,
42932 &_swigt__p_wxGridSizer
,
42933 &_swigt__p_wxHelpEvent
,
42934 &_swigt__p_wxHelpProvider
,
42935 &_swigt__p_wxICOHandler
,
42937 &_swigt__p_wxIconizeEvent
,
42938 &_swigt__p_wxIdleEvent
,
42939 &_swigt__p_wxImage
,
42940 &_swigt__p_wxImageHandler
,
42941 &_swigt__p_wxImageList
,
42942 &_swigt__p_wxIndividualLayoutConstraint
,
42943 &_swigt__p_wxInitDialogEvent
,
42944 &_swigt__p_wxItemContainer
,
42945 &_swigt__p_wxJPEGHandler
,
42946 &_swigt__p_wxKeyEvent
,
42947 &_swigt__p_wxLayoutConstraints
,
42948 &_swigt__p_wxListBox
,
42949 &_swigt__p_wxListEvent
,
42950 &_swigt__p_wxListItem
,
42951 &_swigt__p_wxListItemAttr
,
42952 &_swigt__p_wxListView
,
42953 &_swigt__p_wxListbook
,
42954 &_swigt__p_wxListbookEvent
,
42955 &_swigt__p_wxMaximizeEvent
,
42956 &_swigt__p_wxMemoryDC
,
42958 &_swigt__p_wxMenuBar
,
42959 &_swigt__p_wxMenuEvent
,
42960 &_swigt__p_wxMenuItem
,
42961 &_swigt__p_wxMouseCaptureChangedEvent
,
42962 &_swigt__p_wxMouseEvent
,
42963 &_swigt__p_wxMoveEvent
,
42964 &_swigt__p_wxNavigationKeyEvent
,
42965 &_swigt__p_wxNcPaintEvent
,
42966 &_swigt__p_wxNotebook
,
42967 &_swigt__p_wxNotebookEvent
,
42968 &_swigt__p_wxNotifyEvent
,
42969 &_swigt__p_wxObject
,
42970 &_swigt__p_wxPCXHandler
,
42971 &_swigt__p_wxPNGHandler
,
42972 &_swigt__p_wxPNMHandler
,
42973 &_swigt__p_wxPaintEvent
,
42974 &_swigt__p_wxPaletteChangedEvent
,
42975 &_swigt__p_wxPaperSize
,
42976 &_swigt__p_wxPoint
,
42977 &_swigt__p_wxPyApp
,
42978 &_swigt__p_wxPyCommandEvent
,
42979 &_swigt__p_wxPyControl
,
42980 &_swigt__p_wxPyEvent
,
42981 &_swigt__p_wxPyImageHandler
,
42982 &_swigt__p_wxPyListCtrl
,
42983 &_swigt__p_wxPySizer
,
42984 &_swigt__p_wxPyTreeCtrl
,
42985 &_swigt__p_wxPyTreeItemData
,
42986 &_swigt__p_wxPyValidator
,
42987 &_swigt__p_wxQueryNewPaletteEvent
,
42988 &_swigt__p_wxRadioBox
,
42989 &_swigt__p_wxRadioButton
,
42991 &_swigt__p_wxScrollBar
,
42992 &_swigt__p_wxScrollEvent
,
42993 &_swigt__p_wxScrollWinEvent
,
42994 &_swigt__p_wxSetCursorEvent
,
42995 &_swigt__p_wxShowEvent
,
42996 &_swigt__p_wxSimpleHelpProvider
,
42998 &_swigt__p_wxSizeEvent
,
42999 &_swigt__p_wxSizer
,
43000 &_swigt__p_wxSizerItem
,
43001 &_swigt__p_wxSlider
,
43002 &_swigt__p_wxSpinButton
,
43003 &_swigt__p_wxSpinCtrl
,
43004 &_swigt__p_wxSpinEvent
,
43005 &_swigt__p_wxStaticBitmap
,
43006 &_swigt__p_wxStaticBox
,
43007 &_swigt__p_wxStaticBoxSizer
,
43008 &_swigt__p_wxStaticLine
,
43009 &_swigt__p_wxStaticText
,
43010 &_swigt__p_wxStdDialogButtonSizer
,
43011 &_swigt__p_wxString
,
43012 &_swigt__p_wxSysColourChangedEvent
,
43013 &_swigt__p_wxTIFFHandler
,
43014 &_swigt__p_wxTextAttr
,
43015 &_swigt__p_wxTextCtrl
,
43016 &_swigt__p_wxTextUrlEvent
,
43017 &_swigt__p_wxToggleButton
,
43018 &_swigt__p_wxToolBar
,
43019 &_swigt__p_wxToolBarBase
,
43020 &_swigt__p_wxToolBarToolBase
,
43021 &_swigt__p_wxToolbook
,
43022 &_swigt__p_wxToolbookEvent
,
43023 &_swigt__p_wxTreeCtrl
,
43024 &_swigt__p_wxTreeEvent
,
43025 &_swigt__p_wxTreeItemId
,
43026 &_swigt__p_wxTreebook
,
43027 &_swigt__p_wxTreebookEvent
,
43028 &_swigt__p_wxUpdateUIEvent
,
43029 &_swigt__p_wxValidator
,
43030 &_swigt__p_wxVisualAttributes
,
43031 &_swigt__p_wxWindow
,
43032 &_swigt__p_wxWindowCreateEvent
,
43033 &_swigt__p_wxWindowDestroyEvent
,
43034 &_swigt__p_wxXPMHandler
,
43037 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43038 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43039 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43040 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43041 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43042 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43043 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43044 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43045 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43046 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43047 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43048 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43049 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}};
43050 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}};
43051 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}};
43052 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}};
43053 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43054 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43055 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
43056 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43057 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43058 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43059 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43060 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43061 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43062 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43063 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43064 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43065 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43066 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43067 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43068 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}};
43069 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43070 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43071 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}};
43072 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
43073 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43074 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43075 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43076 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43077 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43078 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43079 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43080 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43081 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43082 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43083 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43084 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43085 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43086 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43087 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43088 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43089 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43090 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43091 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43092 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43093 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43094 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43095 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43096 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43097 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43098 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43099 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43100 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43101 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43102 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43103 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}};
43104 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43105 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43106 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43107 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43108 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}};
43109 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43110 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43111 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43112 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43113 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43114 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}};
43115 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43116 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43117 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}};
43118 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43119 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}};
43120 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43121 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43122 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43123 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43124 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43125 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43126 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43127 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43128 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43129 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43130 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}};
43131 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43132 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43133 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43134 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43135 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43136 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43137 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43138 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43139 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43140 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43141 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43142 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43143 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43144 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43145 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43146 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43147 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43148 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43149 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43150 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43151 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43152 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43153 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43154 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43155 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43156 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43157 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43158 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43159 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43160 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43161 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}};
43162 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43163 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43164 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43165 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}};
43166 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43167 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43168 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43169 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43170 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43171 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43172 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43173 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43174 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43175 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43176 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43177 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43178 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43179 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43180 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43181 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43182 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43183 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43184 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43185 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43186 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43187 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43188 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}};
43189 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43190 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43191 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43192 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43193 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43194 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43195 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43196 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43197 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}};
43198 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43199 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}};
43201 static swig_cast_info
*swig_cast_initial
[] = {
43204 _swigc__p_form_ops_t
,
43207 _swigc__p_unsigned_char
,
43208 _swigc__p_unsigned_int
,
43209 _swigc__p_unsigned_long
,
43211 _swigc__p_wxANIHandler
,
43212 _swigc__p_wxAcceleratorTable
,
43213 _swigc__p_wxActivateEvent
,
43214 _swigc__p_wxArrayInt
,
43215 _swigc__p_wxArrayString
,
43216 _swigc__p_wxBMPHandler
,
43217 _swigc__p_wxBitmap
,
43218 _swigc__p_wxBitmapButton
,
43219 _swigc__p_wxBookCtrlBase
,
43220 _swigc__p_wxBookCtrlBaseEvent
,
43221 _swigc__p_wxBoxSizer
,
43222 _swigc__p_wxButton
,
43223 _swigc__p_wxCURHandler
,
43224 _swigc__p_wxCheckBox
,
43225 _swigc__p_wxCheckListBox
,
43226 _swigc__p_wxChildFocusEvent
,
43227 _swigc__p_wxChoice
,
43228 _swigc__p_wxChoicebook
,
43229 _swigc__p_wxChoicebookEvent
,
43230 _swigc__p_wxCloseEvent
,
43231 _swigc__p_wxColour
,
43232 _swigc__p_wxComboBox
,
43233 _swigc__p_wxCommandEvent
,
43234 _swigc__p_wxContextHelp
,
43235 _swigc__p_wxContextHelpButton
,
43236 _swigc__p_wxContextMenuEvent
,
43237 _swigc__p_wxControl
,
43238 _swigc__p_wxControlWithItems
,
43239 _swigc__p_wxCursor
,
43241 _swigc__p_wxDateEvent
,
43242 _swigc__p_wxDatePickerCtrl
,
43243 _swigc__p_wxDateTime
,
43244 _swigc__p_wxDirFilterListCtrl
,
43245 _swigc__p_wxDisplayChangedEvent
,
43246 _swigc__p_wxDropFilesEvent
,
43247 _swigc__p_wxDuplexMode
,
43248 _swigc__p_wxEraseEvent
,
43250 _swigc__p_wxEvtHandler
,
43251 _swigc__p_wxFSFile
,
43252 _swigc__p_wxFileSystem
,
43253 _swigc__p_wxFlexGridSizer
,
43254 _swigc__p_wxFocusEvent
,
43256 _swigc__p_wxGBSizerItem
,
43257 _swigc__p_wxGIFHandler
,
43259 _swigc__p_wxGenericDirCtrl
,
43260 _swigc__p_wxGenericDragImage
,
43261 _swigc__p_wxGridBagSizer
,
43262 _swigc__p_wxGridSizer
,
43263 _swigc__p_wxHelpEvent
,
43264 _swigc__p_wxHelpProvider
,
43265 _swigc__p_wxICOHandler
,
43267 _swigc__p_wxIconizeEvent
,
43268 _swigc__p_wxIdleEvent
,
43270 _swigc__p_wxImageHandler
,
43271 _swigc__p_wxImageList
,
43272 _swigc__p_wxIndividualLayoutConstraint
,
43273 _swigc__p_wxInitDialogEvent
,
43274 _swigc__p_wxItemContainer
,
43275 _swigc__p_wxJPEGHandler
,
43276 _swigc__p_wxKeyEvent
,
43277 _swigc__p_wxLayoutConstraints
,
43278 _swigc__p_wxListBox
,
43279 _swigc__p_wxListEvent
,
43280 _swigc__p_wxListItem
,
43281 _swigc__p_wxListItemAttr
,
43282 _swigc__p_wxListView
,
43283 _swigc__p_wxListbook
,
43284 _swigc__p_wxListbookEvent
,
43285 _swigc__p_wxMaximizeEvent
,
43286 _swigc__p_wxMemoryDC
,
43288 _swigc__p_wxMenuBar
,
43289 _swigc__p_wxMenuEvent
,
43290 _swigc__p_wxMenuItem
,
43291 _swigc__p_wxMouseCaptureChangedEvent
,
43292 _swigc__p_wxMouseEvent
,
43293 _swigc__p_wxMoveEvent
,
43294 _swigc__p_wxNavigationKeyEvent
,
43295 _swigc__p_wxNcPaintEvent
,
43296 _swigc__p_wxNotebook
,
43297 _swigc__p_wxNotebookEvent
,
43298 _swigc__p_wxNotifyEvent
,
43299 _swigc__p_wxObject
,
43300 _swigc__p_wxPCXHandler
,
43301 _swigc__p_wxPNGHandler
,
43302 _swigc__p_wxPNMHandler
,
43303 _swigc__p_wxPaintEvent
,
43304 _swigc__p_wxPaletteChangedEvent
,
43305 _swigc__p_wxPaperSize
,
43308 _swigc__p_wxPyCommandEvent
,
43309 _swigc__p_wxPyControl
,
43310 _swigc__p_wxPyEvent
,
43311 _swigc__p_wxPyImageHandler
,
43312 _swigc__p_wxPyListCtrl
,
43313 _swigc__p_wxPySizer
,
43314 _swigc__p_wxPyTreeCtrl
,
43315 _swigc__p_wxPyTreeItemData
,
43316 _swigc__p_wxPyValidator
,
43317 _swigc__p_wxQueryNewPaletteEvent
,
43318 _swigc__p_wxRadioBox
,
43319 _swigc__p_wxRadioButton
,
43321 _swigc__p_wxScrollBar
,
43322 _swigc__p_wxScrollEvent
,
43323 _swigc__p_wxScrollWinEvent
,
43324 _swigc__p_wxSetCursorEvent
,
43325 _swigc__p_wxShowEvent
,
43326 _swigc__p_wxSimpleHelpProvider
,
43328 _swigc__p_wxSizeEvent
,
43330 _swigc__p_wxSizerItem
,
43331 _swigc__p_wxSlider
,
43332 _swigc__p_wxSpinButton
,
43333 _swigc__p_wxSpinCtrl
,
43334 _swigc__p_wxSpinEvent
,
43335 _swigc__p_wxStaticBitmap
,
43336 _swigc__p_wxStaticBox
,
43337 _swigc__p_wxStaticBoxSizer
,
43338 _swigc__p_wxStaticLine
,
43339 _swigc__p_wxStaticText
,
43340 _swigc__p_wxStdDialogButtonSizer
,
43341 _swigc__p_wxString
,
43342 _swigc__p_wxSysColourChangedEvent
,
43343 _swigc__p_wxTIFFHandler
,
43344 _swigc__p_wxTextAttr
,
43345 _swigc__p_wxTextCtrl
,
43346 _swigc__p_wxTextUrlEvent
,
43347 _swigc__p_wxToggleButton
,
43348 _swigc__p_wxToolBar
,
43349 _swigc__p_wxToolBarBase
,
43350 _swigc__p_wxToolBarToolBase
,
43351 _swigc__p_wxToolbook
,
43352 _swigc__p_wxToolbookEvent
,
43353 _swigc__p_wxTreeCtrl
,
43354 _swigc__p_wxTreeEvent
,
43355 _swigc__p_wxTreeItemId
,
43356 _swigc__p_wxTreebook
,
43357 _swigc__p_wxTreebookEvent
,
43358 _swigc__p_wxUpdateUIEvent
,
43359 _swigc__p_wxValidator
,
43360 _swigc__p_wxVisualAttributes
,
43361 _swigc__p_wxWindow
,
43362 _swigc__p_wxWindowCreateEvent
,
43363 _swigc__p_wxWindowDestroyEvent
,
43364 _swigc__p_wxXPMHandler
,
43368 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43370 static swig_const_info swig_const_table
[] = {
43371 {0, 0, 0, 0.0, 0, 0}};
43376 /* -----------------------------------------------------------------------------
43377 * Type initialization:
43378 * This problem is tough by the requirement that no dynamic
43379 * memory is used. Also, since swig_type_info structures store pointers to
43380 * swig_cast_info structures and swig_cast_info structures store pointers back
43381 * to swig_type_info structures, we need some lookup code at initialization.
43382 * The idea is that swig generates all the structures that are needed.
43383 * The runtime then collects these partially filled structures.
43384 * The SWIG_InitializeModule function takes these initial arrays out of
43385 * swig_module, and does all the lookup, filling in the swig_module.types
43386 * array with the correct data and linking the correct swig_cast_info
43387 * structures together.
43389 * The generated swig_type_info structures are assigned staticly to an initial
43390 * array. We just loop though that array, and handle each type individually.
43391 * First we lookup if this type has been already loaded, and if so, use the
43392 * loaded structure instead of the generated one. Then we have to fill in the
43393 * cast linked list. The cast data is initially stored in something like a
43394 * two-dimensional array. Each row corresponds to a type (there are the same
43395 * number of rows as there are in the swig_type_initial array). Each entry in
43396 * a column is one of the swig_cast_info structures for that type.
43397 * The cast_initial array is actually an array of arrays, because each row has
43398 * a variable number of columns. So to actually build the cast linked list,
43399 * we find the array of casts associated with the type, and loop through it
43400 * adding the casts to the list. The one last trick we need to do is making
43401 * sure the type pointer in the swig_cast_info struct is correct.
43403 * First off, we lookup the cast->type name to see if it is already loaded.
43404 * There are three cases to handle:
43405 * 1) If the cast->type has already been loaded AND the type we are adding
43406 * casting info to has not been loaded (it is in this module), THEN we
43407 * replace the cast->type pointer with the type pointer that has already
43409 * 2) If BOTH types (the one we are adding casting info to, and the
43410 * cast->type) are loaded, THEN the cast info has already been loaded by
43411 * the previous module so we just ignore it.
43412 * 3) Finally, if cast->type has not already been loaded, then we add that
43413 * swig_cast_info to the linked list (because the cast->type) pointer will
43415 * ----------------------------------------------------------------------------- */
43425 #define SWIGRUNTIME_DEBUG
43429 SWIG_InitializeModule(void *clientdata
) {
43431 swig_module_info
*module_head
;
43432 static int init_run
= 0;
43434 clientdata
= clientdata
;
43436 if (init_run
) return;
43439 /* Initialize the swig_module */
43440 swig_module
.type_initial
= swig_type_initial
;
43441 swig_module
.cast_initial
= swig_cast_initial
;
43443 /* Try and load any already created modules */
43444 module_head
= SWIG_GetModule(clientdata
);
43446 swig_module
.next
= module_head
->next
;
43447 module_head
->next
= &swig_module
;
43449 /* This is the first module loaded */
43450 swig_module
.next
= &swig_module
;
43451 SWIG_SetModule(clientdata
, &swig_module
);
43454 /* Now work on filling in swig_module.types */
43455 #ifdef SWIGRUNTIME_DEBUG
43456 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43458 for (i
= 0; i
< swig_module
.size
; ++i
) {
43459 swig_type_info
*type
= 0;
43460 swig_type_info
*ret
;
43461 swig_cast_info
*cast
;
43463 #ifdef SWIGRUNTIME_DEBUG
43464 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43467 /* if there is another module already loaded */
43468 if (swig_module
.next
!= &swig_module
) {
43469 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43472 /* Overwrite clientdata field */
43473 #ifdef SWIGRUNTIME_DEBUG
43474 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43476 if (swig_module
.type_initial
[i
]->clientdata
) {
43477 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43478 #ifdef SWIGRUNTIME_DEBUG
43479 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43483 type
= swig_module
.type_initial
[i
];
43486 /* Insert casting types */
43487 cast
= swig_module
.cast_initial
[i
];
43488 while (cast
->type
) {
43489 /* Don't need to add information already in the list */
43491 #ifdef SWIGRUNTIME_DEBUG
43492 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43494 if (swig_module
.next
!= &swig_module
) {
43495 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43496 #ifdef SWIGRUNTIME_DEBUG
43497 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43501 if (type
== swig_module
.type_initial
[i
]) {
43502 #ifdef SWIGRUNTIME_DEBUG
43503 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43508 /* Check for casting already in the list */
43509 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43510 #ifdef SWIGRUNTIME_DEBUG
43511 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43513 if (!ocast
) ret
= 0;
43518 #ifdef SWIGRUNTIME_DEBUG
43519 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43522 type
->cast
->prev
= cast
;
43523 cast
->next
= type
->cast
;
43529 /* Set entry in modules->types array equal to the type */
43530 swig_module
.types
[i
] = type
;
43532 swig_module
.types
[i
] = 0;
43534 #ifdef SWIGRUNTIME_DEBUG
43535 printf("**** SWIG_InitializeModule: Cast List ******\n");
43536 for (i
= 0; i
< swig_module
.size
; ++i
) {
43538 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43539 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43540 while (cast
->type
) {
43541 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43545 printf("---- Total casts: %d\n",j
);
43547 printf("**** SWIG_InitializeModule: Cast List ******\n");
43551 /* This function will propagate the clientdata field of type to
43552 * any new swig_type_info structures that have been added into the list
43553 * of equivalent types. It is like calling
43554 * SWIG_TypeClientData(type, clientdata) a second time.
43557 SWIG_PropagateClientData(void) {
43559 swig_cast_info
*equiv
;
43560 static int init_run
= 0;
43562 if (init_run
) return;
43565 for (i
= 0; i
< swig_module
.size
; i
++) {
43566 if (swig_module
.types
[i
]->clientdata
) {
43567 equiv
= swig_module
.types
[i
]->cast
;
43569 if (!equiv
->converter
) {
43570 if (equiv
->type
&& !equiv
->type
->clientdata
)
43571 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43573 equiv
= equiv
->next
;
43593 /* Python-specific SWIG API */
43594 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43595 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43596 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43598 /* -----------------------------------------------------------------------------
43599 * global variable support code.
43600 * ----------------------------------------------------------------------------- */
43602 typedef struct swig_globalvar
{
43603 char *name
; /* Name of global variable */
43604 PyObject
*(*get_attr
)(void); /* Return the current value */
43605 int (*set_attr
)(PyObject
*); /* Set the value */
43606 struct swig_globalvar
*next
;
43609 typedef struct swig_varlinkobject
{
43611 swig_globalvar
*vars
;
43612 } swig_varlinkobject
;
43614 SWIGINTERN PyObject
*
43615 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43616 return PyString_FromString("<Swig global variables>");
43619 SWIGINTERN PyObject
*
43620 swig_varlink_str(swig_varlinkobject
*v
) {
43621 PyObject
*str
= PyString_FromString("(");
43622 swig_globalvar
*var
;
43623 for (var
= v
->vars
; var
; var
=var
->next
) {
43624 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43625 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43627 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43632 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43633 PyObject
*str
= swig_varlink_str(v
);
43634 fprintf(fp
,"Swig global variables ");
43635 fprintf(fp
,"%s\n", PyString_AsString(str
));
43641 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43642 swig_globalvar
*var
= v
->vars
;
43644 swig_globalvar
*n
= var
->next
;
43651 SWIGINTERN PyObject
*
43652 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43653 PyObject
*res
= NULL
;
43654 swig_globalvar
*var
= v
->vars
;
43656 if (strcmp(var
->name
,n
) == 0) {
43657 res
= (*var
->get_attr
)();
43662 if (res
== NULL
&& !PyErr_Occurred()) {
43663 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43669 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43671 swig_globalvar
*var
= v
->vars
;
43673 if (strcmp(var
->name
,n
) == 0) {
43674 res
= (*var
->set_attr
)(p
);
43679 if (res
== 1 && !PyErr_Occurred()) {
43680 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43685 SWIGINTERN PyTypeObject
*
43686 swig_varlink_type(void) {
43687 static char varlink__doc__
[] = "Swig var link object";
43688 static PyTypeObject varlink_type
;
43689 static int type_init
= 0;
43691 const PyTypeObject tmp
43693 PyObject_HEAD_INIT(NULL
)
43694 0, /* Number of items in variable part (ob_size) */
43695 (char *)"swigvarlink", /* Type name (tp_name) */
43696 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43697 0, /* Itemsize (tp_itemsize) */
43698 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43699 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43700 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43701 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43702 0, /* tp_compare */
43703 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43704 0, /* tp_as_number */
43705 0, /* tp_as_sequence */
43706 0, /* tp_as_mapping */
43709 (reprfunc
)swig_varlink_str
, /* tp_str */
43710 0, /* tp_getattro */
43711 0, /* tp_setattro */
43712 0, /* tp_as_buffer */
43714 varlink__doc__
, /* tp_doc */
43715 0, /* tp_traverse */
43717 0, /* tp_richcompare */
43718 0, /* tp_weaklistoffset */
43719 #if PY_VERSION_HEX >= 0x02020000
43720 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43722 #if PY_VERSION_HEX >= 0x02030000
43725 #ifdef COUNT_ALLOCS
43726 0,0,0,0 /* tp_alloc -> tp_next */
43729 varlink_type
= tmp
;
43730 varlink_type
.ob_type
= &PyType_Type
;
43733 return &varlink_type
;
43736 /* Create a variable linking object for use later */
43737 SWIGINTERN PyObject
*
43738 SWIG_Python_newvarlink(void) {
43739 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43743 return ((PyObject
*) result
);
43747 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43748 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43749 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43751 size_t size
= strlen(name
)+1;
43752 gv
->name
= (char *)malloc(size
);
43754 strncpy(gv
->name
,name
,size
);
43755 gv
->get_attr
= get_attr
;
43756 gv
->set_attr
= set_attr
;
43757 gv
->next
= v
->vars
;
43763 SWIGINTERN PyObject
*
43765 static PyObject
*_SWIG_globals
= 0;
43766 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43767 return _SWIG_globals
;
43770 /* -----------------------------------------------------------------------------
43771 * constants/methods manipulation
43772 * ----------------------------------------------------------------------------- */
43774 /* Install Constants */
43776 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43779 for (i
= 0; constants
[i
].type
; ++i
) {
43780 switch(constants
[i
].type
) {
43781 case SWIG_PY_POINTER
:
43782 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43784 case SWIG_PY_BINARY
:
43785 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43792 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43798 /* -----------------------------------------------------------------------------*/
43799 /* Fix SwigMethods to carry the callback ptrs when needed */
43800 /* -----------------------------------------------------------------------------*/
43803 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43804 swig_const_info
*const_table
,
43805 swig_type_info
**types
,
43806 swig_type_info
**types_initial
) {
43808 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43809 char *c
= methods
[i
].ml_doc
;
43810 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43812 swig_const_info
*ci
= 0;
43813 char *name
= c
+ 10;
43814 for (j
= 0; const_table
[j
].type
; ++j
) {
43815 if (strncmp(const_table
[j
].name
, name
,
43816 strlen(const_table
[j
].name
)) == 0) {
43817 ci
= &(const_table
[j
]);
43822 size_t shift
= (ci
->ptype
) - types
;
43823 swig_type_info
*ty
= types_initial
[shift
];
43824 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43825 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43826 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43829 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43831 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
43833 strncpy(buff
, "swig_ptr: ", 10);
43835 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
43836 methods
[i
].ml_doc
= ndoc
;
43848 /* -----------------------------------------------------------------------------*
43849 * Partial Init method
43850 * -----------------------------------------------------------------------------*/
43855 SWIGEXPORT
void SWIG_init(void) {
43858 /* Fix SwigMethods to carry the callback ptrs when needed */
43859 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
43861 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43862 d
= PyModule_GetDict(m
);
43864 SWIG_InitializeModule(0);
43865 SWIG_InstallConstants(d
,swig_const_table
);
43868 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
43869 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
43870 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
43871 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
43872 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
43873 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
43874 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
43875 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
43876 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
43877 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
43878 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
43879 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
43880 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
43881 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
43882 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
43883 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
43884 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
43885 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
43886 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
43887 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
43888 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
43889 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
43890 SWIG_Python_SetConstant(d
, "GA_PROGRESSBAR",SWIG_From_int(static_cast< int >(wxGA_PROGRESSBAR
)));
43891 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
43892 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
43893 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
43894 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
43895 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
43896 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
43897 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
43898 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
43899 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
43900 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
43901 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
43902 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
43903 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
43904 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
43905 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
43906 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
43907 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
43908 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
43909 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
43910 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
43911 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
43912 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
43913 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
43914 SWIG_Python_SetConstant(d
, "TE_LINEWRAP",SWIG_From_int(static_cast< int >(wxTE_LINEWRAP
)));
43915 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
43916 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
43917 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
43918 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
43919 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
43920 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
43921 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
43922 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
43923 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
43924 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
43925 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
43926 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
43927 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
43928 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
43929 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
43930 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
43931 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
43932 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
43933 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
43934 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
43935 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
43936 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
43937 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
43938 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
43939 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
43940 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
43941 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
43942 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
43943 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
43944 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
43945 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
43946 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
43947 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
43948 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
43949 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
43950 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
43951 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
43952 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
43953 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
43954 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
43955 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
43956 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
43957 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
43958 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
43959 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
43960 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
43961 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
43962 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
43963 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
43964 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
43965 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
43966 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
43967 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
43968 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
43969 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
43970 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
43971 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
43972 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
43973 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
43974 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
43975 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
43976 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
43977 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
43978 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
43979 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
43980 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
43981 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
43982 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
43983 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
43984 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
43985 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
43986 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
43987 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
43988 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
43989 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
43990 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
43991 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
43992 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
43993 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
43994 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
43995 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
43996 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
43997 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
43998 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
43999 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
44000 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
44001 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
44002 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
44003 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44004 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44005 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44006 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44009 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44011 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44013 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44014 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44015 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44016 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44017 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44018 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44019 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44020 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44021 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44022 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44023 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44024 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44025 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44026 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44027 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44028 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44029 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44030 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44031 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44032 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44033 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44034 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44035 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44036 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44037 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44038 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44039 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44040 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44041 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44042 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44043 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44044 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44045 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44046 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44047 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44048 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44049 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44050 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44051 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44052 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44053 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44054 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44055 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44056 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44057 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44058 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44059 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44060 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44061 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44062 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44063 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44064 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44065 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44066 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44067 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44068 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44069 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44070 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44071 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44072 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44073 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44074 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44075 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44076 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44077 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44078 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44079 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44080 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44081 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44082 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44083 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44084 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44085 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44086 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44087 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44088 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44089 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44090 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44091 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44092 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44093 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44094 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44095 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44096 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44097 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44098 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44099 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44100 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44101 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44102 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44103 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44104 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44105 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44106 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44107 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44108 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44109 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44110 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44111 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44112 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44113 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44114 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44115 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44117 // Map renamed classes back to their common name for OOR
44118 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44120 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44121 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44122 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44123 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44124 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44125 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44126 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44127 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44128 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44129 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44130 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44131 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44132 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44133 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44134 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44135 SWIG_Python_SetConstant(d
, "TR_MAC_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_MAC_BUTTONS
)));
44136 SWIG_Python_SetConstant(d
, "TR_AQUA_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_AQUA_BUTTONS
)));
44137 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44138 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44139 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44140 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44141 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44142 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44143 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44144 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44145 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44146 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44147 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44148 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44149 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44150 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44151 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44152 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44153 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44154 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44155 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44156 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44157 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44159 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44160 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44162 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44163 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44164 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44165 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44166 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44167 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44168 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44169 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44170 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44171 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44172 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44173 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44174 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44175 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44176 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44178 // Map renamed classes back to their common name for OOR
44179 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44180 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44182 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44183 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44184 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44185 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44186 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44187 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44188 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44189 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44190 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44191 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44193 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44195 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44196 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44197 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44198 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44199 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44200 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));