1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
2491 #define SWIGTYPE_p_wxColour swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxCursor swig_types[37]
2500 #define SWIGTYPE_p_wxDC swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
2509 #define SWIGTYPE_p_wxEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
2511 #define SWIGTYPE_p_wxFSFile swig_types[49]
2512 #define SWIGTYPE_p_wxFileSystem swig_types[50]
2513 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
2515 #define SWIGTYPE_p_wxFont swig_types[53]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
2518 #define SWIGTYPE_p_wxGauge swig_types[56]
2519 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[60]
2523 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
2524 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
2525 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2526 #define SWIGTYPE_p_wxIcon swig_types[64]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
2529 #define SWIGTYPE_p_wxImage swig_types[67]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[68]
2531 #define SWIGTYPE_p_wxImageList swig_types[69]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
2538 #define SWIGTYPE_p_wxListBox swig_types[76]
2539 #define SWIGTYPE_p_wxListEvent swig_types[77]
2540 #define SWIGTYPE_p_wxListItem swig_types[78]
2541 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
2542 #define SWIGTYPE_p_wxListView swig_types[80]
2543 #define SWIGTYPE_p_wxListbook swig_types[81]
2544 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
2545 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
2547 #define SWIGTYPE_p_wxMenu swig_types[85]
2548 #define SWIGTYPE_p_wxMenuBar swig_types[86]
2549 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMenuItem swig_types[88]
2551 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
2554 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNotebook swig_types[94]
2557 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxObject swig_types[97]
2560 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2566 #define SWIGTYPE_p_wxPoint swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyControl swig_types[107]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
2573 #define SWIGTYPE_p_wxPySizer swig_types[111]
2574 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[114]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
2578 #define SWIGTYPE_p_wxRadioBox swig_types[116]
2579 #define SWIGTYPE_p_wxRadioButton swig_types[117]
2580 #define SWIGTYPE_p_wxRect swig_types[118]
2581 #define SWIGTYPE_p_wxScrollBar swig_types[119]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[123]
2586 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
2587 #define SWIGTYPE_p_wxSize swig_types[125]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSizer swig_types[127]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[128]
2591 #define SWIGTYPE_p_wxSlider swig_types[129]
2592 #define SWIGTYPE_p_wxSpinButton swig_types[130]
2593 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
2594 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBox swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxStaticLine swig_types[136]
2599 #define SWIGTYPE_p_wxStaticText swig_types[137]
2600 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
2601 #define SWIGTYPE_p_wxString swig_types[139]
2602 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2603 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2604 #define SWIGTYPE_p_wxTextAttr swig_types[142]
2605 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
2606 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
2607 #define SWIGTYPE_p_wxToggleButton swig_types[145]
2608 #define SWIGTYPE_p_wxToolBar swig_types[146]
2609 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolbook swig_types[149]
2612 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
2615 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
2616 #define SWIGTYPE_p_wxTreebook swig_types[154]
2617 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _controls_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_controls_
2652 #define SWIG_name "_controls_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2731 const wxArrayString wxPyEmptyStringArray
;
2733 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2735 #define SWIG_From_long PyInt_FromLong
2738 SWIGINTERNINLINE PyObject
*
2739 SWIG_From_int (int value
)
2741 return SWIG_From_long (value
);
2747 # define LLONG_MIN LONG_LONG_MIN
2750 # define LLONG_MAX LONG_LONG_MAX
2753 # define ULLONG_MAX ULONG_LONG_MAX
2758 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2760 if (PyNumber_Check(obj
)) {
2761 if (val
) *val
= PyInt_AsLong(obj
);
2764 return SWIG_TypeError
;
2769 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2772 int res
= SWIG_AsVal_long (obj
, &v
);
2773 if (SWIG_IsOK(res
)) {
2774 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2775 return SWIG_OverflowError
;
2777 if (val
) *val
= static_cast< int >(v
);
2783 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2786 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2788 if (obj
== Py_True
) {
2789 if (val
) *val
= true;
2791 } else if (obj
== Py_False
) {
2792 if (val
) *val
= false;
2796 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2797 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2802 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2803 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2804 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2805 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2806 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2807 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2809 #include <wx/checklst.h>
2812 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2813 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 self
->Insert(item
, pos
, data
);
2818 self
->Insert(item
, pos
);
2822 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2825 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2826 return SWIG_TypeError
;
2829 *val
= (unsigned long)v
;
2835 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2838 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2839 if (SWIG_IsOK(res
)) {
2840 if ((v
> UINT_MAX
)) {
2841 return SWIG_OverflowError
;
2843 if (val
) *val
= static_cast< unsigned int >(v
);
2849 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2851 self
->GetSelections(lst
);
2852 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2853 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
2854 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2858 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2860 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2861 self
->GetItem(item
)->SetTextColour(c
);
2864 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2866 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2867 self
->GetItem(item
)->SetBackgroundColour(c
);
2870 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2872 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2873 self
->GetItem(item
)->SetFont(f
);
2876 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2877 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2878 self
->AppendText(text
);
2880 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2881 return self
->GetValue().Mid(from
, to
- from
);
2883 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2884 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2885 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2886 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2887 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2889 SWIGINTERNINLINE PyObject
*
2890 SWIG_From_unsigned_SS_long (unsigned long value
)
2892 return (value
> LONG_MAX
) ?
2893 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2897 SWIGINTERNINLINE PyObject
*
2898 SWIG_From_size_t (size_t value
)
2900 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2904 SWIGINTERNINLINE PyObject
*
2905 SWIG_From_unsigned_SS_int (unsigned int value
)
2907 return SWIG_From_unsigned_SS_long (value
);
2911 #include <wx/slider.h>
2914 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2915 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2917 #if !wxUSE_TOGGLEBTN
2918 // implement dummy items for platforms that don't have this class
2920 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2922 class wxToggleButton
: public wxControl
2925 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2926 const wxPoint
&, const wxSize
&, long,
2927 const wxValidator
&, const wxString
&)
2928 { wxPyRaiseNotImplemented(); }
2931 { wxPyRaiseNotImplemented(); }
2935 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2937 SWIGINTERNINLINE
int
2938 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2941 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2942 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2946 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2947 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2948 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2950 Py_INCREF(udata
->m_obj
);
2951 return udata
->m_obj
;
2957 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2958 self
->SetClientData(new wxPyUserData(clientData
));
2960 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2961 wxPyUserData
* udata
= NULL
;
2962 if (clientData
&& clientData
!= Py_None
)
2963 udata
= new wxPyUserData(clientData
);
2964 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2965 shortHelp
, longHelp
, udata
);
2967 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2968 wxPyUserData
* udata
= NULL
;
2969 if (clientData
&& clientData
!= Py_None
)
2970 udata
= new wxPyUserData(clientData
);
2971 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2972 shortHelp
, longHelp
, udata
);
2974 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2975 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2977 Py_INCREF(udata
->m_obj
);
2978 return udata
->m_obj
;
2984 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2985 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2988 #include <wx/listctrl.h>
2990 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2991 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2992 // Python aware sorting function for wxPyListCtrl
2993 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2995 PyObject
* func
= (PyObject
*)funcPtr
;
2996 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2998 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2999 PyObject
* result
= PyEval_CallObject(func
, args
);
3002 retval
= PyInt_AsLong(result
);
3006 wxPyEndBlockThreads(blocked
);
3010 // C++ Version of a Python aware class
3011 class wxPyListCtrl
: public wxListCtrl
{
3012 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3014 wxPyListCtrl() : wxListCtrl() {}
3015 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3019 const wxValidator
& validator
,
3020 const wxString
& name
) :
3021 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3023 bool Create(wxWindow
* parent
, wxWindowID id
,
3027 const wxValidator
& validator
,
3028 const wxString
& name
) {
3029 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3032 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3033 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3035 // use the virtual version to avoid a confusing assert in the base class
3036 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3037 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3044 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3045 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3046 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3047 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3050 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3052 item
.SetMask( wxLIST_MASK_STATE
|
3060 if (self
->GetColumn(col
, item
))
3061 return new wxListItem(item
);
3065 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3066 wxListItem
* info
= new wxListItem
;
3067 info
->m_itemId
= itemId
;
3069 info
->m_mask
= 0xFFFF;
3070 self
->GetItem(*info
);
3073 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3075 self
->GetItemPosition(item
, pos
);
3078 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3080 self
->GetItemRect(item
, rect
, code
);
3083 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3084 if (!PyCallable_Check(func
))
3086 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3088 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3096 #include <wx/treectrl.h>
3097 #include "wx/wxPython/pytree.h"
3099 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3100 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3101 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3102 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3103 // C++ version of Python aware wxTreeCtrl
3104 class wxPyTreeCtrl
: public wxTreeCtrl
{
3105 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3107 wxPyTreeCtrl() : wxTreeCtrl() {}
3108 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3112 const wxValidator
& validator
,
3113 const wxString
& name
) :
3114 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3116 bool Create(wxWindow
*parent
, wxWindowID id
,
3120 const wxValidator
& validator
,
3121 const wxString
& name
) {
3122 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3126 int OnCompareItems(const wxTreeItemId
& item1
,
3127 const wxTreeItemId
& item2
) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3132 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3133 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3134 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3138 wxPyEndBlockThreads(blocked
);
3140 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3146 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3149 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3150 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3152 data
= new wxPyTreeItemData();
3153 data
->SetId(item
); // set the id
3154 self
->SetItemData(item
, data
);
3158 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3159 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3161 data
= new wxPyTreeItemData();
3162 data
->SetId(item
); // set the id
3163 self
->SetItemData(item
, data
);
3165 return data
->GetData();
3167 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3168 data
->SetId(item
); // set the id
3169 self
->SetItemData(item
, data
);
3171 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3172 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3174 data
= new wxPyTreeItemData(obj
);
3175 data
->SetId(item
); // set the id
3176 self
->SetItemData(item
, data
);
3180 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 PyObject
* rval
= PyList_New(0);
3183 wxArrayTreeItemIds array
;
3185 num
= self
->GetSelections(array
);
3186 for (x
=0; x
< num
; x
++) {
3187 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3188 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3189 PyList_Append(rval
, item
);
3192 wxPyEndBlockThreads(blocked
);
3195 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3197 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 PyObject
* tup
= PyTuple_New(2);
3200 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3201 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3202 wxPyEndBlockThreads(blocked
);
3205 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3206 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 PyObject
* tup
= PyTuple_New(2);
3209 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3210 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3211 wxPyEndBlockThreads(blocked
);
3214 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3216 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 wxRect
* r
= new wxRect(rect
);
3219 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3220 wxPyEndBlockThreads(blocked
);
3226 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3228 SWIGINTERNINLINE PyObject
*
3229 SWIG_From_bool (bool value
)
3231 return PyBool_FromLong(value
? 1 : 0);
3234 // C++ version of Python aware wxControl
3235 class wxPyControl
: public wxControl
3237 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3239 wxPyControl() : wxControl() {}
3240 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3241 const wxPoint
& pos
= wxDefaultPosition
,
3242 const wxSize
& size
= wxDefaultSize
,
3244 const wxValidator
& validator
=wxDefaultValidator
,
3245 const wxString
& name
= wxPyControlNameStr
)
3246 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3248 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3250 bool DoEraseBackground(wxDC
* dc
) {
3252 return wxWindow::DoEraseBackground(dc
->GetHDC());
3254 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3260 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3261 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3262 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3263 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3265 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3266 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3267 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3269 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3270 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3272 DEC_PYCALLBACK__(InitDialog
);
3273 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3274 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3275 DEC_PYCALLBACK_BOOL_(Validate
);
3277 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3278 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3279 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3281 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3282 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3284 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3285 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3287 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3289 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3294 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3296 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3297 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3298 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3299 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3301 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3302 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3303 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3305 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3306 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3308 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3309 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3310 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3311 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3313 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3314 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3315 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3317 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3318 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3320 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3321 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3323 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3325 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3329 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3331 #include <wx/generic/dragimgg.h>
3333 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3334 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3336 self
->GetRange(&rv
, NULL
);
3339 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3341 self
->GetRange(NULL
, &rv
);
3347 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3348 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3353 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3354 PyObject
*pyobj
= 0;
3358 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3360 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3367 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
= 0;
3369 wxWindow
*arg1
= (wxWindow
*) 0 ;
3370 int arg2
= (int) -1 ;
3371 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3372 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3377 long arg6
= (long) 0 ;
3378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3380 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3382 wxButton
*result
= 0 ;
3387 bool temp3
= false ;
3394 bool temp8
= false ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3397 PyObject
* obj2
= 0 ;
3398 PyObject
* obj3
= 0 ;
3399 PyObject
* obj4
= 0 ;
3400 PyObject
* obj5
= 0 ;
3401 PyObject
* obj6
= 0 ;
3402 PyObject
* obj7
= 0 ;
3403 char * kwnames
[] = {
3404 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3409 if (!SWIG_IsOK(res1
)) {
3410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3415 if (!SWIG_IsOK(ecode2
)) {
3416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3418 arg2
= static_cast< int >(val2
);
3422 arg3
= wxString_in_helper(obj2
);
3423 if (arg3
== NULL
) SWIG_fail
;
3430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3440 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3441 if (!SWIG_IsOK(ecode6
)) {
3442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3444 arg6
= static_cast< long >(val6
);
3447 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3448 if (!SWIG_IsOK(res7
)) {
3449 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3454 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3458 arg8
= wxString_in_helper(obj7
);
3459 if (arg8
== NULL
) SWIG_fail
;
3464 if (!wxPyCheckForApp()) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3493 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3494 PyObject
*resultobj
= 0;
3495 wxButton
*result
= 0 ;
3497 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3499 if (!wxPyCheckForApp()) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (wxButton
*)new wxButton();
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3512 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
= 0;
3514 wxButton
*arg1
= (wxButton
*) 0 ;
3515 wxWindow
*arg2
= (wxWindow
*) 0 ;
3516 int arg3
= (int) -1 ;
3517 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3518 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3519 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3520 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3521 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3522 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3523 long arg7
= (long) 0 ;
3524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3526 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3535 bool temp4
= false ;
3542 bool temp9
= false ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3545 PyObject
* obj2
= 0 ;
3546 PyObject
* obj3
= 0 ;
3547 PyObject
* obj4
= 0 ;
3548 PyObject
* obj5
= 0 ;
3549 PyObject
* obj6
= 0 ;
3550 PyObject
* obj7
= 0 ;
3551 PyObject
* obj8
= 0 ;
3552 char * kwnames
[] = {
3553 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3558 if (!SWIG_IsOK(res1
)) {
3559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3561 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3563 if (!SWIG_IsOK(res2
)) {
3564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3569 if (!SWIG_IsOK(ecode3
)) {
3570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3572 arg3
= static_cast< int >(val3
);
3576 arg4
= wxString_in_helper(obj3
);
3577 if (arg4
== NULL
) SWIG_fail
;
3584 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3590 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3594 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3595 if (!SWIG_IsOK(ecode7
)) {
3596 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3598 arg7
= static_cast< long >(val7
);
3601 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3602 if (!SWIG_IsOK(res8
)) {
3603 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3608 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3612 arg9
= wxString_in_helper(obj8
);
3613 if (arg9
== NULL
) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3648 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3649 PyObject
*resultobj
= 0;
3650 wxButton
*arg1
= (wxButton
*) 0 ;
3653 PyObject
*swig_obj
[1] ;
3655 if (!args
) SWIG_fail
;
3657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3658 if (!SWIG_IsOK(res1
)) {
3659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3661 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 (arg1
)->SetDefault();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= SWIG_Py_Void();
3675 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3676 PyObject
*resultobj
= 0;
3679 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= wxButton::GetDefaultSize();
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3693 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
= 0;
3695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3696 SwigValueWrapper
<wxVisualAttributes
> result
;
3699 PyObject
* obj0
= 0 ;
3700 char * kwnames
[] = {
3701 (char *) "variant", NULL
3704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3707 if (!SWIG_IsOK(ecode1
)) {
3708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3710 arg1
= static_cast< wxWindowVariant
>(val1
);
3713 if (!wxPyCheckForApp()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= wxButton::GetClassDefaultAttributes(arg1
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3726 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3729 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3730 return SWIG_Py_Void();
3733 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 return SWIG_Python_InitShadowInstance(args
);
3737 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
= 0;
3739 wxWindow
*arg1
= (wxWindow
*) 0 ;
3740 int arg2
= (int) -1 ;
3741 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3742 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3747 long arg6
= (long) wxBU_AUTODRAW
;
3748 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3749 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3750 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3751 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3752 wxBitmapButton
*result
= 0 ;
3765 bool temp8
= false ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3768 PyObject
* obj2
= 0 ;
3769 PyObject
* obj3
= 0 ;
3770 PyObject
* obj4
= 0 ;
3771 PyObject
* obj5
= 0 ;
3772 PyObject
* obj6
= 0 ;
3773 PyObject
* obj7
= 0 ;
3774 char * kwnames
[] = {
3775 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3780 if (!SWIG_IsOK(res1
)) {
3781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3786 if (!SWIG_IsOK(ecode2
)) {
3787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3789 arg2
= static_cast< int >(val2
);
3792 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3793 if (!SWIG_IsOK(res3
)) {
3794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3799 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3814 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3815 if (!SWIG_IsOK(ecode6
)) {
3816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3818 arg6
= static_cast< long >(val6
);
3821 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3822 if (!SWIG_IsOK(res7
)) {
3823 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3828 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3832 arg8
= wxString_in_helper(obj7
);
3833 if (arg8
== NULL
) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3859 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3860 PyObject
*resultobj
= 0;
3861 wxBitmapButton
*result
= 0 ;
3863 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxBitmapButton
*)new wxBitmapButton();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3878 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
= 0;
3880 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3881 wxWindow
*arg2
= (wxWindow
*) 0 ;
3882 int arg3
= (int) -1 ;
3883 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3884 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3885 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3886 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3887 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3888 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3889 long arg7
= (long) wxBU_AUTODRAW
;
3890 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3891 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3892 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3893 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3909 bool temp9
= false ;
3910 PyObject
* obj0
= 0 ;
3911 PyObject
* obj1
= 0 ;
3912 PyObject
* obj2
= 0 ;
3913 PyObject
* obj3
= 0 ;
3914 PyObject
* obj4
= 0 ;
3915 PyObject
* obj5
= 0 ;
3916 PyObject
* obj6
= 0 ;
3917 PyObject
* obj7
= 0 ;
3918 PyObject
* obj8
= 0 ;
3919 char * kwnames
[] = {
3920 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3925 if (!SWIG_IsOK(res1
)) {
3926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3928 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3930 if (!SWIG_IsOK(res2
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3936 if (!SWIG_IsOK(ecode3
)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3939 arg3
= static_cast< int >(val3
);
3942 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3943 if (!SWIG_IsOK(res4
)) {
3944 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3949 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3954 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3960 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3964 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3965 if (!SWIG_IsOK(ecode7
)) {
3966 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3968 arg7
= static_cast< long >(val7
);
3971 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3972 if (!SWIG_IsOK(res8
)) {
3973 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3978 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3982 arg9
= wxString_in_helper(obj8
);
3983 if (arg9
== NULL
) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4010 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4011 PyObject
*resultobj
= 0;
4012 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4016 PyObject
*swig_obj
[1] ;
4018 if (!args
) SWIG_fail
;
4020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4021 if (!SWIG_IsOK(res1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4024 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (arg1
)->GetBitmapLabel();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4038 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 PyObject
*resultobj
= 0;
4040 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4044 PyObject
*swig_obj
[1] ;
4046 if (!args
) SWIG_fail
;
4048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4049 if (!SWIG_IsOK(res1
)) {
4050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4052 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (arg1
)->GetBitmapDisabled();
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4066 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4067 PyObject
*resultobj
= 0;
4068 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4072 PyObject
*swig_obj
[1] ;
4074 if (!args
) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4080 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (arg1
)->GetBitmapFocus();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4094 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4095 PyObject
*resultobj
= 0;
4096 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4100 PyObject
*swig_obj
[1] ;
4102 if (!args
) SWIG_fail
;
4104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4105 if (!SWIG_IsOK(res1
)) {
4106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4108 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (arg1
)->GetBitmapSelected();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4122 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4123 PyObject
*resultobj
= 0;
4124 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4128 PyObject
*swig_obj
[1] ;
4130 if (!args
) SWIG_fail
;
4132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4133 if (!SWIG_IsOK(res1
)) {
4134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4136 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (arg1
)->GetBitmapHover();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4150 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
= 0;
4152 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4153 wxBitmap
*arg2
= 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 char * kwnames
[] = {
4161 (char *) "self",(char *) "bitmap", NULL
4164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4166 if (!SWIG_IsOK(res1
)) {
4167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4169 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4171 if (!SWIG_IsOK(res2
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4177 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_Py_Void();
4191 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
= 0;
4193 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4194 wxBitmap
*arg2
= 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4201 char * kwnames
[] = {
4202 (char *) "self",(char *) "bitmap", NULL
4205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4207 if (!SWIG_IsOK(res1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4210 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4212 if (!SWIG_IsOK(res2
)) {
4213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4218 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_Py_Void();
4232 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4235 wxBitmap
*arg2
= 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 char * kwnames
[] = {
4243 (char *) "self",(char *) "bitmap", NULL
4246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4251 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4253 if (!SWIG_IsOK(res2
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4259 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_Py_Void();
4273 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
= 0;
4275 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4276 wxBitmap
*arg2
= 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 char * kwnames
[] = {
4284 (char *) "self",(char *) "bitmap", NULL
4287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4292 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4294 if (!SWIG_IsOK(res2
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4300 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_Py_Void();
4314 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
= 0;
4316 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4317 wxBitmap
*arg2
= 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4324 char * kwnames
[] = {
4325 (char *) "self",(char *) "hover", NULL
4328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4330 if (!SWIG_IsOK(res1
)) {
4331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4333 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4335 if (!SWIG_IsOK(res2
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4341 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_Py_Void();
4355 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= 0;
4357 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 PyObject
* obj2
= 0 ;
4369 char * kwnames
[] = {
4370 (char *) "self",(char *) "x",(char *) "y", NULL
4373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4378 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4380 if (!SWIG_IsOK(ecode2
)) {
4381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4383 arg2
= static_cast< int >(val2
);
4384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4385 if (!SWIG_IsOK(ecode3
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4388 arg3
= static_cast< int >(val3
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 (arg1
)->SetMargins(arg2
,arg3
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_Py_Void();
4402 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4403 PyObject
*resultobj
= 0;
4404 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4408 PyObject
*swig_obj
[1] ;
4410 if (!args
) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4416 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_From_int(static_cast< int >(result
));
4430 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4431 PyObject
*resultobj
= 0;
4432 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4436 PyObject
*swig_obj
[1] ;
4438 if (!args
) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4444 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_From_int(static_cast< int >(result
));
4458 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4461 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4462 return SWIG_Py_Void();
4465 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4466 return SWIG_Python_InitShadowInstance(args
);
4469 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4470 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4475 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4476 PyObject
*pyobj
= 0;
4480 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4482 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4489 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
= 0;
4491 wxWindow
*arg1
= (wxWindow
*) 0 ;
4492 int arg2
= (int) -1 ;
4493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4499 long arg6
= (long) 0 ;
4500 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4501 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4502 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4504 wxCheckBox
*result
= 0 ;
4509 bool temp3
= false ;
4516 bool temp8
= false ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 PyObject
* obj2
= 0 ;
4520 PyObject
* obj3
= 0 ;
4521 PyObject
* obj4
= 0 ;
4522 PyObject
* obj5
= 0 ;
4523 PyObject
* obj6
= 0 ;
4524 PyObject
* obj7
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4537 if (!SWIG_IsOK(ecode2
)) {
4538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4540 arg2
= static_cast< int >(val2
);
4544 arg3
= wxString_in_helper(obj2
);
4545 if (arg3
== NULL
) SWIG_fail
;
4552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4562 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4563 if (!SWIG_IsOK(ecode6
)) {
4564 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4566 arg6
= static_cast< long >(val6
);
4569 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4570 if (!SWIG_IsOK(res7
)) {
4571 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4576 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4580 arg8
= wxString_in_helper(obj7
);
4581 if (arg8
== NULL
) SWIG_fail
;
4586 if (!wxPyCheckForApp()) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4615 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4616 PyObject
*resultobj
= 0;
4617 wxCheckBox
*result
= 0 ;
4619 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4621 if (!wxPyCheckForApp()) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxCheckBox
*)new wxCheckBox();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4634 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= 0;
4636 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4637 wxWindow
*arg2
= (wxWindow
*) 0 ;
4638 int arg3
= (int) -1 ;
4639 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4640 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4641 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4642 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4643 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4644 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4645 long arg7
= (long) 0 ;
4646 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4647 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4648 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4649 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4657 bool temp4
= false ;
4664 bool temp9
= false ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4667 PyObject
* obj2
= 0 ;
4668 PyObject
* obj3
= 0 ;
4669 PyObject
* obj4
= 0 ;
4670 PyObject
* obj5
= 0 ;
4671 PyObject
* obj6
= 0 ;
4672 PyObject
* obj7
= 0 ;
4673 PyObject
* obj8
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4683 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4685 if (!SWIG_IsOK(res2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4691 if (!SWIG_IsOK(ecode3
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4694 arg3
= static_cast< int >(val3
);
4698 arg4
= wxString_in_helper(obj3
);
4699 if (arg4
== NULL
) SWIG_fail
;
4706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4716 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4717 if (!SWIG_IsOK(ecode7
)) {
4718 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4720 arg7
= static_cast< long >(val7
);
4723 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4724 if (!SWIG_IsOK(res8
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4730 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4734 arg9
= wxString_in_helper(obj8
);
4735 if (arg9
== NULL
) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4770 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4771 PyObject
*resultobj
= 0;
4772 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4776 PyObject
*swig_obj
[1] ;
4778 if (!args
) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4784 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 result
= (bool)(arg1
)->GetValue();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->IsChecked();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
= 0;
4832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4840 char * kwnames
[] = {
4841 (char *) "self",(char *) "state", NULL
4844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4849 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4850 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4851 if (!SWIG_IsOK(ecode2
)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4854 arg2
= static_cast< bool >(val2
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 (arg1
)->SetValue(arg2
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_Py_Void();
4868 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4869 PyObject
*resultobj
= 0;
4870 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4871 wxCheckBoxState result
;
4874 PyObject
*swig_obj
[1] ;
4876 if (!args
) SWIG_fail
;
4878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4879 if (!SWIG_IsOK(res1
)) {
4880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4882 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_From_int(static_cast< int >(result
));
4896 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
= 0;
4898 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4899 wxCheckBoxState arg2
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 char * kwnames
[] = {
4907 (char *) "self",(char *) "state", NULL
4910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4912 if (!SWIG_IsOK(res1
)) {
4913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4915 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4917 if (!SWIG_IsOK(ecode2
)) {
4918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4920 arg2
= static_cast< wxCheckBoxState
>(val2
);
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 (arg1
)->Set3StateValue(arg2
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_Py_Void();
4934 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4935 PyObject
*resultobj
= 0;
4936 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4940 PyObject
*swig_obj
[1] ;
4942 if (!args
) SWIG_fail
;
4944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4945 if (!SWIG_IsOK(res1
)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4948 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4964 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4966 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4970 PyObject
*swig_obj
[1] ;
4972 if (!args
) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4994 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
= 0;
4996 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4997 SwigValueWrapper
<wxVisualAttributes
> result
;
5000 PyObject
* obj0
= 0 ;
5001 char * kwnames
[] = {
5002 (char *) "variant", NULL
5005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5008 if (!SWIG_IsOK(ecode1
)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5011 arg1
= static_cast< wxWindowVariant
>(val1
);
5014 if (!wxPyCheckForApp()) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5027 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5030 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5031 return SWIG_Py_Void();
5034 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5035 return SWIG_Python_InitShadowInstance(args
);
5038 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5039 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5044 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5045 PyObject
*pyobj
= 0;
5049 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5051 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5058 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
= 0;
5060 wxWindow
*arg1
= (wxWindow
*) 0 ;
5061 int arg2
= (int) -1 ;
5062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5066 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5067 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5068 long arg6
= (long) 0 ;
5069 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5070 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5071 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5072 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5073 wxChoice
*result
= 0 ;
5080 bool temp5
= false ;
5085 bool temp8
= false ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 PyObject
* obj2
= 0 ;
5089 PyObject
* obj3
= 0 ;
5090 PyObject
* obj4
= 0 ;
5091 PyObject
* obj5
= 0 ;
5092 PyObject
* obj6
= 0 ;
5093 PyObject
* obj7
= 0 ;
5094 char * kwnames
[] = {
5095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5106 if (!SWIG_IsOK(ecode2
)) {
5107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5109 arg2
= static_cast< int >(val2
);
5114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5125 if (! PySequence_Check(obj4
)) {
5126 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5129 arg5
= new wxArrayString
;
5131 int i
, len
=PySequence_Length(obj4
);
5132 for (i
=0; i
<len
; i
++) {
5133 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5134 wxString
* s
= wxString_in_helper(item
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5143 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5144 if (!SWIG_IsOK(ecode6
)) {
5145 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5147 arg6
= static_cast< long >(val6
);
5150 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5151 if (!SWIG_IsOK(res7
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5157 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5161 arg8
= wxString_in_helper(obj7
);
5162 if (arg8
== NULL
) SWIG_fail
;
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5175 if (temp5
) delete arg5
;
5184 if (temp5
) delete arg5
;
5194 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5195 PyObject
*resultobj
= 0;
5196 wxChoice
*result
= 0 ;
5198 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5200 if (!wxPyCheckForApp()) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (wxChoice
*)new wxChoice();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5213 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
= 0;
5215 wxChoice
*arg1
= (wxChoice
*) 0 ;
5216 wxWindow
*arg2
= (wxWindow
*) 0 ;
5217 int arg3
= (int) -1 ;
5218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5222 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5223 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5224 long arg7
= (long) 0 ;
5225 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5226 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5227 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5228 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5238 bool temp6
= false ;
5243 bool temp9
= false ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5246 PyObject
* obj2
= 0 ;
5247 PyObject
* obj3
= 0 ;
5248 PyObject
* obj4
= 0 ;
5249 PyObject
* obj5
= 0 ;
5250 PyObject
* obj6
= 0 ;
5251 PyObject
* obj7
= 0 ;
5252 PyObject
* obj8
= 0 ;
5253 char * kwnames
[] = {
5254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5259 if (!SWIG_IsOK(res1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5262 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5264 if (!SWIG_IsOK(res2
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5267 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5270 if (!SWIG_IsOK(ecode3
)) {
5271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5273 arg3
= static_cast< int >(val3
);
5278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5289 if (! PySequence_Check(obj5
)) {
5290 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5293 arg6
= new wxArrayString
;
5295 int i
, len
=PySequence_Length(obj5
);
5296 for (i
=0; i
<len
; i
++) {
5297 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5298 wxString
* s
= wxString_in_helper(item
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5307 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5308 if (!SWIG_IsOK(ecode7
)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5311 arg7
= static_cast< long >(val7
);
5314 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5315 if (!SWIG_IsOK(res8
)) {
5316 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5321 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5325 arg9
= wxString_in_helper(obj8
);
5326 if (arg9
== NULL
) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5340 if (temp6
) delete arg6
;
5349 if (temp6
) delete arg6
;
5359 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5360 PyObject
*resultobj
= 0;
5361 wxChoice
*arg1
= (wxChoice
*) 0 ;
5365 PyObject
*swig_obj
[1] ;
5367 if (!args
) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5373 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_From_int(static_cast< int >(result
));
5387 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
= 0;
5389 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5390 SwigValueWrapper
<wxVisualAttributes
> result
;
5393 PyObject
* obj0
= 0 ;
5394 char * kwnames
[] = {
5395 (char *) "variant", NULL
5398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5401 if (!SWIG_IsOK(ecode1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5404 arg1
= static_cast< wxWindowVariant
>(val1
);
5407 if (!wxPyCheckForApp()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5420 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5423 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5424 return SWIG_Py_Void();
5427 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5428 return SWIG_Python_InitShadowInstance(args
);
5431 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5432 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5437 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5438 PyObject
*pyobj
= 0;
5442 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5444 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5451 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
= 0;
5453 wxWindow
*arg1
= (wxWindow
*) 0 ;
5454 int arg2
= (int) -1 ;
5455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5461 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5462 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5463 long arg7
= (long) 0 ;
5464 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5465 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5466 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5467 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5468 wxComboBox
*result
= 0 ;
5473 bool temp3
= false ;
5476 bool temp6
= false ;
5481 bool temp9
= false ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5485 PyObject
* obj3
= 0 ;
5486 PyObject
* obj4
= 0 ;
5487 PyObject
* obj5
= 0 ;
5488 PyObject
* obj6
= 0 ;
5489 PyObject
* obj7
= 0 ;
5490 PyObject
* obj8
= 0 ;
5491 char * kwnames
[] = {
5492 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5497 if (!SWIG_IsOK(res1
)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5503 if (!SWIG_IsOK(ecode2
)) {
5504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5506 arg2
= static_cast< int >(val2
);
5510 arg3
= wxString_in_helper(obj2
);
5511 if (arg3
== NULL
) SWIG_fail
;
5518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5529 if (! PySequence_Check(obj5
)) {
5530 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5533 arg6
= new wxArrayString
;
5535 int i
, len
=PySequence_Length(obj5
);
5536 for (i
=0; i
<len
; i
++) {
5537 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5538 wxString
* s
= wxString_in_helper(item
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5547 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5548 if (!SWIG_IsOK(ecode7
)) {
5549 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5551 arg7
= static_cast< long >(val7
);
5554 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5555 if (!SWIG_IsOK(res8
)) {
5556 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5561 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5565 arg9
= wxString_in_helper(obj8
);
5566 if (arg9
== NULL
) SWIG_fail
;
5571 if (!wxPyCheckForApp()) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5583 if (temp6
) delete arg6
;
5596 if (temp6
) delete arg6
;
5606 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5607 PyObject
*resultobj
= 0;
5608 wxComboBox
*result
= 0 ;
5610 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5612 if (!wxPyCheckForApp()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (wxComboBox
*)new wxComboBox();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5625 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5628 wxWindow
*arg2
= (wxWindow
*) 0 ;
5629 int arg3
= (int) -1 ;
5630 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5631 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5632 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5633 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5634 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5635 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5636 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5637 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5638 long arg8
= (long) 0 ;
5639 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5640 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5641 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5642 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5650 bool temp4
= false ;
5653 bool temp7
= false ;
5658 bool temp10
= false ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5661 PyObject
* obj2
= 0 ;
5662 PyObject
* obj3
= 0 ;
5663 PyObject
* obj4
= 0 ;
5664 PyObject
* obj5
= 0 ;
5665 PyObject
* obj6
= 0 ;
5666 PyObject
* obj7
= 0 ;
5667 PyObject
* obj8
= 0 ;
5668 PyObject
* obj9
= 0 ;
5669 char * kwnames
[] = {
5670 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5675 if (!SWIG_IsOK(res1
)) {
5676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5678 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5680 if (!SWIG_IsOK(res2
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5686 if (!SWIG_IsOK(ecode3
)) {
5687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5689 arg3
= static_cast< int >(val3
);
5693 arg4
= wxString_in_helper(obj3
);
5694 if (arg4
== NULL
) SWIG_fail
;
5701 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5707 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5712 if (! PySequence_Check(obj6
)) {
5713 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5716 arg7
= new wxArrayString
;
5718 int i
, len
=PySequence_Length(obj6
);
5719 for (i
=0; i
<len
; i
++) {
5720 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5721 wxString
* s
= wxString_in_helper(item
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5730 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5731 if (!SWIG_IsOK(ecode8
)) {
5732 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5734 arg8
= static_cast< long >(val8
);
5737 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5738 if (!SWIG_IsOK(res9
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5744 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5748 arg10
= wxString_in_helper(obj9
);
5749 if (arg10
== NULL
) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5767 if (temp7
) delete arg7
;
5780 if (temp7
) delete arg7
;
5790 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5791 PyObject
*resultobj
= 0;
5792 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5796 PyObject
*swig_obj
[1] ;
5798 if (!args
) SWIG_fail
;
5800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5801 if (!SWIG_IsOK(res1
)) {
5802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5804 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= ((wxComboBox
const *)arg1
)->GetValue();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5824 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
= 0;
5826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 wxString
*arg2
= 0 ;
5830 bool temp2
= false ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "value", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5842 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5844 arg2
= wxString_in_helper(obj1
);
5845 if (arg2
== NULL
) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 (arg1
)->SetValue((wxString
const &)*arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_Py_Void();
5869 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5870 PyObject
*resultobj
= 0;
5871 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5874 PyObject
*swig_obj
[1] ;
5876 if (!args
) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5882 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5901 PyObject
*swig_obj
[1] ;
5903 if (!args
) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5909 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_Py_Void();
5923 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5924 PyObject
*resultobj
= 0;
5925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5928 PyObject
*swig_obj
[1] ;
5930 if (!args
) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5936 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
= 0;
5952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5960 char * kwnames
[] = {
5961 (char *) "self",(char *) "pos", NULL
5964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5969 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5971 if (!SWIG_IsOK(ecode2
)) {
5972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5974 arg2
= static_cast< long >(val2
);
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 (arg1
)->SetInsertionPoint(arg2
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_Py_Void();
5988 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5989 PyObject
*resultobj
= 0;
5990 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5994 PyObject
*swig_obj
[1] ;
5996 if (!args
) SWIG_fail
;
5998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5999 if (!SWIG_IsOK(res1
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6002 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_From_long(static_cast< long >(result
));
6016 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6017 PyObject
*resultobj
= 0;
6018 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6022 PyObject
*swig_obj
[1] ;
6024 if (!args
) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6030 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_From_long(static_cast< long >(result
));
6044 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
= 0;
6046 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6049 wxString
*arg4
= 0 ;
6056 bool temp4
= false ;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6060 PyObject
* obj3
= 0 ;
6061 char * kwnames
[] = {
6062 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
6065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6070 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6071 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6075 arg2
= static_cast< long >(val2
);
6076 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6077 if (!SWIG_IsOK(ecode3
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6080 arg3
= static_cast< long >(val3
);
6082 arg4
= wxString_in_helper(obj3
);
6083 if (arg4
== NULL
) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_Py_Void();
6107 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
= 0;
6109 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6120 PyObject
* obj2
= 0 ;
6121 char * kwnames
[] = {
6122 (char *) "self",(char *) "_from",(char *) "to", NULL
6125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6127 if (!SWIG_IsOK(res1
)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6130 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6131 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6132 if (!SWIG_IsOK(ecode2
)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6135 arg2
= static_cast< long >(val2
);
6136 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6137 if (!SWIG_IsOK(ecode3
)) {
6138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6140 arg3
= static_cast< long >(val3
);
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->SetSelection(arg2
,arg3
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_Py_Void();
6154 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6155 PyObject
*resultobj
= 0;
6156 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6157 long *arg2
= (long *) 0 ;
6158 long *arg3
= (long *) 0 ;
6162 int res2
= SWIG_TMPOBJ
;
6164 int res3
= SWIG_TMPOBJ
;
6165 PyObject
*swig_obj
[1] ;
6169 if (!args
) SWIG_fail
;
6171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6172 if (!SWIG_IsOK(res1
)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6175 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->GetSelection(arg2
,arg3
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6183 if (SWIG_IsTmpObj(res2
)) {
6184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6186 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6189 if (SWIG_IsTmpObj(res3
)) {
6190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6192 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6201 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6202 PyObject
*resultobj
= 0;
6203 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6207 PyObject
*swig_obj
[1] ;
6209 if (!args
) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6215 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_From_int(static_cast< int >(result
));
6229 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
= 0;
6231 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6232 wxString
*arg2
= 0 ;
6236 bool temp2
= false ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6239 char * kwnames
[] = {
6240 (char *) "self",(char *) "string", NULL
6243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6245 if (!SWIG_IsOK(res1
)) {
6246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6248 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6250 arg2
= wxString_in_helper(obj1
);
6251 if (arg2
== NULL
) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6277 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
= 0;
6279 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6281 wxString
*arg3
= 0 ;
6286 bool temp3
= false ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "self",(char *) "n",(char *) "string", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6299 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6301 if (!SWIG_IsOK(ecode2
)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6304 arg2
= static_cast< int >(val2
);
6306 arg3
= wxString_in_helper(obj2
);
6307 if (arg3
== NULL
) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= SWIG_Py_Void();
6331 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
= 0;
6333 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6341 char * kwnames
[] = {
6342 (char *) "self",(char *) "editable", NULL
6345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6347 if (!SWIG_IsOK(res1
)) {
6348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6350 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6351 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6352 if (!SWIG_IsOK(ecode2
)) {
6353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6355 arg2
= static_cast< bool >(val2
);
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 (arg1
)->SetEditable(arg2
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= SWIG_Py_Void();
6369 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6370 PyObject
*resultobj
= 0;
6371 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6374 PyObject
*swig_obj
[1] ;
6376 if (!args
) SWIG_fail
;
6378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6379 if (!SWIG_IsOK(res1
)) {
6380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6382 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetInsertionPointEnd();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_Py_Void();
6396 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
= 0;
6398 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 PyObject
* obj2
= 0 ;
6410 char * kwnames
[] = {
6411 (char *) "self",(char *) "_from",(char *) "to", NULL
6414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6419 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6420 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6421 if (!SWIG_IsOK(ecode2
)) {
6422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6424 arg2
= static_cast< long >(val2
);
6425 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6426 if (!SWIG_IsOK(ecode3
)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6429 arg3
= static_cast< long >(val3
);
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 (arg1
)->Remove(arg2
,arg3
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_Py_Void();
6443 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6444 PyObject
*resultobj
= 0;
6445 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6449 PyObject
*swig_obj
[1] ;
6451 if (!args
) SWIG_fail
;
6453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6454 if (!SWIG_IsOK(res1
)) {
6455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6457 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6473 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6474 PyObject
*resultobj
= 0;
6475 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6478 PyObject
*swig_obj
[1] ;
6480 if (!args
) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6486 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_Py_Void();
6500 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6513 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_Py_Void();
6527 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6540 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SelectAll();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6560 PyObject
*swig_obj
[1] ;
6562 if (!args
) SWIG_fail
;
6564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6565 if (!SWIG_IsOK(res1
)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6568 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6584 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6585 PyObject
*resultobj
= 0;
6586 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6590 PyObject
*swig_obj
[1] ;
6592 if (!args
) SWIG_fail
;
6594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6595 if (!SWIG_IsOK(res1
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6614 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6615 PyObject
*resultobj
= 0;
6616 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6620 PyObject
*swig_obj
[1] ;
6622 if (!args
) SWIG_fail
;
6624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6625 if (!SWIG_IsOK(res1
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6644 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6674 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6675 PyObject
*resultobj
= 0;
6676 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6680 PyObject
*swig_obj
[1] ;
6682 if (!args
) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6704 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
= 0;
6706 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6707 SwigValueWrapper
<wxVisualAttributes
> result
;
6710 PyObject
* obj0
= 0 ;
6711 char * kwnames
[] = {
6712 (char *) "variant", NULL
6715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6718 if (!SWIG_IsOK(ecode1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6721 arg1
= static_cast< wxWindowVariant
>(val1
);
6724 if (!wxPyCheckForApp()) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6737 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6740 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6741 return SWIG_Py_Void();
6744 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6745 return SWIG_Python_InitShadowInstance(args
);
6748 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6749 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6754 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6755 PyObject
*pyobj
= 0;
6759 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6761 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6768 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
= 0;
6770 wxWindow
*arg1
= (wxWindow
*) 0 ;
6771 int arg2
= (int) -1 ;
6772 int arg3
= (int) 100 ;
6773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6777 long arg6
= (long) wxGA_HORIZONTAL
;
6778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6780 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6782 wxGauge
*result
= 0 ;
6795 bool temp8
= false ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 PyObject
* obj2
= 0 ;
6799 PyObject
* obj3
= 0 ;
6800 PyObject
* obj4
= 0 ;
6801 PyObject
* obj5
= 0 ;
6802 PyObject
* obj6
= 0 ;
6803 PyObject
* obj7
= 0 ;
6804 char * kwnames
[] = {
6805 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6810 if (!SWIG_IsOK(res1
)) {
6811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6816 if (!SWIG_IsOK(ecode2
)) {
6817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6819 arg2
= static_cast< int >(val2
);
6822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6823 if (!SWIG_IsOK(ecode3
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6826 arg3
= static_cast< int >(val3
);
6831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6841 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6842 if (!SWIG_IsOK(ecode6
)) {
6843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6845 arg6
= static_cast< long >(val6
);
6848 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6849 if (!SWIG_IsOK(res7
)) {
6850 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6855 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6859 arg8
= wxString_in_helper(obj7
);
6860 if (arg8
== NULL
) SWIG_fail
;
6865 if (!wxPyCheckForApp()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6886 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6887 PyObject
*resultobj
= 0;
6888 wxGauge
*result
= 0 ;
6890 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (wxGauge
*)new wxGauge();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6905 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
= 0;
6907 wxGauge
*arg1
= (wxGauge
*) 0 ;
6908 wxWindow
*arg2
= (wxWindow
*) 0 ;
6909 int arg3
= (int) -1 ;
6910 int arg4
= (int) 100 ;
6911 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6912 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6913 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6914 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6915 long arg7
= (long) wxGA_HORIZONTAL
;
6916 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6917 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6918 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6919 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6935 bool temp9
= false ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 PyObject
* obj2
= 0 ;
6939 PyObject
* obj3
= 0 ;
6940 PyObject
* obj4
= 0 ;
6941 PyObject
* obj5
= 0 ;
6942 PyObject
* obj6
= 0 ;
6943 PyObject
* obj7
= 0 ;
6944 PyObject
* obj8
= 0 ;
6945 char * kwnames
[] = {
6946 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6951 if (!SWIG_IsOK(res1
)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6954 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6956 if (!SWIG_IsOK(res2
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6962 if (!SWIG_IsOK(ecode3
)) {
6963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6965 arg3
= static_cast< int >(val3
);
6968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6969 if (!SWIG_IsOK(ecode4
)) {
6970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6972 arg4
= static_cast< int >(val4
);
6977 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6983 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6987 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6988 if (!SWIG_IsOK(ecode7
)) {
6989 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6991 arg7
= static_cast< long >(val7
);
6994 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6995 if (!SWIG_IsOK(res8
)) {
6996 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7001 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7005 arg9
= wxString_in_helper(obj8
);
7006 if (arg9
== NULL
) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7033 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
= 0;
7035 wxGauge
*arg1
= (wxGauge
*) 0 ;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj1
= 0 ;
7043 char * kwnames
[] = {
7044 (char *) "self",(char *) "range", NULL
7047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7049 if (!SWIG_IsOK(res1
)) {
7050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7052 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7054 if (!SWIG_IsOK(ecode2
)) {
7055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7057 arg2
= static_cast< int >(val2
);
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 (arg1
)->SetRange(arg2
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_Py_Void();
7071 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7072 PyObject
*resultobj
= 0;
7073 wxGauge
*arg1
= (wxGauge
*) 0 ;
7077 PyObject
*swig_obj
[1] ;
7079 if (!args
) SWIG_fail
;
7081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7082 if (!SWIG_IsOK(res1
)) {
7083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7085 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_From_int(static_cast< int >(result
));
7099 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
= 0;
7101 wxGauge
*arg1
= (wxGauge
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7109 char * kwnames
[] = {
7110 (char *) "self",(char *) "pos", NULL
7113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7115 if (!SWIG_IsOK(res1
)) {
7116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7118 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7120 if (!SWIG_IsOK(ecode2
)) {
7121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7123 arg2
= static_cast< int >(val2
);
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 (arg1
)->SetValue(arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_Py_Void();
7137 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7138 PyObject
*resultobj
= 0;
7139 wxGauge
*arg1
= (wxGauge
*) 0 ;
7143 PyObject
*swig_obj
[1] ;
7145 if (!args
) SWIG_fail
;
7147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7148 if (!SWIG_IsOK(res1
)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7151 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= SWIG_From_int(static_cast< int >(result
));
7165 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7166 PyObject
*resultobj
= 0;
7167 wxGauge
*arg1
= (wxGauge
*) 0 ;
7171 PyObject
*swig_obj
[1] ;
7173 if (!args
) SWIG_fail
;
7175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7176 if (!SWIG_IsOK(res1
)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7179 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7195 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
= 0;
7197 wxGauge
*arg1
= (wxGauge
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj1
= 0 ;
7205 char * kwnames
[] = {
7206 (char *) "self",(char *) "w", NULL
7209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7211 if (!SWIG_IsOK(res1
)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7214 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7216 if (!SWIG_IsOK(ecode2
)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7219 arg2
= static_cast< int >(val2
);
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 (arg1
)->SetShadowWidth(arg2
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_Py_Void();
7233 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7234 PyObject
*resultobj
= 0;
7235 wxGauge
*arg1
= (wxGauge
*) 0 ;
7239 PyObject
*swig_obj
[1] ;
7241 if (!args
) SWIG_fail
;
7243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7244 if (!SWIG_IsOK(res1
)) {
7245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7247 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= SWIG_From_int(static_cast< int >(result
));
7261 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
= 0;
7263 wxGauge
*arg1
= (wxGauge
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "self",(char *) "w", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7277 if (!SWIG_IsOK(res1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7280 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7282 if (!SWIG_IsOK(ecode2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7285 arg2
= static_cast< int >(val2
);
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 (arg1
)->SetBezelFace(arg2
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_Py_Void();
7299 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7300 PyObject
*resultobj
= 0;
7301 wxGauge
*arg1
= (wxGauge
*) 0 ;
7305 PyObject
*swig_obj
[1] ;
7307 if (!args
) SWIG_fail
;
7309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7310 if (!SWIG_IsOK(res1
)) {
7311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7313 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= SWIG_From_int(static_cast< int >(result
));
7327 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
= 0;
7329 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7330 SwigValueWrapper
<wxVisualAttributes
> result
;
7333 PyObject
* obj0
= 0 ;
7334 char * kwnames
[] = {
7335 (char *) "variant", NULL
7338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7340 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7341 if (!SWIG_IsOK(ecode1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7344 arg1
= static_cast< wxWindowVariant
>(val1
);
7347 if (!wxPyCheckForApp()) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7360 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7363 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7364 return SWIG_Py_Void();
7367 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7368 return SWIG_Python_InitShadowInstance(args
);
7371 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7372 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7377 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7378 PyObject
*pyobj
= 0;
7382 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7384 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7391 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7392 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7397 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7398 PyObject
*pyobj
= 0;
7402 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7404 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7411 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7412 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7417 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7418 PyObject
*pyobj
= 0;
7422 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7424 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7431 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
= 0;
7433 wxWindow
*arg1
= (wxWindow
*) 0 ;
7434 int arg2
= (int) -1 ;
7435 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7436 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7437 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7438 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7439 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7440 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7441 long arg6
= (long) 0 ;
7442 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7443 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7444 wxStaticBox
*result
= 0 ;
7449 bool temp3
= false ;
7454 bool temp7
= false ;
7455 PyObject
* obj0
= 0 ;
7456 PyObject
* obj1
= 0 ;
7457 PyObject
* obj2
= 0 ;
7458 PyObject
* obj3
= 0 ;
7459 PyObject
* obj4
= 0 ;
7460 PyObject
* obj5
= 0 ;
7461 PyObject
* obj6
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7474 if (!SWIG_IsOK(ecode2
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7477 arg2
= static_cast< int >(val2
);
7481 arg3
= wxString_in_helper(obj2
);
7482 if (arg3
== NULL
) SWIG_fail
;
7489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7499 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7500 if (!SWIG_IsOK(ecode6
)) {
7501 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7503 arg6
= static_cast< long >(val6
);
7507 arg7
= wxString_in_helper(obj6
);
7508 if (arg7
== NULL
) SWIG_fail
;
7513 if (!wxPyCheckForApp()) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7542 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7543 PyObject
*resultobj
= 0;
7544 wxStaticBox
*result
= 0 ;
7546 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7548 if (!wxPyCheckForApp()) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (wxStaticBox
*)new wxStaticBox();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7561 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
= 0;
7563 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7564 wxWindow
*arg2
= (wxWindow
*) 0 ;
7565 int arg3
= (int) -1 ;
7566 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7567 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7568 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7569 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7570 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7571 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7572 long arg7
= (long) 0 ;
7573 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7582 bool temp4
= false ;
7587 bool temp8
= false ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7590 PyObject
* obj2
= 0 ;
7591 PyObject
* obj3
= 0 ;
7592 PyObject
* obj4
= 0 ;
7593 PyObject
* obj5
= 0 ;
7594 PyObject
* obj6
= 0 ;
7595 PyObject
* obj7
= 0 ;
7596 char * kwnames
[] = {
7597 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7602 if (!SWIG_IsOK(res1
)) {
7603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7605 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7607 if (!SWIG_IsOK(res2
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7613 if (!SWIG_IsOK(ecode3
)) {
7614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7616 arg3
= static_cast< int >(val3
);
7620 arg4
= wxString_in_helper(obj3
);
7621 if (arg4
== NULL
) SWIG_fail
;
7628 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7634 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7638 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7639 if (!SWIG_IsOK(ecode7
)) {
7640 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7642 arg7
= static_cast< long >(val7
);
7646 arg8
= wxString_in_helper(obj7
);
7647 if (arg8
== NULL
) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7682 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
= 0;
7684 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7685 SwigValueWrapper
<wxVisualAttributes
> result
;
7688 PyObject
* obj0
= 0 ;
7689 char * kwnames
[] = {
7690 (char *) "variant", NULL
7693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7696 if (!SWIG_IsOK(ecode1
)) {
7697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7699 arg1
= static_cast< wxWindowVariant
>(val1
);
7702 if (!wxPyCheckForApp()) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7715 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7718 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7719 return SWIG_Py_Void();
7722 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7723 return SWIG_Python_InitShadowInstance(args
);
7726 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
= 0;
7728 wxWindow
*arg1
= (wxWindow
*) 0 ;
7729 int arg2
= (int) -1 ;
7730 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7731 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7732 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7733 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7734 long arg5
= (long) wxLI_HORIZONTAL
;
7735 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7736 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7737 wxStaticLine
*result
= 0 ;
7746 bool temp6
= false ;
7747 PyObject
* obj0
= 0 ;
7748 PyObject
* obj1
= 0 ;
7749 PyObject
* obj2
= 0 ;
7750 PyObject
* obj3
= 0 ;
7751 PyObject
* obj4
= 0 ;
7752 PyObject
* obj5
= 0 ;
7753 char * kwnames
[] = {
7754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7759 if (!SWIG_IsOK(res1
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7765 if (!SWIG_IsOK(ecode2
)) {
7766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7768 arg2
= static_cast< int >(val2
);
7773 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7779 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7783 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7784 if (!SWIG_IsOK(ecode5
)) {
7785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7787 arg5
= static_cast< long >(val5
);
7791 arg6
= wxString_in_helper(obj5
);
7792 if (arg6
== NULL
) SWIG_fail
;
7797 if (!wxPyCheckForApp()) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7818 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7819 PyObject
*resultobj
= 0;
7820 wxStaticLine
*result
= 0 ;
7822 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxStaticLine
*)new wxStaticLine();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7837 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
= 0;
7839 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7840 wxWindow
*arg2
= (wxWindow
*) 0 ;
7841 int arg3
= (int) -1 ;
7842 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7843 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7844 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7845 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7846 long arg6
= (long) wxLI_HORIZONTAL
;
7847 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7848 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7860 bool temp7
= false ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7863 PyObject
* obj2
= 0 ;
7864 PyObject
* obj3
= 0 ;
7865 PyObject
* obj4
= 0 ;
7866 PyObject
* obj5
= 0 ;
7867 PyObject
* obj6
= 0 ;
7868 char * kwnames
[] = {
7869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7874 if (!SWIG_IsOK(res1
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7877 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7879 if (!SWIG_IsOK(res2
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7885 if (!SWIG_IsOK(ecode3
)) {
7886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7888 arg3
= static_cast< int >(val3
);
7893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7903 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7904 if (!SWIG_IsOK(ecode6
)) {
7905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7907 arg6
= static_cast< long >(val6
);
7911 arg7
= wxString_in_helper(obj6
);
7912 if (arg7
== NULL
) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7939 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7940 PyObject
*resultobj
= 0;
7941 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7945 PyObject
*swig_obj
[1] ;
7947 if (!args
) SWIG_fail
;
7949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7950 if (!SWIG_IsOK(res1
)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7953 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7969 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7970 PyObject
*resultobj
= 0;
7973 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (int)wxStaticLine::GetDefaultSize();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= SWIG_From_int(static_cast< int >(result
));
7987 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
= 0;
7989 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7990 SwigValueWrapper
<wxVisualAttributes
> result
;
7993 PyObject
* obj0
= 0 ;
7994 char * kwnames
[] = {
7995 (char *) "variant", NULL
7998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8001 if (!SWIG_IsOK(ecode1
)) {
8002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8004 arg1
= static_cast< wxWindowVariant
>(val1
);
8007 if (!wxPyCheckForApp()) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8020 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8023 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8024 return SWIG_Py_Void();
8027 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 return SWIG_Python_InitShadowInstance(args
);
8031 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
= 0;
8033 wxWindow
*arg1
= (wxWindow
*) 0 ;
8034 int arg2
= (int) -1 ;
8035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8037 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8038 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8039 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8040 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8041 long arg6
= (long) 0 ;
8042 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8043 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8044 wxStaticText
*result
= 0 ;
8049 bool temp3
= false ;
8054 bool temp7
= false ;
8055 PyObject
* obj0
= 0 ;
8056 PyObject
* obj1
= 0 ;
8057 PyObject
* obj2
= 0 ;
8058 PyObject
* obj3
= 0 ;
8059 PyObject
* obj4
= 0 ;
8060 PyObject
* obj5
= 0 ;
8061 PyObject
* obj6
= 0 ;
8062 char * kwnames
[] = {
8063 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8068 if (!SWIG_IsOK(res1
)) {
8069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8074 if (!SWIG_IsOK(ecode2
)) {
8075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8077 arg2
= static_cast< int >(val2
);
8081 arg3
= wxString_in_helper(obj2
);
8082 if (arg3
== NULL
) SWIG_fail
;
8089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8099 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8100 if (!SWIG_IsOK(ecode6
)) {
8101 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8103 arg6
= static_cast< long >(val6
);
8107 arg7
= wxString_in_helper(obj6
);
8108 if (arg7
== NULL
) SWIG_fail
;
8113 if (!wxPyCheckForApp()) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8142 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8143 PyObject
*resultobj
= 0;
8144 wxStaticText
*result
= 0 ;
8146 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8148 if (!wxPyCheckForApp()) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (wxStaticText
*)new wxStaticText();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8161 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
= 0;
8163 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8164 wxWindow
*arg2
= (wxWindow
*) 0 ;
8165 int arg3
= (int) -1 ;
8166 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8167 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8168 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8169 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8170 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8171 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8172 long arg7
= (long) 0 ;
8173 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8174 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8182 bool temp4
= false ;
8187 bool temp8
= false ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8190 PyObject
* obj2
= 0 ;
8191 PyObject
* obj3
= 0 ;
8192 PyObject
* obj4
= 0 ;
8193 PyObject
* obj5
= 0 ;
8194 PyObject
* obj6
= 0 ;
8195 PyObject
* obj7
= 0 ;
8196 char * kwnames
[] = {
8197 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8202 if (!SWIG_IsOK(res1
)) {
8203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8205 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8207 if (!SWIG_IsOK(res2
)) {
8208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8213 if (!SWIG_IsOK(ecode3
)) {
8214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8216 arg3
= static_cast< int >(val3
);
8220 arg4
= wxString_in_helper(obj3
);
8221 if (arg4
== NULL
) SWIG_fail
;
8228 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8234 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8238 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8239 if (!SWIG_IsOK(ecode7
)) {
8240 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8242 arg7
= static_cast< long >(val7
);
8246 arg8
= wxString_in_helper(obj7
);
8247 if (arg8
== NULL
) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8282 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
= 0;
8284 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 char * kwnames
[] = {
8293 (char *) "self",(char *) "width", NULL
8296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8298 if (!SWIG_IsOK(res1
)) {
8299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8301 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8303 if (!SWIG_IsOK(ecode2
)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8306 arg2
= static_cast< int >(val2
);
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_Py_Void();
8320 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
= 0;
8322 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8323 SwigValueWrapper
<wxVisualAttributes
> result
;
8326 PyObject
* obj0
= 0 ;
8327 char * kwnames
[] = {
8328 (char *) "variant", NULL
8331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8334 if (!SWIG_IsOK(ecode1
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8337 arg1
= static_cast< wxWindowVariant
>(val1
);
8340 if (!wxPyCheckForApp()) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8353 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8356 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8357 return SWIG_Py_Void();
8360 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8361 return SWIG_Python_InitShadowInstance(args
);
8364 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
= 0;
8366 wxWindow
*arg1
= (wxWindow
*) 0 ;
8367 int arg2
= (int) -1 ;
8368 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8369 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8374 long arg6
= (long) 0 ;
8375 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8377 wxStaticBitmap
*result
= 0 ;
8388 bool temp7
= false ;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 PyObject
* obj2
= 0 ;
8392 PyObject
* obj3
= 0 ;
8393 PyObject
* obj4
= 0 ;
8394 PyObject
* obj5
= 0 ;
8395 PyObject
* obj6
= 0 ;
8396 char * kwnames
[] = {
8397 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8402 if (!SWIG_IsOK(res1
)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8408 if (!SWIG_IsOK(ecode2
)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8411 arg2
= static_cast< int >(val2
);
8414 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8415 if (!SWIG_IsOK(res3
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8421 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8436 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8437 if (!SWIG_IsOK(ecode6
)) {
8438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8440 arg6
= static_cast< long >(val6
);
8444 arg7
= wxString_in_helper(obj6
);
8445 if (arg7
== NULL
) SWIG_fail
;
8450 if (!wxPyCheckForApp()) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8471 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8472 PyObject
*resultobj
= 0;
8473 wxStaticBitmap
*result
= 0 ;
8475 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8477 if (!wxPyCheckForApp()) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8490 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
= 0;
8492 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8493 wxWindow
*arg2
= (wxWindow
*) 0 ;
8494 int arg3
= (int) -1 ;
8495 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8496 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8497 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8498 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8499 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8500 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8501 long arg7
= (long) 0 ;
8502 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8517 bool temp8
= false ;
8518 PyObject
* obj0
= 0 ;
8519 PyObject
* obj1
= 0 ;
8520 PyObject
* obj2
= 0 ;
8521 PyObject
* obj3
= 0 ;
8522 PyObject
* obj4
= 0 ;
8523 PyObject
* obj5
= 0 ;
8524 PyObject
* obj6
= 0 ;
8525 PyObject
* obj7
= 0 ;
8526 char * kwnames
[] = {
8527 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8532 if (!SWIG_IsOK(res1
)) {
8533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8535 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8537 if (!SWIG_IsOK(res2
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8543 if (!SWIG_IsOK(ecode3
)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8546 arg3
= static_cast< int >(val3
);
8549 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8550 if (!SWIG_IsOK(res4
)) {
8551 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8556 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8561 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8567 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8571 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8572 if (!SWIG_IsOK(ecode7
)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8575 arg7
= static_cast< long >(val7
);
8579 arg8
= wxString_in_helper(obj7
);
8580 if (arg8
== NULL
) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8607 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8608 PyObject
*resultobj
= 0;
8609 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8613 PyObject
*swig_obj
[1] ;
8615 if (!args
) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8621 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (arg1
)->GetBitmap();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8635 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
= 0;
8637 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8638 wxBitmap
*arg2
= 0 ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8645 char * kwnames
[] = {
8646 (char *) "self",(char *) "bitmap", NULL
8649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8651 if (!SWIG_IsOK(res1
)) {
8652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8654 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8656 if (!SWIG_IsOK(res2
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8662 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_Py_Void();
8676 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= 0;
8678 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 char * kwnames
[] = {
8687 (char *) "self",(char *) "icon", NULL
8690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8692 if (!SWIG_IsOK(res1
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8695 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8697 if (!SWIG_IsOK(res2
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8703 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= SWIG_Py_Void();
8717 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
= 0;
8719 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8720 SwigValueWrapper
<wxVisualAttributes
> result
;
8723 PyObject
* obj0
= 0 ;
8724 char * kwnames
[] = {
8725 (char *) "variant", NULL
8728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8730 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8731 if (!SWIG_IsOK(ecode1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8734 arg1
= static_cast< wxWindowVariant
>(val1
);
8737 if (!wxPyCheckForApp()) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8750 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8753 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8754 return SWIG_Py_Void();
8757 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8758 return SWIG_Python_InitShadowInstance(args
);
8761 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8762 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8767 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8768 PyObject
*pyobj
= 0;
8772 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8774 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8781 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
= 0;
8783 wxWindow
*arg1
= (wxWindow
*) 0 ;
8784 int arg2
= (int) -1 ;
8785 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8786 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8787 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8788 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8789 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8790 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8791 long arg6
= (long) 0 ;
8792 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8793 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8794 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8795 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8796 wxListBox
*result
= 0 ;
8803 bool temp5
= false ;
8808 bool temp8
= false ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8812 PyObject
* obj3
= 0 ;
8813 PyObject
* obj4
= 0 ;
8814 PyObject
* obj5
= 0 ;
8815 PyObject
* obj6
= 0 ;
8816 PyObject
* obj7
= 0 ;
8817 char * kwnames
[] = {
8818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8823 if (!SWIG_IsOK(res1
)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8829 if (!SWIG_IsOK(ecode2
)) {
8830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8832 arg2
= static_cast< int >(val2
);
8837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8848 if (! PySequence_Check(obj4
)) {
8849 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8852 arg5
= new wxArrayString
;
8854 int i
, len
=PySequence_Length(obj4
);
8855 for (i
=0; i
<len
; i
++) {
8856 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8857 wxString
* s
= wxString_in_helper(item
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8866 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8867 if (!SWIG_IsOK(ecode6
)) {
8868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8870 arg6
= static_cast< long >(val6
);
8873 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8874 if (!SWIG_IsOK(res7
)) {
8875 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8880 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8884 arg8
= wxString_in_helper(obj7
);
8885 if (arg8
== NULL
) SWIG_fail
;
8890 if (!wxPyCheckForApp()) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8898 if (temp5
) delete arg5
;
8907 if (temp5
) delete arg5
;
8917 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8918 PyObject
*resultobj
= 0;
8919 wxListBox
*result
= 0 ;
8921 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8923 if (!wxPyCheckForApp()) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (wxListBox
*)new wxListBox();
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8936 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
= 0;
8938 wxListBox
*arg1
= (wxListBox
*) 0 ;
8939 wxWindow
*arg2
= (wxWindow
*) 0 ;
8940 int arg3
= (int) -1 ;
8941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8945 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8946 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8947 long arg7
= (long) 0 ;
8948 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8949 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8950 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8951 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8961 bool temp6
= false ;
8966 bool temp9
= false ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 PyObject
* obj2
= 0 ;
8970 PyObject
* obj3
= 0 ;
8971 PyObject
* obj4
= 0 ;
8972 PyObject
* obj5
= 0 ;
8973 PyObject
* obj6
= 0 ;
8974 PyObject
* obj7
= 0 ;
8975 PyObject
* obj8
= 0 ;
8976 char * kwnames
[] = {
8977 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8982 if (!SWIG_IsOK(res1
)) {
8983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8985 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8987 if (!SWIG_IsOK(res2
)) {
8988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8993 if (!SWIG_IsOK(ecode3
)) {
8994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8996 arg3
= static_cast< int >(val3
);
9001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9012 if (! PySequence_Check(obj5
)) {
9013 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9016 arg6
= new wxArrayString
;
9018 int i
, len
=PySequence_Length(obj5
);
9019 for (i
=0; i
<len
; i
++) {
9020 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9021 wxString
* s
= wxString_in_helper(item
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9030 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9031 if (!SWIG_IsOK(ecode7
)) {
9032 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9034 arg7
= static_cast< long >(val7
);
9037 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9038 if (!SWIG_IsOK(res8
)) {
9039 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9044 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9048 arg9
= wxString_in_helper(obj8
);
9049 if (arg9
== NULL
) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9063 if (temp6
) delete arg6
;
9072 if (temp6
) delete arg6
;
9082 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
= 0;
9084 wxListBox
*arg1
= (wxListBox
*) 0 ;
9085 wxString
*arg2
= 0 ;
9087 PyObject
*arg4
= (PyObject
*) NULL
;
9090 bool temp2
= false ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9096 PyObject
* obj3
= 0 ;
9097 char * kwnames
[] = {
9098 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9103 if (!SWIG_IsOK(res1
)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9106 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9108 arg2
= wxString_in_helper(obj1
);
9109 if (arg2
== NULL
) SWIG_fail
;
9112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9113 if (!SWIG_IsOK(ecode3
)) {
9114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9116 arg3
= static_cast< int >(val3
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_Py_Void();
9141 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
= 0;
9143 wxListBox
*arg1
= (wxListBox
*) 0 ;
9144 wxArrayString
*arg2
= 0 ;
9148 bool temp2
= false ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9154 char * kwnames
[] = {
9155 (char *) "self",(char *) "items",(char *) "pos", NULL
9158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9160 if (!SWIG_IsOK(res1
)) {
9161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9163 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9165 if (! PySequence_Check(obj1
)) {
9166 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9169 arg2
= new wxArrayString
;
9171 int i
, len
=PySequence_Length(obj1
);
9172 for (i
=0; i
<len
; i
++) {
9173 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9174 wxString
* s
= wxString_in_helper(item
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9181 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9182 if (!SWIG_IsOK(ecode3
)) {
9183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9185 arg3
= static_cast< unsigned int >(val3
);
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_Py_Void();
9194 if (temp2
) delete arg2
;
9199 if (temp2
) delete arg2
;
9205 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
= 0;
9207 wxListBox
*arg1
= (wxListBox
*) 0 ;
9208 wxArrayString
*arg2
= 0 ;
9211 bool temp2
= false ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 char * kwnames
[] = {
9215 (char *) "self",(char *) "items", NULL
9218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9220 if (!SWIG_IsOK(res1
)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9223 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9225 if (! PySequence_Check(obj1
)) {
9226 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9229 arg2
= new wxArrayString
;
9231 int i
, len
=PySequence_Length(obj1
);
9232 for (i
=0; i
<len
; i
++) {
9233 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9234 wxString
* s
= wxString_in_helper(item
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 (arg1
)->Set((wxArrayString
const &)*arg2
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_Py_Void();
9249 if (temp2
) delete arg2
;
9254 if (temp2
) delete arg2
;
9260 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
= 0;
9262 wxListBox
*arg1
= (wxListBox
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 char * kwnames
[] = {
9272 (char *) "self",(char *) "n", NULL
9275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9280 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9282 if (!SWIG_IsOK(ecode2
)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9285 arg2
= static_cast< int >(val2
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9301 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
= 0;
9303 wxListBox
*arg1
= (wxListBox
*) 0 ;
9305 bool arg3
= (bool) true ;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9314 PyObject
* obj2
= 0 ;
9315 char * kwnames
[] = {
9316 (char *) "self",(char *) "n",(char *) "select", NULL
9319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9321 if (!SWIG_IsOK(res1
)) {
9322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9324 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9326 if (!SWIG_IsOK(ecode2
)) {
9327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9329 arg2
= static_cast< int >(val2
);
9331 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9332 if (!SWIG_IsOK(ecode3
)) {
9333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9335 arg3
= static_cast< bool >(val3
);
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 (arg1
)->SetSelection(arg2
,arg3
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_Py_Void();
9350 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
= 0;
9352 wxListBox
*arg1
= (wxListBox
*) 0 ;
9358 PyObject
* obj0
= 0 ;
9359 PyObject
* obj1
= 0 ;
9360 char * kwnames
[] = {
9361 (char *) "self",(char *) "n", NULL
9364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9366 if (!SWIG_IsOK(res1
)) {
9367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9369 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9371 if (!SWIG_IsOK(ecode2
)) {
9372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9374 arg2
= static_cast< int >(val2
);
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 (arg1
)->Select(arg2
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_Py_Void();
9388 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
= 0;
9390 wxListBox
*arg1
= (wxListBox
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 char * kwnames
[] = {
9399 (char *) "self",(char *) "n", NULL
9402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9404 if (!SWIG_IsOK(res1
)) {
9405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9407 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9409 if (!SWIG_IsOK(ecode2
)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9412 arg2
= static_cast< int >(val2
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 (arg1
)->Deselect(arg2
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_Py_Void();
9426 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
= 0;
9428 wxListBox
*arg1
= (wxListBox
*) 0 ;
9429 int arg2
= (int) -1 ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 char * kwnames
[] = {
9437 (char *) "self",(char *) "itemToLeaveSelected", NULL
9440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9442 if (!SWIG_IsOK(res1
)) {
9443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9445 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9448 if (!SWIG_IsOK(ecode2
)) {
9449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9451 arg2
= static_cast< int >(val2
);
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->DeselectAll(arg2
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_Py_Void();
9466 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
= 0;
9468 wxListBox
*arg1
= (wxListBox
*) 0 ;
9469 wxString
*arg2
= 0 ;
9470 bool arg3
= (bool) true ;
9474 bool temp2
= false ;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9479 PyObject
* obj2
= 0 ;
9480 char * kwnames
[] = {
9481 (char *) "self",(char *) "s",(char *) "select", NULL
9484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9486 if (!SWIG_IsOK(res1
)) {
9487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9489 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9491 arg2
= wxString_in_helper(obj1
);
9492 if (arg2
== NULL
) SWIG_fail
;
9496 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9497 if (!SWIG_IsOK(ecode3
)) {
9498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9500 arg3
= static_cast< bool >(val3
);
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9525 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 PyObject
*resultobj
= 0;
9527 wxListBox
*arg1
= (wxListBox
*) 0 ;
9528 PyObject
*result
= 0 ;
9531 PyObject
*swig_obj
[1] ;
9533 if (!args
) SWIG_fail
;
9535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9536 if (!SWIG_IsOK(res1
)) {
9537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9539 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9553 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
= 0;
9555 wxListBox
*arg1
= (wxListBox
*) 0 ;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9563 char * kwnames
[] = {
9564 (char *) "self",(char *) "n", NULL
9567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9569 if (!SWIG_IsOK(res1
)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9572 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9574 if (!SWIG_IsOK(ecode2
)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9577 arg2
= static_cast< int >(val2
);
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 (arg1
)->SetFirstItem(arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_Py_Void();
9591 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxListBox
*arg1
= (wxListBox
*) 0 ;
9594 wxString
*arg2
= 0 ;
9597 bool temp2
= false ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 char * kwnames
[] = {
9601 (char *) "self",(char *) "s", NULL
9604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9606 if (!SWIG_IsOK(res1
)) {
9607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9609 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9611 arg2
= wxString_in_helper(obj1
);
9612 if (arg2
== NULL
) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_Py_Void();
9636 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
= 0;
9638 wxListBox
*arg1
= (wxListBox
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9646 char * kwnames
[] = {
9647 (char *) "self",(char *) "n", NULL
9650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9652 if (!SWIG_IsOK(res1
)) {
9653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9655 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9657 if (!SWIG_IsOK(ecode2
)) {
9658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9660 arg2
= static_cast< int >(val2
);
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 (arg1
)->EnsureVisible(arg2
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_Py_Void();
9674 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
= 0;
9676 wxListBox
*arg1
= (wxListBox
*) 0 ;
9677 wxString
*arg2
= 0 ;
9680 bool temp2
= false ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9683 char * kwnames
[] = {
9684 (char *) "self",(char *) "s", NULL
9687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9692 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9694 arg2
= wxString_in_helper(obj1
);
9695 if (arg2
== NULL
) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_Py_Void();
9719 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9720 PyObject
*resultobj
= 0;
9721 wxListBox
*arg1
= (wxListBox
*) 0 ;
9725 PyObject
*swig_obj
[1] ;
9727 if (!args
) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9733 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9749 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
= 0;
9751 wxListBox
*arg1
= (wxListBox
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 char * kwnames
[] = {
9760 (char *) "self",(char *) "pt", NULL
9763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9765 if (!SWIG_IsOK(res1
)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9768 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_From_int(static_cast< int >(result
));
9786 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
= 0;
9788 wxListBox
*arg1
= (wxListBox
*) 0 ;
9790 wxColour
*arg3
= 0 ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 PyObject
* obj2
= 0 ;
9799 char * kwnames
[] = {
9800 (char *) "self",(char *) "item",(char *) "c", NULL
9803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9805 if (!SWIG_IsOK(res1
)) {
9806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9808 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9810 if (!SWIG_IsOK(ecode2
)) {
9811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9813 arg2
= static_cast< int >(val2
);
9816 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_Py_Void();
9831 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
= 0;
9833 wxListBox
*arg1
= (wxListBox
*) 0 ;
9835 wxColour
*arg3
= 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 PyObject
* obj2
= 0 ;
9844 char * kwnames
[] = {
9845 (char *) "self",(char *) "item",(char *) "c", NULL
9848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9850 if (!SWIG_IsOK(res1
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9853 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9855 if (!SWIG_IsOK(ecode2
)) {
9856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9858 arg2
= static_cast< int >(val2
);
9861 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_Py_Void();
9876 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
= 0;
9878 wxListBox
*arg1
= (wxListBox
*) 0 ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "self",(char *) "item",(char *) "f", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9899 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9901 if (!SWIG_IsOK(ecode2
)) {
9902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9904 arg2
= static_cast< int >(val2
);
9905 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9906 if (!SWIG_IsOK(res3
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9912 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_Py_Void();
9926 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
= 0;
9928 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9929 SwigValueWrapper
<wxVisualAttributes
> result
;
9932 PyObject
* obj0
= 0 ;
9933 char * kwnames
[] = {
9934 (char *) "variant", NULL
9937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9939 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9940 if (!SWIG_IsOK(ecode1
)) {
9941 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9943 arg1
= static_cast< wxWindowVariant
>(val1
);
9946 if (!wxPyCheckForApp()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9959 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9962 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9963 return SWIG_Py_Void();
9966 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9967 return SWIG_Python_InitShadowInstance(args
);
9970 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
= 0;
9972 wxWindow
*arg1
= (wxWindow
*) 0 ;
9973 int arg2
= (int) -1 ;
9974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9978 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9979 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9980 long arg6
= (long) 0 ;
9981 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9982 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9983 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9984 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9985 wxCheckListBox
*result
= 0 ;
9992 bool temp5
= false ;
9997 bool temp8
= false ;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 PyObject
* obj2
= 0 ;
10001 PyObject
* obj3
= 0 ;
10002 PyObject
* obj4
= 0 ;
10003 PyObject
* obj5
= 0 ;
10004 PyObject
* obj6
= 0 ;
10005 PyObject
* obj7
= 0 ;
10006 char * kwnames
[] = {
10007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10018 if (!SWIG_IsOK(ecode2
)) {
10019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10021 arg2
= static_cast< int >(val2
);
10026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10032 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10037 if (! PySequence_Check(obj4
)) {
10038 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10041 arg5
= new wxArrayString
;
10043 int i
, len
=PySequence_Length(obj4
);
10044 for (i
=0; i
<len
; i
++) {
10045 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10046 wxString
* s
= wxString_in_helper(item
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10055 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10056 if (!SWIG_IsOK(ecode6
)) {
10057 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10059 arg6
= static_cast< long >(val6
);
10062 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10063 if (!SWIG_IsOK(res7
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10069 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10073 arg8
= wxString_in_helper(obj7
);
10074 if (arg8
== NULL
) SWIG_fail
;
10079 if (!wxPyCheckForApp()) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10087 if (temp5
) delete arg5
;
10096 if (temp5
) delete arg5
;
10106 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10107 PyObject
*resultobj
= 0;
10108 wxCheckListBox
*result
= 0 ;
10110 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10112 if (!wxPyCheckForApp()) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (wxCheckListBox
*)new wxCheckListBox();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10125 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
= 0;
10127 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10128 wxWindow
*arg2
= (wxWindow
*) 0 ;
10129 int arg3
= (int) -1 ;
10130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10134 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10135 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10136 long arg7
= (long) 0 ;
10137 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10138 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10139 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10140 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10150 bool temp6
= false ;
10155 bool temp9
= false ;
10156 PyObject
* obj0
= 0 ;
10157 PyObject
* obj1
= 0 ;
10158 PyObject
* obj2
= 0 ;
10159 PyObject
* obj3
= 0 ;
10160 PyObject
* obj4
= 0 ;
10161 PyObject
* obj5
= 0 ;
10162 PyObject
* obj6
= 0 ;
10163 PyObject
* obj7
= 0 ;
10164 PyObject
* obj8
= 0 ;
10165 char * kwnames
[] = {
10166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10174 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10176 if (!SWIG_IsOK(res2
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10179 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10182 if (!SWIG_IsOK(ecode3
)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10185 arg3
= static_cast< int >(val3
);
10190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10201 if (! PySequence_Check(obj5
)) {
10202 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10205 arg6
= new wxArrayString
;
10207 int i
, len
=PySequence_Length(obj5
);
10208 for (i
=0; i
<len
; i
++) {
10209 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10210 wxString
* s
= wxString_in_helper(item
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10219 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10220 if (!SWIG_IsOK(ecode7
)) {
10221 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10223 arg7
= static_cast< long >(val7
);
10226 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10227 if (!SWIG_IsOK(res8
)) {
10228 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10233 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10237 arg9
= wxString_in_helper(obj8
);
10238 if (arg9
== NULL
) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10252 if (temp6
) delete arg6
;
10261 if (temp6
) delete arg6
;
10271 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
= 0;
10273 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10274 unsigned int arg2
;
10278 unsigned int val2
;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char * kwnames
[] = {
10283 (char *) "self",(char *) "index", NULL
10286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10288 if (!SWIG_IsOK(res1
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10291 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10292 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10293 if (!SWIG_IsOK(ecode2
)) {
10294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10296 arg2
= static_cast< unsigned int >(val2
);
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= (bool)(arg1
)->IsChecked(arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10312 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
= 0;
10314 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10315 unsigned int arg2
;
10316 int arg3
= (int) true ;
10319 unsigned int val2
;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 PyObject
* obj2
= 0 ;
10326 char * kwnames
[] = {
10327 (char *) "self",(char *) "index",(char *) "check", NULL
10330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10332 if (!SWIG_IsOK(res1
)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10335 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10336 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10337 if (!SWIG_IsOK(ecode2
)) {
10338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10340 arg2
= static_cast< unsigned int >(val2
);
10342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10343 if (!SWIG_IsOK(ecode3
)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10346 arg3
= static_cast< int >(val3
);
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 (arg1
)->Check(arg2
,arg3
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= SWIG_Py_Void();
10361 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10362 PyObject
*resultobj
= 0;
10363 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10367 PyObject
*swig_obj
[1] ;
10369 if (!args
) SWIG_fail
;
10370 swig_obj
[0] = args
;
10371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10372 if (!SWIG_IsOK(res1
)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10375 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (int)(arg1
)->GetItemHeight();
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_From_int(static_cast< int >(result
));
10389 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10392 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10393 return SWIG_Py_Void();
10396 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10397 return SWIG_Python_InitShadowInstance(args
);
10400 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10401 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10406 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10407 PyObject
*pyobj
= 0;
10411 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10413 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10420 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
= 0;
10422 wxColour
const &arg1_defvalue
= wxNullColour
;
10423 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10424 wxColour
const &arg2_defvalue
= wxNullColour
;
10425 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10426 wxFont
const &arg3_defvalue
= wxNullFont
;
10427 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10428 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10429 wxTextAttr
*result
= 0 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 PyObject
* obj2
= 0 ;
10439 PyObject
* obj3
= 0 ;
10440 char * kwnames
[] = {
10441 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10448 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10458 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10459 if (!SWIG_IsOK(res3
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10465 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10469 if (!SWIG_IsOK(ecode4
)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10472 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10487 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10488 PyObject
*resultobj
= 0;
10489 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10492 PyObject
*swig_obj
[1] ;
10494 if (!args
) SWIG_fail
;
10495 swig_obj
[0] = args
;
10496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10497 if (!SWIG_IsOK(res1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10500 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_Py_Void();
10515 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10516 PyObject
*resultobj
= 0;
10517 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10520 PyObject
*swig_obj
[1] ;
10522 if (!args
) SWIG_fail
;
10523 swig_obj
[0] = args
;
10524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10528 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_Py_Void();
10542 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
= 0;
10544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10545 wxColour
*arg2
= 0 ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char * kwnames
[] = {
10552 (char *) "self",(char *) "colText", NULL
10555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10560 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10563 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_Py_Void();
10578 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= 0;
10580 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10581 wxColour
*arg2
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "self",(char *) "colBack", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10596 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_Py_Void();
10614 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10618 long arg3
= (long) wxTEXT_ATTR_FONT
;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 PyObject
* obj2
= 0 ;
10628 char * kwnames
[] = {
10629 (char *) "self",(char *) "font",(char *) "flags", NULL
10632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10637 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10639 if (!SWIG_IsOK(res2
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10645 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10647 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10648 if (!SWIG_IsOK(ecode3
)) {
10649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10651 arg3
= static_cast< long >(val3
);
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_Py_Void();
10666 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10669 wxTextAttrAlignment arg2
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char * kwnames
[] = {
10677 (char *) "self",(char *) "alignment", NULL
10680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10685 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10687 if (!SWIG_IsOK(ecode2
)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10690 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 (arg1
)->SetAlignment(arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_Py_Void();
10704 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= 0;
10706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10707 wxArrayInt
*arg2
= 0 ;
10710 bool temp2
= false ;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 char * kwnames
[] = {
10714 (char *) "self",(char *) "tabs", NULL
10717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10719 if (!SWIG_IsOK(res1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10722 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10724 if (! PySequence_Check(obj1
)) {
10725 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10728 arg2
= new wxArrayInt
;
10730 int i
, len
=PySequence_Length(obj1
);
10731 for (i
=0; i
<len
; i
++) {
10732 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10733 PyObject
* number
= PyNumber_Int(item
);
10734 arg2
->Add(PyInt_AS_LONG(number
));
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_Py_Void();
10747 if (temp2
) delete arg2
;
10752 if (temp2
) delete arg2
;
10758 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
= 0;
10760 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10762 int arg3
= (int) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 PyObject
* obj2
= 0 ;
10772 char * kwnames
[] = {
10773 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10781 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10783 if (!SWIG_IsOK(ecode2
)) {
10784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10786 arg2
= static_cast< int >(val2
);
10788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10789 if (!SWIG_IsOK(ecode3
)) {
10790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10792 arg3
= static_cast< int >(val3
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetLeftIndent(arg2
,arg3
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 char * kwnames
[] = {
10818 (char *) "self",(char *) "indent", NULL
10821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10826 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10828 if (!SWIG_IsOK(ecode2
)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10831 arg2
= static_cast< int >(val2
);
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetRightIndent(arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_Py_Void();
10845 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
= 0;
10847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "flags", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10864 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10865 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10869 arg2
= static_cast< long >(val2
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetFlags(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 PyObject
*resultobj
= 0;
10885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10889 PyObject
*swig_obj
[1] ;
10891 if (!args
) SWIG_fail
;
10892 swig_obj
[0] = args
;
10893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10897 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10913 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10914 PyObject
*resultobj
= 0;
10915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10919 PyObject
*swig_obj
[1] ;
10921 if (!args
) SWIG_fail
;
10922 swig_obj
[0] = args
;
10923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10924 if (!SWIG_IsOK(res1
)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10927 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10943 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10944 PyObject
*resultobj
= 0;
10945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10949 PyObject
*swig_obj
[1] ;
10951 if (!args
) SWIG_fail
;
10952 swig_obj
[0] = args
;
10953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10954 if (!SWIG_IsOK(res1
)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10957 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10973 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10974 PyObject
*resultobj
= 0;
10975 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10979 PyObject
*swig_obj
[1] ;
10981 if (!args
) SWIG_fail
;
10982 swig_obj
[0] = args
;
10983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10984 if (!SWIG_IsOK(res1
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10987 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11004 PyObject
*resultobj
= 0;
11005 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11009 PyObject
*swig_obj
[1] ;
11011 if (!args
) SWIG_fail
;
11012 swig_obj
[0] = args
;
11013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11017 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11033 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11034 PyObject
*resultobj
= 0;
11035 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11039 PyObject
*swig_obj
[1] ;
11041 if (!args
) SWIG_fail
;
11042 swig_obj
[0] = args
;
11043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11044 if (!SWIG_IsOK(res1
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11047 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11064 PyObject
*resultobj
= 0;
11065 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11069 PyObject
*swig_obj
[1] ;
11071 if (!args
) SWIG_fail
;
11072 swig_obj
[0] = args
;
11073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11077 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11093 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
= 0;
11095 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 char * kwnames
[] = {
11105 (char *) "self",(char *) "flag", NULL
11108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11110 if (!SWIG_IsOK(res1
)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11113 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11114 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11115 if (!SWIG_IsOK(ecode2
)) {
11116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11118 arg2
= static_cast< long >(val2
);
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11134 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11135 PyObject
*resultobj
= 0;
11136 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11137 wxColour
*result
= 0 ;
11140 PyObject
*swig_obj
[1] ;
11142 if (!args
) SWIG_fail
;
11143 swig_obj
[0] = args
;
11144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11145 if (!SWIG_IsOK(res1
)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11148 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11153 result
= (wxColour
*) &_result_ref
;
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11165 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11166 PyObject
*resultobj
= 0;
11167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11168 wxColour
*result
= 0 ;
11171 PyObject
*swig_obj
[1] ;
11173 if (!args
) SWIG_fail
;
11174 swig_obj
[0] = args
;
11175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11176 if (!SWIG_IsOK(res1
)) {
11177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11179 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11184 result
= (wxColour
*) &_result_ref
;
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11196 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11197 PyObject
*resultobj
= 0;
11198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11199 wxFont
*result
= 0 ;
11202 PyObject
*swig_obj
[1] ;
11204 if (!args
) SWIG_fail
;
11205 swig_obj
[0] = args
;
11206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11207 if (!SWIG_IsOK(res1
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11210 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11215 result
= (wxFont
*) &_result_ref
;
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 wxFont
* resultptr
= new wxFont(*result
);
11222 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11230 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11231 PyObject
*resultobj
= 0;
11232 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11233 wxTextAttrAlignment result
;
11236 PyObject
*swig_obj
[1] ;
11238 if (!args
) SWIG_fail
;
11239 swig_obj
[0] = args
;
11240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11241 if (!SWIG_IsOK(res1
)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11244 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= SWIG_From_int(static_cast< int >(result
));
11258 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11259 PyObject
*resultobj
= 0;
11260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11261 wxArrayInt
*result
= 0 ;
11264 PyObject
*swig_obj
[1] ;
11266 if (!args
) SWIG_fail
;
11267 swig_obj
[0] = args
;
11268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11272 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11277 result
= (wxArrayInt
*) &_result_ref
;
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= PyList_New(0);
11285 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11286 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11287 PyList_Append(resultobj
, val
);
11297 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11298 PyObject
*resultobj
= 0;
11299 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11303 PyObject
*swig_obj
[1] ;
11305 if (!args
) SWIG_fail
;
11306 swig_obj
[0] = args
;
11307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11311 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_From_long(static_cast< long >(result
));
11325 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11339 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_long(static_cast< long >(result
));
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 PyObject
*swig_obj
[1] ;
11361 if (!args
) SWIG_fail
;
11362 swig_obj
[0] = args
;
11363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long(static_cast< long >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long(static_cast< long >(result
));
11409 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11423 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11439 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
= 0;
11441 wxTextAttr
*arg1
= 0 ;
11442 wxTextAttr
*arg2
= 0 ;
11443 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 PyObject
* obj2
= 0 ;
11454 char * kwnames
[] = {
11455 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11459 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11466 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11468 if (!SWIG_IsOK(res2
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11474 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11475 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11476 if (!SWIG_IsOK(res3
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11479 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11493 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11496 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11497 return SWIG_Py_Void();
11500 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11501 return SWIG_Python_InitShadowInstance(args
);
11504 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxWindow
*arg1
= (wxWindow
*) 0 ;
11507 int arg2
= (int) -1 ;
11508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11514 long arg6
= (long) 0 ;
11515 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11516 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11517 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11518 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11519 wxTextCtrl
*result
= 0 ;
11524 bool temp3
= false ;
11531 bool temp8
= false ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 PyObject
* obj4
= 0 ;
11537 PyObject
* obj5
= 0 ;
11538 PyObject
* obj6
= 0 ;
11539 PyObject
* obj7
= 0 ;
11540 char * kwnames
[] = {
11541 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11552 if (!SWIG_IsOK(ecode2
)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11555 arg2
= static_cast< int >(val2
);
11559 arg3
= wxString_in_helper(obj2
);
11560 if (arg3
== NULL
) SWIG_fail
;
11567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11577 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11578 if (!SWIG_IsOK(ecode6
)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11581 arg6
= static_cast< long >(val6
);
11584 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11585 if (!SWIG_IsOK(res7
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11591 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11595 arg8
= wxString_in_helper(obj7
);
11596 if (arg8
== NULL
) SWIG_fail
;
11601 if (!wxPyCheckForApp()) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11630 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxTextCtrl
*result
= 0 ;
11634 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11636 if (!wxPyCheckForApp()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxTextCtrl
*)new wxTextCtrl();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11649 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
= 0;
11651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11652 wxWindow
*arg2
= (wxWindow
*) 0 ;
11653 int arg3
= (int) -1 ;
11654 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11655 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11656 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11657 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11658 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11659 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11660 long arg7
= (long) 0 ;
11661 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11662 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11663 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11672 bool temp4
= false ;
11679 bool temp9
= false ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 PyObject
* obj2
= 0 ;
11683 PyObject
* obj3
= 0 ;
11684 PyObject
* obj4
= 0 ;
11685 PyObject
* obj5
= 0 ;
11686 PyObject
* obj6
= 0 ;
11687 PyObject
* obj7
= 0 ;
11688 PyObject
* obj8
= 0 ;
11689 char * kwnames
[] = {
11690 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11695 if (!SWIG_IsOK(res1
)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11698 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11700 if (!SWIG_IsOK(res2
)) {
11701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11706 if (!SWIG_IsOK(ecode3
)) {
11707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11709 arg3
= static_cast< int >(val3
);
11713 arg4
= wxString_in_helper(obj3
);
11714 if (arg4
== NULL
) SWIG_fail
;
11721 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11727 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11731 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11732 if (!SWIG_IsOK(ecode7
)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11735 arg7
= static_cast< long >(val7
);
11738 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11739 if (!SWIG_IsOK(res8
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11745 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11749 arg9
= wxString_in_helper(obj8
);
11750 if (arg9
== NULL
) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11799 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11819 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
= 0;
11821 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11822 wxString
*arg2
= 0 ;
11825 bool temp2
= false ;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 char * kwnames
[] = {
11829 (char *) "self",(char *) "value", NULL
11832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11837 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11839 arg2
= wxString_in_helper(obj1
);
11840 if (arg2
== NULL
) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetValue((wxString
const &)*arg2
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= 0;
11866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 PyObject
* obj2
= 0 ;
11879 char * kwnames
[] = {
11880 (char *) "self",(char *) "_from",(char *) "to", NULL
11883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11888 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11890 if (!SWIG_IsOK(ecode2
)) {
11891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11893 arg2
= static_cast< long >(val2
);
11894 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11895 if (!SWIG_IsOK(ecode3
)) {
11896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11898 arg3
= static_cast< long >(val3
);
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11918 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
= 0;
11920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "lineNo", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11940 if (!SWIG_IsOK(ecode2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11943 arg2
= static_cast< long >(val2
);
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_From_int(static_cast< int >(result
));
11957 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
= 0;
11959 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 char * kwnames
[] = {
11969 (char *) "self",(char *) "lineNo", NULL
11972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11977 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11979 if (!SWIG_IsOK(ecode2
)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11982 arg2
= static_cast< long >(val2
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12002 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12016 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int(static_cast< int >(result
));
12030 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12044 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12060 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12061 PyObject
*resultobj
= 0;
12062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12066 PyObject
*swig_obj
[1] ;
12068 if (!args
) SWIG_fail
;
12069 swig_obj
[0] = args
;
12070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12074 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12090 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12104 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12120 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12121 PyObject
*resultobj
= 0;
12122 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12126 PyObject
*swig_obj
[1] ;
12128 if (!args
) SWIG_fail
;
12129 swig_obj
[0] = args
;
12130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12134 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12151 PyObject
*resultobj
= 0;
12152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12153 long *arg2
= (long *) 0 ;
12154 long *arg3
= (long *) 0 ;
12158 int res2
= SWIG_TMPOBJ
;
12160 int res3
= SWIG_TMPOBJ
;
12161 PyObject
*swig_obj
[1] ;
12165 if (!args
) SWIG_fail
;
12166 swig_obj
[0] = args
;
12167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12171 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_Py_Void();
12179 if (SWIG_IsTmpObj(res2
)) {
12180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12182 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12185 if (SWIG_IsTmpObj(res3
)) {
12186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12197 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12198 PyObject
*resultobj
= 0;
12199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 PyObject
*swig_obj
[1] ;
12205 if (!args
) SWIG_fail
;
12206 swig_obj
[0] = args
;
12207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12211 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12231 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 PyObject
*resultobj
= 0;
12233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12244 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_Py_Void();
12258 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= 0;
12260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12263 wxString
*arg4
= 0 ;
12270 bool temp4
= false ;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 PyObject
* obj2
= 0 ;
12274 PyObject
* obj3
= 0 ;
12275 char * kwnames
[] = {
12276 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12281 if (!SWIG_IsOK(res1
)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12284 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12286 if (!SWIG_IsOK(ecode2
)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12289 arg2
= static_cast< long >(val2
);
12290 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12291 if (!SWIG_IsOK(ecode3
)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12294 arg3
= static_cast< long >(val3
);
12296 arg4
= wxString_in_helper(obj3
);
12297 if (arg4
== NULL
) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= SWIG_Py_Void();
12321 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
= 0;
12323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 PyObject
* obj2
= 0 ;
12335 char * kwnames
[] = {
12336 (char *) "self",(char *) "_from",(char *) "to", NULL
12339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12341 if (!SWIG_IsOK(res1
)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12344 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12345 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12346 if (!SWIG_IsOK(ecode2
)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12349 arg2
= static_cast< long >(val2
);
12350 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12351 if (!SWIG_IsOK(ecode3
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12354 arg3
= static_cast< long >(val3
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->Remove(arg2
,arg3
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_Py_Void();
12368 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
= 0;
12370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12371 wxString
*arg2
= 0 ;
12375 bool temp2
= false ;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 char * kwnames
[] = {
12379 (char *) "self",(char *) "file", NULL
12382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12387 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12389 arg2
= wxString_in_helper(obj1
);
12390 if (arg2
== NULL
) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12416 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
= 0;
12418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12419 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12420 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12424 bool temp2
= false ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "self",(char *) "file", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12439 arg2
= wxString_in_helper(obj1
);
12440 if (arg2
== NULL
) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12467 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 PyObject
*resultobj
= 0;
12469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12472 PyObject
*swig_obj
[1] ;
12474 if (!args
) SWIG_fail
;
12475 swig_obj
[0] = args
;
12476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->MarkDirty();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_Py_Void();
12494 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12495 PyObject
*resultobj
= 0;
12496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12499 PyObject
*swig_obj
[1] ;
12501 if (!args
) SWIG_fail
;
12502 swig_obj
[0] = args
;
12503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12507 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->DiscardEdits();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_Py_Void();
12521 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= 0;
12523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12524 unsigned long arg2
;
12527 unsigned long val2
;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "len", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12537 if (!SWIG_IsOK(res1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12541 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12542 if (!SWIG_IsOK(ecode2
)) {
12543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12545 arg2
= static_cast< unsigned long >(val2
);
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetMaxLength(arg2
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_Py_Void();
12559 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
= 0;
12561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12562 wxString
*arg2
= 0 ;
12565 bool temp2
= false ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char * kwnames
[] = {
12569 (char *) "self",(char *) "text", NULL
12572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12574 if (!SWIG_IsOK(res1
)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12579 arg2
= wxString_in_helper(obj1
);
12580 if (arg2
== NULL
) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->WriteText((wxString
const &)*arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12607 wxString
*arg2
= 0 ;
12610 bool temp2
= false ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char * kwnames
[] = {
12614 (char *) "self",(char *) "text", NULL
12617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12622 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12624 arg2
= wxString_in_helper(obj1
);
12625 if (arg2
== NULL
) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->AppendText((wxString
const &)*arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_Py_Void();
12649 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
= 0;
12651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12652 wxKeyEvent
*arg2
= 0 ;
12658 PyObject
* obj0
= 0 ;
12659 PyObject
* obj1
= 0 ;
12660 char * kwnames
[] = {
12661 (char *) "self",(char *) "event", NULL
12664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12666 if (!SWIG_IsOK(res1
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12669 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12671 if (!SWIG_IsOK(res2
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12677 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
= 0;
12695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12698 wxTextAttr
*arg4
= 0 ;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 PyObject
* obj2
= 0 ;
12711 PyObject
* obj3
= 0 ;
12712 char * kwnames
[] = {
12713 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12721 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12722 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12723 if (!SWIG_IsOK(ecode2
)) {
12724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12726 arg2
= static_cast< long >(val2
);
12727 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12728 if (!SWIG_IsOK(ecode3
)) {
12729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12731 arg3
= static_cast< long >(val3
);
12732 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12733 if (!SWIG_IsOK(res4
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12739 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12755 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
= 0;
12757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12759 wxTextAttr
*arg3
= 0 ;
12767 PyObject
* obj0
= 0 ;
12768 PyObject
* obj1
= 0 ;
12769 PyObject
* obj2
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "position",(char *) "style", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12781 if (!SWIG_IsOK(ecode2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12784 arg2
= static_cast< long >(val2
);
12785 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12786 if (!SWIG_IsOK(res3
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12792 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12808 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
= 0;
12810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12811 wxTextAttr
*arg2
= 0 ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 char * kwnames
[] = {
12820 (char *) "self",(char *) "style", NULL
12823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12828 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12830 if (!SWIG_IsOK(res2
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12836 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12852 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12853 PyObject
*resultobj
= 0;
12854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12855 wxTextAttr
*result
= 0 ;
12858 PyObject
*swig_obj
[1] ;
12860 if (!args
) SWIG_fail
;
12861 swig_obj
[0] = args
;
12862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12866 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12871 result
= (wxTextAttr
*) &_result_ref
;
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12883 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 PyObject
* obj2
= 0 ;
12898 char * kwnames
[] = {
12899 (char *) "self",(char *) "x",(char *) "y", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12904 if (!SWIG_IsOK(res1
)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12907 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12909 if (!SWIG_IsOK(ecode2
)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12912 arg2
= static_cast< long >(val2
);
12913 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12914 if (!SWIG_IsOK(ecode3
)) {
12915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12917 arg3
= static_cast< long >(val3
);
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= SWIG_From_long(static_cast< long >(result
));
12931 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
= 0;
12933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12935 long *arg3
= (long *) 0 ;
12936 long *arg4
= (long *) 0 ;
12942 int res3
= SWIG_TMPOBJ
;
12944 int res4
= SWIG_TMPOBJ
;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 char * kwnames
[] = {
12948 (char *) "self",(char *) "pos", NULL
12953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12958 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12959 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12960 if (!SWIG_IsOK(ecode2
)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12963 arg2
= static_cast< long >(val2
);
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_Py_Void();
12971 if (SWIG_IsTmpObj(res3
)) {
12972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12974 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12977 if (SWIG_IsTmpObj(res4
)) {
12978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12980 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12989 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
= 0;
12991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 char * kwnames
[] = {
13000 (char *) "self",(char *) "pos", NULL
13003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13005 if (!SWIG_IsOK(res1
)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13008 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13009 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13010 if (!SWIG_IsOK(ecode2
)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13013 arg2
= static_cast< long >(val2
);
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 (arg1
)->ShowPosition(arg2
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_Py_Void();
13027 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
= 0;
13029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13030 wxPoint
*arg2
= 0 ;
13031 long *arg3
= (long *) 0 ;
13032 long *arg4
= (long *) 0 ;
13033 wxTextCtrlHitTestResult result
;
13038 int res3
= SWIG_TMPOBJ
;
13040 int res4
= SWIG_TMPOBJ
;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char * kwnames
[] = {
13044 (char *) "self",(char *) "pt", NULL
13049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13051 if (!SWIG_IsOK(res1
)) {
13052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13054 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= SWIG_From_int(static_cast< int >(result
));
13066 if (SWIG_IsTmpObj(res3
)) {
13067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13072 if (SWIG_IsTmpObj(res4
)) {
13073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13075 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13084 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
= 0;
13086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13087 wxPoint
*arg2
= 0 ;
13088 long *arg3
= (long *) 0 ;
13089 wxTextCtrlHitTestResult result
;
13094 int res3
= SWIG_TMPOBJ
;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 char * kwnames
[] = {
13098 (char *) "self",(char *) "pt", NULL
13102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13104 if (!SWIG_IsOK(res1
)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13107 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_From_int(static_cast< int >(result
));
13119 if (SWIG_IsTmpObj(res3
)) {
13120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13122 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13131 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13132 PyObject
*resultobj
= 0;
13133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13136 PyObject
*swig_obj
[1] ;
13138 if (!args
) SWIG_fail
;
13139 swig_obj
[0] = args
;
13140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13144 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_Py_Void();
13158 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13159 PyObject
*resultobj
= 0;
13160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13163 PyObject
*swig_obj
[1] ;
13165 if (!args
) SWIG_fail
;
13166 swig_obj
[0] = args
;
13167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13171 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_Py_Void();
13185 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 PyObject
*resultobj
= 0;
13187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13190 PyObject
*swig_obj
[1] ;
13192 if (!args
) SWIG_fail
;
13193 swig_obj
[0] = args
;
13194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13195 if (!SWIG_IsOK(res1
)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13198 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= SWIG_Py_Void();
13212 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13213 PyObject
*resultobj
= 0;
13214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13218 PyObject
*swig_obj
[1] ;
13220 if (!args
) SWIG_fail
;
13221 swig_obj
[0] = args
;
13222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13223 if (!SWIG_IsOK(res1
)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13226 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13242 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13243 PyObject
*resultobj
= 0;
13244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13248 PyObject
*swig_obj
[1] ;
13250 if (!args
) SWIG_fail
;
13251 swig_obj
[0] = args
;
13252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13253 if (!SWIG_IsOK(res1
)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13256 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13272 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 PyObject
*resultobj
= 0;
13274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13278 PyObject
*swig_obj
[1] ;
13280 if (!args
) SWIG_fail
;
13281 swig_obj
[0] = args
;
13282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 PyObject
*resultobj
= 0;
13304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13307 PyObject
*swig_obj
[1] ;
13309 if (!args
) SWIG_fail
;
13310 swig_obj
[0] = args
;
13311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13315 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_Py_Void();
13329 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13334 PyObject
*swig_obj
[1] ;
13336 if (!args
) SWIG_fail
;
13337 swig_obj
[0] = args
;
13338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13339 if (!SWIG_IsOK(res1
)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13342 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= SWIG_Py_Void();
13356 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13357 PyObject
*resultobj
= 0;
13358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13362 PyObject
*swig_obj
[1] ;
13364 if (!args
) SWIG_fail
;
13365 swig_obj
[0] = args
;
13366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13370 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13386 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13392 PyObject
*swig_obj
[1] ;
13394 if (!args
) SWIG_fail
;
13395 swig_obj
[0] = args
;
13396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13416 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
= 0;
13418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 char * kwnames
[] = {
13427 (char *) "self",(char *) "pos", NULL
13430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13435 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13436 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13437 if (!SWIG_IsOK(ecode2
)) {
13438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13440 arg2
= static_cast< long >(val2
);
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 (arg1
)->SetInsertionPoint(arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_Py_Void();
13454 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13455 PyObject
*resultobj
= 0;
13456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13459 PyObject
*swig_obj
[1] ;
13461 if (!args
) SWIG_fail
;
13462 swig_obj
[0] = args
;
13463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13464 if (!SWIG_IsOK(res1
)) {
13465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13467 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 (arg1
)->SetInsertionPointEnd();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_Py_Void();
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13495 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_From_long(static_cast< long >(result
));
13509 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13510 PyObject
*resultobj
= 0;
13511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13515 PyObject
*swig_obj
[1] ;
13517 if (!args
) SWIG_fail
;
13518 swig_obj
[0] = args
;
13519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_From_long(static_cast< long >(result
));
13537 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
= 0;
13539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 PyObject
* obj2
= 0 ;
13551 char * kwnames
[] = {
13552 (char *) "self",(char *) "_from",(char *) "to", NULL
13555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13557 if (!SWIG_IsOK(res1
)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13560 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13562 if (!SWIG_IsOK(ecode2
)) {
13563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13565 arg2
= static_cast< long >(val2
);
13566 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13567 if (!SWIG_IsOK(ecode3
)) {
13568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13570 arg3
= static_cast< long >(val3
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 (arg1
)->SetSelection(arg2
,arg3
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_Py_Void();
13584 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13589 PyObject
*swig_obj
[1] ;
13591 if (!args
) SWIG_fail
;
13592 swig_obj
[0] = args
;
13593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13594 if (!SWIG_IsOK(res1
)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13597 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 (arg1
)->SelectAll();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
= 0;
13613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char * kwnames
[] = {
13622 (char *) "self",(char *) "editable", NULL
13625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13627 if (!SWIG_IsOK(res1
)) {
13628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13630 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13631 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13632 if (!SWIG_IsOK(ecode2
)) {
13633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13635 arg2
= static_cast< bool >(val2
);
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SetEditable(arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_Py_Void();
13649 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= 0;
13651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13652 bool arg2
= (bool) true ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char * kwnames
[] = {
13661 (char *) "self",(char *) "show", NULL
13664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13666 if (!SWIG_IsOK(res1
)) {
13667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13669 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13671 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13672 if (!SWIG_IsOK(ecode2
)) {
13673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13675 arg2
= static_cast< bool >(val2
);
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13692 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13693 PyObject
*resultobj
= 0;
13694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13698 PyObject
*swig_obj
[1] ;
13700 if (!args
) SWIG_fail
;
13701 swig_obj
[0] = args
;
13702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13703 if (!SWIG_IsOK(res1
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (bool)(arg1
)->HideNativeCaret();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13722 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
= 0;
13724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13725 wxString
*arg2
= 0 ;
13728 bool temp2
= false ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "text", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13740 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13742 arg2
= wxString_in_helper(obj1
);
13743 if (arg2
== NULL
) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13767 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
= 0;
13769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 char * kwnames
[] = {
13783 (char *) "self",(char *) "_from",(char *) "to", NULL
13786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13788 if (!SWIG_IsOK(res1
)) {
13789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13791 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13792 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13793 if (!SWIG_IsOK(ecode2
)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13796 arg2
= static_cast< long >(val2
);
13797 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13798 if (!SWIG_IsOK(ecode3
)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13801 arg3
= static_cast< long >(val3
);
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13821 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
= 0;
13823 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13824 SwigValueWrapper
<wxVisualAttributes
> result
;
13827 PyObject
* obj0
= 0 ;
13828 char * kwnames
[] = {
13829 (char *) "variant", NULL
13832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13835 if (!SWIG_IsOK(ecode1
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13838 arg1
= static_cast< wxWindowVariant
>(val1
);
13841 if (!wxPyCheckForApp()) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13854 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13857 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13858 return SWIG_Py_Void();
13861 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13862 return SWIG_Python_InitShadowInstance(args
);
13865 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
= 0;
13868 wxMouseEvent
*arg2
= 0 ;
13871 wxTextUrlEvent
*result
= 0 ;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 PyObject
* obj2
= 0 ;
13883 PyObject
* obj3
= 0 ;
13884 char * kwnames
[] = {
13885 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13889 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13890 if (!SWIG_IsOK(ecode1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13893 arg1
= static_cast< int >(val1
);
13894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13895 if (!SWIG_IsOK(res2
)) {
13896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13901 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13902 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13903 if (!SWIG_IsOK(ecode3
)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13906 arg3
= static_cast< long >(val3
);
13907 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13908 if (!SWIG_IsOK(ecode4
)) {
13909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13911 arg4
= static_cast< long >(val4
);
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13925 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13926 PyObject
*resultobj
= 0;
13927 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13928 wxMouseEvent
*result
= 0 ;
13931 PyObject
*swig_obj
[1] ;
13933 if (!args
) SWIG_fail
;
13934 swig_obj
[0] = args
;
13935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13936 if (!SWIG_IsOK(res1
)) {
13937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13939 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13944 result
= (wxMouseEvent
*) &_result_ref
;
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13956 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13957 PyObject
*resultobj
= 0;
13958 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13962 PyObject
*swig_obj
[1] ;
13964 if (!args
) SWIG_fail
;
13965 swig_obj
[0] = args
;
13966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13967 if (!SWIG_IsOK(res1
)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13970 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= SWIG_From_long(static_cast< long >(result
));
13984 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13985 PyObject
*resultobj
= 0;
13986 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13990 PyObject
*swig_obj
[1] ;
13992 if (!args
) SWIG_fail
;
13993 swig_obj
[0] = args
;
13994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13995 if (!SWIG_IsOK(res1
)) {
13996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13998 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_From_long(static_cast< long >(result
));
14012 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14015 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14016 return SWIG_Py_Void();
14019 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14020 return SWIG_Python_InitShadowInstance(args
);
14023 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14024 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14029 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14030 PyObject
*pyobj
= 0;
14034 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14036 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14043 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
= 0;
14045 wxWindow
*arg1
= (wxWindow
*) 0 ;
14046 int arg2
= (int) -1 ;
14047 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14048 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14049 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14050 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14051 long arg5
= (long) wxSB_HORIZONTAL
;
14052 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14053 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14054 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14055 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14056 wxScrollBar
*result
= 0 ;
14067 bool temp7
= false ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 PyObject
* obj2
= 0 ;
14071 PyObject
* obj3
= 0 ;
14072 PyObject
* obj4
= 0 ;
14073 PyObject
* obj5
= 0 ;
14074 PyObject
* obj6
= 0 ;
14075 char * kwnames
[] = {
14076 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14081 if (!SWIG_IsOK(res1
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14087 if (!SWIG_IsOK(ecode2
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14090 arg2
= static_cast< int >(val2
);
14095 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14101 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14105 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14106 if (!SWIG_IsOK(ecode5
)) {
14107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14109 arg5
= static_cast< long >(val5
);
14112 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14113 if (!SWIG_IsOK(res6
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14119 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14123 arg7
= wxString_in_helper(obj6
);
14124 if (arg7
== NULL
) SWIG_fail
;
14129 if (!wxPyCheckForApp()) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14150 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14151 PyObject
*resultobj
= 0;
14152 wxScrollBar
*result
= 0 ;
14154 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14156 if (!wxPyCheckForApp()) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (wxScrollBar
*)new wxScrollBar();
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14169 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
= 0;
14171 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14172 wxWindow
*arg2
= (wxWindow
*) 0 ;
14173 int arg3
= (int) -1 ;
14174 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14175 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14176 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14177 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14178 long arg6
= (long) wxSB_HORIZONTAL
;
14179 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14180 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14181 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14182 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14196 bool temp8
= false ;
14197 PyObject
* obj0
= 0 ;
14198 PyObject
* obj1
= 0 ;
14199 PyObject
* obj2
= 0 ;
14200 PyObject
* obj3
= 0 ;
14201 PyObject
* obj4
= 0 ;
14202 PyObject
* obj5
= 0 ;
14203 PyObject
* obj6
= 0 ;
14204 PyObject
* obj7
= 0 ;
14205 char * kwnames
[] = {
14206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14211 if (!SWIG_IsOK(res1
)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14214 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14216 if (!SWIG_IsOK(res2
)) {
14217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14219 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14222 if (!SWIG_IsOK(ecode3
)) {
14223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14225 arg3
= static_cast< int >(val3
);
14230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14240 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14241 if (!SWIG_IsOK(ecode6
)) {
14242 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14244 arg6
= static_cast< long >(val6
);
14247 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14248 if (!SWIG_IsOK(res7
)) {
14249 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14254 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14258 arg8
= wxString_in_helper(obj7
);
14259 if (arg8
== NULL
) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14286 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14287 PyObject
*resultobj
= 0;
14288 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14292 PyObject
*swig_obj
[1] ;
14294 if (!args
) SWIG_fail
;
14295 swig_obj
[0] = args
;
14296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14297 if (!SWIG_IsOK(res1
)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14300 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_From_int(static_cast< int >(result
));
14314 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14315 PyObject
*resultobj
= 0;
14316 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14320 PyObject
*swig_obj
[1] ;
14322 if (!args
) SWIG_fail
;
14323 swig_obj
[0] = args
;
14324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14325 if (!SWIG_IsOK(res1
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14328 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_From_int(static_cast< int >(result
));
14342 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14356 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_int(static_cast< int >(result
));
14370 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14371 PyObject
*resultobj
= 0;
14372 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14376 PyObject
*swig_obj
[1] ;
14378 if (!args
) SWIG_fail
;
14379 swig_obj
[0] = args
;
14380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14384 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= SWIG_From_int(static_cast< int >(result
));
14398 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14399 PyObject
*resultobj
= 0;
14400 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14404 PyObject
*swig_obj
[1] ;
14406 if (!args
) SWIG_fail
;
14407 swig_obj
[0] = args
;
14408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14412 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14428 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
= 0;
14430 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 PyObject
* obj1
= 0 ;
14438 char * kwnames
[] = {
14439 (char *) "self",(char *) "viewStart", NULL
14442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14444 if (!SWIG_IsOK(res1
)) {
14445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14447 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14449 if (!SWIG_IsOK(ecode2
)) {
14450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14452 arg2
= static_cast< int >(val2
);
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 (arg1
)->SetThumbPosition(arg2
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= SWIG_Py_Void();
14466 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
= 0;
14468 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14469 SwigValueWrapper
<wxVisualAttributes
> result
;
14472 PyObject
* obj0
= 0 ;
14473 char * kwnames
[] = {
14474 (char *) "variant", NULL
14477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14479 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14480 if (!SWIG_IsOK(ecode1
)) {
14481 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14483 arg1
= static_cast< wxWindowVariant
>(val1
);
14486 if (!wxPyCheckForApp()) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14492 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14499 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14502 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14503 return SWIG_Py_Void();
14506 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14507 return SWIG_Python_InitShadowInstance(args
);
14510 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14511 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14516 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14517 PyObject
*pyobj
= 0;
14521 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14523 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14530 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14531 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14536 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14537 PyObject
*pyobj
= 0;
14541 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14543 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14550 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
= 0;
14552 wxWindow
*arg1
= (wxWindow
*) 0 ;
14553 int arg2
= (int) -1 ;
14554 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14555 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14556 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14557 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14558 long arg5
= (long) wxSP_HORIZONTAL
;
14559 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14560 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14561 wxSpinButton
*result
= 0 ;
14570 bool temp6
= false ;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 PyObject
* obj2
= 0 ;
14574 PyObject
* obj3
= 0 ;
14575 PyObject
* obj4
= 0 ;
14576 PyObject
* obj5
= 0 ;
14577 char * kwnames
[] = {
14578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14583 if (!SWIG_IsOK(res1
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14586 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14589 if (!SWIG_IsOK(ecode2
)) {
14590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14592 arg2
= static_cast< int >(val2
);
14597 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14603 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14607 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14608 if (!SWIG_IsOK(ecode5
)) {
14609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14611 arg5
= static_cast< long >(val5
);
14615 arg6
= wxString_in_helper(obj5
);
14616 if (arg6
== NULL
) SWIG_fail
;
14621 if (!wxPyCheckForApp()) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14642 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14643 PyObject
*resultobj
= 0;
14644 wxSpinButton
*result
= 0 ;
14646 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14648 if (!wxPyCheckForApp()) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (wxSpinButton
*)new wxSpinButton();
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14661 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
= 0;
14663 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14664 wxWindow
*arg2
= (wxWindow
*) 0 ;
14665 int arg3
= (int) -1 ;
14666 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14667 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14668 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14669 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14670 long arg6
= (long) wxSP_HORIZONTAL
;
14671 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14672 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14684 bool temp7
= false ;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 PyObject
* obj2
= 0 ;
14688 PyObject
* obj3
= 0 ;
14689 PyObject
* obj4
= 0 ;
14690 PyObject
* obj5
= 0 ;
14691 PyObject
* obj6
= 0 ;
14692 char * kwnames
[] = {
14693 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14698 if (!SWIG_IsOK(res1
)) {
14699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14701 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14703 if (!SWIG_IsOK(res2
)) {
14704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14706 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14709 if (!SWIG_IsOK(ecode3
)) {
14710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14712 arg3
= static_cast< int >(val3
);
14717 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14723 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14727 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14728 if (!SWIG_IsOK(ecode6
)) {
14729 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14731 arg6
= static_cast< long >(val6
);
14735 arg7
= wxString_in_helper(obj6
);
14736 if (arg7
== NULL
) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14763 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14764 PyObject
*resultobj
= 0;
14765 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14769 PyObject
*swig_obj
[1] ;
14771 if (!args
) SWIG_fail
;
14772 swig_obj
[0] = args
;
14773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14774 if (!SWIG_IsOK(res1
)) {
14775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14777 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_From_int(static_cast< int >(result
));
14791 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14792 PyObject
*resultobj
= 0;
14793 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14797 PyObject
*swig_obj
[1] ;
14799 if (!args
) SWIG_fail
;
14800 swig_obj
[0] = args
;
14801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14802 if (!SWIG_IsOK(res1
)) {
14803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14805 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_From_int(static_cast< int >(result
));
14819 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14820 PyObject
*resultobj
= 0;
14821 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14825 PyObject
*swig_obj
[1] ;
14827 if (!args
) SWIG_fail
;
14828 swig_obj
[0] = args
;
14829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14833 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_From_int(static_cast< int >(result
));
14847 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
= 0;
14849 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj1
= 0 ;
14857 char * kwnames
[] = {
14858 (char *) "self",(char *) "val", NULL
14861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14866 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14868 if (!SWIG_IsOK(ecode2
)) {
14869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14871 arg2
= static_cast< int >(val2
);
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 (arg1
)->SetValue(arg2
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_Py_Void();
14885 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
= 0;
14887 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 char * kwnames
[] = {
14896 (char *) "self",(char *) "minVal", NULL
14899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14904 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14906 if (!SWIG_IsOK(ecode2
)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14909 arg2
= static_cast< int >(val2
);
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 (arg1
)->SetMin(arg2
);
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= SWIG_Py_Void();
14923 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
= 0;
14925 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 char * kwnames
[] = {
14934 (char *) "self",(char *) "maxVal", NULL
14937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14939 if (!SWIG_IsOK(res1
)) {
14940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14942 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14944 if (!SWIG_IsOK(ecode2
)) {
14945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14947 arg2
= static_cast< int >(val2
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 (arg1
)->SetMax(arg2
);
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= SWIG_Py_Void();
14961 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
= 0;
14963 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 PyObject
* obj2
= 0 ;
14975 char * kwnames
[] = {
14976 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14981 if (!SWIG_IsOK(res1
)) {
14982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14984 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14986 if (!SWIG_IsOK(ecode2
)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14989 arg2
= static_cast< int >(val2
);
14990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14991 if (!SWIG_IsOK(ecode3
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14994 arg3
= static_cast< int >(val3
);
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 (arg1
)->SetRange(arg2
,arg3
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_Py_Void();
15008 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15009 PyObject
*resultobj
= 0;
15010 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15014 PyObject
*swig_obj
[1] ;
15016 if (!args
) SWIG_fail
;
15017 swig_obj
[0] = args
;
15018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15022 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15038 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
= 0;
15040 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15041 SwigValueWrapper
<wxVisualAttributes
> result
;
15044 PyObject
* obj0
= 0 ;
15045 char * kwnames
[] = {
15046 (char *) "variant", NULL
15049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15051 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15052 if (!SWIG_IsOK(ecode1
)) {
15053 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15055 arg1
= static_cast< wxWindowVariant
>(val1
);
15058 if (!wxPyCheckForApp()) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15071 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15074 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15075 return SWIG_Py_Void();
15078 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15079 return SWIG_Python_InitShadowInstance(args
);
15082 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
= 0;
15084 wxWindow
*arg1
= (wxWindow
*) 0 ;
15085 int arg2
= (int) -1 ;
15086 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15087 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15092 long arg6
= (long) wxSP_ARROW_KEYS
;
15093 int arg7
= (int) 0 ;
15094 int arg8
= (int) 100 ;
15095 int arg9
= (int) 0 ;
15096 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15097 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15098 wxSpinCtrl
*result
= 0 ;
15103 bool temp3
= false ;
15114 bool temp10
= false ;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 PyObject
* obj2
= 0 ;
15118 PyObject
* obj3
= 0 ;
15119 PyObject
* obj4
= 0 ;
15120 PyObject
* obj5
= 0 ;
15121 PyObject
* obj6
= 0 ;
15122 PyObject
* obj7
= 0 ;
15123 PyObject
* obj8
= 0 ;
15124 PyObject
* obj9
= 0 ;
15125 char * kwnames
[] = {
15126 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15131 if (!SWIG_IsOK(res1
)) {
15132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15137 if (!SWIG_IsOK(ecode2
)) {
15138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15140 arg2
= static_cast< int >(val2
);
15144 arg3
= wxString_in_helper(obj2
);
15145 if (arg3
== NULL
) SWIG_fail
;
15152 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15158 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15162 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15163 if (!SWIG_IsOK(ecode6
)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15166 arg6
= static_cast< long >(val6
);
15169 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15170 if (!SWIG_IsOK(ecode7
)) {
15171 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15173 arg7
= static_cast< int >(val7
);
15176 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15177 if (!SWIG_IsOK(ecode8
)) {
15178 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15180 arg8
= static_cast< int >(val8
);
15183 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15184 if (!SWIG_IsOK(ecode9
)) {
15185 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15187 arg9
= static_cast< int >(val9
);
15191 arg10
= wxString_in_helper(obj9
);
15192 if (arg10
== NULL
) SWIG_fail
;
15197 if (!wxPyCheckForApp()) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15226 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15227 PyObject
*resultobj
= 0;
15228 wxSpinCtrl
*result
= 0 ;
15230 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15232 if (!wxPyCheckForApp()) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15245 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
= 0;
15247 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15248 wxWindow
*arg2
= (wxWindow
*) 0 ;
15249 int arg3
= (int) -1 ;
15250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15252 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15253 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15254 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15255 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15256 long arg7
= (long) wxSP_ARROW_KEYS
;
15257 int arg8
= (int) 0 ;
15258 int arg9
= (int) 100 ;
15259 int arg10
= (int) 0 ;
15260 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15261 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15269 bool temp4
= false ;
15280 bool temp11
= false ;
15281 PyObject
* obj0
= 0 ;
15282 PyObject
* obj1
= 0 ;
15283 PyObject
* obj2
= 0 ;
15284 PyObject
* obj3
= 0 ;
15285 PyObject
* obj4
= 0 ;
15286 PyObject
* obj5
= 0 ;
15287 PyObject
* obj6
= 0 ;
15288 PyObject
* obj7
= 0 ;
15289 PyObject
* obj8
= 0 ;
15290 PyObject
* obj9
= 0 ;
15291 PyObject
* obj10
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15301 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15303 if (!SWIG_IsOK(res2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15306 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15309 if (!SWIG_IsOK(ecode3
)) {
15310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15312 arg3
= static_cast< int >(val3
);
15316 arg4
= wxString_in_helper(obj3
);
15317 if (arg4
== NULL
) SWIG_fail
;
15324 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15330 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15334 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15335 if (!SWIG_IsOK(ecode7
)) {
15336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15338 arg7
= static_cast< long >(val7
);
15341 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15342 if (!SWIG_IsOK(ecode8
)) {
15343 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15345 arg8
= static_cast< int >(val8
);
15348 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15349 if (!SWIG_IsOK(ecode9
)) {
15350 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15352 arg9
= static_cast< int >(val9
);
15355 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15356 if (!SWIG_IsOK(ecode10
)) {
15357 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15359 arg10
= static_cast< int >(val10
);
15363 arg11
= wxString_in_helper(obj10
);
15364 if (arg11
== NULL
) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15399 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15400 PyObject
*resultobj
= 0;
15401 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15405 PyObject
*swig_obj
[1] ;
15407 if (!args
) SWIG_fail
;
15408 swig_obj
[0] = args
;
15409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15410 if (!SWIG_IsOK(res1
)) {
15411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15413 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_From_int(static_cast< int >(result
));
15427 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
= 0;
15429 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char * kwnames
[] = {
15438 (char *) "self",(char *) "value", NULL
15441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15446 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15448 if (!SWIG_IsOK(ecode2
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15451 arg2
= static_cast< int >(val2
);
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetValue(arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_Py_Void();
15465 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
= 0;
15467 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15468 wxString
*arg2
= 0 ;
15471 bool temp2
= false ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "text", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15483 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15485 arg2
= wxString_in_helper(obj1
);
15486 if (arg2
== NULL
) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetValue((wxString
const &)*arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_Py_Void();
15510 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
= 0;
15512 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 PyObject
* obj2
= 0 ;
15524 char * kwnames
[] = {
15525 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15530 if (!SWIG_IsOK(res1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15533 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15535 if (!SWIG_IsOK(ecode2
)) {
15536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15538 arg2
= static_cast< int >(val2
);
15539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15540 if (!SWIG_IsOK(ecode3
)) {
15541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15543 arg3
= static_cast< int >(val3
);
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 (arg1
)->SetRange(arg2
,arg3
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_Py_Void();
15557 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15558 PyObject
*resultobj
= 0;
15559 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15563 PyObject
*swig_obj
[1] ;
15565 if (!args
) SWIG_fail
;
15566 swig_obj
[0] = args
;
15567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15568 if (!SWIG_IsOK(res1
)) {
15569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15571 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= SWIG_From_int(static_cast< int >(result
));
15585 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15586 PyObject
*resultobj
= 0;
15587 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15591 PyObject
*swig_obj
[1] ;
15593 if (!args
) SWIG_fail
;
15594 swig_obj
[0] = args
;
15595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15596 if (!SWIG_IsOK(res1
)) {
15597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15599 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_From_int(static_cast< int >(result
));
15613 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
= 0;
15615 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 PyObject
* obj2
= 0 ;
15627 char * kwnames
[] = {
15628 (char *) "self",(char *) "_from",(char *) "to", NULL
15631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15633 if (!SWIG_IsOK(res1
)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15636 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15637 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15638 if (!SWIG_IsOK(ecode2
)) {
15639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15641 arg2
= static_cast< long >(val2
);
15642 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15643 if (!SWIG_IsOK(ecode3
)) {
15644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15646 arg3
= static_cast< long >(val3
);
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 (arg1
)->SetSelection(arg2
,arg3
);
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_Py_Void();
15660 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
= 0;
15662 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15663 SwigValueWrapper
<wxVisualAttributes
> result
;
15666 PyObject
* obj0
= 0 ;
15667 char * kwnames
[] = {
15668 (char *) "variant", NULL
15671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15673 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15674 if (!SWIG_IsOK(ecode1
)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15677 arg1
= static_cast< wxWindowVariant
>(val1
);
15680 if (!wxPyCheckForApp()) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15693 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15696 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15697 return SWIG_Py_Void();
15700 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15701 return SWIG_Python_InitShadowInstance(args
);
15704 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
= 0;
15706 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15707 int arg2
= (int) 0 ;
15708 wxSpinEvent
*result
= 0 ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 char * kwnames
[] = {
15716 (char *) "commandType",(char *) "winid", NULL
15719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15722 if (!SWIG_IsOK(ecode1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15725 arg1
= static_cast< wxEventType
>(val1
);
15728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15729 if (!SWIG_IsOK(ecode2
)) {
15730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15732 arg2
= static_cast< int >(val2
);
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15747 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15748 PyObject
*resultobj
= 0;
15749 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15753 PyObject
*swig_obj
[1] ;
15755 if (!args
) SWIG_fail
;
15756 swig_obj
[0] = args
;
15757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15758 if (!SWIG_IsOK(res1
)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15761 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_From_int(static_cast< int >(result
));
15775 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
= 0;
15777 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 char * kwnames
[] = {
15786 (char *) "self",(char *) "pos", NULL
15789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15791 if (!SWIG_IsOK(res1
)) {
15792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15794 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15796 if (!SWIG_IsOK(ecode2
)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15799 arg2
= static_cast< int >(val2
);
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 (arg1
)->SetPosition(arg2
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_Py_Void();
15813 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15817 return SWIG_Py_Void();
15820 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15821 return SWIG_Python_InitShadowInstance(args
);
15824 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15825 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15830 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15831 PyObject
*pyobj
= 0;
15835 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15837 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15844 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15845 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15850 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15851 PyObject
*pyobj
= 0;
15855 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15857 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15864 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 wxWindow
*arg1
= (wxWindow
*) 0 ;
15867 int arg2
= (int) -1 ;
15868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15874 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15875 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15876 int arg7
= (int) 0 ;
15877 long arg8
= (long) wxRA_HORIZONTAL
;
15878 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15879 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15880 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15881 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15882 wxRadioBox
*result
= 0 ;
15887 bool temp3
= false ;
15890 bool temp6
= false ;
15897 bool temp10
= false ;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 PyObject
* obj2
= 0 ;
15901 PyObject
* obj3
= 0 ;
15902 PyObject
* obj4
= 0 ;
15903 PyObject
* obj5
= 0 ;
15904 PyObject
* obj6
= 0 ;
15905 PyObject
* obj7
= 0 ;
15906 PyObject
* obj8
= 0 ;
15907 PyObject
* obj9
= 0 ;
15908 char * kwnames
[] = {
15909 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15914 if (!SWIG_IsOK(res1
)) {
15915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15917 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15920 if (!SWIG_IsOK(ecode2
)) {
15921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15923 arg2
= static_cast< int >(val2
);
15927 arg3
= wxString_in_helper(obj2
);
15928 if (arg3
== NULL
) SWIG_fail
;
15935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15946 if (! PySequence_Check(obj5
)) {
15947 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15950 arg6
= new wxArrayString
;
15952 int i
, len
=PySequence_Length(obj5
);
15953 for (i
=0; i
<len
; i
++) {
15954 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15955 wxString
* s
= wxString_in_helper(item
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15964 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15965 if (!SWIG_IsOK(ecode7
)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15968 arg7
= static_cast< int >(val7
);
15971 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15972 if (!SWIG_IsOK(ecode8
)) {
15973 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15975 arg8
= static_cast< long >(val8
);
15978 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15979 if (!SWIG_IsOK(res9
)) {
15980 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15985 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15989 arg10
= wxString_in_helper(obj9
);
15990 if (arg10
== NULL
) SWIG_fail
;
15995 if (!wxPyCheckForApp()) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 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
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16007 if (temp6
) delete arg6
;
16020 if (temp6
) delete arg6
;
16030 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16031 PyObject
*resultobj
= 0;
16032 wxRadioBox
*result
= 0 ;
16034 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16036 if (!wxPyCheckForApp()) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (wxRadioBox
*)new wxRadioBox();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16049 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
= 0;
16051 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16052 wxWindow
*arg2
= (wxWindow
*) 0 ;
16053 int arg3
= (int) -1 ;
16054 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16055 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16056 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16057 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16058 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16059 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16060 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16061 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16062 int arg8
= (int) 0 ;
16063 long arg9
= (long) wxRA_HORIZONTAL
;
16064 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16065 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16066 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16067 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16075 bool temp4
= false ;
16078 bool temp7
= false ;
16085 bool temp11
= false ;
16086 PyObject
* obj0
= 0 ;
16087 PyObject
* obj1
= 0 ;
16088 PyObject
* obj2
= 0 ;
16089 PyObject
* obj3
= 0 ;
16090 PyObject
* obj4
= 0 ;
16091 PyObject
* obj5
= 0 ;
16092 PyObject
* obj6
= 0 ;
16093 PyObject
* obj7
= 0 ;
16094 PyObject
* obj8
= 0 ;
16095 PyObject
* obj9
= 0 ;
16096 PyObject
* obj10
= 0 ;
16097 char * kwnames
[] = {
16098 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16103 if (!SWIG_IsOK(res1
)) {
16104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16106 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16108 if (!SWIG_IsOK(res2
)) {
16109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16111 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16114 if (!SWIG_IsOK(ecode3
)) {
16115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16117 arg3
= static_cast< int >(val3
);
16121 arg4
= wxString_in_helper(obj3
);
16122 if (arg4
== NULL
) SWIG_fail
;
16129 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16135 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16140 if (! PySequence_Check(obj6
)) {
16141 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16144 arg7
= new wxArrayString
;
16146 int i
, len
=PySequence_Length(obj6
);
16147 for (i
=0; i
<len
; i
++) {
16148 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16149 wxString
* s
= wxString_in_helper(item
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16158 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16159 if (!SWIG_IsOK(ecode8
)) {
16160 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16162 arg8
= static_cast< int >(val8
);
16165 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16166 if (!SWIG_IsOK(ecode9
)) {
16167 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16169 arg9
= static_cast< long >(val9
);
16172 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16173 if (!SWIG_IsOK(res10
)) {
16174 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16179 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16183 arg11
= wxString_in_helper(obj10
);
16184 if (arg11
== NULL
) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 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
);
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16202 if (temp7
) delete arg7
;
16215 if (temp7
) delete arg7
;
16225 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
= 0;
16227 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 char * kwnames
[] = {
16236 (char *) "self",(char *) "n", NULL
16239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16241 if (!SWIG_IsOK(res1
)) {
16242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16244 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16246 if (!SWIG_IsOK(ecode2
)) {
16247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16249 arg2
= static_cast< int >(val2
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 (arg1
)->SetSelection(arg2
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= SWIG_Py_Void();
16263 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16264 PyObject
*resultobj
= 0;
16265 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16269 PyObject
*swig_obj
[1] ;
16271 if (!args
) SWIG_fail
;
16272 swig_obj
[0] = args
;
16273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16274 if (!SWIG_IsOK(res1
)) {
16275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16277 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= SWIG_From_int(static_cast< int >(result
));
16291 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 PyObject
*resultobj
= 0;
16293 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16297 PyObject
*swig_obj
[1] ;
16299 if (!args
) SWIG_fail
;
16300 swig_obj
[0] = args
;
16301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16302 if (!SWIG_IsOK(res1
)) {
16303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16305 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16325 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
= 0;
16327 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16328 wxString
*arg2
= 0 ;
16332 bool temp2
= false ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 char * kwnames
[] = {
16336 (char *) "self",(char *) "s", NULL
16339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16341 if (!SWIG_IsOK(res1
)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16344 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16346 arg2
= wxString_in_helper(obj1
);
16347 if (arg2
== NULL
) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16373 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16374 PyObject
*resultobj
= 0;
16375 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16379 PyObject
*swig_obj
[1] ;
16381 if (!args
) SWIG_fail
;
16382 swig_obj
[0] = args
;
16383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16384 if (!SWIG_IsOK(res1
)) {
16385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16387 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16401 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
= 0;
16403 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16404 wxString
*arg2
= 0 ;
16408 bool temp2
= false ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char * kwnames
[] = {
16412 (char *) "self",(char *) "s", NULL
16415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16420 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16422 arg2
= wxString_in_helper(obj1
);
16423 if (arg2
== NULL
) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= SWIG_From_int(static_cast< int >(result
));
16447 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
= 0;
16449 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 char * kwnames
[] = {
16459 (char *) "self",(char *) "n", NULL
16462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16464 if (!SWIG_IsOK(res1
)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16467 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16469 if (!SWIG_IsOK(ecode2
)) {
16470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16472 arg2
= static_cast< int >(val2
);
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16492 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
= 0;
16494 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16496 wxString
*arg3
= 0 ;
16501 bool temp3
= false ;
16502 PyObject
* obj0
= 0 ;
16503 PyObject
* obj1
= 0 ;
16504 PyObject
* obj2
= 0 ;
16505 char * kwnames
[] = {
16506 (char *) "self",(char *) "n",(char *) "label", NULL
16509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16511 if (!SWIG_IsOK(res1
)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16514 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16516 if (!SWIG_IsOK(ecode2
)) {
16517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16519 arg2
= static_cast< int >(val2
);
16521 arg3
= wxString_in_helper(obj2
);
16522 if (arg3
== NULL
) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_Py_Void();
16546 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
= 0;
16548 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16549 unsigned int arg2
;
16550 bool arg3
= (bool) true ;
16553 unsigned int val2
;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 PyObject
* obj2
= 0 ;
16560 char * kwnames
[] = {
16561 (char *) "self",(char *) "n",(char *) "enable", NULL
16564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16566 if (!SWIG_IsOK(res1
)) {
16567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16569 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16570 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16571 if (!SWIG_IsOK(ecode2
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16574 arg2
= static_cast< unsigned int >(val2
);
16576 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16577 if (!SWIG_IsOK(ecode3
)) {
16578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16580 arg3
= static_cast< bool >(val3
);
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 (arg1
)->Enable(arg2
,arg3
);
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= SWIG_Py_Void();
16595 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
= 0;
16597 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16598 unsigned int arg2
;
16599 bool arg3
= (bool) true ;
16602 unsigned int val2
;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 PyObject
* obj2
= 0 ;
16609 char * kwnames
[] = {
16610 (char *) "self",(char *) "n",(char *) "show", NULL
16613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16615 if (!SWIG_IsOK(res1
)) {
16616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16618 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16619 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16620 if (!SWIG_IsOK(ecode2
)) {
16621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16623 arg2
= static_cast< unsigned int >(val2
);
16625 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16626 if (!SWIG_IsOK(ecode3
)) {
16627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16629 arg3
= static_cast< bool >(val3
);
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 (arg1
)->Show(arg2
,arg3
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= SWIG_Py_Void();
16644 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
= 0;
16646 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16647 unsigned int arg2
;
16651 unsigned int val2
;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char * kwnames
[] = {
16656 (char *) "self",(char *) "n", NULL
16659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16661 if (!SWIG_IsOK(res1
)) {
16662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16664 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16665 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16666 if (!SWIG_IsOK(ecode2
)) {
16667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16669 arg2
= static_cast< unsigned int >(val2
);
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16685 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
= 0;
16687 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16688 unsigned int arg2
;
16692 unsigned int val2
;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 char * kwnames
[] = {
16697 (char *) "self",(char *) "n", NULL
16700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16702 if (!SWIG_IsOK(res1
)) {
16703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16705 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16706 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16707 if (!SWIG_IsOK(ecode2
)) {
16708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16710 arg2
= static_cast< unsigned int >(val2
);
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16726 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16727 PyObject
*resultobj
= 0;
16728 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16729 unsigned int result
;
16732 PyObject
*swig_obj
[1] ;
16734 if (!args
) SWIG_fail
;
16735 swig_obj
[0] = args
;
16736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16740 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16754 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16755 PyObject
*resultobj
= 0;
16756 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16757 unsigned int result
;
16760 PyObject
*swig_obj
[1] ;
16762 if (!args
) SWIG_fail
;
16763 swig_obj
[0] = args
;
16764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16765 if (!SWIG_IsOK(res1
)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16768 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16782 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
= 0;
16784 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 PyObject
* obj2
= 0 ;
16800 PyObject
* obj3
= 0 ;
16801 char * kwnames
[] = {
16802 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16807 if (!SWIG_IsOK(res1
)) {
16808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16810 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16812 if (!SWIG_IsOK(ecode2
)) {
16813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16815 arg2
= static_cast< int >(val2
);
16816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16817 if (!SWIG_IsOK(ecode3
)) {
16818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16820 arg3
= static_cast< wxDirection
>(val3
);
16821 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16822 if (!SWIG_IsOK(ecode4
)) {
16823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16825 arg4
= static_cast< long >(val4
);
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_From_int(static_cast< int >(result
));
16839 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
= 0;
16841 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16842 SwigValueWrapper
<wxVisualAttributes
> result
;
16845 PyObject
* obj0
= 0 ;
16846 char * kwnames
[] = {
16847 (char *) "variant", NULL
16850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16852 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16853 if (!SWIG_IsOK(ecode1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16856 arg1
= static_cast< wxWindowVariant
>(val1
);
16859 if (!wxPyCheckForApp()) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16872 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16875 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16876 return SWIG_Py_Void();
16879 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16880 return SWIG_Python_InitShadowInstance(args
);
16883 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
= 0;
16885 wxWindow
*arg1
= (wxWindow
*) 0 ;
16886 int arg2
= (int) -1 ;
16887 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16888 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16889 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16890 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16891 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16892 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16893 long arg6
= (long) 0 ;
16894 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16895 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16896 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16898 wxRadioButton
*result
= 0 ;
16903 bool temp3
= false ;
16910 bool temp8
= false ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 PyObject
* obj2
= 0 ;
16914 PyObject
* obj3
= 0 ;
16915 PyObject
* obj4
= 0 ;
16916 PyObject
* obj5
= 0 ;
16917 PyObject
* obj6
= 0 ;
16918 PyObject
* obj7
= 0 ;
16919 char * kwnames
[] = {
16920 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16931 if (!SWIG_IsOK(ecode2
)) {
16932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16934 arg2
= static_cast< int >(val2
);
16938 arg3
= wxString_in_helper(obj2
);
16939 if (arg3
== NULL
) SWIG_fail
;
16946 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16952 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16956 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16957 if (!SWIG_IsOK(ecode6
)) {
16958 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16960 arg6
= static_cast< long >(val6
);
16963 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16964 if (!SWIG_IsOK(res7
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16970 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16974 arg8
= wxString_in_helper(obj7
);
16975 if (arg8
== NULL
) SWIG_fail
;
16980 if (!wxPyCheckForApp()) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17009 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17010 PyObject
*resultobj
= 0;
17011 wxRadioButton
*result
= 0 ;
17013 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17015 if (!wxPyCheckForApp()) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (wxRadioButton
*)new wxRadioButton();
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17028 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= 0;
17030 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17031 wxWindow
*arg2
= (wxWindow
*) 0 ;
17032 int arg3
= (int) -1 ;
17033 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17034 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17035 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17036 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17037 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17038 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17039 long arg7
= (long) 0 ;
17040 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17041 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17042 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17043 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17051 bool temp4
= false ;
17058 bool temp9
= false ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 PyObject
* obj3
= 0 ;
17063 PyObject
* obj4
= 0 ;
17064 PyObject
* obj5
= 0 ;
17065 PyObject
* obj6
= 0 ;
17066 PyObject
* obj7
= 0 ;
17067 PyObject
* obj8
= 0 ;
17068 char * kwnames
[] = {
17069 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) 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_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17077 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17079 if (!SWIG_IsOK(res2
)) {
17080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17085 if (!SWIG_IsOK(ecode3
)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17088 arg3
= static_cast< int >(val3
);
17092 arg4
= wxString_in_helper(obj3
);
17093 if (arg4
== NULL
) SWIG_fail
;
17100 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17106 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17110 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17111 if (!SWIG_IsOK(ecode7
)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17114 arg7
= static_cast< long >(val7
);
17117 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17118 if (!SWIG_IsOK(res8
)) {
17119 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17124 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17128 arg9
= wxString_in_helper(obj8
);
17129 if (arg9
== NULL
) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17164 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17165 PyObject
*resultobj
= 0;
17166 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17170 PyObject
*swig_obj
[1] ;
17172 if (!args
) SWIG_fail
;
17173 swig_obj
[0] = args
;
17174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17175 if (!SWIG_IsOK(res1
)) {
17176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17178 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (bool)(arg1
)->GetValue();
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17194 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
= 0;
17196 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "self",(char *) "value", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17210 if (!SWIG_IsOK(res1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17213 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17214 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17215 if (!SWIG_IsOK(ecode2
)) {
17216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17218 arg2
= static_cast< bool >(val2
);
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->SetValue(arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_Py_Void();
17232 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
= 0;
17234 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17235 SwigValueWrapper
<wxVisualAttributes
> result
;
17238 PyObject
* obj0
= 0 ;
17239 char * kwnames
[] = {
17240 (char *) "variant", NULL
17243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17245 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17246 if (!SWIG_IsOK(ecode1
)) {
17247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17249 arg1
= static_cast< wxWindowVariant
>(val1
);
17252 if (!wxPyCheckForApp()) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17265 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17268 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17269 return SWIG_Py_Void();
17272 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17273 return SWIG_Python_InitShadowInstance(args
);
17276 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17277 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17282 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17283 PyObject
*pyobj
= 0;
17287 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17289 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17296 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
= 0;
17298 wxWindow
*arg1
= (wxWindow
*) 0 ;
17299 int arg2
= (int) -1 ;
17300 int arg3
= (int) 0 ;
17301 int arg4
= (int) 0 ;
17302 int arg5
= (int) 100 ;
17303 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17304 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17305 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17306 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17307 long arg8
= (long) wxSL_HORIZONTAL
;
17308 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17309 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17310 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17311 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17312 wxSlider
*result
= 0 ;
17329 bool temp10
= false ;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 PyObject
* obj2
= 0 ;
17333 PyObject
* obj3
= 0 ;
17334 PyObject
* obj4
= 0 ;
17335 PyObject
* obj5
= 0 ;
17336 PyObject
* obj6
= 0 ;
17337 PyObject
* obj7
= 0 ;
17338 PyObject
* obj8
= 0 ;
17339 PyObject
* obj9
= 0 ;
17340 char * kwnames
[] = {
17341 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17349 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17352 if (!SWIG_IsOK(ecode2
)) {
17353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17355 arg2
= static_cast< int >(val2
);
17358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17359 if (!SWIG_IsOK(ecode3
)) {
17360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17362 arg3
= static_cast< int >(val3
);
17365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17366 if (!SWIG_IsOK(ecode4
)) {
17367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17369 arg4
= static_cast< int >(val4
);
17372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17373 if (!SWIG_IsOK(ecode5
)) {
17374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17376 arg5
= static_cast< int >(val5
);
17381 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17387 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17391 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17392 if (!SWIG_IsOK(ecode8
)) {
17393 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17395 arg8
= static_cast< long >(val8
);
17398 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17399 if (!SWIG_IsOK(res9
)) {
17400 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17405 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17409 arg10
= wxString_in_helper(obj9
);
17410 if (arg10
== NULL
) SWIG_fail
;
17415 if (!wxPyCheckForApp()) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17436 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17437 PyObject
*resultobj
= 0;
17438 wxSlider
*result
= 0 ;
17440 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17442 if (!wxPyCheckForApp()) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= (wxSlider
*)new wxSlider();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17455 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
= 0;
17457 wxSlider
*arg1
= (wxSlider
*) 0 ;
17458 wxWindow
*arg2
= (wxWindow
*) 0 ;
17459 int arg3
= (int) -1 ;
17460 int arg4
= (int) 0 ;
17461 int arg5
= (int) 0 ;
17462 int arg6
= (int) 100 ;
17463 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17464 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17465 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17466 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17467 long arg9
= (long) wxSL_HORIZONTAL
;
17468 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17469 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17470 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17471 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17491 bool temp11
= false ;
17492 PyObject
* obj0
= 0 ;
17493 PyObject
* obj1
= 0 ;
17494 PyObject
* obj2
= 0 ;
17495 PyObject
* obj3
= 0 ;
17496 PyObject
* obj4
= 0 ;
17497 PyObject
* obj5
= 0 ;
17498 PyObject
* obj6
= 0 ;
17499 PyObject
* obj7
= 0 ;
17500 PyObject
* obj8
= 0 ;
17501 PyObject
* obj9
= 0 ;
17502 PyObject
* obj10
= 0 ;
17503 char * kwnames
[] = {
17504 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17509 if (!SWIG_IsOK(res1
)) {
17510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17512 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17514 if (!SWIG_IsOK(res2
)) {
17515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17517 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17520 if (!SWIG_IsOK(ecode3
)) {
17521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17523 arg3
= static_cast< int >(val3
);
17526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17527 if (!SWIG_IsOK(ecode4
)) {
17528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17530 arg4
= static_cast< int >(val4
);
17533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17534 if (!SWIG_IsOK(ecode5
)) {
17535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17537 arg5
= static_cast< int >(val5
);
17540 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17541 if (!SWIG_IsOK(ecode6
)) {
17542 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17544 arg6
= static_cast< int >(val6
);
17549 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17555 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17559 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17560 if (!SWIG_IsOK(ecode9
)) {
17561 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17563 arg9
= static_cast< long >(val9
);
17566 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17567 if (!SWIG_IsOK(res10
)) {
17568 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17573 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17577 arg11
= wxString_in_helper(obj10
);
17578 if (arg11
== NULL
) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17606 PyObject
*resultobj
= 0;
17607 wxSlider
*arg1
= (wxSlider
*) 0 ;
17611 PyObject
*swig_obj
[1] ;
17613 if (!args
) SWIG_fail
;
17614 swig_obj
[0] = args
;
17615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17616 if (!SWIG_IsOK(res1
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17619 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_From_int(static_cast< int >(result
));
17633 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxSlider
*arg1
= (wxSlider
*) 0 ;
17641 PyObject
* obj0
= 0 ;
17642 PyObject
* obj1
= 0 ;
17643 char * kwnames
[] = {
17644 (char *) "self",(char *) "value", NULL
17647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17649 if (!SWIG_IsOK(res1
)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17652 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17654 if (!SWIG_IsOK(ecode2
)) {
17655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17657 arg2
= static_cast< int >(val2
);
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 (arg1
)->SetValue(arg2
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= SWIG_Py_Void();
17671 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
= 0;
17673 wxSlider
*arg1
= (wxSlider
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 char * kwnames
[] = {
17686 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17691 if (!SWIG_IsOK(res1
)) {
17692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17694 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17696 if (!SWIG_IsOK(ecode2
)) {
17697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17699 arg2
= static_cast< int >(val2
);
17700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17701 if (!SWIG_IsOK(ecode3
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17704 arg3
= static_cast< int >(val3
);
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 (arg1
)->SetRange(arg2
,arg3
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_Py_Void();
17718 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17719 PyObject
*resultobj
= 0;
17720 wxSlider
*arg1
= (wxSlider
*) 0 ;
17724 PyObject
*swig_obj
[1] ;
17726 if (!args
) SWIG_fail
;
17727 swig_obj
[0] = args
;
17728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17732 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= SWIG_From_int(static_cast< int >(result
));
17746 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17747 PyObject
*resultobj
= 0;
17748 wxSlider
*arg1
= (wxSlider
*) 0 ;
17752 PyObject
*swig_obj
[1] ;
17754 if (!args
) SWIG_fail
;
17755 swig_obj
[0] = args
;
17756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17757 if (!SWIG_IsOK(res1
)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17760 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_From_int(static_cast< int >(result
));
17774 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
= 0;
17776 wxSlider
*arg1
= (wxSlider
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 PyObject
* obj1
= 0 ;
17784 char * kwnames
[] = {
17785 (char *) "self",(char *) "minValue", NULL
17788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17790 if (!SWIG_IsOK(res1
)) {
17791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17793 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17795 if (!SWIG_IsOK(ecode2
)) {
17796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17798 arg2
= static_cast< int >(val2
);
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 (arg1
)->SetMin(arg2
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= SWIG_Py_Void();
17812 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
= 0;
17814 wxSlider
*arg1
= (wxSlider
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 char * kwnames
[] = {
17823 (char *) "self",(char *) "maxValue", NULL
17826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17828 if (!SWIG_IsOK(res1
)) {
17829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17831 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17833 if (!SWIG_IsOK(ecode2
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17836 arg2
= static_cast< int >(val2
);
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 (arg1
)->SetMax(arg2
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_Py_Void();
17850 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= 0;
17852 wxSlider
*arg1
= (wxSlider
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 char * kwnames
[] = {
17861 (char *) "self",(char *) "lineSize", NULL
17864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17866 if (!SWIG_IsOK(res1
)) {
17867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17869 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17871 if (!SWIG_IsOK(ecode2
)) {
17872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17874 arg2
= static_cast< int >(val2
);
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 (arg1
)->SetLineSize(arg2
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_Py_Void();
17888 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
= 0;
17890 wxSlider
*arg1
= (wxSlider
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 PyObject
* obj1
= 0 ;
17898 char * kwnames
[] = {
17899 (char *) "self",(char *) "pageSize", NULL
17902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17904 if (!SWIG_IsOK(res1
)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17907 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17909 if (!SWIG_IsOK(ecode2
)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17912 arg2
= static_cast< int >(val2
);
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->SetPageSize(arg2
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= SWIG_Py_Void();
17926 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17927 PyObject
*resultobj
= 0;
17928 wxSlider
*arg1
= (wxSlider
*) 0 ;
17932 PyObject
*swig_obj
[1] ;
17934 if (!args
) SWIG_fail
;
17935 swig_obj
[0] = args
;
17936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17937 if (!SWIG_IsOK(res1
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17940 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= SWIG_From_int(static_cast< int >(result
));
17954 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17955 PyObject
*resultobj
= 0;
17956 wxSlider
*arg1
= (wxSlider
*) 0 ;
17960 PyObject
*swig_obj
[1] ;
17962 if (!args
) SWIG_fail
;
17963 swig_obj
[0] = args
;
17964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17965 if (!SWIG_IsOK(res1
)) {
17966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17968 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= SWIG_From_int(static_cast< int >(result
));
17982 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
= 0;
17984 wxSlider
*arg1
= (wxSlider
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 char * kwnames
[] = {
17993 (char *) "self",(char *) "lenPixels", NULL
17996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17998 if (!SWIG_IsOK(res1
)) {
17999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18001 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18003 if (!SWIG_IsOK(ecode2
)) {
18004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18006 arg2
= static_cast< int >(val2
);
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 (arg1
)->SetThumbLength(arg2
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_Py_Void();
18020 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18021 PyObject
*resultobj
= 0;
18022 wxSlider
*arg1
= (wxSlider
*) 0 ;
18026 PyObject
*swig_obj
[1] ;
18028 if (!args
) SWIG_fail
;
18029 swig_obj
[0] = args
;
18030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18031 if (!SWIG_IsOK(res1
)) {
18032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18034 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_From_int(static_cast< int >(result
));
18048 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxSlider
*arg1
= (wxSlider
*) 0 ;
18052 int arg3
= (int) 1 ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 char * kwnames
[] = {
18063 (char *) "self",(char *) "n",(char *) "pos", NULL
18066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18068 if (!SWIG_IsOK(res1
)) {
18069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18071 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18073 if (!SWIG_IsOK(ecode2
)) {
18074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18076 arg2
= static_cast< int >(val2
);
18078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18079 if (!SWIG_IsOK(ecode3
)) {
18080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18082 arg3
= static_cast< int >(val3
);
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 (arg1
)->SetTickFreq(arg2
,arg3
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 resultobj
= SWIG_Py_Void();
18097 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18098 PyObject
*resultobj
= 0;
18099 wxSlider
*arg1
= (wxSlider
*) 0 ;
18103 PyObject
*swig_obj
[1] ;
18105 if (!args
) SWIG_fail
;
18106 swig_obj
[0] = args
;
18107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18108 if (!SWIG_IsOK(res1
)) {
18109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18111 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 resultobj
= SWIG_From_int(static_cast< int >(result
));
18125 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18126 PyObject
*resultobj
= 0;
18127 wxSlider
*arg1
= (wxSlider
*) 0 ;
18130 PyObject
*swig_obj
[1] ;
18132 if (!args
) SWIG_fail
;
18133 swig_obj
[0] = args
;
18134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18138 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 (arg1
)->ClearTicks();
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= SWIG_Py_Void();
18152 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
= 0;
18154 wxSlider
*arg1
= (wxSlider
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 PyObject
* obj1
= 0 ;
18162 char * kwnames
[] = {
18163 (char *) "self",(char *) "tickPos", NULL
18166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18168 if (!SWIG_IsOK(res1
)) {
18169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18171 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18173 if (!SWIG_IsOK(ecode2
)) {
18174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18176 arg2
= static_cast< int >(val2
);
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->SetTick(arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_Py_Void();
18190 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18191 PyObject
*resultobj
= 0;
18192 wxSlider
*arg1
= (wxSlider
*) 0 ;
18195 PyObject
*swig_obj
[1] ;
18197 if (!args
) SWIG_fail
;
18198 swig_obj
[0] = args
;
18199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18200 if (!SWIG_IsOK(res1
)) {
18201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18203 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 (arg1
)->ClearSel();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_Py_Void();
18217 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18218 PyObject
*resultobj
= 0;
18219 wxSlider
*arg1
= (wxSlider
*) 0 ;
18223 PyObject
*swig_obj
[1] ;
18225 if (!args
) SWIG_fail
;
18226 swig_obj
[0] = args
;
18227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18228 if (!SWIG_IsOK(res1
)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18231 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_From_int(static_cast< int >(result
));
18245 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18246 PyObject
*resultobj
= 0;
18247 wxSlider
*arg1
= (wxSlider
*) 0 ;
18251 PyObject
*swig_obj
[1] ;
18253 if (!args
) SWIG_fail
;
18254 swig_obj
[0] = args
;
18255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18256 if (!SWIG_IsOK(res1
)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18259 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_From_int(static_cast< int >(result
));
18273 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
= 0;
18275 wxSlider
*arg1
= (wxSlider
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 PyObject
* obj2
= 0 ;
18287 char * kwnames
[] = {
18288 (char *) "self",(char *) "min",(char *) "max", NULL
18291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18293 if (!SWIG_IsOK(res1
)) {
18294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18296 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18298 if (!SWIG_IsOK(ecode2
)) {
18299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18301 arg2
= static_cast< int >(val2
);
18302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18303 if (!SWIG_IsOK(ecode3
)) {
18304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18306 arg3
= static_cast< int >(val3
);
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->SetSelection(arg2
,arg3
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_Py_Void();
18320 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
= 0;
18322 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18323 SwigValueWrapper
<wxVisualAttributes
> result
;
18326 PyObject
* obj0
= 0 ;
18327 char * kwnames
[] = {
18328 (char *) "variant", NULL
18331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18334 if (!SWIG_IsOK(ecode1
)) {
18335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18337 arg1
= static_cast< wxWindowVariant
>(val1
);
18340 if (!wxPyCheckForApp()) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18353 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18356 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18357 return SWIG_Py_Void();
18360 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18361 return SWIG_Python_InitShadowInstance(args
);
18364 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18365 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18370 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18371 PyObject
*pyobj
= 0;
18375 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18377 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18384 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
= 0;
18386 wxWindow
*arg1
= (wxWindow
*) 0 ;
18387 int arg2
= (int) -1 ;
18388 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18389 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18394 long arg6
= (long) 0 ;
18395 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18396 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18397 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18398 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18399 wxToggleButton
*result
= 0 ;
18404 bool temp3
= false ;
18411 bool temp8
= false ;
18412 PyObject
* obj0
= 0 ;
18413 PyObject
* obj1
= 0 ;
18414 PyObject
* obj2
= 0 ;
18415 PyObject
* obj3
= 0 ;
18416 PyObject
* obj4
= 0 ;
18417 PyObject
* obj5
= 0 ;
18418 PyObject
* obj6
= 0 ;
18419 PyObject
* obj7
= 0 ;
18420 char * kwnames
[] = {
18421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18426 if (!SWIG_IsOK(res1
)) {
18427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18429 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18432 if (!SWIG_IsOK(ecode2
)) {
18433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18435 arg2
= static_cast< int >(val2
);
18439 arg3
= wxString_in_helper(obj2
);
18440 if (arg3
== NULL
) SWIG_fail
;
18447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18457 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18458 if (!SWIG_IsOK(ecode6
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18461 arg6
= static_cast< long >(val6
);
18464 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18465 if (!SWIG_IsOK(res7
)) {
18466 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18471 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18475 arg8
= wxString_in_helper(obj7
);
18476 if (arg8
== NULL
) SWIG_fail
;
18481 if (!wxPyCheckForApp()) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18510 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18511 PyObject
*resultobj
= 0;
18512 wxToggleButton
*result
= 0 ;
18514 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18516 if (!wxPyCheckForApp()) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (wxToggleButton
*)new wxToggleButton();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18529 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= 0;
18531 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18532 wxWindow
*arg2
= (wxWindow
*) 0 ;
18533 int arg3
= (int) -1 ;
18534 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18535 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18536 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18537 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18538 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18539 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18540 long arg7
= (long) 0 ;
18541 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18542 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18543 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18544 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18552 bool temp4
= false ;
18559 bool temp9
= false ;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 PyObject
* obj2
= 0 ;
18563 PyObject
* obj3
= 0 ;
18564 PyObject
* obj4
= 0 ;
18565 PyObject
* obj5
= 0 ;
18566 PyObject
* obj6
= 0 ;
18567 PyObject
* obj7
= 0 ;
18568 PyObject
* obj8
= 0 ;
18569 char * kwnames
[] = {
18570 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18575 if (!SWIG_IsOK(res1
)) {
18576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18578 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18580 if (!SWIG_IsOK(res2
)) {
18581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18586 if (!SWIG_IsOK(ecode3
)) {
18587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18589 arg3
= static_cast< int >(val3
);
18593 arg4
= wxString_in_helper(obj3
);
18594 if (arg4
== NULL
) SWIG_fail
;
18601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18607 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18611 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18612 if (!SWIG_IsOK(ecode7
)) {
18613 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18615 arg7
= static_cast< long >(val7
);
18618 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18619 if (!SWIG_IsOK(res8
)) {
18620 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18625 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18629 arg9
= wxString_in_helper(obj8
);
18630 if (arg9
== NULL
) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18665 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
= 0;
18667 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 PyObject
* obj1
= 0 ;
18675 char * kwnames
[] = {
18676 (char *) "self",(char *) "value", NULL
18679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18681 if (!SWIG_IsOK(res1
)) {
18682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18684 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18685 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18686 if (!SWIG_IsOK(ecode2
)) {
18687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18689 arg2
= static_cast< bool >(val2
);
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->SetValue(arg2
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_Py_Void();
18703 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18704 PyObject
*resultobj
= 0;
18705 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18709 PyObject
*swig_obj
[1] ;
18711 if (!args
) SWIG_fail
;
18712 swig_obj
[0] = args
;
18713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18714 if (!SWIG_IsOK(res1
)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18717 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18733 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
= 0;
18735 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18736 SwigValueWrapper
<wxVisualAttributes
> result
;
18739 PyObject
* obj0
= 0 ;
18740 char * kwnames
[] = {
18741 (char *) "variant", NULL
18744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18747 if (!SWIG_IsOK(ecode1
)) {
18748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18750 arg1
= static_cast< wxWindowVariant
>(val1
);
18753 if (!wxPyCheckForApp()) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18766 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18769 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18770 return SWIG_Py_Void();
18773 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18774 return SWIG_Python_InitShadowInstance(args
);
18777 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18778 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18783 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18784 PyObject
*pyobj
= 0;
18788 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18790 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18797 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18798 PyObject
*resultobj
= 0;
18799 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18803 PyObject
*swig_obj
[1] ;
18805 if (!args
) SWIG_fail
;
18806 swig_obj
[0] = args
;
18807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18808 if (!SWIG_IsOK(res1
)) {
18809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18811 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18825 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
= 0;
18827 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18829 wxWindow
*result
= 0 ;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 char * kwnames
[] = {
18837 (char *) "self",(char *) "n", NULL
18840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18842 if (!SWIG_IsOK(res1
)) {
18843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18845 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18846 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18847 if (!SWIG_IsOK(ecode2
)) {
18848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18850 arg2
= static_cast< size_t >(val2
);
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= wxPyMake_wxObject(result
, 0);
18866 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18867 PyObject
*resultobj
= 0;
18868 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18869 wxWindow
*result
= 0 ;
18872 PyObject
*swig_obj
[1] ;
18874 if (!args
) SWIG_fail
;
18875 swig_obj
[0] = args
;
18876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18877 if (!SWIG_IsOK(res1
)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18880 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= wxPyMake_wxObject(result
, 0);
18896 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18897 PyObject
*resultobj
= 0;
18898 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18902 PyObject
*swig_obj
[1] ;
18904 if (!args
) SWIG_fail
;
18905 swig_obj
[0] = args
;
18906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18907 if (!SWIG_IsOK(res1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18910 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= SWIG_From_int(static_cast< int >(result
));
18924 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
= 0;
18926 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18928 wxString
*arg3
= 0 ;
18934 bool temp3
= false ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 PyObject
* obj2
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "n",(char *) "strText", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18947 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18948 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18949 if (!SWIG_IsOK(ecode2
)) {
18950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18952 arg2
= static_cast< size_t >(val2
);
18954 arg3
= wxString_in_helper(obj2
);
18955 if (arg3
== NULL
) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18981 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
= 0;
18983 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char * kwnames
[] = {
18993 (char *) "self",(char *) "n", NULL
18996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18998 if (!SWIG_IsOK(res1
)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19001 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19002 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19003 if (!SWIG_IsOK(ecode2
)) {
19004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19006 arg2
= static_cast< size_t >(val2
);
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19026 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
= 0;
19028 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19029 wxImageList
*arg2
= (wxImageList
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char * kwnames
[] = {
19037 (char *) "self",(char *) "imageList", NULL
19040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19042 if (!SWIG_IsOK(res1
)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19045 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19047 if (!SWIG_IsOK(res2
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19050 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->SetImageList(arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_Py_Void();
19064 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
= 0;
19066 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19067 wxImageList
*arg2
= (wxImageList
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char * kwnames
[] = {
19074 (char *) "self",(char *) "imageList", NULL
19077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19079 if (!SWIG_IsOK(res1
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19082 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19083 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19084 if (!SWIG_IsOK(res2
)) {
19085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->AssignImageList(arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= SWIG_Py_Void();
19100 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19101 PyObject
*resultobj
= 0;
19102 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19103 wxImageList
*result
= 0 ;
19106 PyObject
*swig_obj
[1] ;
19108 if (!args
) SWIG_fail
;
19109 swig_obj
[0] = args
;
19110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19111 if (!SWIG_IsOK(res1
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19114 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19130 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= 0;
19132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char * kwnames
[] = {
19142 (char *) "self",(char *) "n", NULL
19145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19147 if (!SWIG_IsOK(res1
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19150 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19151 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19152 if (!SWIG_IsOK(ecode2
)) {
19153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19155 arg2
= static_cast< size_t >(val2
);
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 resultobj
= SWIG_From_int(static_cast< int >(result
));
19169 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
= 0;
19171 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 PyObject
* obj2
= 0 ;
19184 char * kwnames
[] = {
19185 (char *) "self",(char *) "n",(char *) "imageId", NULL
19188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19190 if (!SWIG_IsOK(res1
)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19193 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19194 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19195 if (!SWIG_IsOK(ecode2
)) {
19196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19198 arg2
= static_cast< size_t >(val2
);
19199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19200 if (!SWIG_IsOK(ecode3
)) {
19201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19203 arg3
= static_cast< int >(val3
);
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19219 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
= 0;
19221 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 char * kwnames
[] = {
19229 (char *) "self",(char *) "size", NULL
19232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19234 if (!SWIG_IsOK(res1
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19237 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19240 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_Py_Void();
19255 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char * kwnames
[] = {
19266 (char *) "self",(char *) "sizePage", NULL
19269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19271 if (!SWIG_IsOK(res1
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19274 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19277 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19292 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19293 PyObject
*resultobj
= 0;
19294 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19298 PyObject
*swig_obj
[1] ;
19300 if (!args
) SWIG_fail
;
19301 swig_obj
[0] = args
;
19302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19303 if (!SWIG_IsOK(res1
)) {
19304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19306 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19320 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char * kwnames
[] = {
19331 (char *) "self",(char *) "internalBorder", NULL
19334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19336 if (!SWIG_IsOK(res1
)) {
19337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19339 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19340 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19341 if (!SWIG_IsOK(ecode2
)) {
19342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "size_t""'");
19344 arg2
= static_cast< size_t >(val2
);
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 (arg1
)->SetInternalBorder(arg2
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= SWIG_Py_Void();
19358 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19359 PyObject
*resultobj
= 0;
19360 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19364 PyObject
*swig_obj
[1] ;
19366 if (!args
) SWIG_fail
;
19367 swig_obj
[0] = args
;
19368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19369 if (!SWIG_IsOK(res1
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19372 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19388 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
= 0;
19390 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 char * kwnames
[] = {
19399 (char *) "self",(char *) "fit", NULL
19402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19404 if (!SWIG_IsOK(res1
)) {
19405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19407 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19408 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19409 if (!SWIG_IsOK(ecode2
)) {
19410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19412 arg2
= static_cast< bool >(val2
);
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->SetFitToCurrentPage(arg2
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_Py_Void();
19426 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19427 PyObject
*resultobj
= 0;
19428 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19432 PyObject
*swig_obj
[1] ;
19434 if (!args
) SWIG_fail
;
19435 swig_obj
[0] = args
;
19436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19440 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19456 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
= 0;
19458 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 char * kwnames
[] = {
19468 (char *) "self",(char *) "n", NULL
19471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19476 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19477 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19478 if (!SWIG_IsOK(ecode2
)) {
19479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19481 arg2
= static_cast< size_t >(val2
);
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 result
= (bool)(arg1
)->DeletePage(arg2
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19497 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
= 0;
19499 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char * kwnames
[] = {
19509 (char *) "self",(char *) "n", NULL
19512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19514 if (!SWIG_IsOK(res1
)) {
19515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19517 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19518 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19519 if (!SWIG_IsOK(ecode2
)) {
19520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19522 arg2
= static_cast< size_t >(val2
);
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (bool)(arg1
)->RemovePage(arg2
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19538 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19539 PyObject
*resultobj
= 0;
19540 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19544 PyObject
*swig_obj
[1] ;
19546 if (!args
) SWIG_fail
;
19547 swig_obj
[0] = args
;
19548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19549 if (!SWIG_IsOK(res1
)) {
19550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19552 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (bool)(arg1
)->DeleteAllPages();
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19568 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
= 0;
19570 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19571 wxWindow
*arg2
= (wxWindow
*) 0 ;
19572 wxString
*arg3
= 0 ;
19573 bool arg4
= (bool) false ;
19574 int arg5
= (int) -1 ;
19580 bool temp3
= false ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 PyObject
* obj2
= 0 ;
19588 PyObject
* obj3
= 0 ;
19589 PyObject
* obj4
= 0 ;
19590 char * kwnames
[] = {
19591 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19596 if (!SWIG_IsOK(res1
)) {
19597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19599 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19600 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19601 if (!SWIG_IsOK(res2
)) {
19602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19604 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19606 arg3
= wxString_in_helper(obj2
);
19607 if (arg3
== NULL
) SWIG_fail
;
19611 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19612 if (!SWIG_IsOK(ecode4
)) {
19613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19615 arg4
= static_cast< bool >(val4
);
19618 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19619 if (!SWIG_IsOK(ecode5
)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19622 arg5
= static_cast< int >(val5
);
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19647 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
= 0;
19649 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19651 wxWindow
*arg3
= (wxWindow
*) 0 ;
19652 wxString
*arg4
= 0 ;
19653 bool arg5
= (bool) false ;
19654 int arg6
= (int) -1 ;
19662 bool temp4
= false ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 PyObject
* obj2
= 0 ;
19670 PyObject
* obj3
= 0 ;
19671 PyObject
* obj4
= 0 ;
19672 PyObject
* obj5
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19682 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19683 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19684 if (!SWIG_IsOK(ecode2
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19687 arg2
= static_cast< size_t >(val2
);
19688 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19689 if (!SWIG_IsOK(res3
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19692 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19694 arg4
= wxString_in_helper(obj3
);
19695 if (arg4
== NULL
) SWIG_fail
;
19699 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19700 if (!SWIG_IsOK(ecode5
)) {
19701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19703 arg5
= static_cast< bool >(val5
);
19706 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19707 if (!SWIG_IsOK(ecode6
)) {
19708 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19710 arg6
= static_cast< int >(val6
);
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19735 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
= 0;
19737 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 char * kwnames
[] = {
19747 (char *) "self",(char *) "n", NULL
19750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19752 if (!SWIG_IsOK(res1
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19755 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19756 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19757 if (!SWIG_IsOK(ecode2
)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19760 arg2
= static_cast< size_t >(val2
);
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (int)(arg1
)->SetSelection(arg2
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_From_int(static_cast< int >(result
));
19774 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
= 0;
19776 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19777 bool arg2
= (bool) true ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 char * kwnames
[] = {
19785 (char *) "self",(char *) "forward", NULL
19788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19793 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19796 if (!SWIG_IsOK(ecode2
)) {
19797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19799 arg2
= static_cast< bool >(val2
);
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 (arg1
)->AdvanceSelection(arg2
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_Py_Void();
19814 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
= 0;
19816 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19817 SwigValueWrapper
<wxVisualAttributes
> result
;
19820 PyObject
* obj0
= 0 ;
19821 char * kwnames
[] = {
19822 (char *) "variant", NULL
19825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19827 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19828 if (!SWIG_IsOK(ecode1
)) {
19829 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19831 arg1
= static_cast< wxWindowVariant
>(val1
);
19834 if (!wxPyCheckForApp()) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19847 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19850 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19851 return SWIG_Py_Void();
19854 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
= 0;
19856 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19857 int arg2
= (int) 0 ;
19858 int arg3
= (int) -1 ;
19859 int arg4
= (int) -1 ;
19860 wxBookCtrlBaseEvent
*result
= 0 ;
19869 PyObject
* obj0
= 0 ;
19870 PyObject
* obj1
= 0 ;
19871 PyObject
* obj2
= 0 ;
19872 PyObject
* obj3
= 0 ;
19873 char * kwnames
[] = {
19874 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19879 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19880 if (!SWIG_IsOK(ecode1
)) {
19881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19883 arg1
= static_cast< wxEventType
>(val1
);
19886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19887 if (!SWIG_IsOK(ecode2
)) {
19888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19890 arg2
= static_cast< int >(val2
);
19893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19894 if (!SWIG_IsOK(ecode3
)) {
19895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19897 arg3
= static_cast< int >(val3
);
19900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19901 if (!SWIG_IsOK(ecode4
)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
19904 arg4
= static_cast< int >(val4
);
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
19919 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19920 PyObject
*resultobj
= 0;
19921 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19925 PyObject
*swig_obj
[1] ;
19927 if (!args
) SWIG_fail
;
19928 swig_obj
[0] = args
;
19929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19930 if (!SWIG_IsOK(res1
)) {
19931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19933 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= SWIG_From_int(static_cast< int >(result
));
19947 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
= 0;
19949 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 char * kwnames
[] = {
19958 (char *) "self",(char *) "nSel", NULL
19961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19963 if (!SWIG_IsOK(res1
)) {
19964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19966 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19968 if (!SWIG_IsOK(ecode2
)) {
19969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
19971 arg2
= static_cast< int >(val2
);
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 (arg1
)->SetSelection(arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= SWIG_Py_Void();
19985 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19986 PyObject
*resultobj
= 0;
19987 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19991 PyObject
*swig_obj
[1] ;
19993 if (!args
) SWIG_fail
;
19994 swig_obj
[0] = args
;
19995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19996 if (!SWIG_IsOK(res1
)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19999 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 resultobj
= SWIG_From_int(static_cast< int >(result
));
20013 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
= 0;
20015 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 PyObject
* obj1
= 0 ;
20023 char * kwnames
[] = {
20024 (char *) "self",(char *) "nOldSel", NULL
20027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20029 if (!SWIG_IsOK(res1
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20032 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20034 if (!SWIG_IsOK(ecode2
)) {
20035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20037 arg2
= static_cast< int >(val2
);
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 (arg1
)->SetOldSelection(arg2
);
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= SWIG_Py_Void();
20051 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20054 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20055 return SWIG_Py_Void();
20058 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20059 return SWIG_Python_InitShadowInstance(args
);
20062 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
= 0;
20064 wxWindow
*arg1
= (wxWindow
*) 0 ;
20065 int arg2
= (int) -1 ;
20066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20070 long arg5
= (long) 0 ;
20071 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20072 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20073 wxNotebook
*result
= 0 ;
20082 bool temp6
= false ;
20083 PyObject
* obj0
= 0 ;
20084 PyObject
* obj1
= 0 ;
20085 PyObject
* obj2
= 0 ;
20086 PyObject
* obj3
= 0 ;
20087 PyObject
* obj4
= 0 ;
20088 PyObject
* obj5
= 0 ;
20089 char * kwnames
[] = {
20090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20095 if (!SWIG_IsOK(res1
)) {
20096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20101 if (!SWIG_IsOK(ecode2
)) {
20102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20104 arg2
= static_cast< int >(val2
);
20109 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20115 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20119 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20120 if (!SWIG_IsOK(ecode5
)) {
20121 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20123 arg5
= static_cast< long >(val5
);
20127 arg6
= wxString_in_helper(obj5
);
20128 if (arg6
== NULL
) SWIG_fail
;
20133 if (!wxPyCheckForApp()) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20154 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20155 PyObject
*resultobj
= 0;
20156 wxNotebook
*result
= 0 ;
20158 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20160 if (!wxPyCheckForApp()) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (wxNotebook
*)new wxNotebook();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20173 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
= 0;
20175 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20176 wxWindow
*arg2
= (wxWindow
*) 0 ;
20177 int arg3
= (int) -1 ;
20178 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20179 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20180 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20181 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20182 long arg6
= (long) 0 ;
20183 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20184 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20196 bool temp7
= false ;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 PyObject
* obj2
= 0 ;
20200 PyObject
* obj3
= 0 ;
20201 PyObject
* obj4
= 0 ;
20202 PyObject
* obj5
= 0 ;
20203 PyObject
* obj6
= 0 ;
20204 char * kwnames
[] = {
20205 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20210 if (!SWIG_IsOK(res1
)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20213 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20215 if (!SWIG_IsOK(res2
)) {
20216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20218 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20221 if (!SWIG_IsOK(ecode3
)) {
20222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20224 arg3
= static_cast< int >(val3
);
20229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20239 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20240 if (!SWIG_IsOK(ecode6
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20243 arg6
= static_cast< long >(val6
);
20247 arg7
= wxString_in_helper(obj6
);
20248 if (arg7
== NULL
) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20275 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20276 PyObject
*resultobj
= 0;
20277 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20281 PyObject
*swig_obj
[1] ;
20283 if (!args
) SWIG_fail
;
20284 swig_obj
[0] = args
;
20285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20286 if (!SWIG_IsOK(res1
)) {
20287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20289 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= SWIG_From_int(static_cast< int >(result
));
20303 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
= 0;
20305 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 char * kwnames
[] = {
20313 (char *) "self",(char *) "padding", NULL
20316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20318 if (!SWIG_IsOK(res1
)) {
20319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20321 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20324 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= SWIG_Py_Void();
20339 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
= 0;
20341 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char * kwnames
[] = {
20349 (char *) "self",(char *) "sz", NULL
20352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20354 if (!SWIG_IsOK(res1
)) {
20355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20357 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_Py_Void();
20375 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
= 0;
20377 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20378 wxPoint
*arg2
= 0 ;
20379 long *arg3
= (long *) 0 ;
20385 int res3
= SWIG_TMPOBJ
;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char * kwnames
[] = {
20389 (char *) "self",(char *) "pt", NULL
20393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20395 if (!SWIG_IsOK(res1
)) {
20396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20398 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_From_int(static_cast< int >(result
));
20410 if (SWIG_IsTmpObj(res3
)) {
20411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20413 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20422 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20423 PyObject
*resultobj
= 0;
20424 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20428 PyObject
*swig_obj
[1] ;
20430 if (!args
) SWIG_fail
;
20431 swig_obj
[0] = args
;
20432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20433 if (!SWIG_IsOK(res1
)) {
20434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20436 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20450 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
= 0;
20452 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20453 SwigValueWrapper
<wxVisualAttributes
> result
;
20456 PyObject
* obj0
= 0 ;
20457 char * kwnames
[] = {
20458 (char *) "variant", NULL
20461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20463 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20464 if (!SWIG_IsOK(ecode1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20467 arg1
= static_cast< wxWindowVariant
>(val1
);
20470 if (!wxPyCheckForApp()) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20483 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20486 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20487 return SWIG_Py_Void();
20490 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20491 return SWIG_Python_InitShadowInstance(args
);
20494 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
= 0;
20496 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20497 int arg2
= (int) 0 ;
20498 int arg3
= (int) -1 ;
20499 int arg4
= (int) -1 ;
20500 wxNotebookEvent
*result
= 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 PyObject
* obj2
= 0 ;
20512 PyObject
* obj3
= 0 ;
20513 char * kwnames
[] = {
20514 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20519 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20520 if (!SWIG_IsOK(ecode1
)) {
20521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20523 arg1
= static_cast< wxEventType
>(val1
);
20526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20527 if (!SWIG_IsOK(ecode2
)) {
20528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20530 arg2
= static_cast< int >(val2
);
20533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20534 if (!SWIG_IsOK(ecode3
)) {
20535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20537 arg3
= static_cast< int >(val3
);
20540 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20541 if (!SWIG_IsOK(ecode4
)) {
20542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20544 arg4
= static_cast< int >(val4
);
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20559 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20562 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20563 return SWIG_Py_Void();
20566 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20567 return SWIG_Python_InitShadowInstance(args
);
20570 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
= 0;
20572 wxWindow
*arg1
= (wxWindow
*) 0 ;
20573 int arg2
= (int) -1 ;
20574 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20575 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20576 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20577 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20578 long arg5
= (long) 0 ;
20579 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20580 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20581 wxListbook
*result
= 0 ;
20590 bool temp6
= false ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 PyObject
* obj2
= 0 ;
20594 PyObject
* obj3
= 0 ;
20595 PyObject
* obj4
= 0 ;
20596 PyObject
* obj5
= 0 ;
20597 char * kwnames
[] = {
20598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20603 if (!SWIG_IsOK(res1
)) {
20604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20606 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20609 if (!SWIG_IsOK(ecode2
)) {
20610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20612 arg2
= static_cast< int >(val2
);
20617 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20623 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20627 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20628 if (!SWIG_IsOK(ecode5
)) {
20629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20631 arg5
= static_cast< long >(val5
);
20635 arg6
= wxString_in_helper(obj5
);
20636 if (arg6
== NULL
) SWIG_fail
;
20641 if (!wxPyCheckForApp()) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20662 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20663 PyObject
*resultobj
= 0;
20664 wxListbook
*result
= 0 ;
20666 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20668 if (!wxPyCheckForApp()) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxListbook
*)new wxListbook();
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20681 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
= 0;
20683 wxListbook
*arg1
= (wxListbook
*) 0 ;
20684 wxWindow
*arg2
= (wxWindow
*) 0 ;
20685 int arg3
= (int) -1 ;
20686 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20687 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20688 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20689 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20690 long arg6
= (long) 0 ;
20691 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20692 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20704 bool temp7
= false ;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 PyObject
* obj2
= 0 ;
20708 PyObject
* obj3
= 0 ;
20709 PyObject
* obj4
= 0 ;
20710 PyObject
* obj5
= 0 ;
20711 PyObject
* obj6
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20721 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20723 if (!SWIG_IsOK(res2
)) {
20724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20729 if (!SWIG_IsOK(ecode3
)) {
20730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20732 arg3
= static_cast< int >(val3
);
20737 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20743 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20747 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20748 if (!SWIG_IsOK(ecode6
)) {
20749 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20751 arg6
= static_cast< long >(val6
);
20755 arg7
= wxString_in_helper(obj6
);
20756 if (arg7
== NULL
) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20783 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20784 PyObject
*resultobj
= 0;
20785 wxListbook
*arg1
= (wxListbook
*) 0 ;
20786 wxListView
*result
= 0 ;
20789 PyObject
*swig_obj
[1] ;
20791 if (!args
) SWIG_fail
;
20792 swig_obj
[0] = args
;
20793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20794 if (!SWIG_IsOK(res1
)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20797 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (wxListView
*)(arg1
)->GetListView();
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20811 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20814 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20815 return SWIG_Py_Void();
20818 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20819 return SWIG_Python_InitShadowInstance(args
);
20822 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
= 0;
20824 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20825 int arg2
= (int) 0 ;
20826 int arg3
= (int) -1 ;
20827 int arg4
= (int) -1 ;
20828 wxListbookEvent
*result
= 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 PyObject
* obj2
= 0 ;
20840 PyObject
* obj3
= 0 ;
20841 char * kwnames
[] = {
20842 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20848 if (!SWIG_IsOK(ecode1
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20851 arg1
= static_cast< wxEventType
>(val1
);
20854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20855 if (!SWIG_IsOK(ecode2
)) {
20856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20858 arg2
= static_cast< int >(val2
);
20861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20862 if (!SWIG_IsOK(ecode3
)) {
20863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20865 arg3
= static_cast< int >(val3
);
20868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20869 if (!SWIG_IsOK(ecode4
)) {
20870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20872 arg4
= static_cast< int >(val4
);
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20887 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20890 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20891 return SWIG_Py_Void();
20894 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20895 return SWIG_Python_InitShadowInstance(args
);
20898 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
= 0;
20900 wxWindow
*arg1
= (wxWindow
*) 0 ;
20902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20906 long arg5
= (long) 0 ;
20907 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20908 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20909 wxChoicebook
*result
= 0 ;
20918 bool temp6
= false ;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 PyObject
* obj2
= 0 ;
20922 PyObject
* obj3
= 0 ;
20923 PyObject
* obj4
= 0 ;
20924 PyObject
* obj5
= 0 ;
20925 char * kwnames
[] = {
20926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20931 if (!SWIG_IsOK(res1
)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20934 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20936 if (!SWIG_IsOK(ecode2
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
20939 arg2
= static_cast< int >(val2
);
20943 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20949 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20953 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20954 if (!SWIG_IsOK(ecode5
)) {
20955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
20957 arg5
= static_cast< long >(val5
);
20961 arg6
= wxString_in_helper(obj5
);
20962 if (arg6
== NULL
) SWIG_fail
;
20967 if (!wxPyCheckForApp()) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
20988 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20989 PyObject
*resultobj
= 0;
20990 wxChoicebook
*result
= 0 ;
20992 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
20994 if (!wxPyCheckForApp()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (wxChoicebook
*)new wxChoicebook();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21007 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
= 0;
21009 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21010 wxWindow
*arg2
= (wxWindow
*) 0 ;
21012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21016 long arg6
= (long) 0 ;
21017 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21018 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21030 bool temp7
= false ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 PyObject
* obj2
= 0 ;
21034 PyObject
* obj3
= 0 ;
21035 PyObject
* obj4
= 0 ;
21036 PyObject
* obj5
= 0 ;
21037 PyObject
* obj6
= 0 ;
21038 char * kwnames
[] = {
21039 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21047 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21048 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21049 if (!SWIG_IsOK(res2
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21052 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21054 if (!SWIG_IsOK(ecode3
)) {
21055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21057 arg3
= static_cast< int >(val3
);
21061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21071 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21072 if (!SWIG_IsOK(ecode6
)) {
21073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21075 arg6
= static_cast< long >(val6
);
21079 arg7
= wxString_in_helper(obj6
);
21080 if (arg7
== NULL
) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21107 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21108 PyObject
*resultobj
= 0;
21109 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21110 wxChoice
*result
= 0 ;
21113 PyObject
*swig_obj
[1] ;
21115 if (!args
) SWIG_fail
;
21116 swig_obj
[0] = args
;
21117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21118 if (!SWIG_IsOK(res1
)) {
21119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21121 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21135 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21138 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21139 return SWIG_Py_Void();
21142 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21143 return SWIG_Python_InitShadowInstance(args
);
21146 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
= 0;
21148 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21149 int arg2
= (int) 0 ;
21150 int arg3
= (int) -1 ;
21151 int arg4
= (int) -1 ;
21152 wxChoicebookEvent
*result
= 0 ;
21161 PyObject
* obj0
= 0 ;
21162 PyObject
* obj1
= 0 ;
21163 PyObject
* obj2
= 0 ;
21164 PyObject
* obj3
= 0 ;
21165 char * kwnames
[] = {
21166 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21172 if (!SWIG_IsOK(ecode1
)) {
21173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21175 arg1
= static_cast< wxEventType
>(val1
);
21178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21179 if (!SWIG_IsOK(ecode2
)) {
21180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21182 arg2
= static_cast< int >(val2
);
21185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21186 if (!SWIG_IsOK(ecode3
)) {
21187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21189 arg3
= static_cast< int >(val3
);
21192 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21193 if (!SWIG_IsOK(ecode4
)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21196 arg4
= static_cast< int >(val4
);
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21211 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21214 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21215 return SWIG_Py_Void();
21218 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21219 return SWIG_Python_InitShadowInstance(args
);
21222 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
= 0;
21224 wxWindow
*arg1
= (wxWindow
*) 0 ;
21226 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21227 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21228 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21229 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21230 long arg5
= (long) wxBK_DEFAULT
;
21231 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21232 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21233 wxTreebook
*result
= 0 ;
21242 bool temp6
= false ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 PyObject
* obj2
= 0 ;
21246 PyObject
* obj3
= 0 ;
21247 PyObject
* obj4
= 0 ;
21248 PyObject
* obj5
= 0 ;
21249 char * kwnames
[] = {
21250 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21255 if (!SWIG_IsOK(res1
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21258 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21260 if (!SWIG_IsOK(ecode2
)) {
21261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21263 arg2
= static_cast< int >(val2
);
21267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21273 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21277 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21278 if (!SWIG_IsOK(ecode5
)) {
21279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21281 arg5
= static_cast< long >(val5
);
21285 arg6
= wxString_in_helper(obj5
);
21286 if (arg6
== NULL
) SWIG_fail
;
21291 if (!wxPyCheckForApp()) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21312 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21313 PyObject
*resultobj
= 0;
21314 wxTreebook
*result
= 0 ;
21316 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21318 if (!wxPyCheckForApp()) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (wxTreebook
*)new wxTreebook();
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21331 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
= 0;
21333 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21334 wxWindow
*arg2
= (wxWindow
*) 0 ;
21336 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21337 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21338 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21339 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21340 long arg6
= (long) wxBK_DEFAULT
;
21341 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21342 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21354 bool temp7
= false ;
21355 PyObject
* obj0
= 0 ;
21356 PyObject
* obj1
= 0 ;
21357 PyObject
* obj2
= 0 ;
21358 PyObject
* obj3
= 0 ;
21359 PyObject
* obj4
= 0 ;
21360 PyObject
* obj5
= 0 ;
21361 PyObject
* obj6
= 0 ;
21362 char * kwnames
[] = {
21363 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21368 if (!SWIG_IsOK(res1
)) {
21369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21371 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21373 if (!SWIG_IsOK(res2
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21376 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21378 if (!SWIG_IsOK(ecode3
)) {
21379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21381 arg3
= static_cast< int >(val3
);
21385 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21391 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21395 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21396 if (!SWIG_IsOK(ecode6
)) {
21397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21399 arg6
= static_cast< long >(val6
);
21403 arg7
= wxString_in_helper(obj6
);
21404 if (arg7
== NULL
) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21431 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
= 0;
21433 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21435 wxWindow
*arg3
= (wxWindow
*) 0 ;
21436 wxString
*arg4
= 0 ;
21437 bool arg5
= (bool) false ;
21438 int arg6
= (int) wxNOT_FOUND
;
21446 bool temp4
= false ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 PyObject
* obj2
= 0 ;
21454 PyObject
* obj3
= 0 ;
21455 PyObject
* obj4
= 0 ;
21456 PyObject
* obj5
= 0 ;
21457 char * kwnames
[] = {
21458 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21463 if (!SWIG_IsOK(res1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21466 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21467 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21468 if (!SWIG_IsOK(ecode2
)) {
21469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21471 arg2
= static_cast< size_t >(val2
);
21472 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21473 if (!SWIG_IsOK(res3
)) {
21474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21476 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21478 arg4
= wxString_in_helper(obj3
);
21479 if (arg4
== NULL
) SWIG_fail
;
21483 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21484 if (!SWIG_IsOK(ecode5
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21487 arg5
= static_cast< bool >(val5
);
21490 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21491 if (!SWIG_IsOK(ecode6
)) {
21492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21494 arg6
= static_cast< int >(val6
);
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21519 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
= 0;
21521 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21522 wxWindow
*arg2
= (wxWindow
*) 0 ;
21523 wxString
*arg3
= 0 ;
21524 bool arg4
= (bool) false ;
21525 int arg5
= (int) wxNOT_FOUND
;
21531 bool temp3
= false ;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 PyObject
* obj2
= 0 ;
21539 PyObject
* obj3
= 0 ;
21540 PyObject
* obj4
= 0 ;
21541 char * kwnames
[] = {
21542 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21547 if (!SWIG_IsOK(res1
)) {
21548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21550 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21551 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21552 if (!SWIG_IsOK(res2
)) {
21553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21555 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21557 arg3
= wxString_in_helper(obj2
);
21558 if (arg3
== NULL
) SWIG_fail
;
21562 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21563 if (!SWIG_IsOK(ecode4
)) {
21564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21566 arg4
= static_cast< bool >(val4
);
21569 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21570 if (!SWIG_IsOK(ecode5
)) {
21571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21573 arg5
= static_cast< int >(val5
);
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21598 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
= 0;
21600 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char * kwnames
[] = {
21610 (char *) "self",(char *) "pos", NULL
21613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21615 if (!SWIG_IsOK(res1
)) {
21616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21618 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21619 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21620 if (!SWIG_IsOK(ecode2
)) {
21621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21623 arg2
= static_cast< size_t >(val2
);
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21639 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
= 0;
21641 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21643 bool arg3
= (bool) true ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 PyObject
* obj2
= 0 ;
21654 char * kwnames
[] = {
21655 (char *) "self",(char *) "pos",(char *) "expand", NULL
21658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21660 if (!SWIG_IsOK(res1
)) {
21661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21663 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21664 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21665 if (!SWIG_IsOK(ecode2
)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21668 arg2
= static_cast< size_t >(val2
);
21670 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21671 if (!SWIG_IsOK(ecode3
)) {
21672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21674 arg3
= static_cast< bool >(val3
);
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21691 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
= 0;
21693 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 char * kwnames
[] = {
21703 (char *) "self",(char *) "pos", NULL
21706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21711 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21712 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21713 if (!SWIG_IsOK(ecode2
)) {
21714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21716 arg2
= static_cast< size_t >(val2
);
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (bool)(arg1
)->CollapseNode(arg2
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21732 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
= 0;
21734 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 char * kwnames
[] = {
21744 (char *) "self",(char *) "pos", NULL
21747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21749 if (!SWIG_IsOK(res1
)) {
21750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21752 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21753 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21754 if (!SWIG_IsOK(ecode2
)) {
21755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21757 arg2
= static_cast< size_t >(val2
);
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= SWIG_From_int(static_cast< int >(result
));
21771 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21772 PyObject
*resultobj
= 0;
21773 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21774 wxTreeCtrl
*result
= 0 ;
21777 PyObject
*swig_obj
[1] ;
21779 if (!args
) SWIG_fail
;
21780 swig_obj
[0] = args
;
21781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21782 if (!SWIG_IsOK(res1
)) {
21783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21785 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21799 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21802 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21803 return SWIG_Py_Void();
21806 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21807 return SWIG_Python_InitShadowInstance(args
);
21810 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
= 0;
21812 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21813 int arg2
= (int) 0 ;
21814 int arg3
= (int) wxNOT_FOUND
;
21815 int arg4
= (int) wxNOT_FOUND
;
21816 wxTreebookEvent
*result
= 0 ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 PyObject
* obj2
= 0 ;
21828 PyObject
* obj3
= 0 ;
21829 char * kwnames
[] = {
21830 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21835 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21836 if (!SWIG_IsOK(ecode1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21839 arg1
= static_cast< wxEventType
>(val1
);
21842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21843 if (!SWIG_IsOK(ecode2
)) {
21844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21846 arg2
= static_cast< int >(val2
);
21849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21850 if (!SWIG_IsOK(ecode3
)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21853 arg3
= static_cast< int >(val3
);
21856 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21857 if (!SWIG_IsOK(ecode4
)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21860 arg4
= static_cast< int >(val4
);
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21875 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21878 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21879 return SWIG_Py_Void();
21882 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21883 return SWIG_Python_InitShadowInstance(args
);
21886 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
= 0;
21888 wxWindow
*arg1
= (wxWindow
*) 0 ;
21890 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21891 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21892 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21893 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21894 long arg5
= (long) wxBK_DEFAULT
;
21895 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21896 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21897 wxToolbook
*result
= 0 ;
21906 bool temp6
= false ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 PyObject
* obj2
= 0 ;
21910 PyObject
* obj3
= 0 ;
21911 PyObject
* obj4
= 0 ;
21912 PyObject
* obj5
= 0 ;
21913 char * kwnames
[] = {
21914 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21919 if (!SWIG_IsOK(res1
)) {
21920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21922 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21924 if (!SWIG_IsOK(ecode2
)) {
21925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
21927 arg2
= static_cast< int >(val2
);
21931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21941 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21942 if (!SWIG_IsOK(ecode5
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
21945 arg5
= static_cast< long >(val5
);
21949 arg6
= wxString_in_helper(obj5
);
21950 if (arg6
== NULL
) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
21975 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21976 PyObject
*resultobj
= 0;
21977 wxToolbook
*result
= 0 ;
21979 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= (wxToolbook
*)new wxToolbook();
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
21993 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
= 0;
21995 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21996 wxWindow
*arg2
= (wxWindow
*) 0 ;
21998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22002 long arg6
= (long) 0 ;
22003 wxString
const &arg7_defvalue
= wxEmptyString
;
22004 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22016 bool temp7
= false ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 PyObject
* obj2
= 0 ;
22020 PyObject
* obj3
= 0 ;
22021 PyObject
* obj4
= 0 ;
22022 PyObject
* obj5
= 0 ;
22023 PyObject
* obj6
= 0 ;
22024 char * kwnames
[] = {
22025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22030 if (!SWIG_IsOK(res1
)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22033 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22035 if (!SWIG_IsOK(res2
)) {
22036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22038 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22040 if (!SWIG_IsOK(ecode3
)) {
22041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22043 arg3
= static_cast< int >(val3
);
22047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22057 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22058 if (!SWIG_IsOK(ecode6
)) {
22059 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22061 arg6
= static_cast< long >(val6
);
22065 arg7
= wxString_in_helper(obj6
);
22066 if (arg7
== NULL
) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22093 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22094 PyObject
*resultobj
= 0;
22095 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22096 wxToolBarBase
*result
= 0 ;
22099 PyObject
*swig_obj
[1] ;
22101 if (!args
) SWIG_fail
;
22102 swig_obj
[0] = args
;
22103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22104 if (!SWIG_IsOK(res1
)) {
22105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22107 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22123 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22124 PyObject
*resultobj
= 0;
22125 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22128 PyObject
*swig_obj
[1] ;
22130 if (!args
) SWIG_fail
;
22131 swig_obj
[0] = args
;
22132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22133 if (!SWIG_IsOK(res1
)) {
22134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22136 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 resultobj
= SWIG_Py_Void();
22150 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22153 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22154 return SWIG_Py_Void();
22157 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22158 return SWIG_Python_InitShadowInstance(args
);
22161 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
= 0;
22163 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22164 int arg2
= (int) 0 ;
22165 int arg3
= (int) wxNOT_FOUND
;
22166 int arg4
= (int) wxNOT_FOUND
;
22167 wxToolbookEvent
*result
= 0 ;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 PyObject
* obj2
= 0 ;
22179 PyObject
* obj3
= 0 ;
22180 char * kwnames
[] = {
22181 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22187 if (!SWIG_IsOK(ecode1
)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22190 arg1
= static_cast< wxEventType
>(val1
);
22193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22194 if (!SWIG_IsOK(ecode2
)) {
22195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22197 arg2
= static_cast< int >(val2
);
22200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22201 if (!SWIG_IsOK(ecode3
)) {
22202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22204 arg3
= static_cast< int >(val3
);
22207 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22208 if (!SWIG_IsOK(ecode4
)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22211 arg4
= static_cast< int >(val4
);
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22226 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22229 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22230 return SWIG_Py_Void();
22233 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22234 return SWIG_Python_InitShadowInstance(args
);
22237 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22238 PyObject
*resultobj
= 0;
22239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22243 PyObject
*swig_obj
[1] ;
22245 if (!args
) SWIG_fail
;
22246 swig_obj
[0] = args
;
22247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22248 if (!SWIG_IsOK(res1
)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22251 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (int)(arg1
)->GetId();
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_From_int(static_cast< int >(result
));
22265 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22266 PyObject
*resultobj
= 0;
22267 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22268 wxControl
*result
= 0 ;
22271 PyObject
*swig_obj
[1] ;
22273 if (!args
) SWIG_fail
;
22274 swig_obj
[0] = args
;
22275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22276 if (!SWIG_IsOK(res1
)) {
22277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22279 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 result
= (wxControl
*)(arg1
)->GetControl();
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= wxPyMake_wxObject(result
, 0);
22295 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22296 PyObject
*resultobj
= 0;
22297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22298 wxToolBarBase
*result
= 0 ;
22301 PyObject
*swig_obj
[1] ;
22303 if (!args
) SWIG_fail
;
22304 swig_obj
[0] = args
;
22305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22306 if (!SWIG_IsOK(res1
)) {
22307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22309 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22325 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22326 PyObject
*resultobj
= 0;
22327 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22331 PyObject
*swig_obj
[1] ;
22333 if (!args
) SWIG_fail
;
22334 swig_obj
[0] = args
;
22335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22336 if (!SWIG_IsOK(res1
)) {
22337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22339 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (int)(arg1
)->IsButton();
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= SWIG_From_int(static_cast< int >(result
));
22353 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22354 PyObject
*resultobj
= 0;
22355 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22359 PyObject
*swig_obj
[1] ;
22361 if (!args
) SWIG_fail
;
22362 swig_obj
[0] = args
;
22363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22364 if (!SWIG_IsOK(res1
)) {
22365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22367 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (int)(arg1
)->IsControl();
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= SWIG_From_int(static_cast< int >(result
));
22381 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22382 PyObject
*resultobj
= 0;
22383 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22387 PyObject
*swig_obj
[1] ;
22389 if (!args
) SWIG_fail
;
22390 swig_obj
[0] = args
;
22391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22392 if (!SWIG_IsOK(res1
)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22395 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (int)(arg1
)->IsSeparator();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= SWIG_From_int(static_cast< int >(result
));
22409 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 PyObject
*resultobj
= 0;
22411 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22415 PyObject
*swig_obj
[1] ;
22417 if (!args
) SWIG_fail
;
22418 swig_obj
[0] = args
;
22419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22420 if (!SWIG_IsOK(res1
)) {
22421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22423 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (int)(arg1
)->GetStyle();
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_From_int(static_cast< int >(result
));
22437 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 PyObject
*resultobj
= 0;
22439 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22443 PyObject
*swig_obj
[1] ;
22445 if (!args
) SWIG_fail
;
22446 swig_obj
[0] = args
;
22447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22451 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= (wxItemKind
)(arg1
)->GetKind();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= SWIG_From_int(static_cast< int >(result
));
22465 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22466 PyObject
*resultobj
= 0;
22467 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22471 PyObject
*swig_obj
[1] ;
22473 if (!args
) SWIG_fail
;
22474 swig_obj
[0] = args
;
22475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22476 if (!SWIG_IsOK(res1
)) {
22477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22479 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= (bool)(arg1
)->IsEnabled();
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22495 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22496 PyObject
*resultobj
= 0;
22497 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22501 PyObject
*swig_obj
[1] ;
22503 if (!args
) SWIG_fail
;
22504 swig_obj
[0] = args
;
22505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22506 if (!SWIG_IsOK(res1
)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22509 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= (bool)(arg1
)->IsToggled();
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22525 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22526 PyObject
*resultobj
= 0;
22527 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22531 PyObject
*swig_obj
[1] ;
22533 if (!args
) SWIG_fail
;
22534 swig_obj
[0] = args
;
22535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22536 if (!SWIG_IsOK(res1
)) {
22537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22539 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (bool)(arg1
)->CanBeToggled();
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22555 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22556 PyObject
*resultobj
= 0;
22557 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22558 wxBitmap
*result
= 0 ;
22561 PyObject
*swig_obj
[1] ;
22563 if (!args
) SWIG_fail
;
22564 swig_obj
[0] = args
;
22565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22566 if (!SWIG_IsOK(res1
)) {
22567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22569 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22574 result
= (wxBitmap
*) &_result_ref
;
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 wxBitmap
* resultptr
= new wxBitmap(*result
);
22581 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22589 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22590 PyObject
*resultobj
= 0;
22591 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22592 wxBitmap
*result
= 0 ;
22595 PyObject
*swig_obj
[1] ;
22597 if (!args
) SWIG_fail
;
22598 swig_obj
[0] = args
;
22599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22600 if (!SWIG_IsOK(res1
)) {
22601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22603 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22608 result
= (wxBitmap
*) &_result_ref
;
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 wxBitmap
* resultptr
= new wxBitmap(*result
);
22615 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22623 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 PyObject
*resultobj
= 0;
22625 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22629 PyObject
*swig_obj
[1] ;
22631 if (!args
) SWIG_fail
;
22632 swig_obj
[0] = args
;
22633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22634 if (!SWIG_IsOK(res1
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22637 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= (arg1
)->GetBitmap();
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22651 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22657 PyObject
*swig_obj
[1] ;
22659 if (!args
) SWIG_fail
;
22660 swig_obj
[0] = args
;
22661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22665 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (arg1
)->GetLabel();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22685 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22686 PyObject
*resultobj
= 0;
22687 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22691 PyObject
*swig_obj
[1] ;
22693 if (!args
) SWIG_fail
;
22694 swig_obj
[0] = args
;
22695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22696 if (!SWIG_IsOK(res1
)) {
22697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22699 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (arg1
)->GetShortHelp();
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22719 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22720 PyObject
*resultobj
= 0;
22721 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22725 PyObject
*swig_obj
[1] ;
22727 if (!args
) SWIG_fail
;
22728 swig_obj
[0] = args
;
22729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22730 if (!SWIG_IsOK(res1
)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22733 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (arg1
)->GetLongHelp();
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22753 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
= 0;
22755 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 char * kwnames
[] = {
22765 (char *) "self",(char *) "enable", NULL
22768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22770 if (!SWIG_IsOK(res1
)) {
22771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22773 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22774 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22775 if (!SWIG_IsOK(ecode2
)) {
22776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22778 arg2
= static_cast< bool >(val2
);
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (bool)(arg1
)->Enable(arg2
);
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22794 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22795 PyObject
*resultobj
= 0;
22796 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22799 PyObject
*swig_obj
[1] ;
22801 if (!args
) SWIG_fail
;
22802 swig_obj
[0] = args
;
22803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22807 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_Py_Void();
22821 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
= 0;
22823 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char * kwnames
[] = {
22833 (char *) "self",(char *) "toggle", NULL
22836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",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_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22841 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22843 if (!SWIG_IsOK(ecode2
)) {
22844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22846 arg2
= static_cast< bool >(val2
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (bool)(arg1
)->SetToggle(arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22862 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
= 0;
22864 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22865 wxString
*arg2
= 0 ;
22869 bool temp2
= false ;
22870 PyObject
* obj0
= 0 ;
22871 PyObject
* obj1
= 0 ;
22872 char * kwnames
[] = {
22873 (char *) "self",(char *) "help", NULL
22876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22881 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22883 arg2
= wxString_in_helper(obj1
);
22884 if (arg2
== NULL
) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22910 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
= 0;
22912 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22913 wxString
*arg2
= 0 ;
22917 bool temp2
= false ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char * kwnames
[] = {
22921 (char *) "self",(char *) "help", NULL
22924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22929 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22931 arg2
= wxString_in_helper(obj1
);
22932 if (arg2
== NULL
) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22958 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
= 0;
22960 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22961 wxBitmap
*arg2
= 0 ;
22966 PyObject
* obj0
= 0 ;
22967 PyObject
* obj1
= 0 ;
22968 char * kwnames
[] = {
22969 (char *) "self",(char *) "bmp", NULL
22972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22974 if (!SWIG_IsOK(res1
)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22977 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22979 if (!SWIG_IsOK(res2
)) {
22980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22985 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= SWIG_Py_Void();
22999 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
= 0;
23001 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23002 wxBitmap
*arg2
= 0 ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char * kwnames
[] = {
23010 (char *) "self",(char *) "bmp", NULL
23013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23018 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23019 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23020 if (!SWIG_IsOK(res2
)) {
23021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23026 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_Py_Void();
23040 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
= 0;
23042 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23043 wxString
*arg2
= 0 ;
23046 bool temp2
= false ;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 char * kwnames
[] = {
23050 (char *) "self",(char *) "label", NULL
23053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23058 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23060 arg2
= wxString_in_helper(obj1
);
23061 if (arg2
== NULL
) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 (arg1
)->SetLabel((wxString
const &)*arg2
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= SWIG_Py_Void();
23085 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23090 PyObject
*swig_obj
[1] ;
23092 if (!args
) SWIG_fail
;
23093 swig_obj
[0] = args
;
23094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23095 if (!SWIG_IsOK(res1
)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23098 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_Py_Void();
23112 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
= 0;
23114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23115 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 char * kwnames
[] = {
23123 (char *) "self",(char *) "tbar", NULL
23126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23131 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23133 if (!SWIG_IsOK(res2
)) {
23134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23136 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 (arg1
)->Attach(arg2
);
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= SWIG_Py_Void();
23150 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23151 PyObject
*resultobj
= 0;
23152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23153 PyObject
*result
= 0 ;
23156 PyObject
*swig_obj
[1] ;
23158 if (!args
) SWIG_fail
;
23159 swig_obj
[0] = args
;
23160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23161 if (!SWIG_IsOK(res1
)) {
23162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23164 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= result
;
23178 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
= 0;
23180 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23181 PyObject
*arg2
= (PyObject
*) 0 ;
23184 PyObject
* obj0
= 0 ;
23185 PyObject
* obj1
= 0 ;
23186 char * kwnames
[] = {
23187 (char *) "self",(char *) "clientData", NULL
23190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23192 if (!SWIG_IsOK(res1
)) {
23193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23195 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_Py_Void();
23210 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23213 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23214 return SWIG_Py_Void();
23217 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
= 0;
23219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23221 wxString
*arg3
= 0 ;
23222 wxBitmap
*arg4
= 0 ;
23223 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23224 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23225 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23226 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23227 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23228 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23229 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23230 PyObject
*arg9
= (PyObject
*) NULL
;
23231 wxToolBarToolBase
*result
= 0 ;
23236 bool temp3
= false ;
23243 bool temp7
= false ;
23244 bool temp8
= false ;
23245 PyObject
* obj0
= 0 ;
23246 PyObject
* obj1
= 0 ;
23247 PyObject
* obj2
= 0 ;
23248 PyObject
* obj3
= 0 ;
23249 PyObject
* obj4
= 0 ;
23250 PyObject
* obj5
= 0 ;
23251 PyObject
* obj6
= 0 ;
23252 PyObject
* obj7
= 0 ;
23253 PyObject
* obj8
= 0 ;
23254 char * kwnames
[] = {
23255 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23260 if (!SWIG_IsOK(res1
)) {
23261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23263 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23265 if (!SWIG_IsOK(ecode2
)) {
23266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23268 arg2
= static_cast< int >(val2
);
23270 arg3
= wxString_in_helper(obj2
);
23271 if (arg3
== NULL
) SWIG_fail
;
23274 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23275 if (!SWIG_IsOK(res4
)) {
23276 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23281 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23283 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23284 if (!SWIG_IsOK(res5
)) {
23285 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23290 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23293 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23294 if (!SWIG_IsOK(ecode6
)) {
23295 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23297 arg6
= static_cast< wxItemKind
>(val6
);
23301 arg7
= wxString_in_helper(obj6
);
23302 if (arg7
== NULL
) SWIG_fail
;
23308 arg8
= wxString_in_helper(obj7
);
23309 if (arg8
== NULL
) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23355 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
= 0;
23357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23360 wxString
*arg4
= 0 ;
23361 wxBitmap
*arg5
= 0 ;
23362 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23363 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23364 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23365 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23367 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23368 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23369 PyObject
*arg10
= (PyObject
*) NULL
;
23370 wxToolBarToolBase
*result
= 0 ;
23377 bool temp4
= false ;
23384 bool temp8
= false ;
23385 bool temp9
= false ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 PyObject
* obj3
= 0 ;
23390 PyObject
* obj4
= 0 ;
23391 PyObject
* obj5
= 0 ;
23392 PyObject
* obj6
= 0 ;
23393 PyObject
* obj7
= 0 ;
23394 PyObject
* obj8
= 0 ;
23395 PyObject
* obj9
= 0 ;
23396 char * kwnames
[] = {
23397 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23405 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23406 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23407 if (!SWIG_IsOK(ecode2
)) {
23408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23410 arg2
= static_cast< size_t >(val2
);
23411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23412 if (!SWIG_IsOK(ecode3
)) {
23413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23415 arg3
= static_cast< int >(val3
);
23417 arg4
= wxString_in_helper(obj3
);
23418 if (arg4
== NULL
) SWIG_fail
;
23421 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23422 if (!SWIG_IsOK(res5
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23428 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23430 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23431 if (!SWIG_IsOK(res6
)) {
23432 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23437 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23440 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23441 if (!SWIG_IsOK(ecode7
)) {
23442 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23444 arg7
= static_cast< wxItemKind
>(val7
);
23448 arg8
= wxString_in_helper(obj7
);
23449 if (arg8
== NULL
) SWIG_fail
;
23455 arg9
= wxString_in_helper(obj8
);
23456 if (arg9
== NULL
) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23502 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
= 0;
23504 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23505 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23506 wxToolBarToolBase
*result
= 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char * kwnames
[] = {
23514 (char *) "self",(char *) "tool", NULL
23517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) 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_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23522 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23524 if (!SWIG_IsOK(res2
)) {
23525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23527 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23543 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
= 0;
23545 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23547 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23548 wxToolBarToolBase
*result
= 0 ;
23555 PyObject
* obj0
= 0 ;
23556 PyObject
* obj1
= 0 ;
23557 PyObject
* obj2
= 0 ;
23558 char * kwnames
[] = {
23559 (char *) "self",(char *) "pos",(char *) "tool", NULL
23562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23564 if (!SWIG_IsOK(res1
)) {
23565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23567 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23568 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23569 if (!SWIG_IsOK(ecode2
)) {
23570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23572 arg2
= static_cast< size_t >(val2
);
23573 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23574 if (!SWIG_IsOK(res3
)) {
23575 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23577 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23593 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
= 0;
23595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23596 wxControl
*arg2
= (wxControl
*) 0 ;
23597 wxToolBarToolBase
*result
= 0 ;
23602 PyObject
* obj0
= 0 ;
23603 PyObject
* obj1
= 0 ;
23604 char * kwnames
[] = {
23605 (char *) "self",(char *) "control", NULL
23608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23610 if (!SWIG_IsOK(res1
)) {
23611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23613 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23615 if (!SWIG_IsOK(res2
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23618 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23634 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
= 0;
23636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23638 wxControl
*arg3
= (wxControl
*) 0 ;
23639 wxToolBarToolBase
*result
= 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 PyObject
* obj2
= 0 ;
23649 char * kwnames
[] = {
23650 (char *) "self",(char *) "pos",(char *) "control", NULL
23653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23658 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23659 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23660 if (!SWIG_IsOK(ecode2
)) {
23661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23663 arg2
= static_cast< size_t >(val2
);
23664 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23665 if (!SWIG_IsOK(res3
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23668 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23684 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
= 0;
23686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23688 wxControl
*result
= 0 ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char * kwnames
[] = {
23696 (char *) "self",(char *) "id", NULL
23699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23701 if (!SWIG_IsOK(res1
)) {
23702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23704 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23706 if (!SWIG_IsOK(ecode2
)) {
23707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23709 arg2
= static_cast< int >(val2
);
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= wxPyMake_wxObject(result
, 0);
23725 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23726 PyObject
*resultobj
= 0;
23727 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23728 wxToolBarToolBase
*result
= 0 ;
23731 PyObject
*swig_obj
[1] ;
23733 if (!args
) SWIG_fail
;
23734 swig_obj
[0] = args
;
23735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23736 if (!SWIG_IsOK(res1
)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23739 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23755 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
= 0;
23757 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23759 wxToolBarToolBase
*result
= 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char * kwnames
[] = {
23767 (char *) "self",(char *) "pos", NULL
23770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23775 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23776 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23777 if (!SWIG_IsOK(ecode2
)) {
23778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23780 arg2
= static_cast< size_t >(val2
);
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23796 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
= 0;
23798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23800 wxToolBarToolBase
*result
= 0 ;
23805 PyObject
* obj0
= 0 ;
23806 PyObject
* obj1
= 0 ;
23807 char * kwnames
[] = {
23808 (char *) "self",(char *) "id", NULL
23811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23816 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23818 if (!SWIG_IsOK(ecode2
)) {
23819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23821 arg2
= static_cast< int >(val2
);
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23837 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
= 0;
23839 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23846 PyObject
* obj0
= 0 ;
23847 PyObject
* obj1
= 0 ;
23848 char * kwnames
[] = {
23849 (char *) "self",(char *) "pos", NULL
23852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23854 if (!SWIG_IsOK(res1
)) {
23855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23857 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23858 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23859 if (!SWIG_IsOK(ecode2
)) {
23860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23862 arg2
= static_cast< size_t >(val2
);
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23878 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23889 char * kwnames
[] = {
23890 (char *) "self",(char *) "id", NULL
23893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23895 if (!SWIG_IsOK(res1
)) {
23896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23898 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23900 if (!SWIG_IsOK(ecode2
)) {
23901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23903 arg2
= static_cast< int >(val2
);
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= (bool)(arg1
)->DeleteTool(arg2
);
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23919 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23920 PyObject
*resultobj
= 0;
23921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23924 PyObject
*swig_obj
[1] ;
23926 if (!args
) SWIG_fail
;
23927 swig_obj
[0] = args
;
23928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23929 if (!SWIG_IsOK(res1
)) {
23930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23932 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 (arg1
)->ClearTools();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_Py_Void();
23946 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23947 PyObject
*resultobj
= 0;
23948 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23952 PyObject
*swig_obj
[1] ;
23954 if (!args
) SWIG_fail
;
23955 swig_obj
[0] = args
;
23956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23957 if (!SWIG_IsOK(res1
)) {
23958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23960 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (bool)(arg1
)->Realize();
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23976 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 PyObject
* obj2
= 0 ;
23990 char * kwnames
[] = {
23991 (char *) "self",(char *) "id",(char *) "enable", NULL
23994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23996 if (!SWIG_IsOK(res1
)) {
23997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23999 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24001 if (!SWIG_IsOK(ecode2
)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24004 arg2
= static_cast< int >(val2
);
24005 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24006 if (!SWIG_IsOK(ecode3
)) {
24007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24009 arg3
= static_cast< bool >(val3
);
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 (arg1
)->EnableTool(arg2
,arg3
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_Py_Void();
24023 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
= 0;
24025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 PyObject
* obj2
= 0 ;
24037 char * kwnames
[] = {
24038 (char *) "self",(char *) "id",(char *) "toggle", NULL
24041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24043 if (!SWIG_IsOK(res1
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24046 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24048 if (!SWIG_IsOK(ecode2
)) {
24049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24051 arg2
= static_cast< int >(val2
);
24052 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24053 if (!SWIG_IsOK(ecode3
)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24056 arg3
= static_cast< bool >(val3
);
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 (arg1
)->ToggleTool(arg2
,arg3
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= SWIG_Py_Void();
24070 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
= 0;
24072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 PyObject
* obj2
= 0 ;
24084 char * kwnames
[] = {
24085 (char *) "self",(char *) "id",(char *) "toggle", NULL
24088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24090 if (!SWIG_IsOK(res1
)) {
24091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24093 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24095 if (!SWIG_IsOK(ecode2
)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24098 arg2
= static_cast< int >(val2
);
24099 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24100 if (!SWIG_IsOK(ecode3
)) {
24101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24103 arg3
= static_cast< bool >(val3
);
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->SetToggle(arg2
,arg3
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= SWIG_Py_Void();
24117 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
= 0;
24119 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24121 PyObject
*result
= 0 ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char * kwnames
[] = {
24129 (char *) "self",(char *) "id", NULL
24132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24134 if (!SWIG_IsOK(res1
)) {
24135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24137 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24139 if (!SWIG_IsOK(ecode2
)) {
24140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24142 arg2
= static_cast< int >(val2
);
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= result
;
24156 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
= 0;
24158 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24160 PyObject
*arg3
= (PyObject
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 PyObject
* obj2
= 0 ;
24168 char * kwnames
[] = {
24169 (char *) "self",(char *) "id",(char *) "clientData", NULL
24172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24174 if (!SWIG_IsOK(res1
)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24177 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24179 if (!SWIG_IsOK(ecode2
)) {
24180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24182 arg2
= static_cast< int >(val2
);
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24190 resultobj
= SWIG_Py_Void();
24197 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
= 0;
24199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 char * kwnames
[] = {
24209 (char *) "self",(char *) "id", NULL
24212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24214 if (!SWIG_IsOK(res1
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24217 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24219 if (!SWIG_IsOK(ecode2
)) {
24220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24222 arg2
= static_cast< int >(val2
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_From_int(static_cast< int >(result
));
24236 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(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_GetToolState",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_GetToolState" "', 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_GetToolState" "', expected argument " "2"" of type '" "int""'");
24261 arg2
= static_cast< int >(val2
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (bool)(arg1
)->GetToolState(arg2
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24277 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
= 0;
24279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char * kwnames
[] = {
24289 (char *) "self",(char *) "id", NULL
24292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24294 if (!SWIG_IsOK(res1
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24297 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24299 if (!SWIG_IsOK(ecode2
)) {
24300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24302 arg2
= static_cast< int >(val2
);
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24318 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24322 wxString
*arg3
= 0 ;
24327 bool temp3
= false ;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 PyObject
* obj2
= 0 ;
24331 char * kwnames
[] = {
24332 (char *) "self",(char *) "id",(char *) "helpString", NULL
24335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24337 if (!SWIG_IsOK(res1
)) {
24338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24340 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24342 if (!SWIG_IsOK(ecode2
)) {
24343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24345 arg2
= static_cast< int >(val2
);
24347 arg3
= wxString_in_helper(obj2
);
24348 if (arg3
== NULL
) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_Py_Void();
24372 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
= 0;
24374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char * kwnames
[] = {
24384 (char *) "self",(char *) "id", NULL
24387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24392 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24394 if (!SWIG_IsOK(ecode2
)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24397 arg2
= static_cast< int >(val2
);
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (arg1
)->GetToolShortHelp(arg2
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24417 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
= 0;
24419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24421 wxString
*arg3
= 0 ;
24426 bool temp3
= false ;
24427 PyObject
* obj0
= 0 ;
24428 PyObject
* obj1
= 0 ;
24429 PyObject
* obj2
= 0 ;
24430 char * kwnames
[] = {
24431 (char *) "self",(char *) "id",(char *) "helpString", NULL
24434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24436 if (!SWIG_IsOK(res1
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24439 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24441 if (!SWIG_IsOK(ecode2
)) {
24442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24444 arg2
= static_cast< int >(val2
);
24446 arg3
= wxString_in_helper(obj2
);
24447 if (arg3
== NULL
) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= SWIG_Py_Void();
24471 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
= 0;
24473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char * kwnames
[] = {
24483 (char *) "self",(char *) "id", NULL
24486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24488 if (!SWIG_IsOK(res1
)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24491 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24493 if (!SWIG_IsOK(ecode2
)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24496 arg2
= static_cast< int >(val2
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (arg1
)->GetToolLongHelp(arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24516 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
= 0;
24518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 PyObject
* obj2
= 0 ;
24530 char * kwnames
[] = {
24531 (char *) "self",(char *) "x",(char *) "y", NULL
24534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24539 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24541 if (!SWIG_IsOK(ecode2
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24544 arg2
= static_cast< int >(val2
);
24545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24546 if (!SWIG_IsOK(ecode3
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24549 arg3
= static_cast< int >(val3
);
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 (arg1
)->SetMargins(arg2
,arg3
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_Py_Void();
24563 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
= 0;
24565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 char * kwnames
[] = {
24573 (char *) "self",(char *) "size", NULL
24576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24581 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24584 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_Py_Void();
24599 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
= 0;
24601 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 PyObject
* obj1
= 0 ;
24609 char * kwnames
[] = {
24610 (char *) "self",(char *) "packing", NULL
24613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24615 if (!SWIG_IsOK(res1
)) {
24616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24618 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24620 if (!SWIG_IsOK(ecode2
)) {
24621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24623 arg2
= static_cast< int >(val2
);
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->SetToolPacking(arg2
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= SWIG_Py_Void();
24637 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
= 0;
24639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 char * kwnames
[] = {
24648 (char *) "self",(char *) "separation", NULL
24651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24656 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24658 if (!SWIG_IsOK(ecode2
)) {
24659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24661 arg2
= static_cast< int >(val2
);
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 (arg1
)->SetToolSeparation(arg2
);
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24668 resultobj
= SWIG_Py_Void();
24675 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24676 PyObject
*resultobj
= 0;
24677 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24681 PyObject
*swig_obj
[1] ;
24683 if (!args
) SWIG_fail
;
24684 swig_obj
[0] = args
;
24685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24686 if (!SWIG_IsOK(res1
)) {
24687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24689 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (arg1
)->GetToolMargins();
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24703 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24704 PyObject
*resultobj
= 0;
24705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24709 PyObject
*swig_obj
[1] ;
24711 if (!args
) SWIG_fail
;
24712 swig_obj
[0] = args
;
24713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24714 if (!SWIG_IsOK(res1
)) {
24715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24717 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (arg1
)->GetMargins();
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24731 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24732 PyObject
*resultobj
= 0;
24733 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24737 PyObject
*swig_obj
[1] ;
24739 if (!args
) SWIG_fail
;
24740 swig_obj
[0] = args
;
24741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24742 if (!SWIG_IsOK(res1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24745 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (int)(arg1
)->GetToolPacking();
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_From_int(static_cast< int >(result
));
24759 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24760 PyObject
*resultobj
= 0;
24761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24765 PyObject
*swig_obj
[1] ;
24767 if (!args
) SWIG_fail
;
24768 swig_obj
[0] = args
;
24769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24773 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= (int)(arg1
)->GetToolSeparation();
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_From_int(static_cast< int >(result
));
24787 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
= 0;
24789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 char * kwnames
[] = {
24798 (char *) "self",(char *) "nRows", NULL
24801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24803 if (!SWIG_IsOK(res1
)) {
24804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24806 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24808 if (!SWIG_IsOK(ecode2
)) {
24809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24811 arg2
= static_cast< int >(val2
);
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 (arg1
)->SetRows(arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= SWIG_Py_Void();
24825 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
= 0;
24827 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 PyObject
* obj2
= 0 ;
24839 char * kwnames
[] = {
24840 (char *) "self",(char *) "rows",(char *) "cols", NULL
24843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24848 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24850 if (!SWIG_IsOK(ecode2
)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24853 arg2
= static_cast< int >(val2
);
24854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24855 if (!SWIG_IsOK(ecode3
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24858 arg3
= static_cast< int >(val3
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_Py_Void();
24872 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 PyObject
*resultobj
= 0;
24874 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24878 PyObject
*swig_obj
[1] ;
24880 if (!args
) SWIG_fail
;
24881 swig_obj
[0] = args
;
24882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24886 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (int)(arg1
)->GetMaxRows();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_From_int(static_cast< int >(result
));
24900 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24901 PyObject
*resultobj
= 0;
24902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24906 PyObject
*swig_obj
[1] ;
24908 if (!args
) SWIG_fail
;
24909 swig_obj
[0] = args
;
24910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24914 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (int)(arg1
)->GetMaxCols();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_From_int(static_cast< int >(result
));
24928 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24930 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 char * kwnames
[] = {
24938 (char *) "self",(char *) "size", NULL
24941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24943 if (!SWIG_IsOK(res1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24946 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24949 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_Py_Void();
24964 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24965 PyObject
*resultobj
= 0;
24966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24970 PyObject
*swig_obj
[1] ;
24972 if (!args
) SWIG_fail
;
24973 swig_obj
[0] = args
;
24974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24978 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 result
= (arg1
)->GetToolBitmapSize();
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24992 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24993 PyObject
*resultobj
= 0;
24994 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24998 PyObject
*swig_obj
[1] ;
25000 if (!args
) SWIG_fail
;
25001 swig_obj
[0] = args
;
25002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25003 if (!SWIG_IsOK(res1
)) {
25004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25006 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= (arg1
)->GetToolSize();
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25020 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
= 0;
25022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25025 wxToolBarToolBase
*result
= 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 PyObject
* obj2
= 0 ;
25035 char * kwnames
[] = {
25036 (char *) "self",(char *) "x",(char *) "y", NULL
25039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25041 if (!SWIG_IsOK(res1
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25044 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25046 if (!SWIG_IsOK(ecode2
)) {
25047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25049 arg2
= static_cast< int >(val2
);
25050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25051 if (!SWIG_IsOK(ecode3
)) {
25052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25054 arg3
= static_cast< int >(val3
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25070 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
= 0;
25072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25074 wxToolBarToolBase
*result
= 0 ;
25079 PyObject
* obj0
= 0 ;
25080 PyObject
* obj1
= 0 ;
25081 char * kwnames
[] = {
25082 (char *) "self",(char *) "toolid", NULL
25085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25087 if (!SWIG_IsOK(res1
)) {
25088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25090 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25092 if (!SWIG_IsOK(ecode2
)) {
25093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25095 arg2
= static_cast< int >(val2
);
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25111 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25112 PyObject
*resultobj
= 0;
25113 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25117 PyObject
*swig_obj
[1] ;
25119 if (!args
) SWIG_fail
;
25120 swig_obj
[0] = args
;
25121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25122 if (!SWIG_IsOK(res1
)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25125 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (bool)(arg1
)->IsVertical();
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25141 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25142 PyObject
*resultobj
= 0;
25143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25147 PyObject
*swig_obj
[1] ;
25149 if (!args
) SWIG_fail
;
25150 swig_obj
[0] = args
;
25151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25155 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25169 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25172 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25173 return SWIG_Py_Void();
25176 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
= 0;
25178 wxWindow
*arg1
= (wxWindow
*) 0 ;
25179 int arg2
= (int) -1 ;
25180 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25181 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25182 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25183 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25184 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25185 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25186 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25187 wxToolBar
*result
= 0 ;
25196 bool temp6
= false ;
25197 PyObject
* obj0
= 0 ;
25198 PyObject
* obj1
= 0 ;
25199 PyObject
* obj2
= 0 ;
25200 PyObject
* obj3
= 0 ;
25201 PyObject
* obj4
= 0 ;
25202 PyObject
* obj5
= 0 ;
25203 char * kwnames
[] = {
25204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25215 if (!SWIG_IsOK(ecode2
)) {
25216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25218 arg2
= static_cast< int >(val2
);
25223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25233 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25234 if (!SWIG_IsOK(ecode5
)) {
25235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25237 arg5
= static_cast< long >(val5
);
25241 arg6
= wxString_in_helper(obj5
);
25242 if (arg6
== NULL
) SWIG_fail
;
25247 if (!wxPyCheckForApp()) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25268 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25269 PyObject
*resultobj
= 0;
25270 wxToolBar
*result
= 0 ;
25272 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25274 if (!wxPyCheckForApp()) SWIG_fail
;
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 result
= (wxToolBar
*)new wxToolBar();
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25287 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
= 0;
25289 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25290 wxWindow
*arg2
= (wxWindow
*) 0 ;
25291 int arg3
= (int) -1 ;
25292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25296 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25297 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25298 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25310 bool temp7
= false ;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 PyObject
* obj2
= 0 ;
25314 PyObject
* obj3
= 0 ;
25315 PyObject
* obj4
= 0 ;
25316 PyObject
* obj5
= 0 ;
25317 PyObject
* obj6
= 0 ;
25318 char * kwnames
[] = {
25319 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25324 if (!SWIG_IsOK(res1
)) {
25325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25327 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25329 if (!SWIG_IsOK(res2
)) {
25330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25335 if (!SWIG_IsOK(ecode3
)) {
25336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25338 arg3
= static_cast< int >(val3
);
25343 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25349 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25353 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25354 if (!SWIG_IsOK(ecode6
)) {
25355 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25357 arg6
= static_cast< long >(val6
);
25361 arg7
= wxString_in_helper(obj6
);
25362 if (arg7
== NULL
) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25389 SWIGINTERN PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
= 0;
25391 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25394 wxToolBarToolBase
*result
= 0 ;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 PyObject
* obj2
= 0 ;
25404 char * kwnames
[] = {
25405 (char *) "self",(char *) "x",(char *) "y", NULL
25408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25410 if (!SWIG_IsOK(res1
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBar *""'");
25413 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25415 if (!SWIG_IsOK(ecode2
)) {
25416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25418 arg2
= static_cast< int >(val2
);
25419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25420 if (!SWIG_IsOK(ecode3
)) {
25421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25423 arg3
= static_cast< int >(val3
);
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25439 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
= 0;
25441 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25442 SwigValueWrapper
<wxVisualAttributes
> result
;
25445 PyObject
* obj0
= 0 ;
25446 char * kwnames
[] = {
25447 (char *) "variant", NULL
25450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25452 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25453 if (!SWIG_IsOK(ecode1
)) {
25454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25456 arg1
= static_cast< wxWindowVariant
>(val1
);
25459 if (!wxPyCheckForApp()) SWIG_fail
;
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25472 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25475 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25476 return SWIG_Py_Void();
25479 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25480 return SWIG_Python_InitShadowInstance(args
);
25483 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25484 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25489 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25490 PyObject
*pyobj
= 0;
25494 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25496 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25503 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
= 0;
25505 wxColour
const &arg1_defvalue
= wxNullColour
;
25506 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25507 wxColour
const &arg2_defvalue
= wxNullColour
;
25508 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25509 wxFont
const &arg3_defvalue
= wxNullFont
;
25510 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25511 wxListItemAttr
*result
= 0 ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 PyObject
* obj2
= 0 ;
25519 char * kwnames
[] = {
25520 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25527 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25537 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25538 if (!SWIG_IsOK(res3
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25544 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25559 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25560 PyObject
*resultobj
= 0;
25561 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25564 PyObject
*swig_obj
[1] ;
25566 if (!args
) SWIG_fail
;
25567 swig_obj
[0] = args
;
25568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25569 if (!SWIG_IsOK(res1
)) {
25570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25572 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_Py_Void();
25587 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
= 0;
25589 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25590 wxColour
*arg2
= 0 ;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 char * kwnames
[] = {
25597 (char *) "self",(char *) "colText", NULL
25600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25602 if (!SWIG_IsOK(res1
)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25605 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25608 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_Py_Void();
25623 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
= 0;
25625 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25626 wxColour
*arg2
= 0 ;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char * kwnames
[] = {
25633 (char *) "self",(char *) "colBack", NULL
25636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25641 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25644 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= SWIG_Py_Void();
25659 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
= 0;
25661 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25667 PyObject
* obj0
= 0 ;
25668 PyObject
* obj1
= 0 ;
25669 char * kwnames
[] = {
25670 (char *) "self",(char *) "font", NULL
25673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25675 if (!SWIG_IsOK(res1
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25678 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25680 if (!SWIG_IsOK(res2
)) {
25681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25686 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 (arg1
)->SetFont((wxFont
const &)*arg2
);
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_Py_Void();
25700 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25701 PyObject
*resultobj
= 0;
25702 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25706 PyObject
*swig_obj
[1] ;
25708 if (!args
) SWIG_fail
;
25709 swig_obj
[0] = args
;
25710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25711 if (!SWIG_IsOK(res1
)) {
25712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25714 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 result
= (bool)(arg1
)->HasTextColour();
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25730 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 PyObject
*resultobj
= 0;
25732 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25736 PyObject
*swig_obj
[1] ;
25738 if (!args
) SWIG_fail
;
25739 swig_obj
[0] = args
;
25740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25741 if (!SWIG_IsOK(res1
)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25744 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 result
= (bool)(arg1
)->HasBackgroundColour();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25760 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25761 PyObject
*resultobj
= 0;
25762 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25766 PyObject
*swig_obj
[1] ;
25768 if (!args
) SWIG_fail
;
25769 swig_obj
[0] = args
;
25770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25774 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (bool)(arg1
)->HasFont();
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25790 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25791 PyObject
*resultobj
= 0;
25792 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25796 PyObject
*swig_obj
[1] ;
25798 if (!args
) SWIG_fail
;
25799 swig_obj
[0] = args
;
25800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25804 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (arg1
)->GetTextColour();
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25818 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25819 PyObject
*resultobj
= 0;
25820 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25824 PyObject
*swig_obj
[1] ;
25826 if (!args
) SWIG_fail
;
25827 swig_obj
[0] = args
;
25828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25832 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (arg1
)->GetBackgroundColour();
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25846 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25847 PyObject
*resultobj
= 0;
25848 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25852 PyObject
*swig_obj
[1] ;
25854 if (!args
) SWIG_fail
;
25855 swig_obj
[0] = args
;
25856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25857 if (!SWIG_IsOK(res1
)) {
25858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25860 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (arg1
)->GetFont();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25874 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
= 0;
25876 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25877 wxListItemAttr
*arg2
= 0 ;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25884 char * kwnames
[] = {
25885 (char *) "self",(char *) "source", NULL
25888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25890 if (!SWIG_IsOK(res1
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25893 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25895 if (!SWIG_IsOK(res2
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25901 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 resultobj
= SWIG_Py_Void();
25915 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25916 PyObject
*resultobj
= 0;
25917 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25920 PyObject
*swig_obj
[1] ;
25922 if (!args
) SWIG_fail
;
25923 swig_obj
[0] = args
;
25924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25925 if (!SWIG_IsOK(res1
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25928 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 wxListItemAttr_Destroy(arg1
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_Py_Void();
25942 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25945 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25946 return SWIG_Py_Void();
25949 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25950 return SWIG_Python_InitShadowInstance(args
);
25953 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25954 PyObject
*resultobj
= 0;
25955 wxListItem
*result
= 0 ;
25957 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (wxListItem
*)new wxListItem();
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
25973 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25974 PyObject
*resultobj
= 0;
25975 wxListItem
*arg1
= (wxListItem
*) 0 ;
25978 PyObject
*swig_obj
[1] ;
25980 if (!args
) SWIG_fail
;
25981 swig_obj
[0] = args
;
25982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
25983 if (!SWIG_IsOK(res1
)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
25986 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= SWIG_Py_Void();
26001 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26002 PyObject
*resultobj
= 0;
26003 wxListItem
*arg1
= (wxListItem
*) 0 ;
26006 PyObject
*swig_obj
[1] ;
26008 if (!args
) SWIG_fail
;
26009 swig_obj
[0] = args
;
26010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26011 if (!SWIG_IsOK(res1
)) {
26012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26014 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 resultobj
= SWIG_Py_Void();
26028 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26029 PyObject
*resultobj
= 0;
26030 wxListItem
*arg1
= (wxListItem
*) 0 ;
26033 PyObject
*swig_obj
[1] ;
26035 if (!args
) SWIG_fail
;
26036 swig_obj
[0] = args
;
26037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26038 if (!SWIG_IsOK(res1
)) {
26039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26041 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 (arg1
)->ClearAttributes();
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_Py_Void();
26055 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
= 0;
26057 wxListItem
*arg1
= (wxListItem
*) 0 ;
26063 PyObject
* obj0
= 0 ;
26064 PyObject
* obj1
= 0 ;
26065 char * kwnames
[] = {
26066 (char *) "self",(char *) "mask", NULL
26069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26071 if (!SWIG_IsOK(res1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26074 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26076 if (!SWIG_IsOK(ecode2
)) {
26077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26079 arg2
= static_cast< long >(val2
);
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 (arg1
)->SetMask(arg2
);
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 resultobj
= SWIG_Py_Void();
26093 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
= 0;
26095 wxListItem
*arg1
= (wxListItem
*) 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char * kwnames
[] = {
26104 (char *) "self",(char *) "id", NULL
26107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26109 if (!SWIG_IsOK(res1
)) {
26110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26112 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26113 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26114 if (!SWIG_IsOK(ecode2
)) {
26115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26117 arg2
= static_cast< long >(val2
);
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 (arg1
)->SetId(arg2
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_Py_Void();
26131 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
= 0;
26133 wxListItem
*arg1
= (wxListItem
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char * kwnames
[] = {
26142 (char *) "self",(char *) "col", NULL
26145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26147 if (!SWIG_IsOK(res1
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26150 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26152 if (!SWIG_IsOK(ecode2
)) {
26153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26155 arg2
= static_cast< int >(val2
);
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 (arg1
)->SetColumn(arg2
);
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_Py_Void();
26169 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
= 0;
26171 wxListItem
*arg1
= (wxListItem
*) 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 char * kwnames
[] = {
26180 (char *) "self",(char *) "state", NULL
26183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26188 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26189 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26190 if (!SWIG_IsOK(ecode2
)) {
26191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26193 arg2
= static_cast< long >(val2
);
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 (arg1
)->SetState(arg2
);
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= SWIG_Py_Void();
26207 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
= 0;
26209 wxListItem
*arg1
= (wxListItem
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 char * kwnames
[] = {
26218 (char *) "self",(char *) "stateMask", NULL
26221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26226 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26227 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26228 if (!SWIG_IsOK(ecode2
)) {
26229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26231 arg2
= static_cast< long >(val2
);
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->SetStateMask(arg2
);
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_Py_Void();
26245 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
= 0;
26247 wxListItem
*arg1
= (wxListItem
*) 0 ;
26248 wxString
*arg2
= 0 ;
26251 bool temp2
= false ;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 char * kwnames
[] = {
26255 (char *) "self",(char *) "text", NULL
26258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26263 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26265 arg2
= wxString_in_helper(obj1
);
26266 if (arg2
== NULL
) SWIG_fail
;
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 (arg1
)->SetText((wxString
const &)*arg2
);
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 resultobj
= SWIG_Py_Void();
26290 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
= 0;
26292 wxListItem
*arg1
= (wxListItem
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char * kwnames
[] = {
26301 (char *) "self",(char *) "image", NULL
26304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26309 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26311 if (!SWIG_IsOK(ecode2
)) {
26312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26314 arg2
= static_cast< int >(val2
);
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->SetImage(arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_Py_Void();
26328 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
= 0;
26330 wxListItem
*arg1
= (wxListItem
*) 0 ;
26336 PyObject
* obj0
= 0 ;
26337 PyObject
* obj1
= 0 ;
26338 char * kwnames
[] = {
26339 (char *) "self",(char *) "data", NULL
26342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26347 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26348 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26349 if (!SWIG_IsOK(ecode2
)) {
26350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26352 arg2
= static_cast< long >(val2
);
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->SetData(arg2
);
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= SWIG_Py_Void();
26366 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= 0;
26368 wxListItem
*arg1
= (wxListItem
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char * kwnames
[] = {
26377 (char *) "self",(char *) "width", NULL
26380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26385 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26387 if (!SWIG_IsOK(ecode2
)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26390 arg2
= static_cast< int >(val2
);
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 (arg1
)->SetWidth(arg2
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= SWIG_Py_Void();
26404 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
= 0;
26406 wxListItem
*arg1
= (wxListItem
*) 0 ;
26407 wxListColumnFormat arg2
;
26412 PyObject
* obj0
= 0 ;
26413 PyObject
* obj1
= 0 ;
26414 char * kwnames
[] = {
26415 (char *) "self",(char *) "align", NULL
26418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26420 if (!SWIG_IsOK(res1
)) {
26421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26423 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26425 if (!SWIG_IsOK(ecode2
)) {
26426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26428 arg2
= static_cast< wxListColumnFormat
>(val2
);
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->SetAlign(arg2
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= SWIG_Py_Void();
26442 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
= 0;
26444 wxListItem
*arg1
= (wxListItem
*) 0 ;
26445 wxColour
*arg2
= 0 ;
26449 PyObject
* obj0
= 0 ;
26450 PyObject
* obj1
= 0 ;
26451 char * kwnames
[] = {
26452 (char *) "self",(char *) "colText", NULL
26455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26457 if (!SWIG_IsOK(res1
)) {
26458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26460 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26463 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_Py_Void();
26478 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26479 PyObject
*resultobj
= 0;
26480 wxListItem
*arg1
= (wxListItem
*) 0 ;
26481 wxColour
*arg2
= 0 ;
26485 PyObject
* obj0
= 0 ;
26486 PyObject
* obj1
= 0 ;
26487 char * kwnames
[] = {
26488 (char *) "self",(char *) "colBack", NULL
26491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26493 if (!SWIG_IsOK(res1
)) {
26494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26496 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_Py_Void();
26514 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
= 0;
26516 wxListItem
*arg1
= (wxListItem
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 char * kwnames
[] = {
26525 (char *) "self",(char *) "font", NULL
26528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26530 if (!SWIG_IsOK(res1
)) {
26531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26533 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26535 if (!SWIG_IsOK(res2
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26541 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 (arg1
)->SetFont((wxFont
const &)*arg2
);
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= SWIG_Py_Void();
26555 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26556 PyObject
*resultobj
= 0;
26557 wxListItem
*arg1
= (wxListItem
*) 0 ;
26561 PyObject
*swig_obj
[1] ;
26563 if (!args
) SWIG_fail
;
26564 swig_obj
[0] = args
;
26565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26566 if (!SWIG_IsOK(res1
)) {
26567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26569 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 result
= (long)(arg1
)->GetMask();
26573 wxPyEndAllowThreads(__tstate
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= SWIG_From_long(static_cast< long >(result
));
26583 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26584 PyObject
*resultobj
= 0;
26585 wxListItem
*arg1
= (wxListItem
*) 0 ;
26589 PyObject
*swig_obj
[1] ;
26591 if (!args
) SWIG_fail
;
26592 swig_obj
[0] = args
;
26593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26594 if (!SWIG_IsOK(res1
)) {
26595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26597 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= (long)(arg1
)->GetId();
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_From_long(static_cast< long >(result
));
26611 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26612 PyObject
*resultobj
= 0;
26613 wxListItem
*arg1
= (wxListItem
*) 0 ;
26617 PyObject
*swig_obj
[1] ;
26619 if (!args
) SWIG_fail
;
26620 swig_obj
[0] = args
;
26621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26622 if (!SWIG_IsOK(res1
)) {
26623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26625 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 result
= (int)(arg1
)->GetColumn();
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_From_int(static_cast< int >(result
));
26639 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26640 PyObject
*resultobj
= 0;
26641 wxListItem
*arg1
= (wxListItem
*) 0 ;
26645 PyObject
*swig_obj
[1] ;
26647 if (!args
) SWIG_fail
;
26648 swig_obj
[0] = args
;
26649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26650 if (!SWIG_IsOK(res1
)) {
26651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26653 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= (long)(arg1
)->GetState();
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_From_long(static_cast< long >(result
));
26667 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26668 PyObject
*resultobj
= 0;
26669 wxListItem
*arg1
= (wxListItem
*) 0 ;
26670 wxString
*result
= 0 ;
26673 PyObject
*swig_obj
[1] ;
26675 if (!args
) SWIG_fail
;
26676 swig_obj
[0] = args
;
26677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26678 if (!SWIG_IsOK(res1
)) {
26679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26681 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 wxString
const &_result_ref
= (arg1
)->GetText();
26686 result
= (wxString
*) &_result_ref
;
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26695 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26704 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26705 PyObject
*resultobj
= 0;
26706 wxListItem
*arg1
= (wxListItem
*) 0 ;
26710 PyObject
*swig_obj
[1] ;
26712 if (!args
) SWIG_fail
;
26713 swig_obj
[0] = args
;
26714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26718 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (int)(arg1
)->GetImage();
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= SWIG_From_int(static_cast< int >(result
));
26732 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26733 PyObject
*resultobj
= 0;
26734 wxListItem
*arg1
= (wxListItem
*) 0 ;
26738 PyObject
*swig_obj
[1] ;
26740 if (!args
) SWIG_fail
;
26741 swig_obj
[0] = args
;
26742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26743 if (!SWIG_IsOK(res1
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26746 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (long)(arg1
)->GetData();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= SWIG_From_long(static_cast< long >(result
));
26760 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26761 PyObject
*resultobj
= 0;
26762 wxListItem
*arg1
= (wxListItem
*) 0 ;
26766 PyObject
*swig_obj
[1] ;
26768 if (!args
) SWIG_fail
;
26769 swig_obj
[0] = args
;
26770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26771 if (!SWIG_IsOK(res1
)) {
26772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26774 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 result
= (int)(arg1
)->GetWidth();
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= SWIG_From_int(static_cast< int >(result
));
26788 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26789 PyObject
*resultobj
= 0;
26790 wxListItem
*arg1
= (wxListItem
*) 0 ;
26791 wxListColumnFormat result
;
26794 PyObject
*swig_obj
[1] ;
26796 if (!args
) SWIG_fail
;
26797 swig_obj
[0] = args
;
26798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26799 if (!SWIG_IsOK(res1
)) {
26800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26802 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= SWIG_From_int(static_cast< int >(result
));
26816 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26817 PyObject
*resultobj
= 0;
26818 wxListItem
*arg1
= (wxListItem
*) 0 ;
26819 wxListItemAttr
*result
= 0 ;
26822 PyObject
*swig_obj
[1] ;
26824 if (!args
) SWIG_fail
;
26825 swig_obj
[0] = args
;
26826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26827 if (!SWIG_IsOK(res1
)) {
26828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26830 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26844 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26845 PyObject
*resultobj
= 0;
26846 wxListItem
*arg1
= (wxListItem
*) 0 ;
26850 PyObject
*swig_obj
[1] ;
26852 if (!args
) SWIG_fail
;
26853 swig_obj
[0] = args
;
26854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26855 if (!SWIG_IsOK(res1
)) {
26856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26858 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26861 result
= (bool)(arg1
)->HasAttributes();
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26874 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26875 PyObject
*resultobj
= 0;
26876 wxListItem
*arg1
= (wxListItem
*) 0 ;
26880 PyObject
*swig_obj
[1] ;
26882 if (!args
) SWIG_fail
;
26883 swig_obj
[0] = args
;
26884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26888 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26902 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 PyObject
*resultobj
= 0;
26904 wxListItem
*arg1
= (wxListItem
*) 0 ;
26908 PyObject
*swig_obj
[1] ;
26910 if (!args
) SWIG_fail
;
26911 swig_obj
[0] = args
;
26912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26916 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26930 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26931 PyObject
*resultobj
= 0;
26932 wxListItem
*arg1
= (wxListItem
*) 0 ;
26936 PyObject
*swig_obj
[1] ;
26938 if (!args
) SWIG_fail
;
26939 swig_obj
[0] = args
;
26940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26941 if (!SWIG_IsOK(res1
)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26944 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26947 result
= ((wxListItem
const *)arg1
)->GetFont();
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26958 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26959 PyObject
*resultobj
= 0;
26960 wxListItem
*arg1
= (wxListItem
*) 0 ;
26966 PyObject
*swig_obj
[2] ;
26968 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
26969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26970 if (!SWIG_IsOK(res1
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26973 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26974 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26975 if (!SWIG_IsOK(ecode2
)) {
26976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
26978 arg2
= static_cast< long >(val2
);
26979 if (arg1
) (arg1
)->m_mask
= arg2
;
26981 resultobj
= SWIG_Py_Void();
26988 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26989 PyObject
*resultobj
= 0;
26990 wxListItem
*arg1
= (wxListItem
*) 0 ;
26994 PyObject
*swig_obj
[1] ;
26996 if (!args
) SWIG_fail
;
26997 swig_obj
[0] = args
;
26998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26999 if (!SWIG_IsOK(res1
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27002 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27003 result
= (long) ((arg1
)->m_mask
);
27004 resultobj
= SWIG_From_long(static_cast< long >(result
));
27011 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27012 PyObject
*resultobj
= 0;
27013 wxListItem
*arg1
= (wxListItem
*) 0 ;
27019 PyObject
*swig_obj
[2] ;
27021 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27023 if (!SWIG_IsOK(res1
)) {
27024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27026 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27027 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27028 if (!SWIG_IsOK(ecode2
)) {
27029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27031 arg2
= static_cast< long >(val2
);
27032 if (arg1
) (arg1
)->m_itemId
= arg2
;
27034 resultobj
= SWIG_Py_Void();
27041 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27042 PyObject
*resultobj
= 0;
27043 wxListItem
*arg1
= (wxListItem
*) 0 ;
27047 PyObject
*swig_obj
[1] ;
27049 if (!args
) SWIG_fail
;
27050 swig_obj
[0] = args
;
27051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27052 if (!SWIG_IsOK(res1
)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27055 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27056 result
= (long) ((arg1
)->m_itemId
);
27057 resultobj
= SWIG_From_long(static_cast< long >(result
));
27064 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27065 PyObject
*resultobj
= 0;
27066 wxListItem
*arg1
= (wxListItem
*) 0 ;
27072 PyObject
*swig_obj
[2] ;
27074 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27079 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27080 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27081 if (!SWIG_IsOK(ecode2
)) {
27082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27084 arg2
= static_cast< int >(val2
);
27085 if (arg1
) (arg1
)->m_col
= arg2
;
27087 resultobj
= SWIG_Py_Void();
27094 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27095 PyObject
*resultobj
= 0;
27096 wxListItem
*arg1
= (wxListItem
*) 0 ;
27100 PyObject
*swig_obj
[1] ;
27102 if (!args
) SWIG_fail
;
27103 swig_obj
[0] = args
;
27104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27108 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27109 result
= (int) ((arg1
)->m_col
);
27110 resultobj
= SWIG_From_int(static_cast< int >(result
));
27117 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27118 PyObject
*resultobj
= 0;
27119 wxListItem
*arg1
= (wxListItem
*) 0 ;
27125 PyObject
*swig_obj
[2] ;
27127 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27129 if (!SWIG_IsOK(res1
)) {
27130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27132 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27133 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27134 if (!SWIG_IsOK(ecode2
)) {
27135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27137 arg2
= static_cast< long >(val2
);
27138 if (arg1
) (arg1
)->m_state
= arg2
;
27140 resultobj
= SWIG_Py_Void();
27147 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27148 PyObject
*resultobj
= 0;
27149 wxListItem
*arg1
= (wxListItem
*) 0 ;
27153 PyObject
*swig_obj
[1] ;
27155 if (!args
) SWIG_fail
;
27156 swig_obj
[0] = args
;
27157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27158 if (!SWIG_IsOK(res1
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27161 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27162 result
= (long) ((arg1
)->m_state
);
27163 resultobj
= SWIG_From_long(static_cast< long >(result
));
27170 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27171 PyObject
*resultobj
= 0;
27172 wxListItem
*arg1
= (wxListItem
*) 0 ;
27178 PyObject
*swig_obj
[2] ;
27180 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27185 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27186 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27187 if (!SWIG_IsOK(ecode2
)) {
27188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27190 arg2
= static_cast< long >(val2
);
27191 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27193 resultobj
= SWIG_Py_Void();
27200 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27201 PyObject
*resultobj
= 0;
27202 wxListItem
*arg1
= (wxListItem
*) 0 ;
27206 PyObject
*swig_obj
[1] ;
27208 if (!args
) SWIG_fail
;
27209 swig_obj
[0] = args
;
27210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27211 if (!SWIG_IsOK(res1
)) {
27212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27214 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27215 result
= (long) ((arg1
)->m_stateMask
);
27216 resultobj
= SWIG_From_long(static_cast< long >(result
));
27223 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27224 PyObject
*resultobj
= 0;
27225 wxListItem
*arg1
= (wxListItem
*) 0 ;
27226 wxString
*arg2
= (wxString
*) 0 ;
27229 bool temp2
= false ;
27230 PyObject
*swig_obj
[2] ;
27232 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27234 if (!SWIG_IsOK(res1
)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27237 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27239 arg2
= wxString_in_helper(swig_obj
[1]);
27240 if (arg2
== NULL
) SWIG_fail
;
27243 if (arg1
) (arg1
)->m_text
= *arg2
;
27245 resultobj
= SWIG_Py_Void();
27260 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27261 PyObject
*resultobj
= 0;
27262 wxListItem
*arg1
= (wxListItem
*) 0 ;
27263 wxString
*result
= 0 ;
27266 PyObject
*swig_obj
[1] ;
27268 if (!args
) SWIG_fail
;
27269 swig_obj
[0] = args
;
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_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27274 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27275 result
= (wxString
*)& ((arg1
)->m_text
);
27278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27289 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27290 PyObject
*resultobj
= 0;
27291 wxListItem
*arg1
= (wxListItem
*) 0 ;
27297 PyObject
*swig_obj
[2] ;
27299 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27301 if (!SWIG_IsOK(res1
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27304 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27305 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27306 if (!SWIG_IsOK(ecode2
)) {
27307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27309 arg2
= static_cast< int >(val2
);
27310 if (arg1
) (arg1
)->m_image
= arg2
;
27312 resultobj
= SWIG_Py_Void();
27319 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27320 PyObject
*resultobj
= 0;
27321 wxListItem
*arg1
= (wxListItem
*) 0 ;
27325 PyObject
*swig_obj
[1] ;
27327 if (!args
) SWIG_fail
;
27328 swig_obj
[0] = args
;
27329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27330 if (!SWIG_IsOK(res1
)) {
27331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27333 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27334 result
= (int) ((arg1
)->m_image
);
27335 resultobj
= SWIG_From_int(static_cast< int >(result
));
27342 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27343 PyObject
*resultobj
= 0;
27344 wxListItem
*arg1
= (wxListItem
*) 0 ;
27350 PyObject
*swig_obj
[2] ;
27352 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27354 if (!SWIG_IsOK(res1
)) {
27355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27357 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27358 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27359 if (!SWIG_IsOK(ecode2
)) {
27360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27362 arg2
= static_cast< long >(val2
);
27363 if (arg1
) (arg1
)->m_data
= arg2
;
27365 resultobj
= SWIG_Py_Void();
27372 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 PyObject
*resultobj
= 0;
27374 wxListItem
*arg1
= (wxListItem
*) 0 ;
27378 PyObject
*swig_obj
[1] ;
27380 if (!args
) SWIG_fail
;
27381 swig_obj
[0] = args
;
27382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27383 if (!SWIG_IsOK(res1
)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27386 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27387 result
= (long) ((arg1
)->m_data
);
27388 resultobj
= SWIG_From_long(static_cast< long >(result
));
27395 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27396 PyObject
*resultobj
= 0;
27397 wxListItem
*arg1
= (wxListItem
*) 0 ;
27403 PyObject
*swig_obj
[2] ;
27405 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27407 if (!SWIG_IsOK(res1
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27410 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27411 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27412 if (!SWIG_IsOK(ecode2
)) {
27413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27415 arg2
= static_cast< int >(val2
);
27416 if (arg1
) (arg1
)->m_format
= arg2
;
27418 resultobj
= SWIG_Py_Void();
27425 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27426 PyObject
*resultobj
= 0;
27427 wxListItem
*arg1
= (wxListItem
*) 0 ;
27431 PyObject
*swig_obj
[1] ;
27433 if (!args
) SWIG_fail
;
27434 swig_obj
[0] = args
;
27435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27436 if (!SWIG_IsOK(res1
)) {
27437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27439 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27440 result
= (int) ((arg1
)->m_format
);
27441 resultobj
= SWIG_From_int(static_cast< int >(result
));
27448 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27449 PyObject
*resultobj
= 0;
27450 wxListItem
*arg1
= (wxListItem
*) 0 ;
27456 PyObject
*swig_obj
[2] ;
27458 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27460 if (!SWIG_IsOK(res1
)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27463 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27464 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27465 if (!SWIG_IsOK(ecode2
)) {
27466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27468 arg2
= static_cast< int >(val2
);
27469 if (arg1
) (arg1
)->m_width
= arg2
;
27471 resultobj
= SWIG_Py_Void();
27478 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27479 PyObject
*resultobj
= 0;
27480 wxListItem
*arg1
= (wxListItem
*) 0 ;
27484 PyObject
*swig_obj
[1] ;
27486 if (!args
) SWIG_fail
;
27487 swig_obj
[0] = args
;
27488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27489 if (!SWIG_IsOK(res1
)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27492 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27493 result
= (int) ((arg1
)->m_width
);
27494 resultobj
= SWIG_From_int(static_cast< int >(result
));
27501 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27504 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27505 return SWIG_Py_Void();
27508 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27509 return SWIG_Python_InitShadowInstance(args
);
27512 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
= 0;
27514 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27515 int arg2
= (int) 0 ;
27516 wxListEvent
*result
= 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char * kwnames
[] = {
27524 (char *) "commandType",(char *) "id", NULL
27527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27530 if (!SWIG_IsOK(ecode1
)) {
27531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27533 arg1
= static_cast< wxEventType
>(val1
);
27536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27537 if (!SWIG_IsOK(ecode2
)) {
27538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27540 arg2
= static_cast< int >(val2
);
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27555 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27556 PyObject
*resultobj
= 0;
27557 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27563 PyObject
*swig_obj
[2] ;
27565 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27567 if (!SWIG_IsOK(res1
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27570 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27571 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27572 if (!SWIG_IsOK(ecode2
)) {
27573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27575 arg2
= static_cast< int >(val2
);
27576 if (arg1
) (arg1
)->m_code
= arg2
;
27578 resultobj
= SWIG_Py_Void();
27585 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27586 PyObject
*resultobj
= 0;
27587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27591 PyObject
*swig_obj
[1] ;
27593 if (!args
) SWIG_fail
;
27594 swig_obj
[0] = args
;
27595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27599 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27600 result
= (int) ((arg1
)->m_code
);
27601 resultobj
= SWIG_From_int(static_cast< int >(result
));
27608 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27609 PyObject
*resultobj
= 0;
27610 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27616 PyObject
*swig_obj
[2] ;
27618 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27620 if (!SWIG_IsOK(res1
)) {
27621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27623 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27624 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27625 if (!SWIG_IsOK(ecode2
)) {
27626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27628 arg2
= static_cast< long >(val2
);
27629 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27631 resultobj
= SWIG_Py_Void();
27638 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27639 PyObject
*resultobj
= 0;
27640 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27644 PyObject
*swig_obj
[1] ;
27646 if (!args
) SWIG_fail
;
27647 swig_obj
[0] = args
;
27648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27649 if (!SWIG_IsOK(res1
)) {
27650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27652 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27653 result
= (long) ((arg1
)->m_oldItemIndex
);
27654 resultobj
= SWIG_From_long(static_cast< long >(result
));
27661 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27662 PyObject
*resultobj
= 0;
27663 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27669 PyObject
*swig_obj
[2] ;
27671 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27673 if (!SWIG_IsOK(res1
)) {
27674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27676 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27677 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27678 if (!SWIG_IsOK(ecode2
)) {
27679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27681 arg2
= static_cast< long >(val2
);
27682 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27684 resultobj
= SWIG_Py_Void();
27691 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27692 PyObject
*resultobj
= 0;
27693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27697 PyObject
*swig_obj
[1] ;
27699 if (!args
) SWIG_fail
;
27700 swig_obj
[0] = args
;
27701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27702 if (!SWIG_IsOK(res1
)) {
27703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27705 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27706 result
= (long) ((arg1
)->m_itemIndex
);
27707 resultobj
= SWIG_From_long(static_cast< long >(result
));
27714 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27715 PyObject
*resultobj
= 0;
27716 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27722 PyObject
*swig_obj
[2] ;
27724 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27726 if (!SWIG_IsOK(res1
)) {
27727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27729 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27730 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27731 if (!SWIG_IsOK(ecode2
)) {
27732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27734 arg2
= static_cast< int >(val2
);
27735 if (arg1
) (arg1
)->m_col
= arg2
;
27737 resultobj
= SWIG_Py_Void();
27744 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27745 PyObject
*resultobj
= 0;
27746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27750 PyObject
*swig_obj
[1] ;
27752 if (!args
) SWIG_fail
;
27753 swig_obj
[0] = args
;
27754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27755 if (!SWIG_IsOK(res1
)) {
27756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27758 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27759 result
= (int) ((arg1
)->m_col
);
27760 resultobj
= SWIG_From_int(static_cast< int >(result
));
27767 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27768 PyObject
*resultobj
= 0;
27769 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27770 wxPoint
*arg2
= (wxPoint
*) 0 ;
27775 PyObject
*swig_obj
[2] ;
27777 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27779 if (!SWIG_IsOK(res1
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27782 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27783 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27784 if (!SWIG_IsOK(res2
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27787 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27788 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27790 resultobj
= SWIG_Py_Void();
27797 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27798 PyObject
*resultobj
= 0;
27799 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27800 wxPoint
*result
= 0 ;
27803 PyObject
*swig_obj
[1] ;
27805 if (!args
) SWIG_fail
;
27806 swig_obj
[0] = args
;
27807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27808 if (!SWIG_IsOK(res1
)) {
27809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27811 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27812 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27820 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27821 PyObject
*resultobj
= 0;
27822 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27823 wxListItem
*result
= 0 ;
27826 PyObject
*swig_obj
[1] ;
27828 if (!args
) SWIG_fail
;
27829 swig_obj
[0] = args
;
27830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27834 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27835 result
= (wxListItem
*)& ((arg1
)->m_item
);
27837 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27845 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27846 PyObject
*resultobj
= 0;
27847 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27851 PyObject
*swig_obj
[1] ;
27853 if (!args
) SWIG_fail
;
27854 swig_obj
[0] = args
;
27855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27856 if (!SWIG_IsOK(res1
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27859 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= (int)(arg1
)->GetKeyCode();
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 resultobj
= SWIG_From_int(static_cast< int >(result
));
27873 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27874 PyObject
*resultobj
= 0;
27875 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27879 PyObject
*swig_obj
[1] ;
27881 if (!args
) SWIG_fail
;
27882 swig_obj
[0] = args
;
27883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27887 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 result
= (long)(arg1
)->GetIndex();
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27894 resultobj
= SWIG_From_long(static_cast< long >(result
));
27901 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27902 PyObject
*resultobj
= 0;
27903 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27907 PyObject
*swig_obj
[1] ;
27909 if (!args
) SWIG_fail
;
27910 swig_obj
[0] = args
;
27911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27912 if (!SWIG_IsOK(res1
)) {
27913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27915 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (int)(arg1
)->GetColumn();
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= SWIG_From_int(static_cast< int >(result
));
27929 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27930 PyObject
*resultobj
= 0;
27931 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27935 PyObject
*swig_obj
[1] ;
27937 if (!args
) SWIG_fail
;
27938 swig_obj
[0] = args
;
27939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27940 if (!SWIG_IsOK(res1
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27943 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (arg1
)->GetPoint();
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27957 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27958 PyObject
*resultobj
= 0;
27959 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27960 wxString
*result
= 0 ;
27963 PyObject
*swig_obj
[1] ;
27965 if (!args
) SWIG_fail
;
27966 swig_obj
[0] = args
;
27967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27968 if (!SWIG_IsOK(res1
)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
27971 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 wxString
const &_result_ref
= (arg1
)->GetLabel();
27976 result
= (wxString
*) &_result_ref
;
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27994 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27995 PyObject
*resultobj
= 0;
27996 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27997 wxString
*result
= 0 ;
28000 PyObject
*swig_obj
[1] ;
28002 if (!args
) SWIG_fail
;
28003 swig_obj
[0] = args
;
28004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28005 if (!SWIG_IsOK(res1
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28008 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 wxString
const &_result_ref
= (arg1
)->GetText();
28013 result
= (wxString
*) &_result_ref
;
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28031 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28032 PyObject
*resultobj
= 0;
28033 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28037 PyObject
*swig_obj
[1] ;
28039 if (!args
) SWIG_fail
;
28040 swig_obj
[0] = args
;
28041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28042 if (!SWIG_IsOK(res1
)) {
28043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28045 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= (int)(arg1
)->GetImage();
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= SWIG_From_int(static_cast< int >(result
));
28059 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28060 PyObject
*resultobj
= 0;
28061 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28065 PyObject
*swig_obj
[1] ;
28067 if (!args
) SWIG_fail
;
28068 swig_obj
[0] = args
;
28069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28070 if (!SWIG_IsOK(res1
)) {
28071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28073 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28076 result
= (long)(arg1
)->GetData();
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= SWIG_From_long(static_cast< long >(result
));
28087 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28088 PyObject
*resultobj
= 0;
28089 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28093 PyObject
*swig_obj
[1] ;
28095 if (!args
) SWIG_fail
;
28096 swig_obj
[0] = args
;
28097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28098 if (!SWIG_IsOK(res1
)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28101 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= (long)(arg1
)->GetMask();
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= SWIG_From_long(static_cast< long >(result
));
28115 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28116 PyObject
*resultobj
= 0;
28117 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28118 wxListItem
*result
= 0 ;
28121 PyObject
*swig_obj
[1] ;
28123 if (!args
) SWIG_fail
;
28124 swig_obj
[0] = args
;
28125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28126 if (!SWIG_IsOK(res1
)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28129 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28134 result
= (wxListItem
*) &_result_ref
;
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28146 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28147 PyObject
*resultobj
= 0;
28148 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28152 PyObject
*swig_obj
[1] ;
28154 if (!args
) SWIG_fail
;
28155 swig_obj
[0] = args
;
28156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28160 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (long)(arg1
)->GetCacheFrom();
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= SWIG_From_long(static_cast< long >(result
));
28174 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28175 PyObject
*resultobj
= 0;
28176 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28180 PyObject
*swig_obj
[1] ;
28182 if (!args
) SWIG_fail
;
28183 swig_obj
[0] = args
;
28184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28185 if (!SWIG_IsOK(res1
)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28188 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 result
= (long)(arg1
)->GetCacheTo();
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= SWIG_From_long(static_cast< long >(result
));
28202 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28203 PyObject
*resultobj
= 0;
28204 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28208 PyObject
*swig_obj
[1] ;
28210 if (!args
) SWIG_fail
;
28211 swig_obj
[0] = args
;
28212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28213 if (!SWIG_IsOK(res1
)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28216 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28232 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
= 0;
28234 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28240 PyObject
* obj0
= 0 ;
28241 PyObject
* obj1
= 0 ;
28242 char * kwnames
[] = {
28243 (char *) "self",(char *) "editCancelled", NULL
28246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28248 if (!SWIG_IsOK(res1
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28251 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28252 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28253 if (!SWIG_IsOK(ecode2
)) {
28254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28256 arg2
= static_cast< bool >(val2
);
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 (arg1
)->SetEditCanceled(arg2
);
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= SWIG_Py_Void();
28270 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28273 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28274 return SWIG_Py_Void();
28277 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28278 return SWIG_Python_InitShadowInstance(args
);
28281 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
= 0;
28283 wxWindow
*arg1
= (wxWindow
*) 0 ;
28284 int arg2
= (int) -1 ;
28285 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28286 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28287 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28288 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28289 long arg5
= (long) wxLC_ICON
;
28290 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28291 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28292 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28293 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28294 wxPyListCtrl
*result
= 0 ;
28305 bool temp7
= false ;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 PyObject
* obj2
= 0 ;
28309 PyObject
* obj3
= 0 ;
28310 PyObject
* obj4
= 0 ;
28311 PyObject
* obj5
= 0 ;
28312 PyObject
* obj6
= 0 ;
28313 char * kwnames
[] = {
28314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28319 if (!SWIG_IsOK(res1
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28325 if (!SWIG_IsOK(ecode2
)) {
28326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28328 arg2
= static_cast< int >(val2
);
28333 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28339 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28343 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28344 if (!SWIG_IsOK(ecode5
)) {
28345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28347 arg5
= static_cast< long >(val5
);
28350 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28351 if (!SWIG_IsOK(res6
)) {
28352 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28357 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28361 arg7
= wxString_in_helper(obj6
);
28362 if (arg7
== NULL
) SWIG_fail
;
28367 if (!wxPyCheckForApp()) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28388 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 PyObject
*resultobj
= 0;
28390 wxPyListCtrl
*result
= 0 ;
28392 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28394 if (!wxPyCheckForApp()) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28407 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
= 0;
28409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28410 wxWindow
*arg2
= (wxWindow
*) 0 ;
28411 int arg3
= (int) -1 ;
28412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28416 long arg6
= (long) wxLC_ICON
;
28417 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28418 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28419 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28420 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28434 bool temp8
= false ;
28435 PyObject
* obj0
= 0 ;
28436 PyObject
* obj1
= 0 ;
28437 PyObject
* obj2
= 0 ;
28438 PyObject
* obj3
= 0 ;
28439 PyObject
* obj4
= 0 ;
28440 PyObject
* obj5
= 0 ;
28441 PyObject
* obj6
= 0 ;
28442 PyObject
* obj7
= 0 ;
28443 char * kwnames
[] = {
28444 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28449 if (!SWIG_IsOK(res1
)) {
28450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28454 if (!SWIG_IsOK(res2
)) {
28455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28460 if (!SWIG_IsOK(ecode3
)) {
28461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28463 arg3
= static_cast< int >(val3
);
28468 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28474 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28478 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28479 if (!SWIG_IsOK(ecode6
)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28482 arg6
= static_cast< long >(val6
);
28485 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28486 if (!SWIG_IsOK(res7
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28492 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28496 arg8
= wxString_in_helper(obj7
);
28497 if (arg8
== NULL
) SWIG_fail
;
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28524 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
= 0;
28526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28527 PyObject
*arg2
= (PyObject
*) 0 ;
28528 PyObject
*arg3
= (PyObject
*) 0 ;
28531 PyObject
* obj0
= 0 ;
28532 PyObject
* obj1
= 0 ;
28533 PyObject
* obj2
= 0 ;
28534 char * kwnames
[] = {
28535 (char *) "self",(char *) "self",(char *) "_class", NULL
28538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28543 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= SWIG_Py_Void();
28559 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
= 0;
28561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28563 wxListItem
*result
= 0 ;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 char * kwnames
[] = {
28571 (char *) "self",(char *) "col", NULL
28574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28579 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28581 if (!SWIG_IsOK(ecode2
)) {
28582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28584 arg2
= static_cast< int >(val2
);
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28600 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
= 0;
28602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28604 wxListItem
*arg3
= 0 ;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 PyObject
* obj2
= 0 ;
28615 char * kwnames
[] = {
28616 (char *) "self",(char *) "col",(char *) "item", NULL
28619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28621 if (!SWIG_IsOK(res1
)) {
28622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28624 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28626 if (!SWIG_IsOK(ecode2
)) {
28627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28629 arg2
= static_cast< int >(val2
);
28630 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28631 if (!SWIG_IsOK(res3
)) {
28632 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28637 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28640 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28641 wxPyEndAllowThreads(__tstate
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28653 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
= 0;
28655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28662 PyObject
* obj0
= 0 ;
28663 PyObject
* obj1
= 0 ;
28664 char * kwnames
[] = {
28665 (char *) "self",(char *) "col", NULL
28668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28670 if (!SWIG_IsOK(res1
)) {
28671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28673 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28675 if (!SWIG_IsOK(ecode2
)) {
28676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28678 arg2
= static_cast< int >(val2
);
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= SWIG_From_int(static_cast< int >(result
));
28692 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
= 0;
28694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 PyObject
* obj2
= 0 ;
28707 char * kwnames
[] = {
28708 (char *) "self",(char *) "col",(char *) "width", NULL
28711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",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_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28716 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28718 if (!SWIG_IsOK(ecode2
)) {
28719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28721 arg2
= static_cast< int >(val2
);
28722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28723 if (!SWIG_IsOK(ecode3
)) {
28724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28726 arg3
= static_cast< int >(val3
);
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28742 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28743 PyObject
*resultobj
= 0;
28744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28748 PyObject
*swig_obj
[1] ;
28750 if (!args
) SWIG_fail
;
28751 swig_obj
[0] = args
;
28752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28753 if (!SWIG_IsOK(res1
)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28756 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= SWIG_From_int(static_cast< int >(result
));
28770 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28771 PyObject
*resultobj
= 0;
28772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28776 PyObject
*swig_obj
[1] ;
28778 if (!args
) SWIG_fail
;
28779 swig_obj
[0] = args
;
28780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28781 if (!SWIG_IsOK(res1
)) {
28782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28784 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28798 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28799 PyObject
*resultobj
= 0;
28800 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28801 wxTextCtrl
*result
= 0 ;
28804 PyObject
*swig_obj
[1] ;
28806 if (!args
) SWIG_fail
;
28807 swig_obj
[0] = args
;
28808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28809 if (!SWIG_IsOK(res1
)) {
28810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28812 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28820 resultobj
= wxPyMake_wxObject(result
, 0);
28828 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
= 0;
28830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28832 int arg3
= (int) 0 ;
28833 wxListItem
*result
= 0 ;
28840 PyObject
* obj0
= 0 ;
28841 PyObject
* obj1
= 0 ;
28842 PyObject
* obj2
= 0 ;
28843 char * kwnames
[] = {
28844 (char *) "self",(char *) "itemId",(char *) "col", NULL
28847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28849 if (!SWIG_IsOK(res1
)) {
28850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28852 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28853 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28854 if (!SWIG_IsOK(ecode2
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28857 arg2
= static_cast< long >(val2
);
28859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28860 if (!SWIG_IsOK(ecode3
)) {
28861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28863 arg3
= static_cast< int >(val3
);
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28880 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
= 0;
28882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28883 wxListItem
*arg2
= 0 ;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 char * kwnames
[] = {
28892 (char *) "self",(char *) "info", NULL
28895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28897 if (!SWIG_IsOK(res1
)) {
28898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28900 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28902 if (!SWIG_IsOK(res2
)) {
28903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28908 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (bool)(arg1
)->SetItem(*arg2
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28924 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
= 0;
28926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28929 wxString
*arg4
= 0 ;
28930 int arg5
= (int) -1 ;
28938 bool temp4
= false ;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 PyObject
* obj2
= 0 ;
28944 PyObject
* obj3
= 0 ;
28945 PyObject
* obj4
= 0 ;
28946 char * kwnames
[] = {
28947 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28952 if (!SWIG_IsOK(res1
)) {
28953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28955 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28956 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28957 if (!SWIG_IsOK(ecode2
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
28960 arg2
= static_cast< long >(val2
);
28961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28962 if (!SWIG_IsOK(ecode3
)) {
28963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
28965 arg3
= static_cast< int >(val3
);
28967 arg4
= wxString_in_helper(obj3
);
28968 if (arg4
== NULL
) SWIG_fail
;
28972 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28973 if (!SWIG_IsOK(ecode5
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
28976 arg5
= static_cast< int >(val5
);
28979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28980 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28984 resultobj
= SWIG_From_long(static_cast< long >(result
));
28999 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29000 PyObject
*resultobj
= 0;
29001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 char * kwnames
[] = {
29015 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29020 if (!SWIG_IsOK(res1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29023 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29024 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29025 if (!SWIG_IsOK(ecode2
)) {
29026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29028 arg2
= static_cast< long >(val2
);
29029 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29030 if (!SWIG_IsOK(ecode3
)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29033 arg3
= static_cast< long >(val3
);
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_From_int(static_cast< int >(result
));
29047 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
= 0;
29049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29062 PyObject
* obj0
= 0 ;
29063 PyObject
* obj1
= 0 ;
29064 PyObject
* obj2
= 0 ;
29065 PyObject
* obj3
= 0 ;
29066 char * kwnames
[] = {
29067 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29072 if (!SWIG_IsOK(res1
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29075 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29076 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29077 if (!SWIG_IsOK(ecode2
)) {
29078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29080 arg2
= static_cast< long >(val2
);
29081 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29082 if (!SWIG_IsOK(ecode3
)) {
29083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29085 arg3
= static_cast< long >(val3
);
29086 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29087 if (!SWIG_IsOK(ecode4
)) {
29088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29090 arg4
= static_cast< long >(val4
);
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29106 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
= 0;
29108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29111 int arg4
= (int) -1 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 PyObject
* obj2
= 0 ;
29124 PyObject
* obj3
= 0 ;
29125 char * kwnames
[] = {
29126 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29131 if (!SWIG_IsOK(res1
)) {
29132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29134 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29136 if (!SWIG_IsOK(ecode2
)) {
29137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29139 arg2
= static_cast< long >(val2
);
29140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29141 if (!SWIG_IsOK(ecode3
)) {
29142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29144 arg3
= static_cast< int >(val3
);
29146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29147 if (!SWIG_IsOK(ecode4
)) {
29148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29150 arg4
= static_cast< int >(val4
);
29153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29154 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29167 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
= 0;
29169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29182 PyObject
* obj0
= 0 ;
29183 PyObject
* obj1
= 0 ;
29184 PyObject
* obj2
= 0 ;
29185 PyObject
* obj3
= 0 ;
29186 char * kwnames
[] = {
29187 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29192 if (!SWIG_IsOK(res1
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29195 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29196 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29197 if (!SWIG_IsOK(ecode2
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29200 arg2
= static_cast< long >(val2
);
29201 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29202 if (!SWIG_IsOK(ecode3
)) {
29203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29205 arg3
= static_cast< long >(val3
);
29206 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29207 if (!SWIG_IsOK(ecode4
)) {
29208 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29210 arg4
= static_cast< int >(val4
);
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29226 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
= 0;
29228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char * kwnames
[] = {
29238 (char *) "self",(char *) "item", NULL
29241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29243 if (!SWIG_IsOK(res1
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29246 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29247 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29248 if (!SWIG_IsOK(ecode2
)) {
29249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29251 arg2
= static_cast< long >(val2
);
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29271 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
= 0;
29273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29275 wxString
*arg3
= 0 ;
29280 bool temp3
= false ;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 PyObject
* obj2
= 0 ;
29284 char * kwnames
[] = {
29285 (char *) "self",(char *) "item",(char *) "str", NULL
29288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29293 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29294 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29295 if (!SWIG_IsOK(ecode2
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29298 arg2
= static_cast< long >(val2
);
29300 arg3
= wxString_in_helper(obj2
);
29301 if (arg3
== NULL
) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= SWIG_Py_Void();
29325 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
= 0;
29327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 char * kwnames
[] = {
29337 (char *) "self",(char *) "item", NULL
29340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29342 if (!SWIG_IsOK(res1
)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29345 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29346 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29347 if (!SWIG_IsOK(ecode2
)) {
29348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29350 arg2
= static_cast< long >(val2
);
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= SWIG_From_long(static_cast< long >(result
));
29364 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
= 0;
29366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 PyObject
* obj1
= 0 ;
29378 PyObject
* obj2
= 0 ;
29379 char * kwnames
[] = {
29380 (char *) "self",(char *) "item",(char *) "data", NULL
29383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29385 if (!SWIG_IsOK(res1
)) {
29386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29388 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29389 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29390 if (!SWIG_IsOK(ecode2
)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29393 arg2
= static_cast< long >(val2
);
29394 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29395 if (!SWIG_IsOK(ecode3
)) {
29396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29398 arg3
= static_cast< long >(val3
);
29400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29401 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29414 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
= 0;
29416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29423 PyObject
* obj0
= 0 ;
29424 PyObject
* obj1
= 0 ;
29425 char * kwnames
[] = {
29426 (char *) "self",(char *) "item", NULL
29429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29431 if (!SWIG_IsOK(res1
)) {
29432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29434 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29435 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29436 if (!SWIG_IsOK(ecode2
)) {
29437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29439 arg2
= static_cast< long >(val2
);
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29453 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
= 0;
29455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29457 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29465 PyObject
* obj0
= 0 ;
29466 PyObject
* obj1
= 0 ;
29467 PyObject
* obj2
= 0 ;
29468 char * kwnames
[] = {
29469 (char *) "self",(char *) "item",(char *) "code", NULL
29472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29474 if (!SWIG_IsOK(res1
)) {
29475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29477 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29478 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29479 if (!SWIG_IsOK(ecode2
)) {
29480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29482 arg2
= static_cast< long >(val2
);
29484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29485 if (!SWIG_IsOK(ecode3
)) {
29486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29488 arg3
= static_cast< int >(val3
);
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29503 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
= 0;
29505 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29507 wxPoint
*arg3
= 0 ;
29514 PyObject
* obj0
= 0 ;
29515 PyObject
* obj1
= 0 ;
29516 PyObject
* obj2
= 0 ;
29517 char * kwnames
[] = {
29518 (char *) "self",(char *) "item",(char *) "pos", NULL
29521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29523 if (!SWIG_IsOK(res1
)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29526 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29527 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29528 if (!SWIG_IsOK(ecode2
)) {
29529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29531 arg2
= static_cast< long >(val2
);
29534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29551 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29552 PyObject
*resultobj
= 0;
29553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29557 PyObject
*swig_obj
[1] ;
29559 if (!args
) SWIG_fail
;
29560 swig_obj
[0] = args
;
29561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29562 if (!SWIG_IsOK(res1
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29565 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= SWIG_From_int(static_cast< int >(result
));
29579 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29580 PyObject
*resultobj
= 0;
29581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29585 PyObject
*swig_obj
[1] ;
29587 if (!args
) SWIG_fail
;
29588 swig_obj
[0] = args
;
29589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29590 if (!SWIG_IsOK(res1
)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29593 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_From_int(static_cast< int >(result
));
29607 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29608 PyObject
*resultobj
= 0;
29609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29613 PyObject
*swig_obj
[1] ;
29615 if (!args
) SWIG_fail
;
29616 swig_obj
[0] = args
;
29617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29621 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29635 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 PyObject
*resultobj
= 0;
29637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29649 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_From_int(static_cast< int >(result
));
29663 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29664 PyObject
*resultobj
= 0;
29665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29669 PyObject
*swig_obj
[1] ;
29671 if (!args
) SWIG_fail
;
29672 swig_obj
[0] = args
;
29673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29677 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29691 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
= 0;
29693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29694 wxColour
*arg2
= 0 ;
29698 PyObject
* obj0
= 0 ;
29699 PyObject
* obj1
= 0 ;
29700 char * kwnames
[] = {
29701 (char *) "self",(char *) "col", NULL
29704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29706 if (!SWIG_IsOK(res1
)) {
29707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29709 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= SWIG_Py_Void();
29727 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29728 PyObject
*resultobj
= 0;
29729 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29733 PyObject
*swig_obj
[1] ;
29735 if (!args
) SWIG_fail
;
29736 swig_obj
[0] = args
;
29737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29738 if (!SWIG_IsOK(res1
)) {
29739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29741 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 resultobj
= SWIG_From_long(static_cast< long >(result
));
29755 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
= 0;
29757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29759 bool arg3
= (bool) true ;
29766 PyObject
* obj0
= 0 ;
29767 PyObject
* obj1
= 0 ;
29768 PyObject
* obj2
= 0 ;
29769 char * kwnames
[] = {
29770 (char *) "self",(char *) "style",(char *) "add", NULL
29773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29775 if (!SWIG_IsOK(res1
)) {
29776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29778 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29779 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29780 if (!SWIG_IsOK(ecode2
)) {
29781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29783 arg2
= static_cast< long >(val2
);
29785 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29786 if (!SWIG_IsOK(ecode3
)) {
29787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29789 arg3
= static_cast< bool >(val3
);
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 (arg1
)->SetSingleStyle(arg2
,arg3
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_Py_Void();
29804 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= 0;
29806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29808 int arg3
= (int) wxLIST_NEXT_ALL
;
29809 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29819 PyObject
* obj0
= 0 ;
29820 PyObject
* obj1
= 0 ;
29821 PyObject
* obj2
= 0 ;
29822 PyObject
* obj3
= 0 ;
29823 char * kwnames
[] = {
29824 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29829 if (!SWIG_IsOK(res1
)) {
29830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29832 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29834 if (!SWIG_IsOK(ecode2
)) {
29835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29837 arg2
= static_cast< long >(val2
);
29839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29840 if (!SWIG_IsOK(ecode3
)) {
29841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29843 arg3
= static_cast< int >(val3
);
29846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29847 if (!SWIG_IsOK(ecode4
)) {
29848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29850 arg4
= static_cast< int >(val4
);
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= SWIG_From_long(static_cast< long >(result
));
29865 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
= 0;
29867 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29869 wxImageList
*result
= 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 char * kwnames
[] = {
29877 (char *) "self",(char *) "which", NULL
29880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29885 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29887 if (!SWIG_IsOK(ecode2
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29890 arg2
= static_cast< int >(val2
);
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29898 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29906 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
= 0;
29908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29909 wxImageList
*arg2
= (wxImageList
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 PyObject
* obj2
= 0 ;
29920 char * kwnames
[] = {
29921 (char *) "self",(char *) "imageList",(char *) "which", NULL
29924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29926 if (!SWIG_IsOK(res1
)) {
29927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29929 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29930 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
29931 if (!SWIG_IsOK(res2
)) {
29932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29934 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
29935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29936 if (!SWIG_IsOK(ecode3
)) {
29937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
29939 arg3
= static_cast< int >(val3
);
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 (arg1
)->SetImageList(arg2
,arg3
);
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= SWIG_Py_Void();
29953 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
= 0;
29955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29956 wxImageList
*arg2
= (wxImageList
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 PyObject
* obj2
= 0 ;
29966 char * kwnames
[] = {
29967 (char *) "self",(char *) "imageList",(char *) "which", NULL
29970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29975 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29976 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
29977 if (!SWIG_IsOK(res2
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29981 if (!SWIG_IsOK(ecode3
)) {
29982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
29984 arg3
= static_cast< int >(val3
);
29986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 (arg1
)->AssignImageList(arg2
,arg3
);
29988 wxPyEndAllowThreads(__tstate
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= SWIG_Py_Void();
29998 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29999 PyObject
*resultobj
= 0;
30000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30004 PyObject
*swig_obj
[1] ;
30006 if (!args
) SWIG_fail
;
30007 swig_obj
[0] = args
;
30008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30009 if (!SWIG_IsOK(res1
)) {
30010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30012 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30028 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30029 PyObject
*resultobj
= 0;
30030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30034 PyObject
*swig_obj
[1] ;
30036 if (!args
) SWIG_fail
;
30037 swig_obj
[0] = args
;
30038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30039 if (!SWIG_IsOK(res1
)) {
30040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30042 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30058 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
= 0;
30060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30066 PyObject
* obj0
= 0 ;
30067 PyObject
* obj1
= 0 ;
30068 char * kwnames
[] = {
30069 (char *) "self",(char *) "item", NULL
30072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30077 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30078 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30079 if (!SWIG_IsOK(ecode2
)) {
30080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30082 arg2
= static_cast< long >(val2
);
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 (arg1
)->RefreshItem(arg2
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= SWIG_Py_Void();
30096 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
= 0;
30098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 PyObject
* obj2
= 0 ;
30110 char * kwnames
[] = {
30111 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30116 if (!SWIG_IsOK(res1
)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30119 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30120 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30121 if (!SWIG_IsOK(ecode2
)) {
30122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30124 arg2
= static_cast< long >(val2
);
30125 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30126 if (!SWIG_IsOK(ecode3
)) {
30127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30129 arg3
= static_cast< long >(val3
);
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 (arg1
)->RefreshItems(arg2
,arg3
);
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= SWIG_Py_Void();
30143 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
= 0;
30145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30146 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 char * kwnames
[] = {
30155 (char *) "self",(char *) "flag", NULL
30158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30160 if (!SWIG_IsOK(res1
)) {
30161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30163 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30166 if (!SWIG_IsOK(ecode2
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30169 arg2
= static_cast< int >(val2
);
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 result
= (bool)(arg1
)->Arrange(arg2
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30186 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30187 PyObject
*resultobj
= 0;
30188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 char * kwnames
[] = {
30198 (char *) "self",(char *) "item", NULL
30201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30203 if (!SWIG_IsOK(res1
)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30206 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30207 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30208 if (!SWIG_IsOK(ecode2
)) {
30209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30211 arg2
= static_cast< long >(val2
);
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 result
= (bool)(arg1
)->DeleteItem(arg2
);
30215 wxPyEndAllowThreads(__tstate
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30227 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30228 PyObject
*resultobj
= 0;
30229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30233 PyObject
*swig_obj
[1] ;
30235 if (!args
) SWIG_fail
;
30236 swig_obj
[0] = args
;
30237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30238 if (!SWIG_IsOK(res1
)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30241 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 result
= (bool)(arg1
)->DeleteAllItems();
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30257 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
= 0;
30259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30266 PyObject
* obj0
= 0 ;
30267 PyObject
* obj1
= 0 ;
30268 char * kwnames
[] = {
30269 (char *) "self",(char *) "col", NULL
30272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30274 if (!SWIG_IsOK(res1
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30277 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30279 if (!SWIG_IsOK(ecode2
)) {
30280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30282 arg2
= static_cast< int >(val2
);
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30298 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30299 PyObject
*resultobj
= 0;
30300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30304 PyObject
*swig_obj
[1] ;
30306 if (!args
) SWIG_fail
;
30307 swig_obj
[0] = args
;
30308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30312 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30315 result
= (bool)(arg1
)->DeleteAllColumns();
30316 wxPyEndAllowThreads(__tstate
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30328 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30329 PyObject
*resultobj
= 0;
30330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30333 PyObject
*swig_obj
[1] ;
30335 if (!args
) SWIG_fail
;
30336 swig_obj
[0] = args
;
30337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30338 if (!SWIG_IsOK(res1
)) {
30339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30344 (arg1
)->ClearAll();
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30348 resultobj
= SWIG_Py_Void();
30355 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30356 PyObject
*resultobj
= 0;
30357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30359 wxTextCtrl
*result
= 0 ;
30364 PyObject
* obj0
= 0 ;
30365 PyObject
* obj1
= 0 ;
30366 char * kwnames
[] = {
30367 (char *) "self",(char *) "item", NULL
30370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30372 if (!SWIG_IsOK(res1
)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30375 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30376 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30377 if (!SWIG_IsOK(ecode2
)) {
30378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30380 arg2
= static_cast< long >(val2
);
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30388 resultobj
= wxPyMake_wxObject(result
, 0);
30396 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
= 0;
30398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30405 PyObject
* obj0
= 0 ;
30406 PyObject
* obj1
= 0 ;
30407 char * kwnames
[] = {
30408 (char *) "self",(char *) "cancel", NULL
30411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30413 if (!SWIG_IsOK(res1
)) {
30414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30416 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30417 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30418 if (!SWIG_IsOK(ecode2
)) {
30419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30421 arg2
= static_cast< bool >(val2
);
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30437 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30438 PyObject
*resultobj
= 0;
30439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char * kwnames
[] = {
30449 (char *) "self",(char *) "item", NULL
30452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30457 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30458 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30459 if (!SWIG_IsOK(ecode2
)) {
30460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30462 arg2
= static_cast< long >(val2
);
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30478 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30479 PyObject
*resultobj
= 0;
30480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30482 wxString
*arg3
= 0 ;
30483 bool arg4
= (bool) false ;
30489 bool temp3
= false ;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 PyObject
* obj2
= 0 ;
30495 PyObject
* obj3
= 0 ;
30496 char * kwnames
[] = {
30497 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30505 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30506 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30507 if (!SWIG_IsOK(ecode2
)) {
30508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30510 arg2
= static_cast< long >(val2
);
30512 arg3
= wxString_in_helper(obj2
);
30513 if (arg3
== NULL
) SWIG_fail
;
30517 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30518 if (!SWIG_IsOK(ecode4
)) {
30519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30521 arg4
= static_cast< bool >(val4
);
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 resultobj
= SWIG_From_long(static_cast< long >(result
));
30544 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
= 0;
30546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 PyObject
* obj2
= 0 ;
30559 char * kwnames
[] = {
30560 (char *) "self",(char *) "start",(char *) "data", NULL
30563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30568 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30569 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30570 if (!SWIG_IsOK(ecode2
)) {
30571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30573 arg2
= static_cast< long >(val2
);
30574 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30575 if (!SWIG_IsOK(ecode3
)) {
30576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30578 arg3
= static_cast< long >(val3
);
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 resultobj
= SWIG_From_long(static_cast< long >(result
));
30592 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
= 0;
30594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30596 wxPoint
*arg3
= 0 ;
30606 PyObject
* obj0
= 0 ;
30607 PyObject
* obj1
= 0 ;
30608 PyObject
* obj2
= 0 ;
30609 PyObject
* obj3
= 0 ;
30610 char * kwnames
[] = {
30611 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30616 if (!SWIG_IsOK(res1
)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30619 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30620 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30621 if (!SWIG_IsOK(ecode2
)) {
30622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30624 arg2
= static_cast< long >(val2
);
30627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30629 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30630 if (!SWIG_IsOK(ecode4
)) {
30631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30633 arg4
= static_cast< int >(val4
);
30635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30636 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= SWIG_From_long(static_cast< long >(result
));
30647 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
= 0;
30649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30650 wxPoint
*arg2
= 0 ;
30657 int res3
= SWIG_TMPOBJ
;
30658 PyObject
* obj0
= 0 ;
30659 PyObject
* obj1
= 0 ;
30660 char * kwnames
[] = {
30661 (char *) "self",(char *) "point", NULL
30665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30667 if (!SWIG_IsOK(res1
)) {
30668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30670 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= SWIG_From_long(static_cast< long >(result
));
30682 if (SWIG_IsTmpObj(res3
)) {
30683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30685 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30694 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
= 0;
30696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30697 wxListItem
*arg2
= 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 char * kwnames
[] = {
30706 (char *) "self",(char *) "info", NULL
30709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30711 if (!SWIG_IsOK(res1
)) {
30712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30714 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30715 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30716 if (!SWIG_IsOK(res2
)) {
30717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30722 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 result
= (long)(arg1
)->InsertItem(*arg2
);
30726 wxPyEndAllowThreads(__tstate
);
30727 if (PyErr_Occurred()) SWIG_fail
;
30729 resultobj
= SWIG_From_long(static_cast< long >(result
));
30736 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30737 PyObject
*resultobj
= 0;
30738 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30740 wxString
*arg3
= 0 ;
30741 int arg4
= (int) -1 ;
30747 bool temp3
= false ;
30750 PyObject
* obj0
= 0 ;
30751 PyObject
* obj1
= 0 ;
30752 PyObject
* obj2
= 0 ;
30753 PyObject
* obj3
= 0 ;
30754 char * kwnames
[] = {
30755 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30760 if (!SWIG_IsOK(res1
)) {
30761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30763 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30764 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30765 if (!SWIG_IsOK(ecode2
)) {
30766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30768 arg2
= static_cast< long >(val2
);
30770 arg3
= wxString_in_helper(obj2
);
30771 if (arg3
== NULL
) SWIG_fail
;
30775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30776 if (!SWIG_IsOK(ecode4
)) {
30777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30779 arg4
= static_cast< int >(val4
);
30782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30783 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= SWIG_From_long(static_cast< long >(result
));
30802 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
= 0;
30804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 PyObject
* obj2
= 0 ;
30817 char * kwnames
[] = {
30818 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30823 if (!SWIG_IsOK(res1
)) {
30824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30826 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30827 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30828 if (!SWIG_IsOK(ecode2
)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30831 arg2
= static_cast< long >(val2
);
30832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30833 if (!SWIG_IsOK(ecode3
)) {
30834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30836 arg3
= static_cast< int >(val3
);
30838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30839 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30840 wxPyEndAllowThreads(__tstate
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30843 resultobj
= SWIG_From_long(static_cast< long >(result
));
30850 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30851 PyObject
*resultobj
= 0;
30852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30854 wxString
*arg3
= 0 ;
30861 bool temp3
= false ;
30864 PyObject
* obj0
= 0 ;
30865 PyObject
* obj1
= 0 ;
30866 PyObject
* obj2
= 0 ;
30867 PyObject
* obj3
= 0 ;
30868 char * kwnames
[] = {
30869 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30874 if (!SWIG_IsOK(res1
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30877 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30878 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30879 if (!SWIG_IsOK(ecode2
)) {
30880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30882 arg2
= static_cast< long >(val2
);
30884 arg3
= wxString_in_helper(obj2
);
30885 if (arg3
== NULL
) SWIG_fail
;
30888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30889 if (!SWIG_IsOK(ecode4
)) {
30890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30892 arg4
= static_cast< int >(val4
);
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30899 resultobj
= SWIG_From_long(static_cast< long >(result
));
30914 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30915 PyObject
*resultobj
= 0;
30916 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30918 wxListItem
*arg3
= 0 ;
30926 PyObject
* obj0
= 0 ;
30927 PyObject
* obj1
= 0 ;
30928 PyObject
* obj2
= 0 ;
30929 char * kwnames
[] = {
30930 (char *) "self",(char *) "col",(char *) "info", NULL
30933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30935 if (!SWIG_IsOK(res1
)) {
30936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30938 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30940 if (!SWIG_IsOK(ecode2
)) {
30941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30943 arg2
= static_cast< long >(val2
);
30944 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30945 if (!SWIG_IsOK(res3
)) {
30946 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30951 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30958 resultobj
= SWIG_From_long(static_cast< long >(result
));
30965 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
= 0;
30967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30969 wxString
*arg3
= 0 ;
30970 int arg4
= (int) wxLIST_FORMAT_LEFT
;
30971 int arg5
= (int) -1 ;
30977 bool temp3
= false ;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 PyObject
* obj2
= 0 ;
30985 PyObject
* obj3
= 0 ;
30986 PyObject
* obj4
= 0 ;
30987 char * kwnames
[] = {
30988 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
30991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30993 if (!SWIG_IsOK(res1
)) {
30994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30996 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30998 if (!SWIG_IsOK(ecode2
)) {
30999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31001 arg2
= static_cast< long >(val2
);
31003 arg3
= wxString_in_helper(obj2
);
31004 if (arg3
== NULL
) SWIG_fail
;
31008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31009 if (!SWIG_IsOK(ecode4
)) {
31010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31012 arg4
= static_cast< int >(val4
);
31015 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31016 if (!SWIG_IsOK(ecode5
)) {
31017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31019 arg5
= static_cast< int >(val5
);
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31027 resultobj
= SWIG_From_long(static_cast< long >(result
));
31042 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
= 0;
31044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "self",(char *) "count", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31061 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31062 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31063 if (!SWIG_IsOK(ecode2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31066 arg2
= static_cast< long >(val2
);
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 (arg1
)->SetItemCount(arg2
);
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= SWIG_Py_Void();
31080 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
= 0;
31082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31092 PyObject
* obj0
= 0 ;
31093 PyObject
* obj1
= 0 ;
31094 PyObject
* obj2
= 0 ;
31095 char * kwnames
[] = {
31096 (char *) "self",(char *) "dx",(char *) "dy", NULL
31099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31101 if (!SWIG_IsOK(res1
)) {
31102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31104 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31106 if (!SWIG_IsOK(ecode2
)) {
31107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31109 arg2
= static_cast< int >(val2
);
31110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31111 if (!SWIG_IsOK(ecode3
)) {
31112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31114 arg3
= static_cast< int >(val3
);
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31130 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
= 0;
31132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31134 wxColour
*arg3
= 0 ;
31140 PyObject
* obj0
= 0 ;
31141 PyObject
* obj1
= 0 ;
31142 PyObject
* obj2
= 0 ;
31143 char * kwnames
[] = {
31144 (char *) "self",(char *) "item",(char *) "col", NULL
31147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31149 if (!SWIG_IsOK(res1
)) {
31150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31152 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31153 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31154 if (!SWIG_IsOK(ecode2
)) {
31155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31157 arg2
= static_cast< long >(val2
);
31160 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31165 wxPyEndAllowThreads(__tstate
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31168 resultobj
= SWIG_Py_Void();
31175 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
= 0;
31177 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31184 PyObject
* obj0
= 0 ;
31185 PyObject
* obj1
= 0 ;
31186 char * kwnames
[] = {
31187 (char *) "self",(char *) "item", NULL
31190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31192 if (!SWIG_IsOK(res1
)) {
31193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31195 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31196 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31197 if (!SWIG_IsOK(ecode2
)) {
31198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31200 arg2
= static_cast< long >(val2
);
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31214 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
= 0;
31216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31218 wxColour
*arg3
= 0 ;
31224 PyObject
* obj0
= 0 ;
31225 PyObject
* obj1
= 0 ;
31226 PyObject
* obj2
= 0 ;
31227 char * kwnames
[] = {
31228 (char *) "self",(char *) "item",(char *) "col", NULL
31231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31233 if (!SWIG_IsOK(res1
)) {
31234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31236 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31237 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31238 if (!SWIG_IsOK(ecode2
)) {
31239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31241 arg2
= static_cast< long >(val2
);
31244 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31249 wxPyEndAllowThreads(__tstate
);
31250 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= SWIG_Py_Void();
31259 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31260 PyObject
*resultobj
= 0;
31261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31268 PyObject
* obj0
= 0 ;
31269 PyObject
* obj1
= 0 ;
31270 char * kwnames
[] = {
31271 (char *) "self",(char *) "item", NULL
31274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31276 if (!SWIG_IsOK(res1
)) {
31277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31279 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31280 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31281 if (!SWIG_IsOK(ecode2
)) {
31282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31284 arg2
= static_cast< long >(val2
);
31286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31287 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31298 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
= 0;
31300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31309 PyObject
* obj0
= 0 ;
31310 PyObject
* obj1
= 0 ;
31311 PyObject
* obj2
= 0 ;
31312 char * kwnames
[] = {
31313 (char *) "self",(char *) "item",(char *) "f", NULL
31316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31318 if (!SWIG_IsOK(res1
)) {
31319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31321 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31322 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31323 if (!SWIG_IsOK(ecode2
)) {
31324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31326 arg2
= static_cast< long >(val2
);
31327 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31328 if (!SWIG_IsOK(res3
)) {
31329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31334 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= SWIG_Py_Void();
31348 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
= 0;
31350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31357 PyObject
* obj0
= 0 ;
31358 PyObject
* obj1
= 0 ;
31359 char * kwnames
[] = {
31360 (char *) "self",(char *) "item", NULL
31363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31365 if (!SWIG_IsOK(res1
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31369 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31370 if (!SWIG_IsOK(ecode2
)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31373 arg2
= static_cast< long >(val2
);
31375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31376 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31377 wxPyEndAllowThreads(__tstate
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31380 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31387 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31388 PyObject
*resultobj
= 0;
31389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31390 PyObject
*arg2
= (PyObject
*) 0 ;
31394 PyObject
* obj0
= 0 ;
31395 PyObject
* obj1
= 0 ;
31396 char * kwnames
[] = {
31397 (char *) "self",(char *) "func", NULL
31400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31402 if (!SWIG_IsOK(res1
)) {
31403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31405 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31422 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31423 PyObject
*resultobj
= 0;
31424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31425 wxWindow
*result
= 0 ;
31428 PyObject
*swig_obj
[1] ;
31430 if (!args
) SWIG_fail
;
31431 swig_obj
[0] = args
;
31432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31433 if (!SWIG_IsOK(res1
)) {
31434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31436 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= wxPyMake_wxObject(result
, 0);
31452 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
= 0;
31454 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31455 SwigValueWrapper
<wxVisualAttributes
> result
;
31458 PyObject
* obj0
= 0 ;
31459 char * kwnames
[] = {
31460 (char *) "variant", NULL
31463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31465 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31466 if (!SWIG_IsOK(ecode1
)) {
31467 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31469 arg1
= static_cast< wxWindowVariant
>(val1
);
31472 if (!wxPyCheckForApp()) SWIG_fail
;
31473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31474 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31475 wxPyEndAllowThreads(__tstate
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31478 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31485 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31488 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31489 return SWIG_Py_Void();
31492 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31493 return SWIG_Python_InitShadowInstance(args
);
31496 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
= 0;
31498 wxWindow
*arg1
= (wxWindow
*) 0 ;
31499 int arg2
= (int) -1 ;
31500 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31501 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31502 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31503 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31504 long arg5
= (long) wxLC_REPORT
;
31505 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31506 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31507 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31508 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31509 wxListView
*result
= 0 ;
31520 bool temp7
= false ;
31521 PyObject
* obj0
= 0 ;
31522 PyObject
* obj1
= 0 ;
31523 PyObject
* obj2
= 0 ;
31524 PyObject
* obj3
= 0 ;
31525 PyObject
* obj4
= 0 ;
31526 PyObject
* obj5
= 0 ;
31527 PyObject
* obj6
= 0 ;
31528 char * kwnames
[] = {
31529 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31534 if (!SWIG_IsOK(res1
)) {
31535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31540 if (!SWIG_IsOK(ecode2
)) {
31541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31543 arg2
= static_cast< int >(val2
);
31548 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31554 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31558 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31559 if (!SWIG_IsOK(ecode5
)) {
31560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31562 arg5
= static_cast< long >(val5
);
31565 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31566 if (!SWIG_IsOK(res6
)) {
31567 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31572 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31576 arg7
= wxString_in_helper(obj6
);
31577 if (arg7
== NULL
) SWIG_fail
;
31582 if (!wxPyCheckForApp()) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31603 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31604 PyObject
*resultobj
= 0;
31605 wxListView
*result
= 0 ;
31607 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31609 if (!wxPyCheckForApp()) SWIG_fail
;
31610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31611 result
= (wxListView
*)new wxListView();
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31622 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
= 0;
31624 wxListView
*arg1
= (wxListView
*) 0 ;
31625 wxWindow
*arg2
= (wxWindow
*) 0 ;
31626 int arg3
= (int) -1 ;
31627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31631 long arg6
= (long) wxLC_REPORT
;
31632 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31633 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31634 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31635 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31649 bool temp8
= false ;
31650 PyObject
* obj0
= 0 ;
31651 PyObject
* obj1
= 0 ;
31652 PyObject
* obj2
= 0 ;
31653 PyObject
* obj3
= 0 ;
31654 PyObject
* obj4
= 0 ;
31655 PyObject
* obj5
= 0 ;
31656 PyObject
* obj6
= 0 ;
31657 PyObject
* obj7
= 0 ;
31658 char * kwnames
[] = {
31659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31664 if (!SWIG_IsOK(res1
)) {
31665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31667 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31669 if (!SWIG_IsOK(res2
)) {
31670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31675 if (!SWIG_IsOK(ecode3
)) {
31676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31678 arg3
= static_cast< int >(val3
);
31683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31693 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31694 if (!SWIG_IsOK(ecode6
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31697 arg6
= static_cast< long >(val6
);
31700 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31701 if (!SWIG_IsOK(res7
)) {
31702 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31707 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31711 arg8
= wxString_in_helper(obj7
);
31712 if (arg8
== NULL
) SWIG_fail
;
31717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31718 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31719 wxPyEndAllowThreads(__tstate
);
31720 if (PyErr_Occurred()) SWIG_fail
;
31723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31739 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
= 0;
31741 wxListView
*arg1
= (wxListView
*) 0 ;
31743 bool arg3
= (bool) true ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 PyObject
* obj2
= 0 ;
31753 char * kwnames
[] = {
31754 (char *) "self",(char *) "n",(char *) "on", NULL
31757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31759 if (!SWIG_IsOK(res1
)) {
31760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31762 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31763 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31764 if (!SWIG_IsOK(ecode2
)) {
31765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31767 arg2
= static_cast< long >(val2
);
31769 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31770 if (!SWIG_IsOK(ecode3
)) {
31771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31773 arg3
= static_cast< bool >(val3
);
31776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 (arg1
)->Select(arg2
,arg3
);
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 resultobj
= SWIG_Py_Void();
31788 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
= 0;
31790 wxListView
*arg1
= (wxListView
*) 0 ;
31796 PyObject
* obj0
= 0 ;
31797 PyObject
* obj1
= 0 ;
31798 char * kwnames
[] = {
31799 (char *) "self",(char *) "index", NULL
31802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31804 if (!SWIG_IsOK(res1
)) {
31805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31807 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31808 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31809 if (!SWIG_IsOK(ecode2
)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31812 arg2
= static_cast< long >(val2
);
31814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31815 (arg1
)->Focus(arg2
);
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= SWIG_Py_Void();
31826 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31827 PyObject
*resultobj
= 0;
31828 wxListView
*arg1
= (wxListView
*) 0 ;
31832 PyObject
*swig_obj
[1] ;
31834 if (!args
) SWIG_fail
;
31835 swig_obj
[0] = args
;
31836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31837 if (!SWIG_IsOK(res1
)) {
31838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31840 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31843 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31844 wxPyEndAllowThreads(__tstate
);
31845 if (PyErr_Occurred()) SWIG_fail
;
31847 resultobj
= SWIG_From_long(static_cast< long >(result
));
31854 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31855 PyObject
*resultobj
= 0;
31856 wxListView
*arg1
= (wxListView
*) 0 ;
31863 PyObject
* obj0
= 0 ;
31864 PyObject
* obj1
= 0 ;
31865 char * kwnames
[] = {
31866 (char *) "self",(char *) "item", NULL
31869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31871 if (!SWIG_IsOK(res1
)) {
31872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31874 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31876 if (!SWIG_IsOK(ecode2
)) {
31877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31879 arg2
= static_cast< long >(val2
);
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31883 wxPyEndAllowThreads(__tstate
);
31884 if (PyErr_Occurred()) SWIG_fail
;
31886 resultobj
= SWIG_From_long(static_cast< long >(result
));
31893 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31894 PyObject
*resultobj
= 0;
31895 wxListView
*arg1
= (wxListView
*) 0 ;
31899 PyObject
*swig_obj
[1] ;
31901 if (!args
) SWIG_fail
;
31902 swig_obj
[0] = args
;
31903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31904 if (!SWIG_IsOK(res1
)) {
31905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31907 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= SWIG_From_long(static_cast< long >(result
));
31921 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31922 PyObject
*resultobj
= 0;
31923 wxListView
*arg1
= (wxListView
*) 0 ;
31930 PyObject
* obj0
= 0 ;
31931 PyObject
* obj1
= 0 ;
31932 char * kwnames
[] = {
31933 (char *) "self",(char *) "index", NULL
31936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31938 if (!SWIG_IsOK(res1
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31941 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31942 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31943 if (!SWIG_IsOK(ecode2
)) {
31944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31946 arg2
= static_cast< long >(val2
);
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 result
= (bool)(arg1
)->IsSelected(arg2
);
31950 wxPyEndAllowThreads(__tstate
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31962 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31963 PyObject
*resultobj
= 0;
31964 wxListView
*arg1
= (wxListView
*) 0 ;
31973 PyObject
* obj0
= 0 ;
31974 PyObject
* obj1
= 0 ;
31975 PyObject
* obj2
= 0 ;
31976 char * kwnames
[] = {
31977 (char *) "self",(char *) "col",(char *) "image", NULL
31980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31982 if (!SWIG_IsOK(res1
)) {
31983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31985 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31987 if (!SWIG_IsOK(ecode2
)) {
31988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
31990 arg2
= static_cast< int >(val2
);
31991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31992 if (!SWIG_IsOK(ecode3
)) {
31993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
31995 arg3
= static_cast< int >(val3
);
31997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31998 (arg1
)->SetColumnImage(arg2
,arg3
);
31999 wxPyEndAllowThreads(__tstate
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= SWIG_Py_Void();
32009 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
= 0;
32011 wxListView
*arg1
= (wxListView
*) 0 ;
32017 PyObject
* obj0
= 0 ;
32018 PyObject
* obj1
= 0 ;
32019 char * kwnames
[] = {
32020 (char *) "self",(char *) "col", NULL
32023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32025 if (!SWIG_IsOK(res1
)) {
32026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32028 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32030 if (!SWIG_IsOK(ecode2
)) {
32031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32033 arg2
= static_cast< int >(val2
);
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 (arg1
)->ClearColumnImage(arg2
);
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32040 resultobj
= SWIG_Py_Void();
32047 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32050 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32051 return SWIG_Py_Void();
32054 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32055 return SWIG_Python_InitShadowInstance(args
);
32058 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32059 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32064 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32065 PyObject
*pyobj
= 0;
32069 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32071 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32078 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32079 PyObject
*resultobj
= 0;
32080 wxTreeItemId
*result
= 0 ;
32082 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 result
= (wxTreeItemId
*)new wxTreeItemId();
32086 wxPyEndAllowThreads(__tstate
);
32087 if (PyErr_Occurred()) SWIG_fail
;
32089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32096 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32097 PyObject
*resultobj
= 0;
32098 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32101 PyObject
*swig_obj
[1] ;
32103 if (!args
) SWIG_fail
;
32104 swig_obj
[0] = args
;
32105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32106 if (!SWIG_IsOK(res1
)) {
32107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32109 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32117 resultobj
= SWIG_Py_Void();
32124 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32125 PyObject
*resultobj
= 0;
32126 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32130 PyObject
*swig_obj
[1] ;
32132 if (!args
) SWIG_fail
;
32133 swig_obj
[0] = args
;
32134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32135 if (!SWIG_IsOK(res1
)) {
32136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32138 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32154 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32155 PyObject
*resultobj
= 0;
32156 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32157 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32163 PyObject
* obj0
= 0 ;
32164 PyObject
* obj1
= 0 ;
32165 char * kwnames
[] = {
32166 (char *) "self",(char *) "other", NULL
32169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32171 if (!SWIG_IsOK(res1
)) {
32172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32174 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32176 if (!SWIG_IsOK(res2
)) {
32177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32179 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32195 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
= 0;
32197 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32198 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32204 PyObject
* obj0
= 0 ;
32205 PyObject
* obj1
= 0 ;
32206 char * kwnames
[] = {
32207 (char *) "self",(char *) "other", NULL
32210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32212 if (!SWIG_IsOK(res1
)) {
32213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32215 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32217 if (!SWIG_IsOK(res2
)) {
32218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32220 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32224 wxPyEndAllowThreads(__tstate
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32236 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32237 PyObject
*resultobj
= 0;
32238 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32239 void *arg2
= (void *) 0 ;
32243 PyObject
*swig_obj
[2] ;
32245 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32247 if (!SWIG_IsOK(res1
)) {
32248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32250 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32251 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32252 if (!SWIG_IsOK(res2
)) {
32253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32255 if (arg1
) (arg1
)->m_pItem
= arg2
;
32257 resultobj
= SWIG_Py_Void();
32264 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32265 PyObject
*resultobj
= 0;
32266 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32270 PyObject
*swig_obj
[1] ;
32272 if (!args
) SWIG_fail
;
32273 swig_obj
[0] = args
;
32274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32275 if (!SWIG_IsOK(res1
)) {
32276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32278 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32279 result
= (void *) ((arg1
)->m_pItem
);
32280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32287 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32290 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32291 return SWIG_Py_Void();
32294 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32295 return SWIG_Python_InitShadowInstance(args
);
32298 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32299 PyObject
*resultobj
= 0;
32300 PyObject
*arg1
= (PyObject
*) NULL
;
32301 wxPyTreeItemData
*result
= 0 ;
32302 PyObject
* obj0
= 0 ;
32303 char * kwnames
[] = {
32304 (char *) "obj", NULL
32307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32313 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32314 wxPyEndAllowThreads(__tstate
);
32315 if (PyErr_Occurred()) SWIG_fail
;
32317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32324 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32325 PyObject
*resultobj
= 0;
32326 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32329 PyObject
*swig_obj
[1] ;
32331 if (!args
) SWIG_fail
;
32332 swig_obj
[0] = args
;
32333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32334 if (!SWIG_IsOK(res1
)) {
32335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32337 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 wxPyEndAllowThreads(__tstate
);
32343 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= SWIG_Py_Void();
32352 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32353 PyObject
*resultobj
= 0;
32354 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32355 PyObject
*result
= 0 ;
32358 PyObject
*swig_obj
[1] ;
32360 if (!args
) SWIG_fail
;
32361 swig_obj
[0] = args
;
32362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32363 if (!SWIG_IsOK(res1
)) {
32364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32366 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32369 result
= (PyObject
*)(arg1
)->GetData();
32370 wxPyEndAllowThreads(__tstate
);
32371 if (PyErr_Occurred()) SWIG_fail
;
32373 resultobj
= result
;
32380 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32381 PyObject
*resultobj
= 0;
32382 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32383 PyObject
*arg2
= (PyObject
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 char * kwnames
[] = {
32389 (char *) "self",(char *) "obj", NULL
32392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32394 if (!SWIG_IsOK(res1
)) {
32395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32397 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->SetData(arg2
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_Py_Void();
32412 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32413 PyObject
*resultobj
= 0;
32414 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32415 wxTreeItemId
*result
= 0 ;
32418 PyObject
*swig_obj
[1] ;
32420 if (!args
) SWIG_fail
;
32421 swig_obj
[0] = args
;
32422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32423 if (!SWIG_IsOK(res1
)) {
32424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32426 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32431 result
= (wxTreeItemId
*) &_result_ref
;
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32443 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32444 PyObject
*resultobj
= 0;
32445 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32446 wxTreeItemId
*arg2
= 0 ;
32451 PyObject
* obj0
= 0 ;
32452 PyObject
* obj1
= 0 ;
32453 char * kwnames
[] = {
32454 (char *) "self",(char *) "id", NULL
32457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32459 if (!SWIG_IsOK(res1
)) {
32460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32462 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32464 if (!SWIG_IsOK(res2
)) {
32465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32474 wxPyEndAllowThreads(__tstate
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32477 resultobj
= SWIG_Py_Void();
32484 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32485 PyObject
*resultobj
= 0;
32486 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32489 PyObject
*swig_obj
[1] ;
32491 if (!args
) SWIG_fail
;
32492 swig_obj
[0] = args
;
32493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32494 if (!SWIG_IsOK(res1
)) {
32495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32497 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 wxPyTreeItemData_Destroy(arg1
);
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32504 resultobj
= SWIG_Py_Void();
32511 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32515 return SWIG_Py_Void();
32518 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32519 return SWIG_Python_InitShadowInstance(args
);
32522 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32523 PyObject
*resultobj
= 0;
32524 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32525 int arg2
= (int) 0 ;
32526 wxTreeEvent
*result
= 0 ;
32531 PyObject
* obj0
= 0 ;
32532 PyObject
* obj1
= 0 ;
32533 char * kwnames
[] = {
32534 (char *) "commandType",(char *) "id", NULL
32537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32539 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32540 if (!SWIG_IsOK(ecode1
)) {
32541 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32543 arg1
= static_cast< wxEventType
>(val1
);
32546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32547 if (!SWIG_IsOK(ecode2
)) {
32548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32550 arg2
= static_cast< int >(val2
);
32553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32554 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32555 wxPyEndAllowThreads(__tstate
);
32556 if (PyErr_Occurred()) SWIG_fail
;
32558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32565 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32566 PyObject
*resultobj
= 0;
32567 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32568 wxTreeItemId result
;
32571 PyObject
*swig_obj
[1] ;
32573 if (!args
) SWIG_fail
;
32574 swig_obj
[0] = args
;
32575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32576 if (!SWIG_IsOK(res1
)) {
32577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32579 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32583 wxPyEndAllowThreads(__tstate
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32593 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32594 PyObject
*resultobj
= 0;
32595 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32596 wxTreeItemId
*arg2
= 0 ;
32601 PyObject
* obj0
= 0 ;
32602 PyObject
* obj1
= 0 ;
32603 char * kwnames
[] = {
32604 (char *) "self",(char *) "item", NULL
32607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32609 if (!SWIG_IsOK(res1
)) {
32610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32612 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32614 if (!SWIG_IsOK(res2
)) {
32615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32620 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= SWIG_Py_Void();
32634 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32635 PyObject
*resultobj
= 0;
32636 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32637 wxTreeItemId result
;
32640 PyObject
*swig_obj
[1] ;
32642 if (!args
) SWIG_fail
;
32643 swig_obj
[0] = args
;
32644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32645 if (!SWIG_IsOK(res1
)) {
32646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32648 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32662 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32663 PyObject
*resultobj
= 0;
32664 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32665 wxTreeItemId
*arg2
= 0 ;
32670 PyObject
* obj0
= 0 ;
32671 PyObject
* obj1
= 0 ;
32672 char * kwnames
[] = {
32673 (char *) "self",(char *) "item", NULL
32676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32678 if (!SWIG_IsOK(res1
)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32681 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32683 if (!SWIG_IsOK(res2
)) {
32684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32689 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32696 resultobj
= SWIG_Py_Void();
32703 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32704 PyObject
*resultobj
= 0;
32705 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32709 PyObject
*swig_obj
[1] ;
32711 if (!args
) SWIG_fail
;
32712 swig_obj
[0] = args
;
32713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32714 if (!SWIG_IsOK(res1
)) {
32715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32717 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32731 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32732 PyObject
*resultobj
= 0;
32733 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32734 wxPoint
*arg2
= 0 ;
32738 PyObject
* obj0
= 0 ;
32739 PyObject
* obj1
= 0 ;
32740 char * kwnames
[] = {
32741 (char *) "self",(char *) "pt", NULL
32744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32746 if (!SWIG_IsOK(res1
)) {
32747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32749 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32757 wxPyEndAllowThreads(__tstate
);
32758 if (PyErr_Occurred()) SWIG_fail
;
32760 resultobj
= SWIG_Py_Void();
32767 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32768 PyObject
*resultobj
= 0;
32769 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32770 wxKeyEvent
*result
= 0 ;
32773 PyObject
*swig_obj
[1] ;
32775 if (!args
) SWIG_fail
;
32776 swig_obj
[0] = args
;
32777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32778 if (!SWIG_IsOK(res1
)) {
32779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32781 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32786 result
= (wxKeyEvent
*) &_result_ref
;
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32798 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32799 PyObject
*resultobj
= 0;
32800 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32804 PyObject
*swig_obj
[1] ;
32806 if (!args
) SWIG_fail
;
32807 swig_obj
[0] = args
;
32808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32809 if (!SWIG_IsOK(res1
)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32812 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= SWIG_From_int(static_cast< int >(result
));
32826 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32827 PyObject
*resultobj
= 0;
32828 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32829 wxKeyEvent
*arg2
= 0 ;
32834 PyObject
* obj0
= 0 ;
32835 PyObject
* obj1
= 0 ;
32836 char * kwnames
[] = {
32837 (char *) "self",(char *) "evt", NULL
32840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32842 if (!SWIG_IsOK(res1
)) {
32843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32845 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32847 if (!SWIG_IsOK(res2
)) {
32848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32853 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= SWIG_Py_Void();
32867 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32868 PyObject
*resultobj
= 0;
32869 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32870 wxString
*result
= 0 ;
32873 PyObject
*swig_obj
[1] ;
32875 if (!args
) SWIG_fail
;
32876 swig_obj
[0] = args
;
32877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32878 if (!SWIG_IsOK(res1
)) {
32879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32881 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32886 result
= (wxString
*) &_result_ref
;
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32895 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32904 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32905 PyObject
*resultobj
= 0;
32906 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32907 wxString
*arg2
= 0 ;
32910 bool temp2
= false ;
32911 PyObject
* obj0
= 0 ;
32912 PyObject
* obj1
= 0 ;
32913 char * kwnames
[] = {
32914 (char *) "self",(char *) "label", NULL
32917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32919 if (!SWIG_IsOK(res1
)) {
32920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32922 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32924 arg2
= wxString_in_helper(obj1
);
32925 if (arg2
== NULL
) SWIG_fail
;
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 (arg1
)->SetLabel((wxString
const &)*arg2
);
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= SWIG_Py_Void();
32949 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32950 PyObject
*resultobj
= 0;
32951 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32955 PyObject
*swig_obj
[1] ;
32957 if (!args
) SWIG_fail
;
32958 swig_obj
[0] = args
;
32959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32960 if (!SWIG_IsOK(res1
)) {
32961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32963 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32979 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32980 PyObject
*resultobj
= 0;
32981 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32987 PyObject
* obj0
= 0 ;
32988 PyObject
* obj1
= 0 ;
32989 char * kwnames
[] = {
32990 (char *) "self",(char *) "editCancelled", NULL
32993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32995 if (!SWIG_IsOK(res1
)) {
32996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32998 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32999 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33000 if (!SWIG_IsOK(ecode2
)) {
33001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33003 arg2
= static_cast< bool >(val2
);
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 (arg1
)->SetEditCanceled(arg2
);
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= SWIG_Py_Void();
33017 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
= 0;
33019 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33020 wxString
*arg2
= 0 ;
33023 bool temp2
= false ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 char * kwnames
[] = {
33027 (char *) "self",(char *) "toolTip", NULL
33030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33035 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33037 arg2
= wxString_in_helper(obj1
);
33038 if (arg2
== NULL
) SWIG_fail
;
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= SWIG_Py_Void();
33062 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33063 PyObject
*resultobj
= 0;
33064 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33068 PyObject
*swig_obj
[1] ;
33070 if (!args
) SWIG_fail
;
33071 swig_obj
[0] = args
;
33072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33073 if (!SWIG_IsOK(res1
)) {
33074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33076 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 result
= (arg1
)->GetToolTip();
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33096 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33099 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33100 return SWIG_Py_Void();
33103 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33104 return SWIG_Python_InitShadowInstance(args
);
33107 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33108 PyObject
*resultobj
= 0;
33109 wxWindow
*arg1
= (wxWindow
*) 0 ;
33110 int arg2
= (int) -1 ;
33111 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33112 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33113 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33114 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33115 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33116 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33117 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33118 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33119 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33120 wxPyTreeCtrl
*result
= 0 ;
33131 bool temp7
= false ;
33132 PyObject
* obj0
= 0 ;
33133 PyObject
* obj1
= 0 ;
33134 PyObject
* obj2
= 0 ;
33135 PyObject
* obj3
= 0 ;
33136 PyObject
* obj4
= 0 ;
33137 PyObject
* obj5
= 0 ;
33138 PyObject
* obj6
= 0 ;
33139 char * kwnames
[] = {
33140 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33151 if (!SWIG_IsOK(ecode2
)) {
33152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33154 arg2
= static_cast< int >(val2
);
33159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33165 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33169 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33170 if (!SWIG_IsOK(ecode5
)) {
33171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33173 arg5
= static_cast< long >(val5
);
33176 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33177 if (!SWIG_IsOK(res6
)) {
33178 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33183 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33187 arg7
= wxString_in_helper(obj6
);
33188 if (arg7
== NULL
) SWIG_fail
;
33193 if (!wxPyCheckForApp()) SWIG_fail
;
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33214 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33215 PyObject
*resultobj
= 0;
33216 wxPyTreeCtrl
*result
= 0 ;
33218 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33220 if (!wxPyCheckForApp()) SWIG_fail
;
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33223 wxPyEndAllowThreads(__tstate
);
33224 if (PyErr_Occurred()) SWIG_fail
;
33226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33233 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33234 PyObject
*resultobj
= 0;
33235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33236 wxWindow
*arg2
= (wxWindow
*) 0 ;
33237 int arg3
= (int) -1 ;
33238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33242 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33243 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33244 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33245 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33246 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33260 bool temp8
= false ;
33261 PyObject
* obj0
= 0 ;
33262 PyObject
* obj1
= 0 ;
33263 PyObject
* obj2
= 0 ;
33264 PyObject
* obj3
= 0 ;
33265 PyObject
* obj4
= 0 ;
33266 PyObject
* obj5
= 0 ;
33267 PyObject
* obj6
= 0 ;
33268 PyObject
* obj7
= 0 ;
33269 char * kwnames
[] = {
33270 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33275 if (!SWIG_IsOK(res1
)) {
33276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33278 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33280 if (!SWIG_IsOK(res2
)) {
33281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33283 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33286 if (!SWIG_IsOK(ecode3
)) {
33287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33289 arg3
= static_cast< int >(val3
);
33294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33304 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33305 if (!SWIG_IsOK(ecode6
)) {
33306 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33308 arg6
= static_cast< long >(val6
);
33311 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33312 if (!SWIG_IsOK(res7
)) {
33313 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33318 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33322 arg8
= wxString_in_helper(obj7
);
33323 if (arg8
== NULL
) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33350 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33351 PyObject
*resultobj
= 0;
33352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33353 PyObject
*arg2
= (PyObject
*) 0 ;
33354 PyObject
*arg3
= (PyObject
*) 0 ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 PyObject
* obj2
= 0 ;
33360 char * kwnames
[] = {
33361 (char *) "self",(char *) "self",(char *) "_class", NULL
33364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33366 if (!SWIG_IsOK(res1
)) {
33367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33369 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33374 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33378 resultobj
= SWIG_Py_Void();
33385 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33386 PyObject
*resultobj
= 0;
33387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33391 PyObject
*swig_obj
[1] ;
33393 if (!args
) SWIG_fail
;
33394 swig_obj
[0] = args
;
33395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33396 if (!SWIG_IsOK(res1
)) {
33397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33402 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33403 wxPyEndAllowThreads(__tstate
);
33404 if (PyErr_Occurred()) SWIG_fail
;
33406 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33413 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33414 PyObject
*resultobj
= 0;
33415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33416 unsigned int result
;
33419 PyObject
*swig_obj
[1] ;
33421 if (!args
) SWIG_fail
;
33422 swig_obj
[0] = args
;
33423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33424 if (!SWIG_IsOK(res1
)) {
33425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33427 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33430 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33431 wxPyEndAllowThreads(__tstate
);
33432 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33441 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33442 PyObject
*resultobj
= 0;
33443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33444 unsigned int arg2
;
33447 unsigned int val2
;
33449 PyObject
* obj0
= 0 ;
33450 PyObject
* obj1
= 0 ;
33451 char * kwnames
[] = {
33452 (char *) "self",(char *) "indent", NULL
33455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33457 if (!SWIG_IsOK(res1
)) {
33458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33460 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33461 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33462 if (!SWIG_IsOK(ecode2
)) {
33463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33465 arg2
= static_cast< unsigned int >(val2
);
33467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33468 (arg1
)->SetIndent(arg2
);
33469 wxPyEndAllowThreads(__tstate
);
33470 if (PyErr_Occurred()) SWIG_fail
;
33472 resultobj
= SWIG_Py_Void();
33479 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33480 PyObject
*resultobj
= 0;
33481 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33482 unsigned int result
;
33485 PyObject
*swig_obj
[1] ;
33487 if (!args
) SWIG_fail
;
33488 swig_obj
[0] = args
;
33489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33490 if (!SWIG_IsOK(res1
)) {
33491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33493 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33507 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33508 PyObject
*resultobj
= 0;
33509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33510 unsigned int arg2
;
33513 unsigned int val2
;
33515 PyObject
* obj0
= 0 ;
33516 PyObject
* obj1
= 0 ;
33517 char * kwnames
[] = {
33518 (char *) "self",(char *) "spacing", NULL
33521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",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_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33527 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33528 if (!SWIG_IsOK(ecode2
)) {
33529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33531 arg2
= static_cast< unsigned int >(val2
);
33533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33534 (arg1
)->SetSpacing(arg2
);
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33538 resultobj
= SWIG_Py_Void();
33545 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33546 PyObject
*resultobj
= 0;
33547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33548 wxImageList
*result
= 0 ;
33551 PyObject
*swig_obj
[1] ;
33553 if (!args
) SWIG_fail
;
33554 swig_obj
[0] = args
;
33555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33556 if (!SWIG_IsOK(res1
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33559 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33575 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33576 PyObject
*resultobj
= 0;
33577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33578 wxImageList
*result
= 0 ;
33581 PyObject
*swig_obj
[1] ;
33583 if (!args
) SWIG_fail
;
33584 swig_obj
[0] = args
;
33585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33586 if (!SWIG_IsOK(res1
)) {
33587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33589 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33605 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33606 PyObject
*resultobj
= 0;
33607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33608 wxImageList
*arg2
= (wxImageList
*) 0 ;
33613 PyObject
* obj0
= 0 ;
33614 PyObject
* obj1
= 0 ;
33615 char * kwnames
[] = {
33616 (char *) "self",(char *) "imageList", NULL
33619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33621 if (!SWIG_IsOK(res1
)) {
33622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33624 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33626 if (!SWIG_IsOK(res2
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33629 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 (arg1
)->SetImageList(arg2
);
33633 wxPyEndAllowThreads(__tstate
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33636 resultobj
= SWIG_Py_Void();
33643 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33644 PyObject
*resultobj
= 0;
33645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33646 wxImageList
*arg2
= (wxImageList
*) 0 ;
33651 PyObject
* obj0
= 0 ;
33652 PyObject
* obj1
= 0 ;
33653 char * kwnames
[] = {
33654 (char *) "self",(char *) "imageList", NULL
33657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33659 if (!SWIG_IsOK(res1
)) {
33660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33662 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33664 if (!SWIG_IsOK(res2
)) {
33665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33667 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33670 (arg1
)->SetStateImageList(arg2
);
33671 wxPyEndAllowThreads(__tstate
);
33672 if (PyErr_Occurred()) SWIG_fail
;
33674 resultobj
= SWIG_Py_Void();
33681 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33682 PyObject
*resultobj
= 0;
33683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33684 wxImageList
*arg2
= (wxImageList
*) 0 ;
33688 PyObject
* obj0
= 0 ;
33689 PyObject
* obj1
= 0 ;
33690 char * kwnames
[] = {
33691 (char *) "self",(char *) "imageList", NULL
33694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33696 if (!SWIG_IsOK(res1
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33699 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33700 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33701 if (!SWIG_IsOK(res2
)) {
33702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 (arg1
)->AssignImageList(arg2
);
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_Py_Void();
33717 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
= 0;
33719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33720 wxImageList
*arg2
= (wxImageList
*) 0 ;
33724 PyObject
* obj0
= 0 ;
33725 PyObject
* obj1
= 0 ;
33726 char * kwnames
[] = {
33727 (char *) "self",(char *) "imageList", NULL
33730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33732 if (!SWIG_IsOK(res1
)) {
33733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33735 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33736 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33737 if (!SWIG_IsOK(res2
)) {
33738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 (arg1
)->AssignStateImageList(arg2
);
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 resultobj
= SWIG_Py_Void();
33753 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33754 PyObject
*resultobj
= 0;
33755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33756 wxTreeItemId
*arg2
= 0 ;
33762 PyObject
* obj0
= 0 ;
33763 PyObject
* obj1
= 0 ;
33764 char * kwnames
[] = {
33765 (char *) "self",(char *) "item", NULL
33768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33770 if (!SWIG_IsOK(res1
)) {
33771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33775 if (!SWIG_IsOK(res2
)) {
33776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33781 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33784 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33785 wxPyEndAllowThreads(__tstate
);
33786 if (PyErr_Occurred()) SWIG_fail
;
33790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33801 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
= 0;
33803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33804 wxTreeItemId
*arg2
= 0 ;
33805 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33813 PyObject
* obj0
= 0 ;
33814 PyObject
* obj1
= 0 ;
33815 PyObject
* obj2
= 0 ;
33816 char * kwnames
[] = {
33817 (char *) "self",(char *) "item",(char *) "which", NULL
33820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33822 if (!SWIG_IsOK(res1
)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33825 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33827 if (!SWIG_IsOK(res2
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33833 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33836 if (!SWIG_IsOK(ecode3
)) {
33837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33839 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33843 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33844 wxPyEndAllowThreads(__tstate
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33847 resultobj
= SWIG_From_int(static_cast< int >(result
));
33854 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33855 PyObject
*resultobj
= 0;
33856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33857 wxTreeItemId
*arg2
= 0 ;
33858 wxPyTreeItemData
*result
= 0 ;
33863 PyObject
* obj0
= 0 ;
33864 PyObject
* obj1
= 0 ;
33865 char * kwnames
[] = {
33866 (char *) "self",(char *) "item", NULL
33869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33871 if (!SWIG_IsOK(res1
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33874 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33876 if (!SWIG_IsOK(res2
)) {
33877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33882 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33885 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33896 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
= 0;
33898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33899 wxTreeItemId
*arg2
= 0 ;
33900 PyObject
*result
= 0 ;
33905 PyObject
* obj0
= 0 ;
33906 PyObject
* obj1
= 0 ;
33907 char * kwnames
[] = {
33908 (char *) "self",(char *) "item", NULL
33911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33913 if (!SWIG_IsOK(res1
)) {
33914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33918 if (!SWIG_IsOK(res2
)) {
33919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33924 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33927 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33931 resultobj
= result
;
33938 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33939 PyObject
*resultobj
= 0;
33940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33941 wxTreeItemId
*arg2
= 0 ;
33947 PyObject
* obj0
= 0 ;
33948 PyObject
* obj1
= 0 ;
33949 char * kwnames
[] = {
33950 (char *) "self",(char *) "item", NULL
33953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33955 if (!SWIG_IsOK(res1
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33958 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33960 if (!SWIG_IsOK(res2
)) {
33961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33966 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33969 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33980 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
= 0;
33982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33983 wxTreeItemId
*arg2
= 0 ;
33989 PyObject
* obj0
= 0 ;
33990 PyObject
* obj1
= 0 ;
33991 char * kwnames
[] = {
33992 (char *) "self",(char *) "item", NULL
33995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33997 if (!SWIG_IsOK(res1
)) {
33998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34000 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34002 if (!SWIG_IsOK(res2
)) {
34003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34008 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34022 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34023 PyObject
*resultobj
= 0;
34024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34025 wxTreeItemId
*arg2
= 0 ;
34031 PyObject
* obj0
= 0 ;
34032 PyObject
* obj1
= 0 ;
34033 char * kwnames
[] = {
34034 (char *) "self",(char *) "item", NULL
34037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34039 if (!SWIG_IsOK(res1
)) {
34040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34042 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34044 if (!SWIG_IsOK(res2
)) {
34045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34050 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34053 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34054 wxPyEndAllowThreads(__tstate
);
34055 if (PyErr_Occurred()) SWIG_fail
;
34057 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34064 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34065 PyObject
*resultobj
= 0;
34066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34067 wxTreeItemId
*arg2
= 0 ;
34068 wxString
*arg3
= 0 ;
34073 bool temp3
= false ;
34074 PyObject
* obj0
= 0 ;
34075 PyObject
* obj1
= 0 ;
34076 PyObject
* obj2
= 0 ;
34077 char * kwnames
[] = {
34078 (char *) "self",(char *) "item",(char *) "text", NULL
34081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34083 if (!SWIG_IsOK(res1
)) {
34084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34086 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34088 if (!SWIG_IsOK(res2
)) {
34089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34094 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34096 arg3
= wxString_in_helper(obj2
);
34097 if (arg3
== NULL
) SWIG_fail
;
34101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34102 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34103 wxPyEndAllowThreads(__tstate
);
34104 if (PyErr_Occurred()) SWIG_fail
;
34106 resultobj
= SWIG_Py_Void();
34121 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
= 0;
34123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34124 wxTreeItemId
*arg2
= 0 ;
34126 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34135 PyObject
* obj0
= 0 ;
34136 PyObject
* obj1
= 0 ;
34137 PyObject
* obj2
= 0 ;
34138 PyObject
* obj3
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34150 if (!SWIG_IsOK(res2
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34158 if (!SWIG_IsOK(ecode3
)) {
34159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34161 arg3
= static_cast< int >(val3
);
34163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34164 if (!SWIG_IsOK(ecode4
)) {
34165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34167 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34171 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34172 wxPyEndAllowThreads(__tstate
);
34173 if (PyErr_Occurred()) SWIG_fail
;
34175 resultobj
= SWIG_Py_Void();
34182 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34183 PyObject
*resultobj
= 0;
34184 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34185 wxTreeItemId
*arg2
= 0 ;
34186 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34192 PyObject
* obj0
= 0 ;
34193 PyObject
* obj1
= 0 ;
34194 PyObject
* obj2
= 0 ;
34195 char * kwnames
[] = {
34196 (char *) "self",(char *) "item",(char *) "data", NULL
34199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34201 if (!SWIG_IsOK(res1
)) {
34202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34204 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34206 if (!SWIG_IsOK(res2
)) {
34207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34212 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34213 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34214 if (!SWIG_IsOK(res3
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34223 resultobj
= SWIG_Py_Void();
34230 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
= 0;
34232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34233 wxTreeItemId
*arg2
= 0 ;
34234 PyObject
*arg3
= (PyObject
*) 0 ;
34239 PyObject
* obj0
= 0 ;
34240 PyObject
* obj1
= 0 ;
34241 PyObject
* obj2
= 0 ;
34242 char * kwnames
[] = {
34243 (char *) "self",(char *) "item",(char *) "obj", NULL
34246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34248 if (!SWIG_IsOK(res1
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34251 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34253 if (!SWIG_IsOK(res2
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34259 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34263 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34267 resultobj
= SWIG_Py_Void();
34274 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34275 PyObject
*resultobj
= 0;
34276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34277 wxTreeItemId
*arg2
= 0 ;
34278 bool arg3
= (bool) true ;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 PyObject
* obj2
= 0 ;
34288 char * kwnames
[] = {
34289 (char *) "self",(char *) "item",(char *) "has", NULL
34292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34297 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34299 if (!SWIG_IsOK(res2
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34305 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34307 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34308 if (!SWIG_IsOK(ecode3
)) {
34309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34311 arg3
= static_cast< bool >(val3
);
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 resultobj
= SWIG_Py_Void();
34326 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34327 PyObject
*resultobj
= 0;
34328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34329 wxTreeItemId
*arg2
= 0 ;
34330 bool arg3
= (bool) true ;
34337 PyObject
* obj0
= 0 ;
34338 PyObject
* obj1
= 0 ;
34339 PyObject
* obj2
= 0 ;
34340 char * kwnames
[] = {
34341 (char *) "self",(char *) "item",(char *) "bold", NULL
34344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34346 if (!SWIG_IsOK(res1
)) {
34347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34349 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34351 if (!SWIG_IsOK(res2
)) {
34352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34357 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34359 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34360 if (!SWIG_IsOK(ecode3
)) {
34361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34363 arg3
= static_cast< bool >(val3
);
34366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34367 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34368 wxPyEndAllowThreads(__tstate
);
34369 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= SWIG_Py_Void();
34378 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34379 PyObject
*resultobj
= 0;
34380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34381 wxTreeItemId
*arg2
= 0 ;
34382 bool arg3
= (bool) true ;
34389 PyObject
* obj0
= 0 ;
34390 PyObject
* obj1
= 0 ;
34391 PyObject
* obj2
= 0 ;
34392 char * kwnames
[] = {
34393 (char *) "self",(char *) "item",(char *) "highlight", NULL
34396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34401 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34403 if (!SWIG_IsOK(res2
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34409 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34411 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34412 if (!SWIG_IsOK(ecode3
)) {
34413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34415 arg3
= static_cast< bool >(val3
);
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34423 resultobj
= SWIG_Py_Void();
34430 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34431 PyObject
*resultobj
= 0;
34432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34433 wxTreeItemId
*arg2
= 0 ;
34434 wxColour
*arg3
= 0 ;
34440 PyObject
* obj0
= 0 ;
34441 PyObject
* obj1
= 0 ;
34442 PyObject
* obj2
= 0 ;
34443 char * kwnames
[] = {
34444 (char *) "self",(char *) "item",(char *) "col", NULL
34447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34449 if (!SWIG_IsOK(res1
)) {
34450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34452 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34454 if (!SWIG_IsOK(res2
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34460 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34463 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34467 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34471 resultobj
= SWIG_Py_Void();
34478 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
= 0;
34480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34481 wxTreeItemId
*arg2
= 0 ;
34482 wxColour
*arg3
= 0 ;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 PyObject
* obj2
= 0 ;
34491 char * kwnames
[] = {
34492 (char *) "self",(char *) "item",(char *) "col", NULL
34495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34497 if (!SWIG_IsOK(res1
)) {
34498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34500 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34502 if (!SWIG_IsOK(res2
)) {
34503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34508 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34511 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34515 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34519 resultobj
= SWIG_Py_Void();
34526 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
= 0;
34528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34529 wxTreeItemId
*arg2
= 0 ;
34537 PyObject
* obj0
= 0 ;
34538 PyObject
* obj1
= 0 ;
34539 PyObject
* obj2
= 0 ;
34540 char * kwnames
[] = {
34541 (char *) "self",(char *) "item",(char *) "font", NULL
34544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34546 if (!SWIG_IsOK(res1
)) {
34547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34549 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34551 if (!SWIG_IsOK(res2
)) {
34552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34557 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34558 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34559 if (!SWIG_IsOK(res3
)) {
34560 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34565 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34569 wxPyEndAllowThreads(__tstate
);
34570 if (PyErr_Occurred()) SWIG_fail
;
34572 resultobj
= SWIG_Py_Void();
34579 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34580 PyObject
*resultobj
= 0;
34581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34582 wxTreeItemId
*arg2
= 0 ;
34588 PyObject
* obj0
= 0 ;
34589 PyObject
* obj1
= 0 ;
34590 char * kwnames
[] = {
34591 (char *) "self",(char *) "item", NULL
34594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34596 if (!SWIG_IsOK(res1
)) {
34597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34599 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34601 if (!SWIG_IsOK(res2
)) {
34602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34607 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34610 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34611 wxPyEndAllowThreads(__tstate
);
34612 if (PyErr_Occurred()) SWIG_fail
;
34615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34623 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34624 PyObject
*resultobj
= 0;
34625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34626 wxTreeItemId
*arg2
= 0 ;
34632 PyObject
* obj0
= 0 ;
34633 PyObject
* obj1
= 0 ;
34634 char * kwnames
[] = {
34635 (char *) "self",(char *) "item", NULL
34638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34640 if (!SWIG_IsOK(res1
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34643 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34645 if (!SWIG_IsOK(res2
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34651 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34654 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34655 wxPyEndAllowThreads(__tstate
);
34656 if (PyErr_Occurred()) SWIG_fail
;
34659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34667 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34668 PyObject
*resultobj
= 0;
34669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34670 wxTreeItemId
*arg2
= 0 ;
34676 PyObject
* obj0
= 0 ;
34677 PyObject
* obj1
= 0 ;
34678 char * kwnames
[] = {
34679 (char *) "self",(char *) "item", NULL
34682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) 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_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34695 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34698 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34711 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34712 PyObject
*resultobj
= 0;
34713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34714 wxTreeItemId
*arg2
= 0 ;
34720 PyObject
* obj0
= 0 ;
34721 PyObject
* obj1
= 0 ;
34722 char * kwnames
[] = {
34723 (char *) "self",(char *) "item", NULL
34726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34728 if (!SWIG_IsOK(res1
)) {
34729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34731 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34733 if (!SWIG_IsOK(res2
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34739 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34743 wxPyEndAllowThreads(__tstate
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34755 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34756 PyObject
*resultobj
= 0;
34757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34758 wxTreeItemId
*arg2
= 0 ;
34764 PyObject
* obj0
= 0 ;
34765 PyObject
* obj1
= 0 ;
34766 char * kwnames
[] = {
34767 (char *) "self",(char *) "item", NULL
34770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34772 if (!SWIG_IsOK(res1
)) {
34773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34775 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34777 if (!SWIG_IsOK(res2
)) {
34778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34783 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34799 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34800 PyObject
*resultobj
= 0;
34801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34802 wxTreeItemId
*arg2
= 0 ;
34803 bool arg3
= (bool) true ;
34811 PyObject
* obj0
= 0 ;
34812 PyObject
* obj1
= 0 ;
34813 PyObject
* obj2
= 0 ;
34814 char * kwnames
[] = {
34815 (char *) "self",(char *) "item",(char *) "recursively", NULL
34818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34820 if (!SWIG_IsOK(res1
)) {
34821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34823 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34825 if (!SWIG_IsOK(res2
)) {
34826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34831 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34833 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34834 if (!SWIG_IsOK(ecode3
)) {
34835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34837 arg3
= static_cast< bool >(val3
);
34840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34841 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34842 wxPyEndAllowThreads(__tstate
);
34843 if (PyErr_Occurred()) SWIG_fail
;
34845 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34852 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34853 PyObject
*resultobj
= 0;
34854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34855 wxTreeItemId result
;
34858 PyObject
*swig_obj
[1] ;
34860 if (!args
) SWIG_fail
;
34861 swig_obj
[0] = args
;
34862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34863 if (!SWIG_IsOK(res1
)) {
34864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34866 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34869 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34870 wxPyEndAllowThreads(__tstate
);
34871 if (PyErr_Occurred()) SWIG_fail
;
34873 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34880 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34881 PyObject
*resultobj
= 0;
34882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34883 wxTreeItemId result
;
34886 PyObject
*swig_obj
[1] ;
34888 if (!args
) SWIG_fail
;
34889 swig_obj
[0] = args
;
34890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34891 if (!SWIG_IsOK(res1
)) {
34892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34894 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34897 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34898 wxPyEndAllowThreads(__tstate
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34901 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34908 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34909 PyObject
*resultobj
= 0;
34910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34911 PyObject
*result
= 0 ;
34914 PyObject
*swig_obj
[1] ;
34916 if (!args
) SWIG_fail
;
34917 swig_obj
[0] = args
;
34918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34919 if (!SWIG_IsOK(res1
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34929 resultobj
= result
;
34936 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
= 0;
34938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34939 wxTreeItemId
*arg2
= 0 ;
34940 wxTreeItemId result
;
34945 PyObject
* obj0
= 0 ;
34946 PyObject
* obj1
= 0 ;
34947 char * kwnames
[] = {
34948 (char *) "self",(char *) "item", NULL
34951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34953 if (!SWIG_IsOK(res1
)) {
34954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34956 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34958 if (!SWIG_IsOK(res2
)) {
34959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34964 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34967 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34971 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34978 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
= 0;
34980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34981 wxTreeItemId
*arg2
= 0 ;
34982 PyObject
*result
= 0 ;
34987 PyObject
* obj0
= 0 ;
34988 PyObject
* obj1
= 0 ;
34989 char * kwnames
[] = {
34990 (char *) "self",(char *) "item", NULL
34993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34995 if (!SWIG_IsOK(res1
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35000 if (!SWIG_IsOK(res2
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35006 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35010 wxPyEndAllowThreads(__tstate
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35013 resultobj
= result
;
35020 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
= 0;
35022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35023 wxTreeItemId
*arg2
= 0 ;
35024 void *arg3
= (void *) 0 ;
35025 PyObject
*result
= 0 ;
35031 PyObject
* obj0
= 0 ;
35032 PyObject
* obj1
= 0 ;
35033 PyObject
* obj2
= 0 ;
35034 char * kwnames
[] = {
35035 (char *) "self",(char *) "item",(char *) "cookie", NULL
35038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35040 if (!SWIG_IsOK(res1
)) {
35041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35043 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35045 if (!SWIG_IsOK(res2
)) {
35046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35051 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35052 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35053 if (!SWIG_IsOK(res3
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35059 wxPyEndAllowThreads(__tstate
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35062 resultobj
= result
;
35069 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35070 PyObject
*resultobj
= 0;
35071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35072 wxTreeItemId
*arg2
= 0 ;
35073 wxTreeItemId result
;
35078 PyObject
* obj0
= 0 ;
35079 PyObject
* obj1
= 0 ;
35080 char * kwnames
[] = {
35081 (char *) "self",(char *) "item", NULL
35084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35086 if (!SWIG_IsOK(res1
)) {
35087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35089 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35091 if (!SWIG_IsOK(res2
)) {
35092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35097 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35100 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35104 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35111 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35112 PyObject
*resultobj
= 0;
35113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35114 wxTreeItemId
*arg2
= 0 ;
35115 wxTreeItemId result
;
35120 PyObject
* obj0
= 0 ;
35121 PyObject
* obj1
= 0 ;
35122 char * kwnames
[] = {
35123 (char *) "self",(char *) "item", NULL
35126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35128 if (!SWIG_IsOK(res1
)) {
35129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35131 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35133 if (!SWIG_IsOK(res2
)) {
35134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35139 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35142 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35146 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35153 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35154 PyObject
*resultobj
= 0;
35155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35156 wxTreeItemId
*arg2
= 0 ;
35157 wxTreeItemId result
;
35162 PyObject
* obj0
= 0 ;
35163 PyObject
* obj1
= 0 ;
35164 char * kwnames
[] = {
35165 (char *) "self",(char *) "item", NULL
35168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35170 if (!SWIG_IsOK(res1
)) {
35171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35175 if (!SWIG_IsOK(res2
)) {
35176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35181 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35195 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35196 PyObject
*resultobj
= 0;
35197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35198 wxTreeItemId result
;
35201 PyObject
*swig_obj
[1] ;
35203 if (!args
) SWIG_fail
;
35204 swig_obj
[0] = args
;
35205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35206 if (!SWIG_IsOK(res1
)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35209 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35212 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35216 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35223 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
= 0;
35225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35226 wxTreeItemId
*arg2
= 0 ;
35227 wxTreeItemId result
;
35232 PyObject
* obj0
= 0 ;
35233 PyObject
* obj1
= 0 ;
35234 char * kwnames
[] = {
35235 (char *) "self",(char *) "item", NULL
35238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35240 if (!SWIG_IsOK(res1
)) {
35241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35243 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35245 if (!SWIG_IsOK(res2
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35251 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35254 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35255 wxPyEndAllowThreads(__tstate
);
35256 if (PyErr_Occurred()) SWIG_fail
;
35258 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35265 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35266 PyObject
*resultobj
= 0;
35267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35268 wxTreeItemId
*arg2
= 0 ;
35269 wxTreeItemId result
;
35274 PyObject
* obj0
= 0 ;
35275 PyObject
* obj1
= 0 ;
35276 char * kwnames
[] = {
35277 (char *) "self",(char *) "item", NULL
35280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35282 if (!SWIG_IsOK(res1
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35285 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35287 if (!SWIG_IsOK(res2
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35293 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35296 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35297 wxPyEndAllowThreads(__tstate
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35300 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35307 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
= 0;
35309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35310 wxString
*arg2
= 0 ;
35311 int arg3
= (int) -1 ;
35312 int arg4
= (int) -1 ;
35313 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35314 wxTreeItemId result
;
35317 bool temp2
= false ;
35323 PyObject
* obj0
= 0 ;
35324 PyObject
* obj1
= 0 ;
35325 PyObject
* obj2
= 0 ;
35326 PyObject
* obj3
= 0 ;
35327 PyObject
* obj4
= 0 ;
35328 char * kwnames
[] = {
35329 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35334 if (!SWIG_IsOK(res1
)) {
35335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35339 arg2
= wxString_in_helper(obj1
);
35340 if (arg2
== NULL
) SWIG_fail
;
35344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35345 if (!SWIG_IsOK(ecode3
)) {
35346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35348 arg3
= static_cast< int >(val3
);
35351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35352 if (!SWIG_IsOK(ecode4
)) {
35353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35355 arg4
= static_cast< int >(val4
);
35358 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35359 if (!SWIG_IsOK(res5
)) {
35360 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35384 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35385 PyObject
*resultobj
= 0;
35386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35387 wxTreeItemId
*arg2
= 0 ;
35388 wxString
*arg3
= 0 ;
35389 int arg4
= (int) -1 ;
35390 int arg5
= (int) -1 ;
35391 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35392 wxTreeItemId result
;
35397 bool temp3
= false ;
35403 PyObject
* obj0
= 0 ;
35404 PyObject
* obj1
= 0 ;
35405 PyObject
* obj2
= 0 ;
35406 PyObject
* obj3
= 0 ;
35407 PyObject
* obj4
= 0 ;
35408 PyObject
* obj5
= 0 ;
35409 char * kwnames
[] = {
35410 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35415 if (!SWIG_IsOK(res1
)) {
35416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35418 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35420 if (!SWIG_IsOK(res2
)) {
35421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35426 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35428 arg3
= wxString_in_helper(obj2
);
35429 if (arg3
== NULL
) SWIG_fail
;
35433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35434 if (!SWIG_IsOK(ecode4
)) {
35435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35437 arg4
= static_cast< int >(val4
);
35440 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35441 if (!SWIG_IsOK(ecode5
)) {
35442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35444 arg5
= static_cast< int >(val5
);
35447 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35448 if (!SWIG_IsOK(res6
)) {
35449 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35454 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35455 wxPyEndAllowThreads(__tstate
);
35456 if (PyErr_Occurred()) SWIG_fail
;
35458 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35473 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35474 PyObject
*resultobj
= 0;
35475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35476 wxTreeItemId
*arg2
= 0 ;
35477 wxTreeItemId
*arg3
= 0 ;
35478 wxString
*arg4
= 0 ;
35479 int arg5
= (int) -1 ;
35480 int arg6
= (int) -1 ;
35481 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35482 wxTreeItemId result
;
35489 bool temp4
= false ;
35495 PyObject
* obj0
= 0 ;
35496 PyObject
* obj1
= 0 ;
35497 PyObject
* obj2
= 0 ;
35498 PyObject
* obj3
= 0 ;
35499 PyObject
* obj4
= 0 ;
35500 PyObject
* obj5
= 0 ;
35501 PyObject
* obj6
= 0 ;
35502 char * kwnames
[] = {
35503 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35508 if (!SWIG_IsOK(res1
)) {
35509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35511 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35513 if (!SWIG_IsOK(res2
)) {
35514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35519 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35520 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35521 if (!SWIG_IsOK(res3
)) {
35522 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35527 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35529 arg4
= wxString_in_helper(obj3
);
35530 if (arg4
== NULL
) SWIG_fail
;
35534 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35535 if (!SWIG_IsOK(ecode5
)) {
35536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35538 arg5
= static_cast< int >(val5
);
35541 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35542 if (!SWIG_IsOK(ecode6
)) {
35543 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35545 arg6
= static_cast< int >(val6
);
35548 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35549 if (!SWIG_IsOK(res7
)) {
35550 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35556 wxPyEndAllowThreads(__tstate
);
35557 if (PyErr_Occurred()) SWIG_fail
;
35559 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35574 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35575 PyObject
*resultobj
= 0;
35576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35577 wxTreeItemId
*arg2
= 0 ;
35579 wxString
*arg4
= 0 ;
35580 int arg5
= (int) -1 ;
35581 int arg6
= (int) -1 ;
35582 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35583 wxTreeItemId result
;
35590 bool temp4
= false ;
35596 PyObject
* obj0
= 0 ;
35597 PyObject
* obj1
= 0 ;
35598 PyObject
* obj2
= 0 ;
35599 PyObject
* obj3
= 0 ;
35600 PyObject
* obj4
= 0 ;
35601 PyObject
* obj5
= 0 ;
35602 PyObject
* obj6
= 0 ;
35603 char * kwnames
[] = {
35604 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35609 if (!SWIG_IsOK(res1
)) {
35610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35612 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35614 if (!SWIG_IsOK(res2
)) {
35615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35620 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35621 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35622 if (!SWIG_IsOK(ecode3
)) {
35623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35625 arg3
= static_cast< size_t >(val3
);
35627 arg4
= wxString_in_helper(obj3
);
35628 if (arg4
== NULL
) SWIG_fail
;
35632 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35633 if (!SWIG_IsOK(ecode5
)) {
35634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35636 arg5
= static_cast< int >(val5
);
35639 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35640 if (!SWIG_IsOK(ecode6
)) {
35641 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35643 arg6
= static_cast< int >(val6
);
35646 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35647 if (!SWIG_IsOK(res7
)) {
35648 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35657 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35672 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
= 0;
35674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35675 wxTreeItemId
*arg2
= 0 ;
35676 wxString
*arg3
= 0 ;
35677 int arg4
= (int) -1 ;
35678 int arg5
= (int) -1 ;
35679 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35680 wxTreeItemId result
;
35685 bool temp3
= false ;
35691 PyObject
* obj0
= 0 ;
35692 PyObject
* obj1
= 0 ;
35693 PyObject
* obj2
= 0 ;
35694 PyObject
* obj3
= 0 ;
35695 PyObject
* obj4
= 0 ;
35696 PyObject
* obj5
= 0 ;
35697 char * kwnames
[] = {
35698 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35703 if (!SWIG_IsOK(res1
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35706 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35708 if (!SWIG_IsOK(res2
)) {
35709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35714 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35716 arg3
= wxString_in_helper(obj2
);
35717 if (arg3
== NULL
) SWIG_fail
;
35721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35722 if (!SWIG_IsOK(ecode4
)) {
35723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35725 arg4
= static_cast< int >(val4
);
35728 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35729 if (!SWIG_IsOK(ecode5
)) {
35730 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35732 arg5
= static_cast< int >(val5
);
35735 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35736 if (!SWIG_IsOK(res6
)) {
35737 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35742 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35761 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35762 PyObject
*resultobj
= 0;
35763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35764 wxTreeItemId
*arg2
= 0 ;
35769 PyObject
* obj0
= 0 ;
35770 PyObject
* obj1
= 0 ;
35771 char * kwnames
[] = {
35772 (char *) "self",(char *) "item", NULL
35775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35777 if (!SWIG_IsOK(res1
)) {
35778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35780 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35782 if (!SWIG_IsOK(res2
)) {
35783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35788 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35791 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35792 wxPyEndAllowThreads(__tstate
);
35793 if (PyErr_Occurred()) SWIG_fail
;
35795 resultobj
= SWIG_Py_Void();
35802 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35803 PyObject
*resultobj
= 0;
35804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35805 wxTreeItemId
*arg2
= 0 ;
35810 PyObject
* obj0
= 0 ;
35811 PyObject
* obj1
= 0 ;
35812 char * kwnames
[] = {
35813 (char *) "self",(char *) "item", NULL
35816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35818 if (!SWIG_IsOK(res1
)) {
35819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35821 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35823 if (!SWIG_IsOK(res2
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35829 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 resultobj
= SWIG_Py_Void();
35843 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35844 PyObject
*resultobj
= 0;
35845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35848 PyObject
*swig_obj
[1] ;
35850 if (!args
) SWIG_fail
;
35851 swig_obj
[0] = args
;
35852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35853 if (!SWIG_IsOK(res1
)) {
35854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35856 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35859 (arg1
)->DeleteAllItems();
35860 wxPyEndAllowThreads(__tstate
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35863 resultobj
= SWIG_Py_Void();
35870 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35871 PyObject
*resultobj
= 0;
35872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35873 wxTreeItemId
*arg2
= 0 ;
35878 PyObject
* obj0
= 0 ;
35879 PyObject
* obj1
= 0 ;
35880 char * kwnames
[] = {
35881 (char *) "self",(char *) "item", NULL
35884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35886 if (!SWIG_IsOK(res1
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35889 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35891 if (!SWIG_IsOK(res2
)) {
35892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35897 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35900 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35901 wxPyEndAllowThreads(__tstate
);
35902 if (PyErr_Occurred()) SWIG_fail
;
35904 resultobj
= SWIG_Py_Void();
35911 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35912 PyObject
*resultobj
= 0;
35913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35914 wxTreeItemId
*arg2
= 0 ;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 char * kwnames
[] = {
35922 (char *) "self",(char *) "item", NULL
35925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35927 if (!SWIG_IsOK(res1
)) {
35928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35930 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35932 if (!SWIG_IsOK(res2
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35938 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35941 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35942 wxPyEndAllowThreads(__tstate
);
35943 if (PyErr_Occurred()) SWIG_fail
;
35945 resultobj
= SWIG_Py_Void();
35952 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35953 PyObject
*resultobj
= 0;
35954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35955 wxTreeItemId
*arg2
= 0 ;
35960 PyObject
* obj0
= 0 ;
35961 PyObject
* obj1
= 0 ;
35962 char * kwnames
[] = {
35963 (char *) "self",(char *) "item", NULL
35966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35968 if (!SWIG_IsOK(res1
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35973 if (!SWIG_IsOK(res2
)) {
35974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35979 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35982 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_Py_Void();
35993 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
= 0;
35995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35996 wxTreeItemId
*arg2
= 0 ;
36001 PyObject
* obj0
= 0 ;
36002 PyObject
* obj1
= 0 ;
36003 char * kwnames
[] = {
36004 (char *) "self",(char *) "item", NULL
36007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36009 if (!SWIG_IsOK(res1
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36012 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36014 if (!SWIG_IsOK(res2
)) {
36015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36020 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36023 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36024 wxPyEndAllowThreads(__tstate
);
36025 if (PyErr_Occurred()) SWIG_fail
;
36027 resultobj
= SWIG_Py_Void();
36034 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36035 PyObject
*resultobj
= 0;
36036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36039 PyObject
*swig_obj
[1] ;
36041 if (!args
) SWIG_fail
;
36042 swig_obj
[0] = args
;
36043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36044 if (!SWIG_IsOK(res1
)) {
36045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36047 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36050 (arg1
)->Unselect();
36051 wxPyEndAllowThreads(__tstate
);
36052 if (PyErr_Occurred()) SWIG_fail
;
36054 resultobj
= SWIG_Py_Void();
36061 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
= 0;
36063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36064 wxTreeItemId
*arg2
= 0 ;
36069 PyObject
* obj0
= 0 ;
36070 PyObject
* obj1
= 0 ;
36071 char * kwnames
[] = {
36072 (char *) "self",(char *) "item", NULL
36075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36077 if (!SWIG_IsOK(res1
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36082 if (!SWIG_IsOK(res2
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36088 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 resultobj
= SWIG_Py_Void();
36102 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36103 PyObject
*resultobj
= 0;
36104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36107 PyObject
*swig_obj
[1] ;
36109 if (!args
) SWIG_fail
;
36110 swig_obj
[0] = args
;
36111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36112 if (!SWIG_IsOK(res1
)) {
36113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36115 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36118 (arg1
)->UnselectAll();
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36122 resultobj
= SWIG_Py_Void();
36129 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36130 PyObject
*resultobj
= 0;
36131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36132 wxTreeItemId
*arg2
= 0 ;
36133 bool arg3
= (bool) true ;
36140 PyObject
* obj0
= 0 ;
36141 PyObject
* obj1
= 0 ;
36142 PyObject
* obj2
= 0 ;
36143 char * kwnames
[] = {
36144 (char *) "self",(char *) "item",(char *) "select", NULL
36147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36149 if (!SWIG_IsOK(res1
)) {
36150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36152 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36154 if (!SWIG_IsOK(res2
)) {
36155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36160 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36162 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36163 if (!SWIG_IsOK(ecode3
)) {
36164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36166 arg3
= static_cast< bool >(val3
);
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36174 resultobj
= SWIG_Py_Void();
36181 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36182 PyObject
*resultobj
= 0;
36183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36184 wxTreeItemId
*arg2
= 0 ;
36189 PyObject
* obj0
= 0 ;
36190 PyObject
* obj1
= 0 ;
36191 char * kwnames
[] = {
36192 (char *) "self",(char *) "item", NULL
36195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36197 if (!SWIG_IsOK(res1
)) {
36198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36200 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36202 if (!SWIG_IsOK(res2
)) {
36203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36208 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36211 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36212 wxPyEndAllowThreads(__tstate
);
36213 if (PyErr_Occurred()) SWIG_fail
;
36215 resultobj
= SWIG_Py_Void();
36222 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36223 PyObject
*resultobj
= 0;
36224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36225 wxTreeItemId
*arg2
= 0 ;
36230 PyObject
* obj0
= 0 ;
36231 PyObject
* obj1
= 0 ;
36232 char * kwnames
[] = {
36233 (char *) "self",(char *) "item", NULL
36236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36238 if (!SWIG_IsOK(res1
)) {
36239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36241 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36243 if (!SWIG_IsOK(res2
)) {
36244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36249 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36252 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36253 wxPyEndAllowThreads(__tstate
);
36254 if (PyErr_Occurred()) SWIG_fail
;
36256 resultobj
= SWIG_Py_Void();
36263 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36264 PyObject
*resultobj
= 0;
36265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36266 wxTreeItemId
*arg2
= 0 ;
36271 PyObject
* obj0
= 0 ;
36272 PyObject
* obj1
= 0 ;
36273 char * kwnames
[] = {
36274 (char *) "self",(char *) "item", NULL
36277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36279 if (!SWIG_IsOK(res1
)) {
36280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36282 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36284 if (!SWIG_IsOK(res2
)) {
36285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36290 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36293 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36294 wxPyEndAllowThreads(__tstate
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36297 resultobj
= SWIG_Py_Void();
36304 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36305 PyObject
*resultobj
= 0;
36306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36307 wxTreeItemId
*arg2
= 0 ;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 char * kwnames
[] = {
36315 (char *) "self",(char *) "item", NULL
36318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36320 if (!SWIG_IsOK(res1
)) {
36321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36323 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36325 if (!SWIG_IsOK(res2
)) {
36326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36331 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36334 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36335 wxPyEndAllowThreads(__tstate
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36338 resultobj
= SWIG_Py_Void();
36345 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36346 PyObject
*resultobj
= 0;
36347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36348 wxTextCtrl
*result
= 0 ;
36351 PyObject
*swig_obj
[1] ;
36353 if (!args
) SWIG_fail
;
36354 swig_obj
[0] = args
;
36355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36356 if (!SWIG_IsOK(res1
)) {
36357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36362 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36367 resultobj
= wxPyMake_wxObject(result
, 0);
36375 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36376 PyObject
*resultobj
= 0;
36377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36378 wxTreeItemId
*arg2
= 0 ;
36379 bool arg3
= (bool) false ;
36386 PyObject
* obj0
= 0 ;
36387 PyObject
* obj1
= 0 ;
36388 PyObject
* obj2
= 0 ;
36389 char * kwnames
[] = {
36390 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36395 if (!SWIG_IsOK(res1
)) {
36396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36398 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36399 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36400 if (!SWIG_IsOK(res2
)) {
36401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36406 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36408 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36409 if (!SWIG_IsOK(ecode3
)) {
36410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36412 arg3
= static_cast< bool >(val3
);
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= SWIG_Py_Void();
36427 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
= 0;
36429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36430 wxTreeItemId
*arg2
= 0 ;
36435 PyObject
* obj0
= 0 ;
36436 PyObject
* obj1
= 0 ;
36437 char * kwnames
[] = {
36438 (char *) "self",(char *) "item", NULL
36441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36443 if (!SWIG_IsOK(res1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36446 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36448 if (!SWIG_IsOK(res2
)) {
36449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36454 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36457 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36458 wxPyEndAllowThreads(__tstate
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= SWIG_Py_Void();
36468 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36469 PyObject
*resultobj
= 0;
36470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36471 wxPoint
*arg2
= 0 ;
36473 wxTreeItemId result
;
36478 int res3
= SWIG_TMPOBJ
;
36479 PyObject
* obj0
= 0 ;
36480 PyObject
* obj1
= 0 ;
36481 char * kwnames
[] = {
36482 (char *) "self",(char *) "point", NULL
36486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36488 if (!SWIG_IsOK(res1
)) {
36489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36491 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36498 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36499 wxPyEndAllowThreads(__tstate
);
36500 if (PyErr_Occurred()) SWIG_fail
;
36502 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36503 if (SWIG_IsTmpObj(res3
)) {
36504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36506 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36515 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36516 PyObject
*resultobj
= 0;
36517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36518 wxTreeItemId
*arg2
= 0 ;
36519 bool arg3
= (bool) false ;
36520 PyObject
*result
= 0 ;
36527 PyObject
* obj0
= 0 ;
36528 PyObject
* obj1
= 0 ;
36529 PyObject
* obj2
= 0 ;
36530 char * kwnames
[] = {
36531 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36536 if (!SWIG_IsOK(res1
)) {
36537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36539 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36541 if (!SWIG_IsOK(res2
)) {
36542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36547 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36549 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36550 if (!SWIG_IsOK(ecode3
)) {
36551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36553 arg3
= static_cast< bool >(val3
);
36556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36557 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36558 wxPyEndAllowThreads(__tstate
);
36559 if (PyErr_Occurred()) SWIG_fail
;
36561 resultobj
= result
;
36568 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36569 PyObject
*resultobj
= 0;
36570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36571 wxTreeItemId
*arg2
= 0 ;
36579 PyObject
* obj0
= 0 ;
36580 PyObject
* obj1
= 0 ;
36581 PyObject
* obj2
= 0 ;
36582 char * kwnames
[] = {
36583 (char *) "self",(char *) "node",(char *) "state", NULL
36586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36588 if (!SWIG_IsOK(res1
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36591 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36593 if (!SWIG_IsOK(res2
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36599 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36601 if (!SWIG_IsOK(ecode3
)) {
36602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36604 arg3
= static_cast< int >(val3
);
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= SWIG_Py_Void();
36618 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36619 PyObject
*resultobj
= 0;
36620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36621 wxTreeItemId
*arg2
= 0 ;
36627 PyObject
* obj0
= 0 ;
36628 PyObject
* obj1
= 0 ;
36629 char * kwnames
[] = {
36630 (char *) "self",(char *) "node", NULL
36633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36635 if (!SWIG_IsOK(res1
)) {
36636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36638 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36640 if (!SWIG_IsOK(res2
)) {
36641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36646 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36649 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
36650 wxPyEndAllowThreads(__tstate
);
36651 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= SWIG_From_int(static_cast< int >(result
));
36660 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36661 PyObject
*resultobj
= 0;
36662 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36663 SwigValueWrapper
<wxVisualAttributes
> result
;
36666 PyObject
* obj0
= 0 ;
36667 char * kwnames
[] = {
36668 (char *) "variant", NULL
36671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36673 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36674 if (!SWIG_IsOK(ecode1
)) {
36675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36677 arg1
= static_cast< wxWindowVariant
>(val1
);
36680 if (!wxPyCheckForApp()) SWIG_fail
;
36681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36682 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36683 wxPyEndAllowThreads(__tstate
);
36684 if (PyErr_Occurred()) SWIG_fail
;
36686 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36693 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36696 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36697 return SWIG_Py_Void();
36700 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36701 return SWIG_Python_InitShadowInstance(args
);
36704 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36705 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36710 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36711 PyObject
*pyobj
= 0;
36715 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36717 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36724 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36725 PyObject
*resultobj
= 0;
36726 wxWindow
*arg1
= (wxWindow
*) 0 ;
36727 int arg2
= (int) (int)-1 ;
36728 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36729 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36730 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36731 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36732 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36733 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36734 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36735 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36736 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36737 int arg8
= (int) 0 ;
36738 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36739 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36740 wxGenericDirCtrl
*result
= 0 ;
36745 bool temp3
= false ;
36750 bool temp7
= false ;
36753 bool temp9
= false ;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 PyObject
* obj2
= 0 ;
36757 PyObject
* obj3
= 0 ;
36758 PyObject
* obj4
= 0 ;
36759 PyObject
* obj5
= 0 ;
36760 PyObject
* obj6
= 0 ;
36761 PyObject
* obj7
= 0 ;
36762 PyObject
* obj8
= 0 ;
36763 char * kwnames
[] = {
36764 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36769 if (!SWIG_IsOK(res1
)) {
36770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36775 if (!SWIG_IsOK(ecode2
)) {
36776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36778 arg2
= static_cast< int >(val2
);
36782 arg3
= wxString_in_helper(obj2
);
36783 if (arg3
== NULL
) SWIG_fail
;
36790 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36796 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36800 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36801 if (!SWIG_IsOK(ecode6
)) {
36802 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36804 arg6
= static_cast< long >(val6
);
36808 arg7
= wxString_in_helper(obj6
);
36809 if (arg7
== NULL
) SWIG_fail
;
36814 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36815 if (!SWIG_IsOK(ecode8
)) {
36816 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36818 arg8
= static_cast< int >(val8
);
36822 arg9
= wxString_in_helper(obj8
);
36823 if (arg9
== NULL
) SWIG_fail
;
36828 if (!wxPyCheckForApp()) SWIG_fail
;
36829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36830 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36831 wxPyEndAllowThreads(__tstate
);
36832 if (PyErr_Occurred()) SWIG_fail
;
36834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36865 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36866 PyObject
*resultobj
= 0;
36867 wxGenericDirCtrl
*result
= 0 ;
36869 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36871 if (!wxPyCheckForApp()) SWIG_fail
;
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36874 wxPyEndAllowThreads(__tstate
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36884 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36885 PyObject
*resultobj
= 0;
36886 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36887 wxWindow
*arg2
= (wxWindow
*) 0 ;
36888 int arg3
= (int) (int)-1 ;
36889 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36890 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36891 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36892 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36893 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36894 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36895 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36896 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36898 int arg9
= (int) 0 ;
36899 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36900 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36908 bool temp4
= false ;
36913 bool temp8
= false ;
36916 bool temp10
= false ;
36917 PyObject
* obj0
= 0 ;
36918 PyObject
* obj1
= 0 ;
36919 PyObject
* obj2
= 0 ;
36920 PyObject
* obj3
= 0 ;
36921 PyObject
* obj4
= 0 ;
36922 PyObject
* obj5
= 0 ;
36923 PyObject
* obj6
= 0 ;
36924 PyObject
* obj7
= 0 ;
36925 PyObject
* obj8
= 0 ;
36926 PyObject
* obj9
= 0 ;
36927 char * kwnames
[] = {
36928 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36933 if (!SWIG_IsOK(res1
)) {
36934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36936 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36938 if (!SWIG_IsOK(res2
)) {
36939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36944 if (!SWIG_IsOK(ecode3
)) {
36945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36947 arg3
= static_cast< int >(val3
);
36951 arg4
= wxString_in_helper(obj3
);
36952 if (arg4
== NULL
) SWIG_fail
;
36959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36969 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36970 if (!SWIG_IsOK(ecode7
)) {
36971 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36973 arg7
= static_cast< long >(val7
);
36977 arg8
= wxString_in_helper(obj7
);
36978 if (arg8
== NULL
) SWIG_fail
;
36983 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36984 if (!SWIG_IsOK(ecode9
)) {
36985 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36987 arg9
= static_cast< int >(val9
);
36991 arg10
= wxString_in_helper(obj9
);
36992 if (arg10
== NULL
) SWIG_fail
;
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36999 wxPyEndAllowThreads(__tstate
);
37000 if (PyErr_Occurred()) SWIG_fail
;
37003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37035 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37036 PyObject
*resultobj
= 0;
37037 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37038 wxString
*arg2
= 0 ;
37042 bool temp2
= false ;
37043 PyObject
* obj0
= 0 ;
37044 PyObject
* obj1
= 0 ;
37045 char * kwnames
[] = {
37046 (char *) "self",(char *) "path", NULL
37049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37051 if (!SWIG_IsOK(res1
)) {
37052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37054 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37056 arg2
= wxString_in_helper(obj1
);
37057 if (arg2
== NULL
) SWIG_fail
;
37061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37062 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37063 wxPyEndAllowThreads(__tstate
);
37064 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37083 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37084 PyObject
*resultobj
= 0;
37085 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37089 PyObject
*swig_obj
[1] ;
37091 if (!args
) SWIG_fail
;
37092 swig_obj
[0] = args
;
37093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37094 if (!SWIG_IsOK(res1
)) {
37095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37097 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37100 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37101 wxPyEndAllowThreads(__tstate
);
37102 if (PyErr_Occurred()) SWIG_fail
;
37106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37117 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37118 PyObject
*resultobj
= 0;
37119 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37120 wxString
*arg2
= 0 ;
37123 bool temp2
= false ;
37124 PyObject
* obj0
= 0 ;
37125 PyObject
* obj1
= 0 ;
37126 char * kwnames
[] = {
37127 (char *) "self",(char *) "path", NULL
37130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37132 if (!SWIG_IsOK(res1
)) {
37133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37135 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37137 arg2
= wxString_in_helper(obj1
);
37138 if (arg2
== NULL
) SWIG_fail
;
37142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37143 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37144 wxPyEndAllowThreads(__tstate
);
37145 if (PyErr_Occurred()) SWIG_fail
;
37147 resultobj
= SWIG_Py_Void();
37162 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37163 PyObject
*resultobj
= 0;
37164 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37168 PyObject
*swig_obj
[1] ;
37170 if (!args
) SWIG_fail
;
37171 swig_obj
[0] = args
;
37172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37173 if (!SWIG_IsOK(res1
)) {
37174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37176 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37179 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37180 wxPyEndAllowThreads(__tstate
);
37181 if (PyErr_Occurred()) SWIG_fail
;
37185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37196 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37197 PyObject
*resultobj
= 0;
37198 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37202 PyObject
*swig_obj
[1] ;
37204 if (!args
) SWIG_fail
;
37205 swig_obj
[0] = args
;
37206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37207 if (!SWIG_IsOK(res1
)) {
37208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37210 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37213 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37214 wxPyEndAllowThreads(__tstate
);
37215 if (PyErr_Occurred()) SWIG_fail
;
37219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37230 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37231 PyObject
*resultobj
= 0;
37232 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37233 wxString
*arg2
= 0 ;
37236 bool temp2
= false ;
37237 PyObject
* obj0
= 0 ;
37238 PyObject
* obj1
= 0 ;
37239 char * kwnames
[] = {
37240 (char *) "self",(char *) "path", NULL
37243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37245 if (!SWIG_IsOK(res1
)) {
37246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37248 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37250 arg2
= wxString_in_helper(obj1
);
37251 if (arg2
== NULL
) SWIG_fail
;
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 (arg1
)->SetPath((wxString
const &)*arg2
);
37257 wxPyEndAllowThreads(__tstate
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37260 resultobj
= SWIG_Py_Void();
37275 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37276 PyObject
*resultobj
= 0;
37277 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37283 PyObject
* obj0
= 0 ;
37284 PyObject
* obj1
= 0 ;
37285 char * kwnames
[] = {
37286 (char *) "self",(char *) "show", NULL
37289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37291 if (!SWIG_IsOK(res1
)) {
37292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37294 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37295 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37296 if (!SWIG_IsOK(ecode2
)) {
37297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37299 arg2
= static_cast< bool >(val2
);
37301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37302 (arg1
)->ShowHidden(arg2
);
37303 wxPyEndAllowThreads(__tstate
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37306 resultobj
= SWIG_Py_Void();
37313 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37314 PyObject
*resultobj
= 0;
37315 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37319 PyObject
*swig_obj
[1] ;
37321 if (!args
) SWIG_fail
;
37322 swig_obj
[0] = args
;
37323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37324 if (!SWIG_IsOK(res1
)) {
37325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37327 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37330 result
= (bool)(arg1
)->GetShowHidden();
37331 wxPyEndAllowThreads(__tstate
);
37332 if (PyErr_Occurred()) SWIG_fail
;
37335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37343 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37344 PyObject
*resultobj
= 0;
37345 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37349 PyObject
*swig_obj
[1] ;
37351 if (!args
) SWIG_fail
;
37352 swig_obj
[0] = args
;
37353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37354 if (!SWIG_IsOK(res1
)) {
37355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37357 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37360 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37361 wxPyEndAllowThreads(__tstate
);
37362 if (PyErr_Occurred()) SWIG_fail
;
37366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37377 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37378 PyObject
*resultobj
= 0;
37379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37380 wxString
*arg2
= 0 ;
37383 bool temp2
= false ;
37384 PyObject
* obj0
= 0 ;
37385 PyObject
* obj1
= 0 ;
37386 char * kwnames
[] = {
37387 (char *) "self",(char *) "filter", NULL
37390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37392 if (!SWIG_IsOK(res1
)) {
37393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37395 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37397 arg2
= wxString_in_helper(obj1
);
37398 if (arg2
== NULL
) SWIG_fail
;
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 (arg1
)->SetFilter((wxString
const &)*arg2
);
37404 wxPyEndAllowThreads(__tstate
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37407 resultobj
= SWIG_Py_Void();
37422 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37423 PyObject
*resultobj
= 0;
37424 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37428 PyObject
*swig_obj
[1] ;
37430 if (!args
) SWIG_fail
;
37431 swig_obj
[0] = args
;
37432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37433 if (!SWIG_IsOK(res1
)) {
37434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37436 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37439 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37443 resultobj
= SWIG_From_int(static_cast< int >(result
));
37450 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37451 PyObject
*resultobj
= 0;
37452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37458 PyObject
* obj0
= 0 ;
37459 PyObject
* obj1
= 0 ;
37460 char * kwnames
[] = {
37461 (char *) "self",(char *) "n", NULL
37464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37466 if (!SWIG_IsOK(res1
)) {
37467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37469 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37471 if (!SWIG_IsOK(ecode2
)) {
37472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37474 arg2
= static_cast< int >(val2
);
37476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37477 (arg1
)->SetFilterIndex(arg2
);
37478 wxPyEndAllowThreads(__tstate
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37481 resultobj
= SWIG_Py_Void();
37488 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37489 PyObject
*resultobj
= 0;
37490 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37491 wxTreeItemId result
;
37494 PyObject
*swig_obj
[1] ;
37496 if (!args
) SWIG_fail
;
37497 swig_obj
[0] = args
;
37498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37499 if (!SWIG_IsOK(res1
)) {
37500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37502 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37505 result
= (arg1
)->GetRootId();
37506 wxPyEndAllowThreads(__tstate
);
37507 if (PyErr_Occurred()) SWIG_fail
;
37509 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37516 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37517 PyObject
*resultobj
= 0;
37518 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37519 wxPyTreeCtrl
*result
= 0 ;
37522 PyObject
*swig_obj
[1] ;
37524 if (!args
) SWIG_fail
;
37525 swig_obj
[0] = args
;
37526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37527 if (!SWIG_IsOK(res1
)) {
37528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37530 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37533 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37534 wxPyEndAllowThreads(__tstate
);
37535 if (PyErr_Occurred()) SWIG_fail
;
37538 resultobj
= wxPyMake_wxObject(result
, 0);
37546 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37547 PyObject
*resultobj
= 0;
37548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37549 wxDirFilterListCtrl
*result
= 0 ;
37552 PyObject
*swig_obj
[1] ;
37554 if (!args
) SWIG_fail
;
37555 swig_obj
[0] = args
;
37556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37557 if (!SWIG_IsOK(res1
)) {
37558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37560 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37563 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37564 wxPyEndAllowThreads(__tstate
);
37565 if (PyErr_Occurred()) SWIG_fail
;
37567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37574 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37575 PyObject
*resultobj
= 0;
37576 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37577 wxTreeItemId arg2
;
37578 wxString
*arg3
= 0 ;
37580 wxTreeItemId result
;
37585 bool temp3
= false ;
37587 int res4
= SWIG_TMPOBJ
;
37588 PyObject
* obj0
= 0 ;
37589 PyObject
* obj1
= 0 ;
37590 PyObject
* obj2
= 0 ;
37591 char * kwnames
[] = {
37592 (char *) "self",(char *) "parentId",(char *) "path", NULL
37596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37598 if (!SWIG_IsOK(res1
)) {
37599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37601 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37604 if (!SWIG_IsOK(res2
)) {
37605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37610 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37612 if (SWIG_IsNewObj(res2
)) delete temp
;
37616 arg3
= wxString_in_helper(obj2
);
37617 if (arg3
== NULL
) SWIG_fail
;
37621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37622 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37623 wxPyEndAllowThreads(__tstate
);
37624 if (PyErr_Occurred()) SWIG_fail
;
37626 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37627 if (SWIG_IsTmpObj(res4
)) {
37628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37630 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37647 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37648 PyObject
*resultobj
= 0;
37649 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37652 PyObject
*swig_obj
[1] ;
37654 if (!args
) SWIG_fail
;
37655 swig_obj
[0] = args
;
37656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37657 if (!SWIG_IsOK(res1
)) {
37658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37660 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37663 (arg1
)->DoResize();
37664 wxPyEndAllowThreads(__tstate
);
37665 if (PyErr_Occurred()) SWIG_fail
;
37667 resultobj
= SWIG_Py_Void();
37674 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37675 PyObject
*resultobj
= 0;
37676 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37679 PyObject
*swig_obj
[1] ;
37681 if (!args
) SWIG_fail
;
37682 swig_obj
[0] = args
;
37683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37684 if (!SWIG_IsOK(res1
)) {
37685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37687 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37690 (arg1
)->ReCreateTree();
37691 wxPyEndAllowThreads(__tstate
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37694 resultobj
= SWIG_Py_Void();
37701 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37704 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37705 return SWIG_Py_Void();
37708 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37709 return SWIG_Python_InitShadowInstance(args
);
37712 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37713 PyObject
*resultobj
= 0;
37714 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37715 int arg2
= (int) (int)-1 ;
37716 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37717 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37718 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37719 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37720 long arg5
= (long) 0 ;
37721 wxDirFilterListCtrl
*result
= 0 ;
37730 PyObject
* obj0
= 0 ;
37731 PyObject
* obj1
= 0 ;
37732 PyObject
* obj2
= 0 ;
37733 PyObject
* obj3
= 0 ;
37734 PyObject
* obj4
= 0 ;
37735 char * kwnames
[] = {
37736 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37741 if (!SWIG_IsOK(res1
)) {
37742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37744 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37747 if (!SWIG_IsOK(ecode2
)) {
37748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37750 arg2
= static_cast< int >(val2
);
37755 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37761 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37765 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37766 if (!SWIG_IsOK(ecode5
)) {
37767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37769 arg5
= static_cast< long >(val5
);
37772 if (!wxPyCheckForApp()) SWIG_fail
;
37773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37774 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37775 wxPyEndAllowThreads(__tstate
);
37776 if (PyErr_Occurred()) SWIG_fail
;
37778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37785 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37786 PyObject
*resultobj
= 0;
37787 wxDirFilterListCtrl
*result
= 0 ;
37789 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37791 if (!wxPyCheckForApp()) SWIG_fail
;
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37804 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37805 PyObject
*resultobj
= 0;
37806 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37807 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37808 int arg3
= (int) (int)-1 ;
37809 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37810 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37811 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37812 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37813 long arg6
= (long) 0 ;
37825 PyObject
* obj0
= 0 ;
37826 PyObject
* obj1
= 0 ;
37827 PyObject
* obj2
= 0 ;
37828 PyObject
* obj3
= 0 ;
37829 PyObject
* obj4
= 0 ;
37830 PyObject
* obj5
= 0 ;
37831 char * kwnames
[] = {
37832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37837 if (!SWIG_IsOK(res1
)) {
37838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37840 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37842 if (!SWIG_IsOK(res2
)) {
37843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37845 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37848 if (!SWIG_IsOK(ecode3
)) {
37849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37851 arg3
= static_cast< int >(val3
);
37856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37866 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37867 if (!SWIG_IsOK(ecode6
)) {
37868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37870 arg6
= static_cast< long >(val6
);
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37875 wxPyEndAllowThreads(__tstate
);
37876 if (PyErr_Occurred()) SWIG_fail
;
37879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37887 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37888 PyObject
*resultobj
= 0;
37889 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37890 wxString
*arg2
= 0 ;
37894 bool temp2
= false ;
37897 PyObject
* obj0
= 0 ;
37898 PyObject
* obj1
= 0 ;
37899 PyObject
* obj2
= 0 ;
37900 char * kwnames
[] = {
37901 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37906 if (!SWIG_IsOK(res1
)) {
37907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37909 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37911 arg2
= wxString_in_helper(obj1
);
37912 if (arg2
== NULL
) SWIG_fail
;
37915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37916 if (!SWIG_IsOK(ecode3
)) {
37917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37919 arg3
= static_cast< int >(val3
);
37921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37922 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37923 wxPyEndAllowThreads(__tstate
);
37924 if (PyErr_Occurred()) SWIG_fail
;
37926 resultobj
= SWIG_Py_Void();
37941 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37944 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37945 return SWIG_Py_Void();
37948 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37949 return SWIG_Python_InitShadowInstance(args
);
37952 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37953 PyObject
*resultobj
= 0;
37954 wxWindow
*arg1
= (wxWindow
*) 0 ;
37955 int arg2
= (int) (int)-1 ;
37956 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37957 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37958 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37959 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37960 long arg5
= (long) 0 ;
37961 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37962 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37963 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37964 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37965 wxPyControl
*result
= 0 ;
37976 bool temp7
= false ;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37979 PyObject
* obj2
= 0 ;
37980 PyObject
* obj3
= 0 ;
37981 PyObject
* obj4
= 0 ;
37982 PyObject
* obj5
= 0 ;
37983 PyObject
* obj6
= 0 ;
37984 char * kwnames
[] = {
37985 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37990 if (!SWIG_IsOK(res1
)) {
37991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37993 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37996 if (!SWIG_IsOK(ecode2
)) {
37997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37999 arg2
= static_cast< int >(val2
);
38004 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38010 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38014 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38015 if (!SWIG_IsOK(ecode5
)) {
38016 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38018 arg5
= static_cast< long >(val5
);
38021 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38022 if (!SWIG_IsOK(res6
)) {
38023 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38028 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38032 arg7
= wxString_in_helper(obj6
);
38033 if (arg7
== NULL
) SWIG_fail
;
38038 if (!wxPyCheckForApp()) SWIG_fail
;
38039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38040 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38041 wxPyEndAllowThreads(__tstate
);
38042 if (PyErr_Occurred()) SWIG_fail
;
38044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38059 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38060 PyObject
*resultobj
= 0;
38061 wxPyControl
*result
= 0 ;
38063 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38065 if (!wxPyCheckForApp()) SWIG_fail
;
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 result
= (wxPyControl
*)new wxPyControl();
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38078 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38079 PyObject
*resultobj
= 0;
38080 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38081 PyObject
*arg2
= (PyObject
*) 0 ;
38082 PyObject
*arg3
= (PyObject
*) 0 ;
38085 PyObject
* obj0
= 0 ;
38086 PyObject
* obj1
= 0 ;
38087 PyObject
* obj2
= 0 ;
38088 char * kwnames
[] = {
38089 (char *) "self",(char *) "self",(char *) "_class", NULL
38092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38094 if (!SWIG_IsOK(res1
)) {
38095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38097 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38103 wxPyEndAllowThreads(__tstate
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38106 resultobj
= SWIG_Py_Void();
38113 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38114 PyObject
*resultobj
= 0;
38115 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38120 PyObject
* obj0
= 0 ;
38121 PyObject
* obj1
= 0 ;
38122 char * kwnames
[] = {
38123 (char *) "self",(char *) "size", NULL
38126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38128 if (!SWIG_IsOK(res1
)) {
38129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38131 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38139 wxPyEndAllowThreads(__tstate
);
38140 if (PyErr_Occurred()) SWIG_fail
;
38142 resultobj
= SWIG_Py_Void();
38149 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38150 PyObject
*resultobj
= 0;
38151 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38152 wxDC
*arg2
= (wxDC
*) 0 ;
38158 PyObject
* obj0
= 0 ;
38159 PyObject
* obj1
= 0 ;
38160 char * kwnames
[] = {
38161 (char *) "self",(char *) "dc", NULL
38164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38166 if (!SWIG_IsOK(res1
)) {
38167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38169 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38171 if (!SWIG_IsOK(res2
)) {
38172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38174 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38177 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38178 wxPyEndAllowThreads(__tstate
);
38179 if (PyErr_Occurred()) SWIG_fail
;
38182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38190 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38191 PyObject
*resultobj
= 0;
38192 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38207 PyObject
* obj0
= 0 ;
38208 PyObject
* obj1
= 0 ;
38209 PyObject
* obj2
= 0 ;
38210 PyObject
* obj3
= 0 ;
38211 PyObject
* obj4
= 0 ;
38212 char * kwnames
[] = {
38213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38218 if (!SWIG_IsOK(res1
)) {
38219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38221 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38223 if (!SWIG_IsOK(ecode2
)) {
38224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38226 arg2
= static_cast< int >(val2
);
38227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38228 if (!SWIG_IsOK(ecode3
)) {
38229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38231 arg3
= static_cast< int >(val3
);
38232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38233 if (!SWIG_IsOK(ecode4
)) {
38234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38236 arg4
= static_cast< int >(val4
);
38237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38238 if (!SWIG_IsOK(ecode5
)) {
38239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38241 arg5
= static_cast< int >(val5
);
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38248 resultobj
= SWIG_Py_Void();
38255 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38256 PyObject
*resultobj
= 0;
38257 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38262 int arg6
= (int) wxSIZE_AUTO
;
38275 PyObject
* obj0
= 0 ;
38276 PyObject
* obj1
= 0 ;
38277 PyObject
* obj2
= 0 ;
38278 PyObject
* obj3
= 0 ;
38279 PyObject
* obj4
= 0 ;
38280 PyObject
* obj5
= 0 ;
38281 char * kwnames
[] = {
38282 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38287 if (!SWIG_IsOK(res1
)) {
38288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38290 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38292 if (!SWIG_IsOK(ecode2
)) {
38293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38295 arg2
= static_cast< int >(val2
);
38296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38297 if (!SWIG_IsOK(ecode3
)) {
38298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38300 arg3
= static_cast< int >(val3
);
38301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38302 if (!SWIG_IsOK(ecode4
)) {
38303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38305 arg4
= static_cast< int >(val4
);
38306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38307 if (!SWIG_IsOK(ecode5
)) {
38308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38310 arg5
= static_cast< int >(val5
);
38312 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38313 if (!SWIG_IsOK(ecode6
)) {
38314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38316 arg6
= static_cast< int >(val6
);
38319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38320 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38321 wxPyEndAllowThreads(__tstate
);
38322 if (PyErr_Occurred()) SWIG_fail
;
38324 resultobj
= SWIG_Py_Void();
38331 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38332 PyObject
*resultobj
= 0;
38333 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38342 PyObject
* obj0
= 0 ;
38343 PyObject
* obj1
= 0 ;
38344 PyObject
* obj2
= 0 ;
38345 char * kwnames
[] = {
38346 (char *) "self",(char *) "width",(char *) "height", NULL
38349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38351 if (!SWIG_IsOK(res1
)) {
38352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38354 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38356 if (!SWIG_IsOK(ecode2
)) {
38357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38359 arg2
= static_cast< int >(val2
);
38360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38361 if (!SWIG_IsOK(ecode3
)) {
38362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38364 arg3
= static_cast< int >(val3
);
38366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38367 (arg1
)->DoSetClientSize(arg2
,arg3
);
38368 wxPyEndAllowThreads(__tstate
);
38369 if (PyErr_Occurred()) SWIG_fail
;
38371 resultobj
= SWIG_Py_Void();
38378 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38379 PyObject
*resultobj
= 0;
38380 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38389 PyObject
* obj0
= 0 ;
38390 PyObject
* obj1
= 0 ;
38391 PyObject
* obj2
= 0 ;
38392 char * kwnames
[] = {
38393 (char *) "self",(char *) "x",(char *) "y", NULL
38396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38398 if (!SWIG_IsOK(res1
)) {
38399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38401 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38403 if (!SWIG_IsOK(ecode2
)) {
38404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38406 arg2
= static_cast< int >(val2
);
38407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38408 if (!SWIG_IsOK(ecode3
)) {
38409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38411 arg3
= static_cast< int >(val3
);
38413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38414 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38418 resultobj
= SWIG_Py_Void();
38425 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38426 PyObject
*resultobj
= 0;
38427 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38428 int *arg2
= (int *) 0 ;
38429 int *arg3
= (int *) 0 ;
38433 int res2
= SWIG_TMPOBJ
;
38435 int res3
= SWIG_TMPOBJ
;
38436 PyObject
*swig_obj
[1] ;
38440 if (!args
) SWIG_fail
;
38441 swig_obj
[0] = args
;
38442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38443 if (!SWIG_IsOK(res1
)) {
38444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38446 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38449 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38450 wxPyEndAllowThreads(__tstate
);
38451 if (PyErr_Occurred()) SWIG_fail
;
38453 resultobj
= SWIG_Py_Void();
38454 if (SWIG_IsTmpObj(res2
)) {
38455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38457 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38460 if (SWIG_IsTmpObj(res3
)) {
38461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38463 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38472 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38473 PyObject
*resultobj
= 0;
38474 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38475 int *arg2
= (int *) 0 ;
38476 int *arg3
= (int *) 0 ;
38480 int res2
= SWIG_TMPOBJ
;
38482 int res3
= SWIG_TMPOBJ
;
38483 PyObject
*swig_obj
[1] ;
38487 if (!args
) SWIG_fail
;
38488 swig_obj
[0] = args
;
38489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38490 if (!SWIG_IsOK(res1
)) {
38491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38493 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38496 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38500 resultobj
= SWIG_Py_Void();
38501 if (SWIG_IsTmpObj(res2
)) {
38502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38504 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38507 if (SWIG_IsTmpObj(res3
)) {
38508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38510 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38519 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38520 PyObject
*resultobj
= 0;
38521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38522 int *arg2
= (int *) 0 ;
38523 int *arg3
= (int *) 0 ;
38527 int res2
= SWIG_TMPOBJ
;
38529 int res3
= SWIG_TMPOBJ
;
38530 PyObject
*swig_obj
[1] ;
38534 if (!args
) SWIG_fail
;
38535 swig_obj
[0] = args
;
38536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38537 if (!SWIG_IsOK(res1
)) {
38538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38540 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38543 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38544 wxPyEndAllowThreads(__tstate
);
38545 if (PyErr_Occurred()) SWIG_fail
;
38547 resultobj
= SWIG_Py_Void();
38548 if (SWIG_IsTmpObj(res2
)) {
38549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38551 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38554 if (SWIG_IsTmpObj(res3
)) {
38555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38557 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38566 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38567 PyObject
*resultobj
= 0;
38568 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38572 PyObject
*swig_obj
[1] ;
38574 if (!args
) SWIG_fail
;
38575 swig_obj
[0] = args
;
38576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38577 if (!SWIG_IsOK(res1
)) {
38578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38580 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38587 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38594 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38595 PyObject
*resultobj
= 0;
38596 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38600 PyObject
*swig_obj
[1] ;
38602 if (!args
) SWIG_fail
;
38603 swig_obj
[0] = args
;
38604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38605 if (!SWIG_IsOK(res1
)) {
38606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38608 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38611 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38612 wxPyEndAllowThreads(__tstate
);
38613 if (PyErr_Occurred()) SWIG_fail
;
38615 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38622 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38623 PyObject
*resultobj
= 0;
38624 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38625 SwigValueWrapper
<wxVisualAttributes
> result
;
38628 PyObject
*swig_obj
[1] ;
38630 if (!args
) SWIG_fail
;
38631 swig_obj
[0] = args
;
38632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38633 if (!SWIG_IsOK(res1
)) {
38634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38636 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38639 result
= (arg1
)->GetDefaultAttributes();
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38643 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38650 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38651 PyObject
*resultobj
= 0;
38652 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38655 PyObject
*swig_obj
[1] ;
38657 if (!args
) SWIG_fail
;
38658 swig_obj
[0] = args
;
38659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38660 if (!SWIG_IsOK(res1
)) {
38661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38663 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38666 (arg1
)->OnInternalIdle();
38667 wxPyEndAllowThreads(__tstate
);
38668 if (PyErr_Occurred()) SWIG_fail
;
38670 resultobj
= SWIG_Py_Void();
38677 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38680 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38681 return SWIG_Py_Void();
38684 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38685 return SWIG_Python_InitShadowInstance(args
);
38688 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38689 PyObject
*resultobj
= 0;
38690 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38691 int arg2
= (int) 0 ;
38692 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38693 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38694 wxHelpEvent
*result
= 0 ;
38700 PyObject
* obj0
= 0 ;
38701 PyObject
* obj1
= 0 ;
38702 PyObject
* obj2
= 0 ;
38703 char * kwnames
[] = {
38704 (char *) "type",(char *) "winid",(char *) "pt", NULL
38707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38710 if (!SWIG_IsOK(ecode1
)) {
38711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38713 arg1
= static_cast< wxEventType
>(val1
);
38716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38717 if (!SWIG_IsOK(ecode2
)) {
38718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38720 arg2
= static_cast< int >(val2
);
38725 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38731 wxPyEndAllowThreads(__tstate
);
38732 if (PyErr_Occurred()) SWIG_fail
;
38734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38741 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38742 PyObject
*resultobj
= 0;
38743 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38747 PyObject
*swig_obj
[1] ;
38749 if (!args
) SWIG_fail
;
38750 swig_obj
[0] = args
;
38751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38752 if (!SWIG_IsOK(res1
)) {
38753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38755 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38758 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38759 wxPyEndAllowThreads(__tstate
);
38760 if (PyErr_Occurred()) SWIG_fail
;
38762 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38769 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38770 PyObject
*resultobj
= 0;
38771 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38772 wxPoint
*arg2
= 0 ;
38776 PyObject
* obj0
= 0 ;
38777 PyObject
* obj1
= 0 ;
38778 char * kwnames
[] = {
38779 (char *) "self",(char *) "pos", NULL
38782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38784 if (!SWIG_IsOK(res1
)) {
38785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38787 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38794 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38795 wxPyEndAllowThreads(__tstate
);
38796 if (PyErr_Occurred()) SWIG_fail
;
38798 resultobj
= SWIG_Py_Void();
38805 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38806 PyObject
*resultobj
= 0;
38807 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38808 wxString
*result
= 0 ;
38811 PyObject
*swig_obj
[1] ;
38813 if (!args
) SWIG_fail
;
38814 swig_obj
[0] = args
;
38815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38816 if (!SWIG_IsOK(res1
)) {
38817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38819 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38823 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38824 result
= (wxString
*) &_result_ref
;
38826 wxPyEndAllowThreads(__tstate
);
38827 if (PyErr_Occurred()) SWIG_fail
;
38831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38842 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38843 PyObject
*resultobj
= 0;
38844 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38845 wxString
*arg2
= 0 ;
38848 bool temp2
= false ;
38849 PyObject
* obj0
= 0 ;
38850 PyObject
* obj1
= 0 ;
38851 char * kwnames
[] = {
38852 (char *) "self",(char *) "link", NULL
38855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38857 if (!SWIG_IsOK(res1
)) {
38858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38860 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38862 arg2
= wxString_in_helper(obj1
);
38863 if (arg2
== NULL
) SWIG_fail
;
38867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38868 (arg1
)->SetLink((wxString
const &)*arg2
);
38869 wxPyEndAllowThreads(__tstate
);
38870 if (PyErr_Occurred()) SWIG_fail
;
38872 resultobj
= SWIG_Py_Void();
38887 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38888 PyObject
*resultobj
= 0;
38889 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38890 wxString
*result
= 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_wxHelpEvent
, 0 | 0 );
38898 if (!SWIG_IsOK(res1
)) {
38899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38901 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38905 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38906 result
= (wxString
*) &_result_ref
;
38908 wxPyEndAllowThreads(__tstate
);
38909 if (PyErr_Occurred()) SWIG_fail
;
38913 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38915 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38924 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38925 PyObject
*resultobj
= 0;
38926 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38927 wxString
*arg2
= 0 ;
38930 bool temp2
= false ;
38931 PyObject
* obj0
= 0 ;
38932 PyObject
* obj1
= 0 ;
38933 char * kwnames
[] = {
38934 (char *) "self",(char *) "target", NULL
38937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38939 if (!SWIG_IsOK(res1
)) {
38940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38942 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38944 arg2
= wxString_in_helper(obj1
);
38945 if (arg2
== NULL
) SWIG_fail
;
38949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38950 (arg1
)->SetTarget((wxString
const &)*arg2
);
38951 wxPyEndAllowThreads(__tstate
);
38952 if (PyErr_Occurred()) SWIG_fail
;
38954 resultobj
= SWIG_Py_Void();
38969 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38972 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38973 return SWIG_Py_Void();
38976 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38977 return SWIG_Python_InitShadowInstance(args
);
38980 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38981 PyObject
*resultobj
= 0;
38982 wxWindow
*arg1
= (wxWindow
*) NULL
;
38983 bool arg2
= (bool) true ;
38984 wxContextHelp
*result
= 0 ;
38989 PyObject
* obj0
= 0 ;
38990 PyObject
* obj1
= 0 ;
38991 char * kwnames
[] = {
38992 (char *) "window",(char *) "doNow", NULL
38995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38998 if (!SWIG_IsOK(res1
)) {
38999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39001 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39004 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39005 if (!SWIG_IsOK(ecode2
)) {
39006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39008 arg2
= static_cast< bool >(val2
);
39011 if (!wxPyCheckForApp()) SWIG_fail
;
39012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39013 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39014 wxPyEndAllowThreads(__tstate
);
39015 if (PyErr_Occurred()) SWIG_fail
;
39017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39024 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39025 PyObject
*resultobj
= 0;
39026 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39029 PyObject
*swig_obj
[1] ;
39031 if (!args
) SWIG_fail
;
39032 swig_obj
[0] = args
;
39033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39034 if (!SWIG_IsOK(res1
)) {
39035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39037 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39042 wxPyEndAllowThreads(__tstate
);
39043 if (PyErr_Occurred()) SWIG_fail
;
39045 resultobj
= SWIG_Py_Void();
39052 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39053 PyObject
*resultobj
= 0;
39054 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39055 wxWindow
*arg2
= (wxWindow
*) NULL
;
39061 PyObject
* obj0
= 0 ;
39062 PyObject
* obj1
= 0 ;
39063 char * kwnames
[] = {
39064 (char *) "self",(char *) "window", NULL
39067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39069 if (!SWIG_IsOK(res1
)) {
39070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39072 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39075 if (!SWIG_IsOK(res2
)) {
39076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39078 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39082 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39083 wxPyEndAllowThreads(__tstate
);
39084 if (PyErr_Occurred()) SWIG_fail
;
39087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39095 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39096 PyObject
*resultobj
= 0;
39097 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39101 PyObject
*swig_obj
[1] ;
39103 if (!args
) SWIG_fail
;
39104 swig_obj
[0] = args
;
39105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39106 if (!SWIG_IsOK(res1
)) {
39107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39109 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39112 result
= (bool)(arg1
)->EndContextHelp();
39113 wxPyEndAllowThreads(__tstate
);
39114 if (PyErr_Occurred()) SWIG_fail
;
39117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39125 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39128 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39129 return SWIG_Py_Void();
39132 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39133 return SWIG_Python_InitShadowInstance(args
);
39136 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39137 PyObject
*resultobj
= 0;
39138 wxWindow
*arg1
= (wxWindow
*) 0 ;
39139 int arg2
= (int) wxID_CONTEXT_HELP
;
39140 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39141 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39142 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39143 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39144 long arg5
= (long) wxBU_AUTODRAW
;
39145 wxContextHelpButton
*result
= 0 ;
39154 PyObject
* obj0
= 0 ;
39155 PyObject
* obj1
= 0 ;
39156 PyObject
* obj2
= 0 ;
39157 PyObject
* obj3
= 0 ;
39158 PyObject
* obj4
= 0 ;
39159 char * kwnames
[] = {
39160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39165 if (!SWIG_IsOK(res1
)) {
39166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39168 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39171 if (!SWIG_IsOK(ecode2
)) {
39172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39174 arg2
= static_cast< int >(val2
);
39179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39185 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39189 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39190 if (!SWIG_IsOK(ecode5
)) {
39191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39193 arg5
= static_cast< long >(val5
);
39196 if (!wxPyCheckForApp()) SWIG_fail
;
39197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39198 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39199 wxPyEndAllowThreads(__tstate
);
39200 if (PyErr_Occurred()) SWIG_fail
;
39202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39209 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39212 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39213 return SWIG_Py_Void();
39216 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39217 return SWIG_Python_InitShadowInstance(args
);
39220 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39221 PyObject
*resultobj
= 0;
39222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39225 PyObject
*swig_obj
[1] ;
39227 if (!args
) SWIG_fail
;
39228 swig_obj
[0] = args
;
39229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39230 if (!SWIG_IsOK(res1
)) {
39231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39233 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39238 wxPyEndAllowThreads(__tstate
);
39239 if (PyErr_Occurred()) SWIG_fail
;
39241 resultobj
= SWIG_Py_Void();
39248 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39249 PyObject
*resultobj
= 0;
39250 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39251 wxHelpProvider
*result
= 0 ;
39253 PyObject
* obj0
= 0 ;
39254 char * kwnames
[] = {
39255 (char *) "helpProvider", NULL
39258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39259 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39260 if (!SWIG_IsOK(res1
)) {
39261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39265 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39266 wxPyEndAllowThreads(__tstate
);
39267 if (PyErr_Occurred()) SWIG_fail
;
39269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39276 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39277 PyObject
*resultobj
= 0;
39278 wxHelpProvider
*result
= 0 ;
39280 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39283 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39284 wxPyEndAllowThreads(__tstate
);
39285 if (PyErr_Occurred()) SWIG_fail
;
39287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39294 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39295 PyObject
*resultobj
= 0;
39296 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39297 wxWindow
*arg2
= (wxWindow
*) 0 ;
39303 PyObject
* obj0
= 0 ;
39304 PyObject
* obj1
= 0 ;
39305 char * kwnames
[] = {
39306 (char *) "self",(char *) "window", NULL
39309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39311 if (!SWIG_IsOK(res1
)) {
39312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39314 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39315 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39316 if (!SWIG_IsOK(res2
)) {
39317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39319 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39322 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39323 wxPyEndAllowThreads(__tstate
);
39324 if (PyErr_Occurred()) SWIG_fail
;
39328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39339 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39340 PyObject
*resultobj
= 0;
39341 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39342 wxWindow
*arg2
= (wxWindow
*) 0 ;
39348 PyObject
* obj0
= 0 ;
39349 PyObject
* obj1
= 0 ;
39350 char * kwnames
[] = {
39351 (char *) "self",(char *) "window", NULL
39354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39356 if (!SWIG_IsOK(res1
)) {
39357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39359 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39361 if (!SWIG_IsOK(res2
)) {
39362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 result
= (bool)(arg1
)->ShowHelp(arg2
);
39368 wxPyEndAllowThreads(__tstate
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39380 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39381 PyObject
*resultobj
= 0;
39382 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39383 wxWindow
*arg2
= (wxWindow
*) 0 ;
39384 wxString
*arg3
= 0 ;
39389 bool temp3
= false ;
39390 PyObject
* obj0
= 0 ;
39391 PyObject
* obj1
= 0 ;
39392 PyObject
* obj2
= 0 ;
39393 char * kwnames
[] = {
39394 (char *) "self",(char *) "window",(char *) "text", NULL
39397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39399 if (!SWIG_IsOK(res1
)) {
39400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39402 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39404 if (!SWIG_IsOK(res2
)) {
39405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39407 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39409 arg3
= wxString_in_helper(obj2
);
39410 if (arg3
== NULL
) SWIG_fail
;
39414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39415 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39416 wxPyEndAllowThreads(__tstate
);
39417 if (PyErr_Occurred()) SWIG_fail
;
39419 resultobj
= SWIG_Py_Void();
39434 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39435 PyObject
*resultobj
= 0;
39436 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39438 wxString
*arg3
= 0 ;
39443 bool temp3
= false ;
39444 PyObject
* obj0
= 0 ;
39445 PyObject
* obj1
= 0 ;
39446 PyObject
* obj2
= 0 ;
39447 char * kwnames
[] = {
39448 (char *) "self",(char *) "id",(char *) "text", NULL
39451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39453 if (!SWIG_IsOK(res1
)) {
39454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39456 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39458 if (!SWIG_IsOK(ecode2
)) {
39459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39461 arg2
= static_cast< int >(val2
);
39463 arg3
= wxString_in_helper(obj2
);
39464 if (arg3
== NULL
) SWIG_fail
;
39468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39469 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39470 wxPyEndAllowThreads(__tstate
);
39471 if (PyErr_Occurred()) SWIG_fail
;
39473 resultobj
= SWIG_Py_Void();
39488 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39489 PyObject
*resultobj
= 0;
39490 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39491 wxWindow
*arg2
= (wxWindow
*) 0 ;
39496 PyObject
* obj0
= 0 ;
39497 PyObject
* obj1
= 0 ;
39498 char * kwnames
[] = {
39499 (char *) "self",(char *) "window", NULL
39502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39504 if (!SWIG_IsOK(res1
)) {
39505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39507 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39509 if (!SWIG_IsOK(res2
)) {
39510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39512 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39515 (arg1
)->RemoveHelp(arg2
);
39516 wxPyEndAllowThreads(__tstate
);
39517 if (PyErr_Occurred()) SWIG_fail
;
39519 resultobj
= SWIG_Py_Void();
39526 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39527 PyObject
*resultobj
= 0;
39528 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39531 PyObject
*swig_obj
[1] ;
39533 if (!args
) SWIG_fail
;
39534 swig_obj
[0] = args
;
39535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39536 if (!SWIG_IsOK(res1
)) {
39537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39539 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39542 wxHelpProvider_Destroy(arg1
);
39543 wxPyEndAllowThreads(__tstate
);
39544 if (PyErr_Occurred()) SWIG_fail
;
39546 resultobj
= SWIG_Py_Void();
39553 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39556 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39557 return SWIG_Py_Void();
39560 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39561 PyObject
*resultobj
= 0;
39562 wxSimpleHelpProvider
*result
= 0 ;
39564 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39567 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39568 wxPyEndAllowThreads(__tstate
);
39569 if (PyErr_Occurred()) SWIG_fail
;
39571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39578 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39581 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39582 return SWIG_Py_Void();
39585 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39586 return SWIG_Python_InitShadowInstance(args
);
39589 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39590 PyObject
*resultobj
= 0;
39591 wxBitmap
*arg1
= 0 ;
39592 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39593 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39594 wxGenericDragImage
*result
= 0 ;
39599 PyObject
* obj0
= 0 ;
39600 PyObject
* obj1
= 0 ;
39601 char * kwnames
[] = {
39602 (char *) "image",(char *) "cursor", NULL
39605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39606 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39607 if (!SWIG_IsOK(res1
)) {
39608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39613 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39616 if (!SWIG_IsOK(res2
)) {
39617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39622 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39625 if (!wxPyCheckForApp()) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39628 wxPyEndAllowThreads(__tstate
);
39629 if (PyErr_Occurred()) SWIG_fail
;
39631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39638 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39639 PyObject
*resultobj
= 0;
39641 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39642 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39643 wxGenericDragImage
*result
= 0 ;
39648 PyObject
* obj0
= 0 ;
39649 PyObject
* obj1
= 0 ;
39650 char * kwnames
[] = {
39651 (char *) "image",(char *) "cursor", NULL
39654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39655 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39656 if (!SWIG_IsOK(res1
)) {
39657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39662 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39665 if (!SWIG_IsOK(res2
)) {
39666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39671 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39674 if (!wxPyCheckForApp()) SWIG_fail
;
39675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39676 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39677 wxPyEndAllowThreads(__tstate
);
39678 if (PyErr_Occurred()) SWIG_fail
;
39680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39687 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39688 PyObject
*resultobj
= 0;
39689 wxString
*arg1
= 0 ;
39690 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39691 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39692 wxGenericDragImage
*result
= 0 ;
39693 bool temp1
= false ;
39696 PyObject
* obj0
= 0 ;
39697 PyObject
* obj1
= 0 ;
39698 char * kwnames
[] = {
39699 (char *) "str",(char *) "cursor", NULL
39702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39704 arg1
= wxString_in_helper(obj0
);
39705 if (arg1
== NULL
) SWIG_fail
;
39709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39710 if (!SWIG_IsOK(res2
)) {
39711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39716 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39719 if (!wxPyCheckForApp()) SWIG_fail
;
39720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39721 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39722 wxPyEndAllowThreads(__tstate
);
39723 if (PyErr_Occurred()) SWIG_fail
;
39725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39740 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39741 PyObject
*resultobj
= 0;
39742 wxPyTreeCtrl
*arg1
= 0 ;
39743 wxTreeItemId
*arg2
= 0 ;
39744 wxGenericDragImage
*result
= 0 ;
39749 PyObject
* obj0
= 0 ;
39750 PyObject
* obj1
= 0 ;
39751 char * kwnames
[] = {
39752 (char *) "treeCtrl",(char *) "id", NULL
39755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39756 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39757 if (!SWIG_IsOK(res1
)) {
39758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39763 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39765 if (!SWIG_IsOK(res2
)) {
39766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39771 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39773 if (!wxPyCheckForApp()) SWIG_fail
;
39774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39775 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39786 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
= 0;
39788 wxPyListCtrl
*arg1
= 0 ;
39790 wxGenericDragImage
*result
= 0 ;
39795 PyObject
* obj0
= 0 ;
39796 PyObject
* obj1
= 0 ;
39797 char * kwnames
[] = {
39798 (char *) "listCtrl",(char *) "id", NULL
39801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39802 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39803 if (!SWIG_IsOK(res1
)) {
39804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39809 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39811 if (!SWIG_IsOK(ecode2
)) {
39812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39814 arg2
= static_cast< long >(val2
);
39816 if (!wxPyCheckForApp()) SWIG_fail
;
39817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39818 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39819 wxPyEndAllowThreads(__tstate
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39829 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39830 PyObject
*resultobj
= 0;
39831 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39834 PyObject
*swig_obj
[1] ;
39836 if (!args
) SWIG_fail
;
39837 swig_obj
[0] = args
;
39838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39839 if (!SWIG_IsOK(res1
)) {
39840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39842 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 resultobj
= SWIG_Py_Void();
39857 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39858 PyObject
*resultobj
= 0;
39859 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39860 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39865 PyObject
* obj0
= 0 ;
39866 PyObject
* obj1
= 0 ;
39867 char * kwnames
[] = {
39868 (char *) "self",(char *) "bitmap", NULL
39871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39873 if (!SWIG_IsOK(res1
)) {
39874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39876 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39878 if (!SWIG_IsOK(res2
)) {
39879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39881 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39884 (arg1
)->SetBackingBitmap(arg2
);
39885 wxPyEndAllowThreads(__tstate
);
39886 if (PyErr_Occurred()) SWIG_fail
;
39888 resultobj
= SWIG_Py_Void();
39895 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39896 PyObject
*resultobj
= 0;
39897 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39898 wxPoint
*arg2
= 0 ;
39899 wxWindow
*arg3
= (wxWindow
*) 0 ;
39900 bool arg4
= (bool) false ;
39901 wxRect
*arg5
= (wxRect
*) NULL
;
39912 PyObject
* obj0
= 0 ;
39913 PyObject
* obj1
= 0 ;
39914 PyObject
* obj2
= 0 ;
39915 PyObject
* obj3
= 0 ;
39916 PyObject
* obj4
= 0 ;
39917 char * kwnames
[] = {
39918 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39923 if (!SWIG_IsOK(res1
)) {
39924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39926 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39931 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39932 if (!SWIG_IsOK(res3
)) {
39933 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39935 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39937 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39938 if (!SWIG_IsOK(ecode4
)) {
39939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39941 arg4
= static_cast< bool >(val4
);
39944 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39945 if (!SWIG_IsOK(res5
)) {
39946 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39948 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39952 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39953 wxPyEndAllowThreads(__tstate
);
39954 if (PyErr_Occurred()) SWIG_fail
;
39957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39965 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39966 PyObject
*resultobj
= 0;
39967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39968 wxPoint
*arg2
= 0 ;
39969 wxWindow
*arg3
= (wxWindow
*) 0 ;
39970 wxWindow
*arg4
= (wxWindow
*) 0 ;
39979 PyObject
* obj0
= 0 ;
39980 PyObject
* obj1
= 0 ;
39981 PyObject
* obj2
= 0 ;
39982 PyObject
* obj3
= 0 ;
39983 char * kwnames
[] = {
39984 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39989 if (!SWIG_IsOK(res1
)) {
39990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39992 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39997 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39998 if (!SWIG_IsOK(res3
)) {
39999 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40001 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40002 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40003 if (!SWIG_IsOK(res4
)) {
40004 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40006 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40009 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40010 wxPyEndAllowThreads(__tstate
);
40011 if (PyErr_Occurred()) SWIG_fail
;
40014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40022 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40023 PyObject
*resultobj
= 0;
40024 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40028 PyObject
*swig_obj
[1] ;
40030 if (!args
) SWIG_fail
;
40031 swig_obj
[0] = args
;
40032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40033 if (!SWIG_IsOK(res1
)) {
40034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40036 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40039 result
= (bool)(arg1
)->EndDrag();
40040 wxPyEndAllowThreads(__tstate
);
40041 if (PyErr_Occurred()) SWIG_fail
;
40044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40052 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40053 PyObject
*resultobj
= 0;
40054 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40055 wxPoint
*arg2
= 0 ;
40060 PyObject
* obj0
= 0 ;
40061 PyObject
* obj1
= 0 ;
40062 char * kwnames
[] = {
40063 (char *) "self",(char *) "pt", NULL
40066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40068 if (!SWIG_IsOK(res1
)) {
40069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40071 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40078 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40079 wxPyEndAllowThreads(__tstate
);
40080 if (PyErr_Occurred()) SWIG_fail
;
40083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40091 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40092 PyObject
*resultobj
= 0;
40093 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40097 PyObject
*swig_obj
[1] ;
40099 if (!args
) SWIG_fail
;
40100 swig_obj
[0] = args
;
40101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40102 if (!SWIG_IsOK(res1
)) {
40103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40105 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40108 result
= (bool)(arg1
)->Show();
40109 wxPyEndAllowThreads(__tstate
);
40110 if (PyErr_Occurred()) SWIG_fail
;
40113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40121 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40122 PyObject
*resultobj
= 0;
40123 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40127 PyObject
*swig_obj
[1] ;
40129 if (!args
) SWIG_fail
;
40130 swig_obj
[0] = args
;
40131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40132 if (!SWIG_IsOK(res1
)) {
40133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40135 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40138 result
= (bool)(arg1
)->Hide();
40139 wxPyEndAllowThreads(__tstate
);
40140 if (PyErr_Occurred()) SWIG_fail
;
40143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40151 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40152 PyObject
*resultobj
= 0;
40153 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40154 wxPoint
*arg2
= 0 ;
40159 PyObject
* obj0
= 0 ;
40160 PyObject
* obj1
= 0 ;
40161 char * kwnames
[] = {
40162 (char *) "self",(char *) "pos", NULL
40165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40167 if (!SWIG_IsOK(res1
)) {
40168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40170 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40173 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40177 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40178 wxPyEndAllowThreads(__tstate
);
40179 if (PyErr_Occurred()) SWIG_fail
;
40181 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40188 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40189 PyObject
*resultobj
= 0;
40190 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40192 wxPoint
*arg3
= 0 ;
40199 PyObject
* obj0
= 0 ;
40200 PyObject
* obj1
= 0 ;
40201 PyObject
* obj2
= 0 ;
40202 char * kwnames
[] = {
40203 (char *) "self",(char *) "dc",(char *) "pos", NULL
40206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40208 if (!SWIG_IsOK(res1
)) {
40209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40211 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40213 if (!SWIG_IsOK(res2
)) {
40214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40219 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40226 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40227 wxPyEndAllowThreads(__tstate
);
40228 if (PyErr_Occurred()) SWIG_fail
;
40231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40239 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40240 PyObject
*resultobj
= 0;
40241 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40243 wxMemoryDC
*arg3
= 0 ;
40255 PyObject
* obj0
= 0 ;
40256 PyObject
* obj1
= 0 ;
40257 PyObject
* obj2
= 0 ;
40258 PyObject
* obj3
= 0 ;
40259 PyObject
* obj4
= 0 ;
40260 char * kwnames
[] = {
40261 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40266 if (!SWIG_IsOK(res1
)) {
40267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40269 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40271 if (!SWIG_IsOK(res2
)) {
40272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40277 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40278 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40279 if (!SWIG_IsOK(res3
)) {
40280 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40285 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40288 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40292 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40296 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40297 wxPyEndAllowThreads(__tstate
);
40298 if (PyErr_Occurred()) SWIG_fail
;
40301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40309 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40310 PyObject
*resultobj
= 0;
40311 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40312 wxPoint
*arg2
= 0 ;
40313 wxPoint
*arg3
= 0 ;
40325 PyObject
* obj0
= 0 ;
40326 PyObject
* obj1
= 0 ;
40327 PyObject
* obj2
= 0 ;
40328 PyObject
* obj3
= 0 ;
40329 PyObject
* obj4
= 0 ;
40330 char * kwnames
[] = {
40331 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40336 if (!SWIG_IsOK(res1
)) {
40337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40339 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40348 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40349 if (!SWIG_IsOK(ecode4
)) {
40350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40352 arg4
= static_cast< bool >(val4
);
40353 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40354 if (!SWIG_IsOK(ecode5
)) {
40355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40357 arg5
= static_cast< bool >(val5
);
40359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40360 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40361 wxPyEndAllowThreads(__tstate
);
40362 if (PyErr_Occurred()) SWIG_fail
;
40365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40373 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40376 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40377 return SWIG_Py_Void();
40380 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40381 return SWIG_Python_InitShadowInstance(args
);
40384 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40385 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40390 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40391 PyObject
*pyobj
= 0;
40395 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40397 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40404 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40405 PyObject
*resultobj
= 0;
40406 wxWindow
*arg1
= (wxWindow
*) 0 ;
40407 int arg2
= (int) -1 ;
40408 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40409 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40414 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40415 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40416 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40417 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40418 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40419 wxDatePickerCtrl
*result
= 0 ;
40432 bool temp8
= false ;
40433 PyObject
* obj0
= 0 ;
40434 PyObject
* obj1
= 0 ;
40435 PyObject
* obj2
= 0 ;
40436 PyObject
* obj3
= 0 ;
40437 PyObject
* obj4
= 0 ;
40438 PyObject
* obj5
= 0 ;
40439 PyObject
* obj6
= 0 ;
40440 PyObject
* obj7
= 0 ;
40441 char * kwnames
[] = {
40442 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40447 if (!SWIG_IsOK(res1
)) {
40448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40453 if (!SWIG_IsOK(ecode2
)) {
40454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40456 arg2
= static_cast< int >(val2
);
40459 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40460 if (!SWIG_IsOK(res3
)) {
40461 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40466 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40471 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40477 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40481 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40482 if (!SWIG_IsOK(ecode6
)) {
40483 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40485 arg6
= static_cast< long >(val6
);
40488 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40489 if (!SWIG_IsOK(res7
)) {
40490 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40495 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40499 arg8
= wxString_in_helper(obj7
);
40500 if (arg8
== NULL
) SWIG_fail
;
40505 if (!wxPyCheckForApp()) SWIG_fail
;
40506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40507 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40508 wxPyEndAllowThreads(__tstate
);
40509 if (PyErr_Occurred()) SWIG_fail
;
40511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40526 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40527 PyObject
*resultobj
= 0;
40528 wxDatePickerCtrl
*result
= 0 ;
40530 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40532 if (!wxPyCheckForApp()) SWIG_fail
;
40533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40534 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40535 wxPyEndAllowThreads(__tstate
);
40536 if (PyErr_Occurred()) SWIG_fail
;
40538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40545 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40546 PyObject
*resultobj
= 0;
40547 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40548 wxWindow
*arg2
= (wxWindow
*) 0 ;
40549 int arg3
= (int) -1 ;
40550 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40551 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40552 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40553 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40554 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40555 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40556 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40557 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40558 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40559 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40560 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40576 bool temp9
= false ;
40577 PyObject
* obj0
= 0 ;
40578 PyObject
* obj1
= 0 ;
40579 PyObject
* obj2
= 0 ;
40580 PyObject
* obj3
= 0 ;
40581 PyObject
* obj4
= 0 ;
40582 PyObject
* obj5
= 0 ;
40583 PyObject
* obj6
= 0 ;
40584 PyObject
* obj7
= 0 ;
40585 PyObject
* obj8
= 0 ;
40586 char * kwnames
[] = {
40587 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40592 if (!SWIG_IsOK(res1
)) {
40593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40595 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40597 if (!SWIG_IsOK(res2
)) {
40598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40600 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40603 if (!SWIG_IsOK(ecode3
)) {
40604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40606 arg3
= static_cast< int >(val3
);
40609 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40610 if (!SWIG_IsOK(res4
)) {
40611 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40616 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40621 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40627 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40631 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40632 if (!SWIG_IsOK(ecode7
)) {
40633 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40635 arg7
= static_cast< long >(val7
);
40638 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40639 if (!SWIG_IsOK(res8
)) {
40640 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40645 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40649 arg9
= wxString_in_helper(obj8
);
40650 if (arg9
== NULL
) SWIG_fail
;
40655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40657 wxPyEndAllowThreads(__tstate
);
40658 if (PyErr_Occurred()) SWIG_fail
;
40661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40677 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40678 PyObject
*resultobj
= 0;
40679 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40680 wxDateTime
*arg2
= 0 ;
40685 PyObject
* obj0
= 0 ;
40686 PyObject
* obj1
= 0 ;
40687 char * kwnames
[] = {
40688 (char *) "self",(char *) "dt", NULL
40691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40693 if (!SWIG_IsOK(res1
)) {
40694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40696 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40698 if (!SWIG_IsOK(res2
)) {
40699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40704 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40707 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40708 wxPyEndAllowThreads(__tstate
);
40709 if (PyErr_Occurred()) SWIG_fail
;
40711 resultobj
= SWIG_Py_Void();
40718 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40719 PyObject
*resultobj
= 0;
40720 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40724 PyObject
*swig_obj
[1] ;
40726 if (!args
) SWIG_fail
;
40727 swig_obj
[0] = args
;
40728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40729 if (!SWIG_IsOK(res1
)) {
40730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40732 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40735 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40736 wxPyEndAllowThreads(__tstate
);
40737 if (PyErr_Occurred()) SWIG_fail
;
40739 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40746 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40747 PyObject
*resultobj
= 0;
40748 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40749 wxDateTime
*arg2
= 0 ;
40750 wxDateTime
*arg3
= 0 ;
40757 PyObject
* obj0
= 0 ;
40758 PyObject
* obj1
= 0 ;
40759 PyObject
* obj2
= 0 ;
40760 char * kwnames
[] = {
40761 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40766 if (!SWIG_IsOK(res1
)) {
40767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40769 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40771 if (!SWIG_IsOK(res2
)) {
40772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40777 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40778 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40779 if (!SWIG_IsOK(res3
)) {
40780 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40785 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40788 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40789 wxPyEndAllowThreads(__tstate
);
40790 if (PyErr_Occurred()) SWIG_fail
;
40792 resultobj
= SWIG_Py_Void();
40799 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40800 PyObject
*resultobj
= 0;
40801 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40805 PyObject
*swig_obj
[1] ;
40807 if (!args
) SWIG_fail
;
40808 swig_obj
[0] = args
;
40809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40810 if (!SWIG_IsOK(res1
)) {
40811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40813 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40816 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40817 wxPyEndAllowThreads(__tstate
);
40818 if (PyErr_Occurred()) SWIG_fail
;
40820 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40827 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40828 PyObject
*resultobj
= 0;
40829 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40833 PyObject
*swig_obj
[1] ;
40835 if (!args
) SWIG_fail
;
40836 swig_obj
[0] = args
;
40837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40838 if (!SWIG_IsOK(res1
)) {
40839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40841 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40844 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40845 wxPyEndAllowThreads(__tstate
);
40846 if (PyErr_Occurred()) SWIG_fail
;
40848 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40855 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40858 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40859 return SWIG_Py_Void();
40862 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40863 return SWIG_Python_InitShadowInstance(args
);
40866 static PyMethodDef SwigMethods
[] = {
40867 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40869 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40871 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40872 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40874 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40875 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40877 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40879 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40880 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40881 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40882 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40883 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40890 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40891 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40892 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40893 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40895 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40897 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40898 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40900 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40902 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40903 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40905 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40906 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40908 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40910 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40912 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40913 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40915 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40917 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40919 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40920 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40921 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40923 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40924 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
40927 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40928 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40932 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40934 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40935 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40936 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40937 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40938 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40939 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40940 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40941 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40942 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40944 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40945 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40947 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40950 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40952 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40953 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40955 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40957 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40959 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40960 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40962 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40965 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40966 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40968 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40970 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40971 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40973 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40974 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40976 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40980 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40981 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40983 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40985 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40989 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40990 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40992 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
41003 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
41008 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
41014 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
41015 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
41017 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
41021 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
41022 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
41023 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
41025 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
41026 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41035 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41036 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41037 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41038 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41039 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41040 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41041 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41043 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41044 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41045 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41046 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41047 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41048 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41049 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41050 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
41051 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
41052 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
41054 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
41055 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
41057 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
41059 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
41064 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
41065 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
41066 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
41067 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
41068 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
41069 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
41070 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
41071 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
41076 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
41077 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
41085 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
41091 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
41092 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
41093 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
41094 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
41095 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
41096 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
41097 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
41098 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
41099 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
41100 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
41102 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
41103 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
41104 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
41106 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
41109 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
41113 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
41114 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
41116 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
41117 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
41118 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
41119 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
41120 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
41122 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
41124 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
41125 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
41126 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
41127 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
41128 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
41131 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
41132 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
41134 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
41136 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
41137 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
41138 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
41143 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
41145 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
41146 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
41148 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
41150 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
41154 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
41155 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
41158 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
41159 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
41161 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
41164 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41166 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41169 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41170 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41172 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41180 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41181 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41184 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41185 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41187 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41189 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41192 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41193 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41195 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41197 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41200 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41201 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41206 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41207 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41209 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41211 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41212 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41214 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41215 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41216 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41219 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41220 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41222 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41225 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41227 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41228 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41229 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41231 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41232 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41237 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41242 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41244 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41246 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41249 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41255 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41257 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41259 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41261 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41262 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41264 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41266 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41270 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41272 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41273 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41275 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41276 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41278 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41280 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41281 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41282 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41284 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41285 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41287 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41289 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41290 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41291 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41293 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41294 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41296 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41304 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41305 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41306 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41308 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41309 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41311 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41313 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41314 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41315 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41316 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41318 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41319 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41320 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41321 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41322 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41323 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41324 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41325 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41326 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41327 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41328 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41329 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41330 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41331 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41332 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41333 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41334 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41335 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41336 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41338 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41345 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41347 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41349 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41357 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41362 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41363 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41380 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41381 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41382 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41383 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41386 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41387 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41389 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41390 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41393 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41394 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41395 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41397 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41401 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41402 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41404 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41408 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41409 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41410 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41411 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41412 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41413 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41415 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41416 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41417 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41418 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41419 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41420 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41421 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41435 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41436 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41437 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41438 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41439 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41440 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41441 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41442 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41443 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41444 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41445 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41446 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41447 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41448 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41449 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41450 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41451 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41452 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41453 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41454 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41455 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41456 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41457 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41458 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41459 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41460 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41461 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41462 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41463 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41464 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41465 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41466 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41467 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41468 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41469 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41470 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41472 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41473 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41474 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41475 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41476 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41477 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41478 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41479 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41480 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41481 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41482 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41483 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41484 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41485 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41486 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41487 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41488 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41489 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41490 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41491 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41492 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41493 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41494 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41495 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41497 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41498 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41500 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41507 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41508 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41509 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41524 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41525 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41526 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41527 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41528 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41530 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41536 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41537 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41542 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41544 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41545 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41568 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41570 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41571 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41573 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41577 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41579 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41583 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41584 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41585 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41586 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41587 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41590 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41591 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41592 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41593 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41595 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41596 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41598 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41600 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41601 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41602 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41604 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41606 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41608 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41610 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41611 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41613 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41615 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41618 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41619 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41620 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41622 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41625 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41626 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41628 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41630 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41631 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41659 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41660 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41661 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41668 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41678 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41683 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41685 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41691 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41699 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41700 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41702 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41705 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41707 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41708 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41711 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41712 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41714 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41716 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41717 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41718 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41720 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41721 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41722 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41723 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41725 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41728 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41729 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41731 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41739 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41740 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41741 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41742 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41743 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41744 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41745 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41746 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41747 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41749 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41751 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41753 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41755 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41756 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41758 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41760 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41761 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41762 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41764 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41765 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41766 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41768 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41774 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41775 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41776 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41777 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41778 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41784 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41788 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41790 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41791 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41796 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41797 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41799 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41802 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41804 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41805 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41806 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41807 { NULL
, NULL
, 0, NULL
}
41811 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41813 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41814 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41816 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41817 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41819 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41820 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41822 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41823 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41825 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41826 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41828 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41829 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41831 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41832 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41834 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41835 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41837 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41838 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41840 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41843 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41846 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41847 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41849 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41850 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41852 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41853 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41855 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41856 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41858 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41859 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41861 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41862 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41864 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41865 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41867 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41868 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41870 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41871 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41873 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41874 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41876 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41877 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41879 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41880 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41882 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41883 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41885 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41886 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41888 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41889 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41891 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41892 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41894 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41895 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41897 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41898 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41900 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41901 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41903 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41904 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41906 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41907 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41909 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41910 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41912 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41913 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41915 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41916 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41918 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41919 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41921 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41922 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41924 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41925 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41927 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41928 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41930 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41931 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41933 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41934 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41936 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41937 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41939 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41940 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41942 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41943 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41945 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41946 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41948 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41949 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41951 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41952 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41954 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41955 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
41957 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41958 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41960 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41961 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41963 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41964 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41966 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41967 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41969 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41970 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41972 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41973 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41975 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41976 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41978 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41979 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41981 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41982 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41984 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41985 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41987 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41988 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41990 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41991 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41993 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41994 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41996 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41997 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41999 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
42000 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42002 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
42003 return (void *)((wxControl
*) ((wxPyControl
*) x
));
42005 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
42006 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
42008 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
42009 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
42011 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42012 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42014 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
42015 return (void *)((wxControl
*) ((wxGauge
*) x
));
42017 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
42018 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
42020 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
42021 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42023 static void *_p_wxListbookTo_p_wxControl(void *x
) {
42024 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
42026 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
42027 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
42029 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
42030 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
42032 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
42033 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
42035 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
42036 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42038 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
42039 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42041 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
42042 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42044 static void *_p_wxListViewTo_p_wxControl(void *x
) {
42045 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
42047 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
42048 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
42050 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
42051 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
42053 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
42054 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
42056 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
42057 return (void *)((wxControl
*) ((wxStaticText
*) x
));
42059 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
42060 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
42062 static void *_p_wxSliderTo_p_wxControl(void *x
) {
42063 return (void *)((wxControl
*) ((wxSlider
*) x
));
42065 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
42066 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
42068 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
42069 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
42071 static void *_p_wxButtonTo_p_wxControl(void *x
) {
42072 return (void *)((wxControl
*) ((wxButton
*) x
));
42074 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
42075 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
42077 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
42078 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42080 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
42081 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
42083 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
42084 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
42086 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
42087 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
42089 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
42090 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
42092 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
42093 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42095 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
42096 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42098 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
42099 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42101 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
42102 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
42104 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
42105 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42107 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
42108 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42110 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
42111 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42113 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
42114 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42116 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
42117 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42119 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
42120 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42122 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
42123 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42125 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
42126 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
42128 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
42129 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
42131 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
42132 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
42134 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
42135 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
42137 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42138 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42140 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
42141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42143 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42144 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42146 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42147 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42149 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
42150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42152 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42153 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42155 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
42156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42158 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
42159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42161 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
42162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42164 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42165 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42167 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42168 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42170 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42173 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42176 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42179 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42182 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42185 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42186 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42188 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42191 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42194 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42197 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42200 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42203 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42206 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42209 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42212 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42215 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42218 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42221 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42224 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42227 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42230 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42233 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42236 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42239 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42242 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42245 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42248 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42251 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42254 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42257 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42260 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42263 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42266 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42269 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42270 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42272 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42273 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42275 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42276 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42278 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42279 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42281 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42282 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42284 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42285 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42287 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42290 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42291 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42293 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42294 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42296 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42299 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42300 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42302 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42305 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42306 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42308 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42309 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42311 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42312 return (void *)((wxObject
*) ((wxSizer
*) x
));
42314 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42315 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42317 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42320 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42323 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42326 static void *_p_wxEventTo_p_wxObject(void *x
) {
42327 return (void *)((wxObject
*) ((wxEvent
*) x
));
42329 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42330 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42332 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42333 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42335 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42336 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42338 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42341 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42344 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42347 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42348 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42350 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42351 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42353 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42354 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42356 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42357 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42359 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42360 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42362 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42363 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42365 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42368 static void *_p_wxControlTo_p_wxObject(void *x
) {
42369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42371 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42374 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42377 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42380 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42383 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42386 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42387 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42389 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42392 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42393 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42395 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42396 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42398 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42401 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42404 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42407 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42410 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42411 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42413 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42414 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42416 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42419 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42422 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42423 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42425 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42428 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42431 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42432 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42434 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42437 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42438 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42440 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42443 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42444 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42446 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42447 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42449 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42450 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42452 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42453 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42455 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42456 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42458 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42459 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42461 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42464 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42465 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42467 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42470 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42473 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42476 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42479 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42482 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42485 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42486 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42488 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42489 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42491 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42492 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42494 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42497 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42500 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42501 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42503 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42504 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42506 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42509 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42510 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42512 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42515 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42518 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42521 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42524 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42527 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42530 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42533 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42534 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42536 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42537 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42539 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42542 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42545 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42548 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42551 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42552 return (void *)((wxObject
*) ((wxListItem
*) x
));
42554 static void *_p_wxImageTo_p_wxObject(void *x
) {
42555 return (void *)((wxObject
*) ((wxImage
*) x
));
42557 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42558 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42560 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42563 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42564 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42566 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42569 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42570 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42572 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42575 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42578 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42581 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42584 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42587 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42588 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42590 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42591 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42593 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42594 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42596 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42597 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42599 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42602 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42603 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42605 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42608 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42609 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42611 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42612 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42614 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42615 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42617 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42618 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42620 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42621 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42623 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42626 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42629 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42632 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42633 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42635 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42638 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42639 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42641 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42642 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42644 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42647 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42650 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42653 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42654 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42656 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42659 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42662 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42663 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42665 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42666 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42668 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42669 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42671 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42672 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42674 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42675 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42677 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42678 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42680 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42681 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42683 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42684 return (void *)((wxWindow
*) ((wxControl
*) x
));
42686 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42687 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42689 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42690 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42692 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42693 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42695 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42696 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42698 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42699 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42701 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42702 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42704 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42705 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42707 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42708 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42710 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42711 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42713 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42714 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42716 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42717 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42719 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42720 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42722 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42723 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42725 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42726 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42728 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42729 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42731 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42732 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42734 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42735 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42737 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42738 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42740 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42741 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42743 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42744 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42746 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42747 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42749 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42750 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42752 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42753 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42755 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42756 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42758 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42759 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42761 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42762 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42764 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42765 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42767 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42768 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42770 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42771 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42773 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42774 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42776 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42777 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42779 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42780 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42782 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42783 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42785 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42786 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42788 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42789 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42791 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42792 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42794 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42795 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42797 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42798 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42800 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42801 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42803 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42804 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42806 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42807 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42809 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42810 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42812 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42813 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42815 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42816 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42818 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42819 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42821 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42822 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42824 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42825 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42827 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42828 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42830 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42831 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42833 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42834 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42836 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42837 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42839 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42840 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42842 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42843 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42845 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42846 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42848 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42849 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42851 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42852 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42854 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42855 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42857 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
42858 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
42860 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42861 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42863 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42864 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42866 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42867 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42869 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42870 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42872 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42873 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42875 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42876 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42877 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};
42878 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42879 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42880 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42881 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42882 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42883 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42884 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42885 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42886 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42887 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42888 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42889 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42890 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42891 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42892 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42893 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42894 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42895 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42896 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42897 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42898 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42899 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42900 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42901 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42902 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42903 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42904 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42905 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42906 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42907 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42908 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42909 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42910 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42911 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42912 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42913 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42914 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42915 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42916 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42917 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42918 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42919 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42920 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42921 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42922 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42923 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42924 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42925 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42926 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42927 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42928 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42929 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42930 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42931 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42932 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42933 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42934 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42935 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42936 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42937 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42938 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42939 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42940 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42941 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42942 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42943 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42944 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42945 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42946 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42947 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42948 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42949 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42950 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42951 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42952 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42953 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42954 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42955 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42956 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42957 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42958 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42959 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42960 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42961 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42962 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42963 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42964 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42965 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42966 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42967 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42968 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42969 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42970 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42971 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42972 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42973 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42974 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42975 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42976 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42977 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42978 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42979 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42980 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42981 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42982 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42983 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42984 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42985 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42986 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42987 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42988 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42989 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42990 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42991 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42992 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42993 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42994 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42995 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42996 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42997 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42998 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42999 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
43000 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
43001 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
43002 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
43003 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
43004 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
43005 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
43006 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
43007 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
43008 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
43009 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
43010 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
43011 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
43012 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
43013 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
43014 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
43015 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
43016 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
43017 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
43018 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
43019 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
43020 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
43021 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
43022 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
43023 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
43024 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
43025 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
43026 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
43027 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
43028 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
43029 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
43030 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
43031 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
43032 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
43033 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
43034 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
43035 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
43036 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
43037 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
43039 static swig_type_info
*swig_type_initial
[] = {
43042 &_swigt__p_form_ops_t
,
43045 &_swigt__p_unsigned_char
,
43046 &_swigt__p_unsigned_int
,
43047 &_swigt__p_unsigned_long
,
43049 &_swigt__p_wxANIHandler
,
43050 &_swigt__p_wxAcceleratorTable
,
43051 &_swigt__p_wxActivateEvent
,
43052 &_swigt__p_wxArrayInt
,
43053 &_swigt__p_wxArrayString
,
43054 &_swigt__p_wxBMPHandler
,
43055 &_swigt__p_wxBitmap
,
43056 &_swigt__p_wxBitmapButton
,
43057 &_swigt__p_wxBookCtrlBase
,
43058 &_swigt__p_wxBookCtrlBaseEvent
,
43059 &_swigt__p_wxBoxSizer
,
43060 &_swigt__p_wxButton
,
43061 &_swigt__p_wxCURHandler
,
43062 &_swigt__p_wxCheckBox
,
43063 &_swigt__p_wxCheckListBox
,
43064 &_swigt__p_wxChildFocusEvent
,
43065 &_swigt__p_wxChoice
,
43066 &_swigt__p_wxChoicebook
,
43067 &_swigt__p_wxChoicebookEvent
,
43068 &_swigt__p_wxCloseEvent
,
43069 &_swigt__p_wxColour
,
43070 &_swigt__p_wxComboBox
,
43071 &_swigt__p_wxCommandEvent
,
43072 &_swigt__p_wxContextHelp
,
43073 &_swigt__p_wxContextHelpButton
,
43074 &_swigt__p_wxContextMenuEvent
,
43075 &_swigt__p_wxControl
,
43076 &_swigt__p_wxControlWithItems
,
43077 &_swigt__p_wxCursor
,
43079 &_swigt__p_wxDateEvent
,
43080 &_swigt__p_wxDatePickerCtrl
,
43081 &_swigt__p_wxDateTime
,
43082 &_swigt__p_wxDirFilterListCtrl
,
43083 &_swigt__p_wxDisplayChangedEvent
,
43084 &_swigt__p_wxDropFilesEvent
,
43085 &_swigt__p_wxDuplexMode
,
43086 &_swigt__p_wxEraseEvent
,
43087 &_swigt__p_wxEvent
,
43088 &_swigt__p_wxEvtHandler
,
43089 &_swigt__p_wxFSFile
,
43090 &_swigt__p_wxFileSystem
,
43091 &_swigt__p_wxFlexGridSizer
,
43092 &_swigt__p_wxFocusEvent
,
43094 &_swigt__p_wxGBSizerItem
,
43095 &_swigt__p_wxGIFHandler
,
43096 &_swigt__p_wxGauge
,
43097 &_swigt__p_wxGenericDirCtrl
,
43098 &_swigt__p_wxGenericDragImage
,
43099 &_swigt__p_wxGridBagSizer
,
43100 &_swigt__p_wxGridSizer
,
43101 &_swigt__p_wxHelpEvent
,
43102 &_swigt__p_wxHelpProvider
,
43103 &_swigt__p_wxICOHandler
,
43105 &_swigt__p_wxIconizeEvent
,
43106 &_swigt__p_wxIdleEvent
,
43107 &_swigt__p_wxImage
,
43108 &_swigt__p_wxImageHandler
,
43109 &_swigt__p_wxImageList
,
43110 &_swigt__p_wxIndividualLayoutConstraint
,
43111 &_swigt__p_wxInitDialogEvent
,
43112 &_swigt__p_wxItemContainer
,
43113 &_swigt__p_wxJPEGHandler
,
43114 &_swigt__p_wxKeyEvent
,
43115 &_swigt__p_wxLayoutConstraints
,
43116 &_swigt__p_wxListBox
,
43117 &_swigt__p_wxListEvent
,
43118 &_swigt__p_wxListItem
,
43119 &_swigt__p_wxListItemAttr
,
43120 &_swigt__p_wxListView
,
43121 &_swigt__p_wxListbook
,
43122 &_swigt__p_wxListbookEvent
,
43123 &_swigt__p_wxMaximizeEvent
,
43124 &_swigt__p_wxMemoryDC
,
43126 &_swigt__p_wxMenuBar
,
43127 &_swigt__p_wxMenuEvent
,
43128 &_swigt__p_wxMenuItem
,
43129 &_swigt__p_wxMouseCaptureChangedEvent
,
43130 &_swigt__p_wxMouseEvent
,
43131 &_swigt__p_wxMoveEvent
,
43132 &_swigt__p_wxNavigationKeyEvent
,
43133 &_swigt__p_wxNcPaintEvent
,
43134 &_swigt__p_wxNotebook
,
43135 &_swigt__p_wxNotebookEvent
,
43136 &_swigt__p_wxNotifyEvent
,
43137 &_swigt__p_wxObject
,
43138 &_swigt__p_wxPCXHandler
,
43139 &_swigt__p_wxPNGHandler
,
43140 &_swigt__p_wxPNMHandler
,
43141 &_swigt__p_wxPaintEvent
,
43142 &_swigt__p_wxPaletteChangedEvent
,
43143 &_swigt__p_wxPaperSize
,
43144 &_swigt__p_wxPoint
,
43145 &_swigt__p_wxPyApp
,
43146 &_swigt__p_wxPyCommandEvent
,
43147 &_swigt__p_wxPyControl
,
43148 &_swigt__p_wxPyEvent
,
43149 &_swigt__p_wxPyImageHandler
,
43150 &_swigt__p_wxPyListCtrl
,
43151 &_swigt__p_wxPySizer
,
43152 &_swigt__p_wxPyTreeCtrl
,
43153 &_swigt__p_wxPyTreeItemData
,
43154 &_swigt__p_wxPyValidator
,
43155 &_swigt__p_wxQueryNewPaletteEvent
,
43156 &_swigt__p_wxRadioBox
,
43157 &_swigt__p_wxRadioButton
,
43159 &_swigt__p_wxScrollBar
,
43160 &_swigt__p_wxScrollEvent
,
43161 &_swigt__p_wxScrollWinEvent
,
43162 &_swigt__p_wxSetCursorEvent
,
43163 &_swigt__p_wxShowEvent
,
43164 &_swigt__p_wxSimpleHelpProvider
,
43166 &_swigt__p_wxSizeEvent
,
43167 &_swigt__p_wxSizer
,
43168 &_swigt__p_wxSizerItem
,
43169 &_swigt__p_wxSlider
,
43170 &_swigt__p_wxSpinButton
,
43171 &_swigt__p_wxSpinCtrl
,
43172 &_swigt__p_wxSpinEvent
,
43173 &_swigt__p_wxStaticBitmap
,
43174 &_swigt__p_wxStaticBox
,
43175 &_swigt__p_wxStaticBoxSizer
,
43176 &_swigt__p_wxStaticLine
,
43177 &_swigt__p_wxStaticText
,
43178 &_swigt__p_wxStdDialogButtonSizer
,
43179 &_swigt__p_wxString
,
43180 &_swigt__p_wxSysColourChangedEvent
,
43181 &_swigt__p_wxTIFFHandler
,
43182 &_swigt__p_wxTextAttr
,
43183 &_swigt__p_wxTextCtrl
,
43184 &_swigt__p_wxTextUrlEvent
,
43185 &_swigt__p_wxToggleButton
,
43186 &_swigt__p_wxToolBar
,
43187 &_swigt__p_wxToolBarBase
,
43188 &_swigt__p_wxToolBarToolBase
,
43189 &_swigt__p_wxToolbook
,
43190 &_swigt__p_wxToolbookEvent
,
43191 &_swigt__p_wxTreeCtrl
,
43192 &_swigt__p_wxTreeEvent
,
43193 &_swigt__p_wxTreeItemId
,
43194 &_swigt__p_wxTreebook
,
43195 &_swigt__p_wxTreebookEvent
,
43196 &_swigt__p_wxUpdateUIEvent
,
43197 &_swigt__p_wxValidator
,
43198 &_swigt__p_wxVisualAttributes
,
43199 &_swigt__p_wxWindow
,
43200 &_swigt__p_wxWindowCreateEvent
,
43201 &_swigt__p_wxWindowDestroyEvent
,
43202 &_swigt__p_wxXPMHandler
,
43205 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43206 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43207 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43208 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43209 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43210 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43211 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43212 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43213 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43214 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43215 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43216 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43217 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}};
43218 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}};
43219 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}};
43220 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}};
43221 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43222 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43223 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}};
43224 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43225 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43226 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43227 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43228 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43229 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43230 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43231 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43232 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43233 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43234 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43235 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43236 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}};
43237 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43238 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43239 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}};
43240 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}};
43241 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43242 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43243 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43244 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43245 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43246 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43247 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43248 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43249 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43250 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43251 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43252 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43253 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43254 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43255 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43256 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43257 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43258 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43259 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43260 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43261 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43262 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43263 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43264 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43265 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43266 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43267 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43268 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43269 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43270 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43271 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}};
43272 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43273 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43274 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43275 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43276 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}};
43277 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43278 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43279 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43280 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43281 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43282 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}};
43283 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43284 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43285 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}};
43286 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43287 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}};
43288 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43289 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43290 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43291 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43292 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43293 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43294 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43295 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43296 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43297 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43298 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}};
43299 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43300 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43301 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43302 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43303 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43304 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43305 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43306 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43307 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43308 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43309 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43310 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43311 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43312 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43313 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43314 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43315 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43316 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43317 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43318 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43319 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43320 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43321 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43322 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43323 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43324 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43325 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43326 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43327 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43328 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43329 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}};
43330 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43331 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43332 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43333 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}};
43334 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43335 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43336 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43337 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43338 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43339 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43340 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43341 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43342 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43343 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43344 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43345 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43346 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43347 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43348 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43349 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43350 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43351 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43352 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43353 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43354 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43355 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43356 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}};
43357 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43358 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43359 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43360 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43361 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43362 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43363 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43364 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43365 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}};
43366 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43367 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}};
43369 static swig_cast_info
*swig_cast_initial
[] = {
43372 _swigc__p_form_ops_t
,
43375 _swigc__p_unsigned_char
,
43376 _swigc__p_unsigned_int
,
43377 _swigc__p_unsigned_long
,
43379 _swigc__p_wxANIHandler
,
43380 _swigc__p_wxAcceleratorTable
,
43381 _swigc__p_wxActivateEvent
,
43382 _swigc__p_wxArrayInt
,
43383 _swigc__p_wxArrayString
,
43384 _swigc__p_wxBMPHandler
,
43385 _swigc__p_wxBitmap
,
43386 _swigc__p_wxBitmapButton
,
43387 _swigc__p_wxBookCtrlBase
,
43388 _swigc__p_wxBookCtrlBaseEvent
,
43389 _swigc__p_wxBoxSizer
,
43390 _swigc__p_wxButton
,
43391 _swigc__p_wxCURHandler
,
43392 _swigc__p_wxCheckBox
,
43393 _swigc__p_wxCheckListBox
,
43394 _swigc__p_wxChildFocusEvent
,
43395 _swigc__p_wxChoice
,
43396 _swigc__p_wxChoicebook
,
43397 _swigc__p_wxChoicebookEvent
,
43398 _swigc__p_wxCloseEvent
,
43399 _swigc__p_wxColour
,
43400 _swigc__p_wxComboBox
,
43401 _swigc__p_wxCommandEvent
,
43402 _swigc__p_wxContextHelp
,
43403 _swigc__p_wxContextHelpButton
,
43404 _swigc__p_wxContextMenuEvent
,
43405 _swigc__p_wxControl
,
43406 _swigc__p_wxControlWithItems
,
43407 _swigc__p_wxCursor
,
43409 _swigc__p_wxDateEvent
,
43410 _swigc__p_wxDatePickerCtrl
,
43411 _swigc__p_wxDateTime
,
43412 _swigc__p_wxDirFilterListCtrl
,
43413 _swigc__p_wxDisplayChangedEvent
,
43414 _swigc__p_wxDropFilesEvent
,
43415 _swigc__p_wxDuplexMode
,
43416 _swigc__p_wxEraseEvent
,
43418 _swigc__p_wxEvtHandler
,
43419 _swigc__p_wxFSFile
,
43420 _swigc__p_wxFileSystem
,
43421 _swigc__p_wxFlexGridSizer
,
43422 _swigc__p_wxFocusEvent
,
43424 _swigc__p_wxGBSizerItem
,
43425 _swigc__p_wxGIFHandler
,
43427 _swigc__p_wxGenericDirCtrl
,
43428 _swigc__p_wxGenericDragImage
,
43429 _swigc__p_wxGridBagSizer
,
43430 _swigc__p_wxGridSizer
,
43431 _swigc__p_wxHelpEvent
,
43432 _swigc__p_wxHelpProvider
,
43433 _swigc__p_wxICOHandler
,
43435 _swigc__p_wxIconizeEvent
,
43436 _swigc__p_wxIdleEvent
,
43438 _swigc__p_wxImageHandler
,
43439 _swigc__p_wxImageList
,
43440 _swigc__p_wxIndividualLayoutConstraint
,
43441 _swigc__p_wxInitDialogEvent
,
43442 _swigc__p_wxItemContainer
,
43443 _swigc__p_wxJPEGHandler
,
43444 _swigc__p_wxKeyEvent
,
43445 _swigc__p_wxLayoutConstraints
,
43446 _swigc__p_wxListBox
,
43447 _swigc__p_wxListEvent
,
43448 _swigc__p_wxListItem
,
43449 _swigc__p_wxListItemAttr
,
43450 _swigc__p_wxListView
,
43451 _swigc__p_wxListbook
,
43452 _swigc__p_wxListbookEvent
,
43453 _swigc__p_wxMaximizeEvent
,
43454 _swigc__p_wxMemoryDC
,
43456 _swigc__p_wxMenuBar
,
43457 _swigc__p_wxMenuEvent
,
43458 _swigc__p_wxMenuItem
,
43459 _swigc__p_wxMouseCaptureChangedEvent
,
43460 _swigc__p_wxMouseEvent
,
43461 _swigc__p_wxMoveEvent
,
43462 _swigc__p_wxNavigationKeyEvent
,
43463 _swigc__p_wxNcPaintEvent
,
43464 _swigc__p_wxNotebook
,
43465 _swigc__p_wxNotebookEvent
,
43466 _swigc__p_wxNotifyEvent
,
43467 _swigc__p_wxObject
,
43468 _swigc__p_wxPCXHandler
,
43469 _swigc__p_wxPNGHandler
,
43470 _swigc__p_wxPNMHandler
,
43471 _swigc__p_wxPaintEvent
,
43472 _swigc__p_wxPaletteChangedEvent
,
43473 _swigc__p_wxPaperSize
,
43476 _swigc__p_wxPyCommandEvent
,
43477 _swigc__p_wxPyControl
,
43478 _swigc__p_wxPyEvent
,
43479 _swigc__p_wxPyImageHandler
,
43480 _swigc__p_wxPyListCtrl
,
43481 _swigc__p_wxPySizer
,
43482 _swigc__p_wxPyTreeCtrl
,
43483 _swigc__p_wxPyTreeItemData
,
43484 _swigc__p_wxPyValidator
,
43485 _swigc__p_wxQueryNewPaletteEvent
,
43486 _swigc__p_wxRadioBox
,
43487 _swigc__p_wxRadioButton
,
43489 _swigc__p_wxScrollBar
,
43490 _swigc__p_wxScrollEvent
,
43491 _swigc__p_wxScrollWinEvent
,
43492 _swigc__p_wxSetCursorEvent
,
43493 _swigc__p_wxShowEvent
,
43494 _swigc__p_wxSimpleHelpProvider
,
43496 _swigc__p_wxSizeEvent
,
43498 _swigc__p_wxSizerItem
,
43499 _swigc__p_wxSlider
,
43500 _swigc__p_wxSpinButton
,
43501 _swigc__p_wxSpinCtrl
,
43502 _swigc__p_wxSpinEvent
,
43503 _swigc__p_wxStaticBitmap
,
43504 _swigc__p_wxStaticBox
,
43505 _swigc__p_wxStaticBoxSizer
,
43506 _swigc__p_wxStaticLine
,
43507 _swigc__p_wxStaticText
,
43508 _swigc__p_wxStdDialogButtonSizer
,
43509 _swigc__p_wxString
,
43510 _swigc__p_wxSysColourChangedEvent
,
43511 _swigc__p_wxTIFFHandler
,
43512 _swigc__p_wxTextAttr
,
43513 _swigc__p_wxTextCtrl
,
43514 _swigc__p_wxTextUrlEvent
,
43515 _swigc__p_wxToggleButton
,
43516 _swigc__p_wxToolBar
,
43517 _swigc__p_wxToolBarBase
,
43518 _swigc__p_wxToolBarToolBase
,
43519 _swigc__p_wxToolbook
,
43520 _swigc__p_wxToolbookEvent
,
43521 _swigc__p_wxTreeCtrl
,
43522 _swigc__p_wxTreeEvent
,
43523 _swigc__p_wxTreeItemId
,
43524 _swigc__p_wxTreebook
,
43525 _swigc__p_wxTreebookEvent
,
43526 _swigc__p_wxUpdateUIEvent
,
43527 _swigc__p_wxValidator
,
43528 _swigc__p_wxVisualAttributes
,
43529 _swigc__p_wxWindow
,
43530 _swigc__p_wxWindowCreateEvent
,
43531 _swigc__p_wxWindowDestroyEvent
,
43532 _swigc__p_wxXPMHandler
,
43536 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43538 static swig_const_info swig_const_table
[] = {
43539 {0, 0, 0, 0.0, 0, 0}};
43544 /* -----------------------------------------------------------------------------
43545 * Type initialization:
43546 * This problem is tough by the requirement that no dynamic
43547 * memory is used. Also, since swig_type_info structures store pointers to
43548 * swig_cast_info structures and swig_cast_info structures store pointers back
43549 * to swig_type_info structures, we need some lookup code at initialization.
43550 * The idea is that swig generates all the structures that are needed.
43551 * The runtime then collects these partially filled structures.
43552 * The SWIG_InitializeModule function takes these initial arrays out of
43553 * swig_module, and does all the lookup, filling in the swig_module.types
43554 * array with the correct data and linking the correct swig_cast_info
43555 * structures together.
43557 * The generated swig_type_info structures are assigned staticly to an initial
43558 * array. We just loop though that array, and handle each type individually.
43559 * First we lookup if this type has been already loaded, and if so, use the
43560 * loaded structure instead of the generated one. Then we have to fill in the
43561 * cast linked list. The cast data is initially stored in something like a
43562 * two-dimensional array. Each row corresponds to a type (there are the same
43563 * number of rows as there are in the swig_type_initial array). Each entry in
43564 * a column is one of the swig_cast_info structures for that type.
43565 * The cast_initial array is actually an array of arrays, because each row has
43566 * a variable number of columns. So to actually build the cast linked list,
43567 * we find the array of casts associated with the type, and loop through it
43568 * adding the casts to the list. The one last trick we need to do is making
43569 * sure the type pointer in the swig_cast_info struct is correct.
43571 * First off, we lookup the cast->type name to see if it is already loaded.
43572 * There are three cases to handle:
43573 * 1) If the cast->type has already been loaded AND the type we are adding
43574 * casting info to has not been loaded (it is in this module), THEN we
43575 * replace the cast->type pointer with the type pointer that has already
43577 * 2) If BOTH types (the one we are adding casting info to, and the
43578 * cast->type) are loaded, THEN the cast info has already been loaded by
43579 * the previous module so we just ignore it.
43580 * 3) Finally, if cast->type has not already been loaded, then we add that
43581 * swig_cast_info to the linked list (because the cast->type) pointer will
43583 * ----------------------------------------------------------------------------- */
43593 #define SWIGRUNTIME_DEBUG
43597 SWIG_InitializeModule(void *clientdata
) {
43599 swig_module_info
*module_head
;
43600 static int init_run
= 0;
43602 clientdata
= clientdata
;
43604 if (init_run
) return;
43607 /* Initialize the swig_module */
43608 swig_module
.type_initial
= swig_type_initial
;
43609 swig_module
.cast_initial
= swig_cast_initial
;
43611 /* Try and load any already created modules */
43612 module_head
= SWIG_GetModule(clientdata
);
43614 swig_module
.next
= module_head
->next
;
43615 module_head
->next
= &swig_module
;
43617 /* This is the first module loaded */
43618 swig_module
.next
= &swig_module
;
43619 SWIG_SetModule(clientdata
, &swig_module
);
43622 /* Now work on filling in swig_module.types */
43623 #ifdef SWIGRUNTIME_DEBUG
43624 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43626 for (i
= 0; i
< swig_module
.size
; ++i
) {
43627 swig_type_info
*type
= 0;
43628 swig_type_info
*ret
;
43629 swig_cast_info
*cast
;
43631 #ifdef SWIGRUNTIME_DEBUG
43632 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43635 /* if there is another module already loaded */
43636 if (swig_module
.next
!= &swig_module
) {
43637 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43640 /* Overwrite clientdata field */
43641 #ifdef SWIGRUNTIME_DEBUG
43642 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43644 if (swig_module
.type_initial
[i
]->clientdata
) {
43645 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43646 #ifdef SWIGRUNTIME_DEBUG
43647 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43651 type
= swig_module
.type_initial
[i
];
43654 /* Insert casting types */
43655 cast
= swig_module
.cast_initial
[i
];
43656 while (cast
->type
) {
43657 /* Don't need to add information already in the list */
43659 #ifdef SWIGRUNTIME_DEBUG
43660 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43662 if (swig_module
.next
!= &swig_module
) {
43663 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43664 #ifdef SWIGRUNTIME_DEBUG
43665 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43669 if (type
== swig_module
.type_initial
[i
]) {
43670 #ifdef SWIGRUNTIME_DEBUG
43671 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43676 /* Check for casting already in the list */
43677 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43678 #ifdef SWIGRUNTIME_DEBUG
43679 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43681 if (!ocast
) ret
= 0;
43686 #ifdef SWIGRUNTIME_DEBUG
43687 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43690 type
->cast
->prev
= cast
;
43691 cast
->next
= type
->cast
;
43697 /* Set entry in modules->types array equal to the type */
43698 swig_module
.types
[i
] = type
;
43700 swig_module
.types
[i
] = 0;
43702 #ifdef SWIGRUNTIME_DEBUG
43703 printf("**** SWIG_InitializeModule: Cast List ******\n");
43704 for (i
= 0; i
< swig_module
.size
; ++i
) {
43706 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43707 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43708 while (cast
->type
) {
43709 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43713 printf("---- Total casts: %d\n",j
);
43715 printf("**** SWIG_InitializeModule: Cast List ******\n");
43719 /* This function will propagate the clientdata field of type to
43720 * any new swig_type_info structures that have been added into the list
43721 * of equivalent types. It is like calling
43722 * SWIG_TypeClientData(type, clientdata) a second time.
43725 SWIG_PropagateClientData(void) {
43727 swig_cast_info
*equiv
;
43728 static int init_run
= 0;
43730 if (init_run
) return;
43733 for (i
= 0; i
< swig_module
.size
; i
++) {
43734 if (swig_module
.types
[i
]->clientdata
) {
43735 equiv
= swig_module
.types
[i
]->cast
;
43737 if (!equiv
->converter
) {
43738 if (equiv
->type
&& !equiv
->type
->clientdata
)
43739 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43741 equiv
= equiv
->next
;
43761 /* Python-specific SWIG API */
43762 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43763 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43764 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43766 /* -----------------------------------------------------------------------------
43767 * global variable support code.
43768 * ----------------------------------------------------------------------------- */
43770 typedef struct swig_globalvar
{
43771 char *name
; /* Name of global variable */
43772 PyObject
*(*get_attr
)(void); /* Return the current value */
43773 int (*set_attr
)(PyObject
*); /* Set the value */
43774 struct swig_globalvar
*next
;
43777 typedef struct swig_varlinkobject
{
43779 swig_globalvar
*vars
;
43780 } swig_varlinkobject
;
43782 SWIGINTERN PyObject
*
43783 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43784 return PyString_FromString("<Swig global variables>");
43787 SWIGINTERN PyObject
*
43788 swig_varlink_str(swig_varlinkobject
*v
) {
43789 PyObject
*str
= PyString_FromString("(");
43790 swig_globalvar
*var
;
43791 for (var
= v
->vars
; var
; var
=var
->next
) {
43792 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43793 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43795 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43800 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43801 PyObject
*str
= swig_varlink_str(v
);
43802 fprintf(fp
,"Swig global variables ");
43803 fprintf(fp
,"%s\n", PyString_AsString(str
));
43809 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43810 swig_globalvar
*var
= v
->vars
;
43812 swig_globalvar
*n
= var
->next
;
43819 SWIGINTERN PyObject
*
43820 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43821 PyObject
*res
= NULL
;
43822 swig_globalvar
*var
= v
->vars
;
43824 if (strcmp(var
->name
,n
) == 0) {
43825 res
= (*var
->get_attr
)();
43830 if (res
== NULL
&& !PyErr_Occurred()) {
43831 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43837 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43839 swig_globalvar
*var
= v
->vars
;
43841 if (strcmp(var
->name
,n
) == 0) {
43842 res
= (*var
->set_attr
)(p
);
43847 if (res
== 1 && !PyErr_Occurred()) {
43848 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43853 SWIGINTERN PyTypeObject
*
43854 swig_varlink_type(void) {
43855 static char varlink__doc__
[] = "Swig var link object";
43856 static PyTypeObject varlink_type
;
43857 static int type_init
= 0;
43859 const PyTypeObject tmp
43861 PyObject_HEAD_INIT(NULL
)
43862 0, /* Number of items in variable part (ob_size) */
43863 (char *)"swigvarlink", /* Type name (tp_name) */
43864 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43865 0, /* Itemsize (tp_itemsize) */
43866 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43867 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43868 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43869 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43870 0, /* tp_compare */
43871 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43872 0, /* tp_as_number */
43873 0, /* tp_as_sequence */
43874 0, /* tp_as_mapping */
43877 (reprfunc
)swig_varlink_str
, /* tp_str */
43878 0, /* tp_getattro */
43879 0, /* tp_setattro */
43880 0, /* tp_as_buffer */
43882 varlink__doc__
, /* tp_doc */
43883 0, /* tp_traverse */
43885 0, /* tp_richcompare */
43886 0, /* tp_weaklistoffset */
43887 #if PY_VERSION_HEX >= 0x02020000
43888 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43890 #if PY_VERSION_HEX >= 0x02030000
43893 #ifdef COUNT_ALLOCS
43894 0,0,0,0 /* tp_alloc -> tp_next */
43897 varlink_type
= tmp
;
43898 varlink_type
.ob_type
= &PyType_Type
;
43901 return &varlink_type
;
43904 /* Create a variable linking object for use later */
43905 SWIGINTERN PyObject
*
43906 SWIG_Python_newvarlink(void) {
43907 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43911 return ((PyObject
*) result
);
43915 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43916 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43917 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43919 size_t size
= strlen(name
)+1;
43920 gv
->name
= (char *)malloc(size
);
43922 strncpy(gv
->name
,name
,size
);
43923 gv
->get_attr
= get_attr
;
43924 gv
->set_attr
= set_attr
;
43925 gv
->next
= v
->vars
;
43931 SWIGINTERN PyObject
*
43933 static PyObject
*_SWIG_globals
= 0;
43934 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43935 return _SWIG_globals
;
43938 /* -----------------------------------------------------------------------------
43939 * constants/methods manipulation
43940 * ----------------------------------------------------------------------------- */
43942 /* Install Constants */
43944 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43947 for (i
= 0; constants
[i
].type
; ++i
) {
43948 switch(constants
[i
].type
) {
43949 case SWIG_PY_POINTER
:
43950 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43952 case SWIG_PY_BINARY
:
43953 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43960 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43966 /* -----------------------------------------------------------------------------*/
43967 /* Fix SwigMethods to carry the callback ptrs when needed */
43968 /* -----------------------------------------------------------------------------*/
43971 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43972 swig_const_info
*const_table
,
43973 swig_type_info
**types
,
43974 swig_type_info
**types_initial
) {
43976 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43977 char *c
= methods
[i
].ml_doc
;
43978 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43980 swig_const_info
*ci
= 0;
43981 char *name
= c
+ 10;
43982 for (j
= 0; const_table
[j
].type
; ++j
) {
43983 if (strncmp(const_table
[j
].name
, name
,
43984 strlen(const_table
[j
].name
)) == 0) {
43985 ci
= &(const_table
[j
]);
43990 size_t shift
= (ci
->ptype
) - types
;
43991 swig_type_info
*ty
= types_initial
[shift
];
43992 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43993 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43994 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43997 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43999 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
44001 strncpy(buff
, "swig_ptr: ", 10);
44003 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
44004 methods
[i
].ml_doc
= ndoc
;
44016 /* -----------------------------------------------------------------------------*
44017 * Partial Init method
44018 * -----------------------------------------------------------------------------*/
44023 SWIGEXPORT
void SWIG_init(void) {
44026 /* Fix SwigMethods to carry the callback ptrs when needed */
44027 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
44029 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
44030 d
= PyModule_GetDict(m
);
44032 SWIG_InitializeModule(0);
44033 SWIG_InstallConstants(d
,swig_const_table
);
44036 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
44037 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
44038 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
44039 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
44040 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
44041 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
44042 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
44043 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
44044 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
44045 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
44046 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
44047 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
44048 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
44049 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
44050 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
44051 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
44052 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
44053 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
44054 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
44055 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
44056 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
44057 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
44058 SWIG_Python_SetConstant(d
, "GA_PROGRESSBAR",SWIG_From_int(static_cast< int >(wxGA_PROGRESSBAR
)));
44059 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
44060 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
44061 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
44062 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
44063 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
44064 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
44065 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
44066 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
44067 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
44068 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
44069 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
44070 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
44071 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
44072 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
44073 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
44074 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
44075 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
44076 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
44077 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
44078 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
44079 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
44080 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
44081 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
44082 SWIG_Python_SetConstant(d
, "TE_LINEWRAP",SWIG_From_int(static_cast< int >(wxTE_LINEWRAP
)));
44083 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
44084 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
44085 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
44086 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
44087 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
44088 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
44089 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
44090 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
44091 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
44092 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
44093 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
44094 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
44095 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
44096 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
44097 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
44098 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
44099 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
44100 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
44101 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
44102 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
44103 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
44104 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
44105 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
44106 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
44107 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
44108 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
44109 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
44110 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
44111 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
44112 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
44113 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
44114 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
44115 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
44116 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
44117 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
44118 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
44119 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
44120 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
44121 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
44122 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
44123 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
44124 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
44125 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
44126 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
44127 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
44128 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
44129 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
44130 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
44131 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
44132 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
44133 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
44134 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
44135 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
44136 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
44137 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
44138 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
44139 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
44140 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
44141 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
44142 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
44143 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
44144 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
44145 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
44146 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
44147 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
44148 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
44149 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
44150 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
44151 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
44152 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
44153 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
44154 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
44155 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
44156 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
44157 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
44158 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
44159 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
44160 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
44161 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
44162 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
44163 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
44164 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
44165 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
44166 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
44167 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
44168 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
44169 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
44170 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
44171 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44172 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44173 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44174 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44175 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44176 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44177 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44178 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44179 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44180 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44181 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44182 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44183 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44184 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44185 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44186 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44187 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44188 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44189 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44190 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44191 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44192 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44193 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44194 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44195 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44196 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44197 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44198 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44199 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44200 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44201 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44202 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44203 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44204 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44205 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44206 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44207 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44208 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44209 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44210 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44211 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44212 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44213 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44214 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44215 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44216 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44217 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44218 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44219 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44220 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44221 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44222 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44223 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44224 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44225 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44226 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44227 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44228 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44229 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44230 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44231 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44232 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44233 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44234 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44235 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44236 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44237 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44238 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44239 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44240 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44241 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44242 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44243 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44244 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44245 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44246 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44247 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44248 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44249 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44250 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44251 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44252 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44253 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44254 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44255 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44256 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44257 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44258 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44259 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44260 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44261 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44262 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44263 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44264 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44265 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44266 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44267 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44268 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44269 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44270 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44271 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44272 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44273 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44274 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44275 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44276 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44277 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44278 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44279 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44280 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44281 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44282 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44283 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44285 // Map renamed classes back to their common name for OOR
44286 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44288 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44289 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44290 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44291 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44292 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44293 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44294 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44295 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44296 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44297 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44298 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44299 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44300 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44301 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44302 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44303 SWIG_Python_SetConstant(d
, "TR_MAC_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_MAC_BUTTONS
)));
44304 SWIG_Python_SetConstant(d
, "TR_AQUA_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_AQUA_BUTTONS
)));
44305 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44306 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44307 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44308 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44309 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44310 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44311 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44312 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44313 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44314 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44315 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44316 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44317 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44318 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44319 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44320 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44321 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44322 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44323 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44324 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44325 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44328 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44329 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44330 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44346 // Map renamed classes back to their common name for OOR
44347 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44348 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44350 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44351 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44352 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44353 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44354 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44355 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44356 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44357 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44358 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44359 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44361 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44363 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44364 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44365 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44366 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44367 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44368 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));